summaryrefslogtreecommitdiff
path: root/source3/lib/username.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:11 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:16 -0800
commit7cdcf131e8da6d750d103ded2fee009fe84d07fb (patch)
tree99af57fcf8ccfab66ae4a28ed9caaaddc15d337e /source3/lib/username.c
parent73bac10cae03494bc046e1cd3b7cb9ce82121480 (diff)
downloadsamba-7cdcf131e8da6d750d103ded2fee009fe84d07fb.tar.gz
param: rename lp function and variable from "usernamelevel" to "username_level"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/username.c')
-rw-r--r--source3/lib/username.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c
index 665fbb42536..847aa33eab1 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -96,7 +96,7 @@ char *get_user_home_dir(TALLOC_CTX *mem_ctx, const char *user)
* - as transmitted
* - in all lower case if this differs from transmitted
* - in all upper case if this differs from transmitted
- * - using lp_usernamelevel() for permutations.
+ * - using lp_username_level() for permutations.
****************************************************************************/
static struct passwd *Get_Pwnam_internals(TALLOC_CTX *mem_ctx,
@@ -150,9 +150,9 @@ static struct passwd *Get_Pwnam_internals(TALLOC_CTX *mem_ctx,
goto done;
}
DEBUG(5,("Checking combinations of %d uppercase letters in %s\n",
- lp_usernamelevel(), user2));
+ lp_username_level(), user2));
ret = uname_string_combinations(user2, mem_ctx, getpwnam_alloc_cached,
- lp_usernamelevel());
+ lp_username_level());
done:
DEBUG(5,("Get_Pwnam_internals %s find user [%s]!\n",ret ?