The Samba-Bugzilla – Attachment 4276 Details for
Bug 6465
new aliases created with (default) ldb backend cannot enumerate members
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix that went into master, will also apply to 3.4
alias.diff (text/plain), 1002 bytes, created by
Guenther Deschner
on 2009-06-11 04:29:21 UTC
(
hide
)
Description:
fix that went into master, will also apply to 3.4
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-06-11 04:29:21 UTC
Size:
1002 bytes
patch
obsolete
>commit f5e9e1954c08cc7ee73477bc626cdb09df1d0284 >Author: Günther Deschner <gd@samba.org> >AuthorDate: Sun Jun 7 11:23:09 2009 +0200 >Commit: Günther Deschner <gd@samba.org> >CommitDate: Sun Jun 7 11:25:21 2009 +0200 > > s3-groupdb: fix enum_aliasmem in ldb branch. > > It is totally valid to have an alias with no members. > > Tridge, please check. > > Found by RPC-SAMR torture test. > > Guenther >--- > source3/groupdb/mapping_ldb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c >index 3fbc182..cc06282 100644 >--- a/source3/groupdb/mapping_ldb.c >+++ b/source3/groupdb/mapping_ldb.c >@@ -523,7 +523,7 @@ static NTSTATUS enum_aliasmem(const DOM_SID *alias, DOM_SID **sids, size_t *num) > el = ldb_msg_find_element(res->msgs[0], "member"); > if (el == NULL) { > talloc_free(dn); >- return NT_STATUS_INTERNAL_DB_CORRUPTION; >+ return NT_STATUS_OK; > } > > for (i=0;i<el->num_values;i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6465
: 4276