[Samba] FreeBSD Member server error WBC_ERR_DOMAIN_NOT_FOUND

Rowland Penny rpenny at samba.org
Tue Oct 24 19:14:37 UTC 2017

On Tue, 24 Oct 2017 11:54:34 -0700 (MST)
Alexander Larionov via samba <samba at lists.samba.org> wrote:

> yes, i have 
> /var/db/samba4 # ls -l /usr/local/lib/ | grep nss_win
> -rwxr-xr-x   1 root  wheel    43162 Oct 21 20:58 nss_winbind.so.1
> Alexander

OK, have you added 'winbind' to the passwd and group lines
in /etc/nsswitch.conf ?

You posted this:

idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config PISK : unix_nss_info = yes
idmap config PISK:backend = ad
idmap config PISK:schema_mode = rfc2307
idmap config PISK:range = 3000000-9999999

I have this feeling that you think this is all you need to do on the
Unix domain member. I think this from the range you have set for
'PISK', I think you chose this range because these are the numbers
shown on the DC. Am I correct ?

If I am, then you are wrong, you need to add uidNumber and gidNumber
attributes to AD, either that or use the 'rid' backend.


More information about the samba mailing list