summaryrefslogtreecommitdiff
path: root/source/include/smbldap.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-11 10:52:54 +0000
committerGerald Carter <jerry@samba.org>2005-03-11 10:52:54 +0000
commit061a07f6b476428c622618d83a5a1e54c5f05fe5 (patch)
tree5e926c06e720253210687391b68aa82f553c9ad3 /source/include/smbldap.h
parent6c30768e14f5639328e06a73940f133f9078b90e (diff)
downloadsamba-061a07f6b476428c622618d83a5a1e54c5f05fe5.tar.gz
r5739: sync for 3.0.12rc1 (current with SAMBA_3_0 r5738)
Diffstat (limited to 'source/include/smbldap.h')
-rw-r--r--source/include/smbldap.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/source/include/smbldap.h b/source/include/smbldap.h
index d005104dea4..e6a6a1b7c68 100644
--- a/source/include/smbldap.h
+++ b/source/include/smbldap.h
@@ -155,6 +155,31 @@ struct smbldap_state {
struct timeval last_rebind;
};
+/* struct used by both pdb_ldap.c and pdb_nds.c */
+
+struct ldapsam_privates {
+ struct smbldap_state *smbldap_state;
+
+ /* Former statics */
+ LDAPMessage *result;
+ LDAPMessage *entry;
+ int index;
+
+ const char *domain_name;
+ DOM_SID domain_sid;
+
+ /* configuration items */
+ int schema_ver;
+
+ char *domain_dn;
+
+ /* Is this NDS ldap? */
+ int is_nds_ldap;
+
+ /* ldap server location parameter */
+ char *location;
+};
+
#endif /* HAVE_LDAP */
struct smbldap_state;