summaryrefslogtreecommitdiff
path: root/source3/sam/idmap_ldap.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-06 18:26:53 +0000
committerGerald Carter <jerry@samba.org>2004-01-06 18:26:53 +0000
commitba97fc434ac233179633f6acd3b2cd56cb2b1f86 (patch)
tree61c5745a6d8c99b3402c4c255639c5f2dad750e7 /source3/sam/idmap_ldap.c
parentc93c925a2d563576b7e66f9c2adf41fd1e2a3174 (diff)
downloadsamba-ba97fc434ac233179633f6acd3b2cd56cb2b1f86.tar.gz
samba-ba97fc434ac233179633f6acd3b2cd56cb2b1f86.tar.bz2
samba-ba97fc434ac233179633f6acd3b2cd56cb2b1f86.zip
isolate ldap debug messages to the common smbldap_XXX() functions
(This used to be commit 4c877ccc16bcb69490c4d34d2ef5f727bf98438e)
Diffstat (limited to 'source3/sam/idmap_ldap.c')
-rw-r--r--source3/sam/idmap_ldap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/sam/idmap_ldap.c b/source3/sam/idmap_ldap.c
index db1bb74de5..a2afd7d424 100644
--- a/source3/sam/idmap_ldap.c
+++ b/source3/sam/idmap_ldap.c
@@ -507,9 +507,6 @@ static NTSTATUS ldap_get_sid_from_id(DOM_SID *sid, unid_t id, int id_type)
LDAP_OBJ_IDMAP_ENTRY, type,
((id_type & ID_USERID) ? (unsigned long)id.uid : (unsigned long)id.gid));
-
- DEBUG(5,("ldap_get_sid_from_id: Searching \"%s\"\n", filter ));
-
attr_list = get_attr_list( sidmap_attr_list );
rc = smbldap_search(ldap_state.smbldap_state, suffix, LDAP_SCOPE_SUBTREE,
filter, attr_list, 0, &result);
@@ -580,8 +577,6 @@ static NTSTATUS ldap_get_id_from_sid(unid_t *id, int *id_type, const DOM_SID *si
else
type = get_attr_key2string( sidmap_attr_list, LDAP_ATTR_UIDNUMBER );
- DEBUG(10,("ldap_get_id_from_sid: Searching for \"%s\"\n", filter));
-
/* do the search and check for errors */
attr_list = get_attr_list( sidmap_attr_list );