summaryrefslogtreecommitdiffstats
path: root/source/lib/username.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-25 07:37:44 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-25 07:37:44 +0000
commitcdcfe3671eb7570e15649b77f708e6579055e7bc (patch)
tree294743143ff156b33ce2f81e44035273849a6d0c /source/lib/username.c
parentbbc69545516f29cc4e05ba6238b03eb504f28226 (diff)
downloadsamba-cdcfe3671eb7570e15649b77f708e6579055e7bc.tar.gz
samba-cdcfe3671eb7570e15649b77f708e6579055e7bc.tar.xz
samba-cdcfe3671eb7570e15649b77f708e6579055e7bc.zip
Clean up a few unused functions, add a bit of static etc.
Importantly: The removal of the silly 'delete user script' behaviour when secuity=domain. I have left the name the same - as it still does the (previously documented, but not in smb.conf(5)) sane behaviour of deleting users on request. When we decide what to do with the 'add user' functionality, we might rename it. Andrew Bartlett
Diffstat (limited to 'source/lib/username.c')
-rw-r--r--source/lib/username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/username.c b/source/lib/username.c
index f6ce765b412..be8acfb4d6a 100644
--- a/source/lib/username.c
+++ b/source/lib/username.c
@@ -30,7 +30,7 @@ static struct passwd *uname_string_combinations2(char *s, int offset, struct pas
*local* people, there's nothing for you here...).
*****************************************************************/
-BOOL name_is_local(const char *name)
+static BOOL name_is_local(const char *name)
{
return !(strchr_m(name, *lp_winbind_separator()));
}