diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-11-19 21:01:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:23 -0500 |
commit | 9b734922b5fb9e0508cc4077074b46701c793e78 (patch) | |
tree | d801af0714fd3e1e93443277680785d12db31241 /source3 | |
parent | 09b49ee92f847a19ce06c54a0df553ed86cb6042 (diff) | |
download | samba-9b734922b5fb9e0508cc4077074b46701c793e78.tar.gz samba-9b734922b5fb9e0508cc4077074b46701c793e78.tar.bz2 samba-9b734922b5fb9e0508cc4077074b46701c793e78.zip |
r3883: Fix error return -- thanks to rsharpe
(This used to be commit 2d952c86c7e92fff48b4773ab46987d905b214cc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)))", |