summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-04 11:02:26 +0100
committerGünther Deschner <gd@samba.org>2008-03-04 11:03:35 +0100
commit2c5e04b1f72c567898537110be3acbf3936e8584 (patch)
tree1d4ac2fadb2b6e8141053718e0433431ae33b2f2 /source3/passdb
parent8a228000289b331bbe78d0a9c9b44a2ad4a298f8 (diff)
downloadsamba-2c5e04b1f72c567898537110be3acbf3936e8584.tar.gz
samba-2c5e04b1f72c567898537110be3acbf3936e8584.tar.bz2
samba-2c5e04b1f72c567898537110be3acbf3936e8584.zip
Fix crash bug in pdb_init_ldapsam().
Karolin, this needs to be in 3-2-stable. Guenther (This used to be commit 0d73bde6de4391e7aec862424762473441fa0905)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index ce79dce668..87a648a5b4 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -6264,7 +6264,7 @@ NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
entry,
get_userattr_key2string(ldap_state->schema_ver,
LDAP_ATTR_USER_SID),
- NULL);
+ talloc_tos());
if (domain_sid_string) {
bool found_sid;
@@ -6300,7 +6300,7 @@ NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
entry,
get_attr_key2string( dominfo_attr_list,
LDAP_ATTR_ALGORITHMIC_RID_BASE ),
- NULL);
+ talloc_tos());
if (alg_rid_base_string) {
alg_rid_base = (uint32)atol(alg_rid_base_string);
if (alg_rid_base != algorithmic_rid_base()) {