Fix ldapsam_getsampwsid to correctly only say 'no such user' when indeed there
authorAndrew Bartlett <abartlet@samba.org>
Sun, 6 Jul 2003 06:18:54 +0000 (06:18 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 6 Jul 2003 06:18:54 +0000 (06:18 +0000)
commitd9a6859e2bd963f28cf3c3a62e483e868822597f
tree92fbe944eed779ef08488848fe5cba276297bea9
parent32e455a714b2090fcfd1f6d73daccf600c15d51b
Fix ldapsam_getsampwsid to correctly only say 'no such user' when indeed there
is no such user...

Thanks to jerry for spotting this.

Also clean up the function a bit, to avoid this happening again...

Andrew Bartlett
source/passdb/pdb_ldap.c