The Samba-Bugzilla – Attachment 8905 Details for
Bug 9880
Use of wrong RFC2307 primary group field.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.0 with documentation update and enhanced log output for missing mappings
idmap_ad_docu-fixes.patch (text/plain), 2.56 KB, created by
Björn Jacke
on 2013-05-17 16:45:08 UTC
(
hide
)
Description:
patch for 4.0 with documentation update and enhanced log output for missing mappings
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2013-05-17 16:45:08 UTC
Size:
2.56 KB
patch
obsolete
>From 7efd34a2863e9e3c6ad4a5ea663382f3535d3511 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Tue, 14 May 2013 16:51:28 +0200 >Subject: [PATCH 1/2] winbind/idmap_ad: be verbose about the user that we fail > to map > >Reviewed-by: Stefan Metzmacher <metze@samba.org> >(cherry picked from commit f08205be7003f6c0a15fd5fd99d01951164ad15c) >--- > source3/winbindd/idmap_ad.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c >index bfe7d4b..b92e3a9 100644 >--- a/source3/winbindd/idmap_ad.c >+++ b/source3/winbindd/idmap_ad.c >@@ -452,7 +452,7 @@ again: > ctx->ad_schema->posix_gidnumber_attr, > &id)) > { >- DEBUG(1, ("Could not get unix ID\n")); >+ DEBUG(1, ("Could not get SID for unix ID %u\n", (unsigned) id)); > continue; > } > >@@ -649,7 +649,8 @@ again: > ctx->ad_schema->posix_gidnumber_attr, > &id)) > { >- DEBUG(1, ("Could not get unix ID\n")); >+ DEBUG(1, ("Could not get unix ID for SID %s\n", >+ sid_string_dbg(map->sid))); > continue; > } > if (!idmap_unix_id_is_in_range(id, dom)) { >-- >1.8.2.2 > > >From 527cc1d4e6f026f74ff746e0e35600074f817512 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Wed, 15 May 2013 15:52:25 +0200 >Subject: [PATCH 2/2] docs: mention AD prerequirements for using idmap_ad > >Reviewed-by: Stefan Metzmacher <metze@samba.org> >(cherry picked from commit c3057f69a274f0d8e0e66183bd5e8be7703b6750) >--- > docs-xml/manpages/idmap_ad.8.xml | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/docs-xml/manpages/idmap_ad.8.xml b/docs-xml/manpages/idmap_ad.8.xml >index 2ae7fc8..0e33b77 100644 >--- a/docs-xml/manpages/idmap_ad.8.xml >+++ b/docs-xml/manpages/idmap_ad.8.xml >@@ -22,9 +22,12 @@ > id mappings from an AD server that uses RFC2307/SFU schema > extensions. This module implements only the "idmap" > API, and is READONLY. Mappings must be provided in advance >- by the administrator by adding the posixAccount/posixGroup >- classes and relative attribute/value pairs to the user and >- group objects in the AD.</para> >+ by the administrator by adding the uidNumber attributes for >+ users and gidNumber attributes for groups in the AD. Winbind >+ will only map users that have a uidNumber and whose primary >+ group have a gidNumber attribute set. It is however >+ recommended that all groups in use have gidNumber attributes >+ assigned, otherwise they are not working.</para> > > <para> > Currently, the <parameter>ad</parameter> backend >-- >1.8.2.2 >
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:
metze
:
review+
Actions:
View
Attachments on
bug 9880
:
8881
|
8882
|
8904
| 8905 |
8980