Web lists-archives.com

[Samba] Samba user mapping DC <-> DC Member


I try to migrade nt4 to ad.
And I have import my old users to AD. The User ID starts at 1001 up to 7187.

On the DC I see the user ID, on the member I see a wrong ID.

root@ad:~# getent passwd user
FOO\user:*:2029:513:System User:/home/FOO/user:/bin/false

root@member:~# getent passwd user
FOO\user:*:4294967295:3002:System User:/home/FOO/user:/bin/false

My config on member

root@member:~# cat /etc/samba/smb.conf
       security = ADS
       workgroup = KES
       realm = KES

       log file = /var/log/samba/%m.log
       log level = 3

# idmap config for the SAMDOM domain
idmap config kes:backend = ad
idmap config kes:schema_mode = rfc2307
idmap config kes:range = 1001-999999

  domain master = no
  local master = no
  preferred master = no
  os level = 0

  winbind use default domain = yes

  client use spnego = yes
  client ntlmv2 auth = yes
  encrypt passwords = yes
  restrict anonymous = 2

An other Problem ios that i only see users, when "winbind use default
domain = yes" ist set.

Best Regards

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba