git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f953b1
)
s3: Fix return code of pdb_ads_getsamupriv if the user does not exist
author
Volker Lendecke
<vl@samba.org>
Sat, 19 Feb 2011 17:25:25 +0000
(18:25 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Sun, 20 Feb 2011 10:12:01 +0000
(11:12 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 20 11:12:01 CET 2011 on sn-devel-104
source3/passdb/pdb_ads.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ads.c
b/source3/passdb/pdb_ads.c
index 51aac2cd7a7a1006bee1e5eb5ccf819faf3d65b9..ad38256abbd11a028fc28080561e5fc3a5c62145 100644
(file)
--- a/
source3/passdb/pdb_ads.c
+++ b/
source3/passdb/pdb_ads.c
@@
-492,7
+492,7
@@
static NTSTATUS pdb_ads_getsamupriv(struct pdb_ads_state *state,
if (count != 1) {
DEBUG(10, ("Expected 1 user, got %d\n", count));
TALLOC_FREE(result);
- return NT_STATUS_
INTERNAL_DB_CORRUPTION
;
+ return NT_STATUS_
NO_SUCH_USER
;
}
result->ldapmsg = users[0];