The Samba-Bugzilla – Attachment 6048 Details for
Bug 7777
When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
First part of fix.
0001-First-part-of-fix-for-bug-7777-When-requesting-looku.patch (text/plain), 1.03 KB, created by
Jeremy Allison
on 2010-11-05 14:16:03 UTC
(
hide
)
Description:
First part of fix.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-11-05 14:16:03 UTC
Size:
1.03 KB
patch
obsolete
>From 756ebfb10728cb6f2fd78812e59bf8509aef9f7b Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 5 Nov 2010 12:11:53 -0700 >Subject: [PATCH 1/2] First part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error. > >Ensure idmap_init_passdb_domain() correctly initialized the default >domain first. > >Jeremy. >--- > source3/winbindd/idmap.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c >index 4aa229c..7aa2853 100644 >--- a/source3/winbindd/idmap.c >+++ b/source3/winbindd/idmap.c >@@ -428,6 +428,16 @@ fail: > > static struct idmap_domain *idmap_init_passdb_domain(TALLOC_CTX *mem_ctx) > { >+ /* >+ * Always init the default domain, we can't go without one >+ */ >+ if (default_idmap_domain == NULL) { >+ default_idmap_domain = idmap_init_default_domain(NULL); >+ } >+ if (default_idmap_domain == NULL) { >+ return NULL; >+ } >+ > if (passdb_idmap_domain != NULL) { > return passdb_idmap_domain; > } >-- >1.7.3.1 >
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
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 7777
: 6048 |
6049