[Samba] idmap & migration to rfc2307

buhorojo buhorojo.lcb at gmail.com
Sat Jun 13 09:42:15 MDT 2015


On 13/06/15 17:33, Jonathan Hunter wrote:
> Hi buhorojo,
>
> I *think* I have a stable system for the moment... so thank you :-)
>
> On 13 June 2015 at 12:50, buhorojo <buhorojo.lcb at gmail.com> wrote:
>>> I now set in smb.conf:
>>>
>>>           server services = -dns +winbind -winbindd
>>>
>>> I stopped samba, then removed databases:
>>>
>>> # rm /usr/local/samba/var/cache/gencache.tdb \
>>>     /usr/local/samba/var/lock/gencache_notrans.tdb \
>> Restore this:
>>>     /usr/local/samba/private/idmap.ldb
> I have the following in smb.conf:
>          server services = -dns +winbind -winbindd
this is also winbind:
>          idmap_ldb:use rfc2307 = yes
Lose it.
> and no 'winbind' lines anywhere.
> - use rfc2307 UIDs (sadly, this is a must - I *wish* I could use some
> kind of algorithmic mapping, ideally sssd's logic, but any really!)
If you want consistency, you can't. You have to read nss information 
from the ad database. Anyway, well done:)




More information about the samba mailing list