[Samba] Samba 4, can't logon

steve steve at steve-ss.com
Mon Dec 12 03:25:27 MST 2011


Hi everyone

I have Samba 4 running with this:

smb.conf

[global]
     server role = domain controller
     workgroup = HH3SITE
     realm = hh3.hh1.site
     netbios name = HH3
     passdb backend = samba4

[netlogon]
     path = /usr/local/samba/var/locks/sysvol/hh3.hh1.site/scripts
     read only = No

[sysvol]
     path = /usr/local/samba/var/locks/sysvol
     read only = No

[home]
     path = /home/HH3SITE
     read only = No

I created a Samba 4 user called lynn:
wbinfo -i lynn
HH3SITE\lynn:*:3000009:100::/home/HH3SITE/lynn:/bin/false

I created the directory 3000009:100 /home/HH3SITE/lynn


Samba can see the shares:

smbclient -L hh3 -Uadministrator
Password for [HH3SITE\administrator]:

    Sharename       Type       Comment
     ---------       ----       -------
     netlogon        Disk
     sysvol          Disk
     home            Disk
     IPC$            IPC        IPC Service
REWRITE: list servers not implemented

But lynn can't logon:

  smbclient //localhost/home -Ulynn
Password for [HH3SITE\lynn]:
Connection to \\localhost\home failed - NT_STATUS_INTERNAL_ERROR

The administrator can't logon either:
smbclient //localhost/netlogon -Uadministrator
Password for [HH3SITE\administrator]:
Connection to \\localhost\netlogon failed - NT_STATUS_INTERNAL_ERROR

I tried changing permissions to 0777:

ls -la /home/HH3SITE
total 12
drwxrwxrwx 3 root    root  4096 Dec 11 17:42 .
drwxr-xr-x 4 root    root  4096 Dec 12 11:01 ..
drwxrwxrwx 2 3000009 users 4096 Dec 11 17:42 lynn

But still no logon.

What am I doing wrong?
Thanks
Steve



More information about the samba mailing list