Samba4 winbind: use rfc2307 not working with winbind [SOLVED]

steve steve at steve-ss.com
Mon Aug 6 17:08:44 MDT 2012


On 08/06/2012 08:55 PM, Jeremy Allison wrote:
> On Mon, Aug 06, 2012 at 08:29:28PM +0200, steve wrote:
>> On 08/06/2012 01:42 PM, Gémes Géza wrote:
>>> 2012-08-06 12:31 keltezéssel, steve írta:
>>>> Hi
>>>> Here is my smb.conf:
>>>> [global]
>>>>         workgroup = ALTEA
>>>>         realm = hh3.site
>>>>         netbios name = HH30
>>>>         server role = active directory domain controller
>>>>         passdb backend = samba4
>>>>         idmap_ldb : use rfc2307 = Yes
>> It was the syntax.
>> The syntax needs to be very tight:
>> Compare:
>> idmap_ldb : use rfc2307 = Yes
>> with:
>> idmap_ldb:use rfc2307=Yes
>>
>> The latter works. I thought that white space was ignored in smb.conf. . .
> Ah - yes, white space is ignored, but maybe not in
> parameterized options.
>
> So you need:
>
> "idmap_ldb:use rfc2307" to be exact, but we shouldn't care
> about the spacing around the "= yes" I don't think.
>
> Jeremy.
Hi
Thanks. But anyway it only works for groups, not users.
If posixGroup and gidNumber are present for a group it maps from AD. For 
posixAccount and uidNumber, an entry is created in idmap.ldb and that is 
used instead of the uidNumber in AD

Is there anything we can do to fix this?
Cheers,
Steve?



More information about the samba-technical mailing list