r13389: get_ldap_filter is only used once, make it static
authorVolker Lendecke <vlendec@samba.org>
Wed, 8 Feb 2006 10:36:13 +0000 (10:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:09:58 +0000 (11:09 -0500)
(This used to be commit d3b66fb8712e41a331ccfb0f52f187382769b41e)

source3/passdb/pdb_ldap.c

index a21e9768031c5bc6c778353ea261c5843bc1f12a..608cd8bc8c319c30af4ab3420121b4c0bb8d424b 100644 (file)
@@ -3875,7 +3875,7 @@ static NTSTATUS ldapsam_lookup_rids(struct pdb_methods *methods,
        return result;
 }
 
-char *get_ldap_filter(TALLOC_CTX *mem_ctx, const char *username)
+static char *get_ldap_filter(TALLOC_CTX *mem_ctx, const char *username)
 {
        char *filter = NULL;
        char *escaped = NULL;