[Samba] samba-4-10 as Win2k16 member

Dipl.-Ing. Péter Varkoly peter at varkoly.de
Tue Mar 24 18:56:12 UTC 2020


Hi,

I want to join samba 4.10.13 to an Win2k16 Server as member. The join
was succesfully:
net ads join -U administrator
Using short domain name -- CRANIX
Joined 'ADMIN' to dns domain 'cranix.win'

wbinfo -u lists all users. But wininfo -u <username> delivers following
error:
wbinfo -i administrator
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user administrator

smb.conf:
[global]
        netbios name = admin
        realm = CRANIX.WIN
        workgroup = CRANIX
        security = ADS

        winbind refresh tickets = Yes
        vfs objects = acl_xattr
        map acl inherit = Yes
        store dos attributes = Yes
        dedicated keytab file = /etc/krb5.keytab
        kerberos method = secrets and keytab
        winbind use default domain = yes
        winbind enum users = Yes
        winbind enum groups = Yes

        idmap config CRANIX:backend = ad
        idmap config CRANIX:unix_nss_info = no

        bind interfaces only = yes
        interfaces = 127.0.0.1, 172.20.0.2

Based on https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member

What went wrong?

-- 
Dipl.-Ing. Péter Varkoly
Greuleinweg 37.
D-90411 Nürnberg



More information about the samba mailing list