git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58508c9
)
s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.
author
Michael Adam
<obnox@samba.org>
Tue, 7 Dec 2010 23:04:20 +0000
(
00:04
+0100)
committer
Michael Adam
<obnox@samba.org>
Sun, 2 Jan 2011 11:51:54 +0000
(12:51 +0100)
Call verify_idpool() instead.
source3/winbindd/idmap_ldap.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_ldap.c
b/source3/winbindd/idmap_ldap.c
index 0b19cf92726be6359ba62b069e1d034f50e0d0ce..cb5f67d913b800a96da995452c9f3113a8651581 100644
(file)
--- a/
source3/winbindd/idmap_ldap.c
+++ b/
source3/winbindd/idmap_ldap.c
@@
-631,10
+631,10
@@
static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
dom->private_data = ctx;
- ret =
idmap_ldap_alloc_init(dom, params
);
+ ret =
verify_idpool(dom
);
if (!NT_STATUS_IS_OK(ret)) {
- DEBUG(1, ("idmap_ldap_db_init:
Failed to initialize alloc "
-
"subsystem: %s\n",
nt_errstr(ret)));
+ DEBUG(1, ("idmap_ldap_db_init:
failed to verify ID pool (%s)\n",
+ nt_errstr(ret)));
goto done;
}