summaryrefslogtreecommitdiff
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-28 01:02:40 +0200
committerVolker Lendecke <vl@samba.org>2009-05-28 10:52:04 +0200
commit3194ad2838bedee3eff60c767552d8a801b5eb70 (patch)
tree1faa5425f5ff86d935ed5de803fb324ed53fd13a /source3/include/smbldap.h
parent7a5475f098c6a20f867adc081ca455e6c393755b (diff)
downloadsamba-3194ad2838bedee3eff60c767552d8a801b5eb70.tar.gz
samba-3194ad2838bedee3eff60c767552d8a801b5eb70.tar.bz2
samba-3194ad2838bedee3eff60c767552d8a801b5eb70.zip
Add smbldap_pull_sid
Diffstat (limited to 'source3/include/smbldap.h')
-rw-r--r--source3/include/smbldap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 3ac770a548..c28d43d53b 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -214,6 +214,8 @@ char * smbldap_talloc_single_attribute(LDAP *ldap_struct, LDAPMessage *entry,
char * smbldap_talloc_smallest_attribute(LDAP *ldap_struct, LDAPMessage *entry,
const char *attribute,
TALLOC_CTX *mem_ctx);
+bool smbldap_pull_sid(LDAP *ld, LDAPMessage *msg, const char *attrib,
+ struct dom_sid *sid);
void talloc_autofree_ldapmsg(TALLOC_CTX *mem_ctx, LDAPMessage *result);
void talloc_autofree_ldapmod(TALLOC_CTX *mem_ctx, LDAPMod **mod);
char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld,