diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-29 18:01:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:08 -0500 |
commit | c4896b17faa6802f18cc1cec7fcc6168bde2eef0 (patch) | |
tree | 7722bd614e9cb8673de914a18fdf74316cba3c8a /source/lib/smbldap.c | |
parent | d48655d9c0b31d15327655140c021de29873d2c5 (diff) | |
download | samba-c4896b17faa6802f18cc1cec7fcc6168bde2eef0.tar.gz samba-c4896b17faa6802f18cc1cec7fcc6168bde2eef0.tar.xz samba-c4896b17faa6802f18cc1cec7fcc6168bde2eef0.zip |
r16687: Fix bugs #3901, #3902, #3903 reported by jason@ncac.gwu.edu.
Jeremy
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r-- | source/lib/smbldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index 5b18f4e3113..a63e1c1bcc3 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -325,7 +325,7 @@ ATTRIB_MAP_ENTRY sidmap_attr_list[] = { return NULL; } - if (pull_utf8_talloc(mem_ctx, &result, values[0]) < 0) { + if (pull_utf8_talloc(mem_ctx, &result, values[0]) == (size_t)-1) { DEBUG(10, ("pull_utf8_talloc failed\n")); ldap_value_free(values); return NULL; |