summaryrefslogtreecommitdiffstats
path: root/source/include/smbldap.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-11 21:27:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:04 -0500
commit7a2da5f0cc05c1920c664c9a690a23bdf854e285 (patch)
treeb2ea3fec30a2f9ea54b8cc0f7d4ac0b98271af1b /source/include/smbldap.h
parentf1a362580ae37730dc8393a79f832aed5d0ea4be (diff)
downloadsamba-7a2da5f0cc05c1920c664c9a690a23bdf854e285.tar.gz
samba-7a2da5f0cc05c1920c664c9a690a23bdf854e285.tar.xz
samba-7a2da5f0cc05c1920c664c9a690a23bdf854e285.zip
r13460: by popular demand....
* remove pdb_context data structure * set default group for DOMAIN_RID_GUEST user as RID 513 (just like Windows) * Allow RID 513 to resolve to always resolve to a name * Remove auto mapping of guest account primary group given the previous 2 changes
Diffstat (limited to 'source/include/smbldap.h')
-rw-r--r--source/include/smbldap.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/include/smbldap.h b/source/include/smbldap.h
index 8870205bbbc..6cfde13f4a9 100644
--- a/source/include/smbldap.h
+++ b/source/include/smbldap.h
@@ -195,17 +195,13 @@ struct ldapsam_privates {
};
/* Functions shared between pdb_ldap.c and pdb_nds.c. */
-NTSTATUS pdb_init_ldapsam_compat(PDB_CONTEXT *pdb_context,
- PDB_METHODS **pdb_method,
- const char *location);
+NTSTATUS pdb_init_ldapsam_compat( struct pdb_methods **pdb_method, const char *location);
void private_data_free_fn(void **result);
int ldapsam_search_suffix_by_name(struct ldapsam_privates *ldap_state,
const char *user,
LDAPMessage ** result,
const char **attr);
-NTSTATUS pdb_init_ldapsam(PDB_CONTEXT *pdb_context,
- PDB_METHODS **pdb_method,
- const char *location);
+NTSTATUS pdb_init_ldapsam( struct pdb_methods **pdb_method, const char *location);
const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver );
char * smbldap_talloc_single_attribute(LDAP *ldap_struct, LDAPMessage *entry,
@@ -217,7 +213,6 @@ const char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld,
LDAPMessage *entry);
-
#endif /* HAVE_LDAP */
#define LDAP_CONNECT_DEFAULT_TIMEOUT 15