summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 11:59:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 11:59:55 +0000
commit9b586b5a645c27d48d3cf8eb788e297ba83114d6 (patch)
tree7fff83e3eba138fe392a41ed9b6bb0f5348c8643 /source3/nsswitch
parentf7c1c68e19c00c3b107d4fd08401ed8aeb09bbaa (diff)
downloadsamba-9b586b5a645c27d48d3cf8eb788e297ba83114d6.tar.gz
samba-9b586b5a645c27d48d3cf8eb788e297ba83114d6.tar.bz2
samba-9b586b5a645c27d48d3cf8eb788e297ba83114d6.zip
(merge from 3.0)
Make more functions static, and remove duplication in the use of functions in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c (These should perhaps be pulled back out to smbpasswd.c, but that can occour later). This also includes some >14 character password changes, and the start of a move away from using 'admin user' to determine if the user is root (as root can login without setting 'admin user'). Andrew Bartlett (This used to be commit be0704abb919152c359a735023283acbf9be3076)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c
index 21e0c3092e..d4428a2f59 100644
--- a/source3/nsswitch/winbindd_rpc.c
+++ b/source3/nsswitch/winbindd_rpc.c
@@ -792,7 +792,7 @@ static int get_ldap_seq(const char *server, int port, uint32 *seq)
LDAP queries
**********************************************************************/
-int get_ldap_sequence_number( const char* domain, uint32 *seq)
+static int get_ldap_sequence_number( const char* domain, uint32 *seq)
{
int ret = -1;
int i, port = LDAP_PORT;