diff options
author | Christian Ambach <ambi@samba.org> | 2012-09-21 13:54:47 -0700 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-09-22 04:28:37 +0200 |
commit | 83ed9b52e75215e7590f842fa7c1ec1a4e4aa6bc (patch) | |
tree | ec140f802725bb1ca2811c336fc6e488c2f4af2b /source3/passdb/pdb_ldap.c | |
parent | 8df92a44fcf96a8950a1ba500dbe8febfe91b3de (diff) | |
download | samba-83ed9b52e75215e7590f842fa7c1ec1a4e4aa6bc.tar.gz samba-83ed9b52e75215e7590f842fa7c1ec1a4e4aa6bc.tar.bz2 samba-83ed9b52e75215e7590f842fa7c1ec1a4e4aa6bc.zip |
s3:pdb_ldap remove unused function
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Sat Sep 22 04:28:37 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index b41f58bef8..a5b8f0b18a 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -347,29 +347,6 @@ int ldapsam_search_suffix_by_name(struct ldapsam_privates *ldap_state, } /******************************************************************* - Run the search by rid. -******************************************************************/ - -static int ldapsam_search_suffix_by_rid (struct ldapsam_privates *ldap_state, - uint32_t rid, LDAPMessage ** result, - const char **attr) -{ - char *filter = NULL; - int rc; - - filter = talloc_asprintf(talloc_tos(), "(&(rid=%i)%s)", rid, - get_objclass_filter(ldap_state->schema_ver)); - if (!filter) { - return LDAP_NO_MEMORY; - } - - rc = smbldap_search_suffix(ldap_state->smbldap_state, - filter, attr, result); - TALLOC_FREE(filter); - return rc; -} - -/******************************************************************* Run the search by SID. ******************************************************************/ |