[Samba] idmap & migration to rfc2307

buhorojo buhorojo.lcb at gmail.com
Sat Jun 13 05:50:00 MDT 2015


On 13/06/15 11:00, Jonathan Hunter wrote:
> On 13 June 2015 at 09:34, buhorojo <buhorojo.lcb at gmail.com> wrote:
>>> On 12 June 2015 at 08:55, Jonathan Hunter <jmhunter1 at gmail.com> wrote:
>>> Sadly, even though sssd is now running and I'm no longer reliant on
>>> winbind, the rest of samba doesn't seem to be taking notice of these
>>> mappings - again, only after a period of time (it's OK at first, but
>>> then switches to the wrong mappings).
>> Then you must have some winbind(d) nonsense stlll. Remove the .tdb s and
>> killall winbindd processes. Make sure the idmap_ldb line is removed. Make
>> sure only winbind is running at samba start up  (I think it's +winbind,
>> -winbindd) and lose all refrences to winbind in nsswitch.conf. net cache
>> flush doesn't work. You need to remove the databases.
>> HTH
> Thank you!
>
> 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

>
> However I must have done something wrong...



More information about the samba mailing list