From 9b734922b5fb9e0508cc4077074b46701c793e78 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 19 Nov 2004 21:01:23 +0000 Subject: r3883: Fix error return -- thanks to rsharpe (This used to be commit 2d952c86c7e92fff48b4773ab46987d905b214cc) --- source3/passdb/pdb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 151fbd6b16..3ea291b611 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -2229,7 +2229,7 @@ static NTSTATUS ldapsam_enum_group_memberships(struct pdb_methods *methods, escape_name = escape_ldap_string_alloc(username); if (escape_name == NULL) - return NT_STATUS_UNSUCCESSFUL; + return NT_STATUS_NO_MEMORY; pstr_sprintf(filter, "(&(objectClass=posixGroup)" "(|(memberUid=%s)(gidNumber=%d)))", -- cgit