Unable to join samba PDC
John H Terpstra
jht at samba.org
Wed Oct 20 12:39:54 GMT 2004
On Wednesday 20 October 2004 02:47, Gabriele Verzeletti wrote:
> Hi all (and sorry for my poor english :) )
>
> Samba server:
> Red Hat Linux 9.0
> samba-3.0.7-1_rh9.i386.rpm
>
> Client:
> Windows 2000 AS (V 5.0 Build 2195: Service Pack 4)
>
> smb.conf:
> [global]
> workgroup = SAMBA.LAN
> netbios name = SAMBSRV
> encrypt passwords = yes
> domain master = yes
> local master = yes
> preferred master = yes
> os level = 65
> security = user
> domain logons = yes
> logon path = \\%L\profiles\%u\%m
> logon script = logon.bat
> logon drive = H:
> logon home = \\%L\%u\.win_profile\%m
> log file = /var/log/samba/log.%m
> log level = 2
> max log size = 50
> dns proxy = No
> admin users = root
> passdb backend = tdbsam
> add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
> /bin/false -M %u
See if the problem is solved by changing this to:
add machine script = /usr/sbin/useradd -d /tmpp -g 100 -s /bin/false -M '%u'
- John T.
>
> [homes]
> comment = Home Directories
> read only = No
> browseable = No
>
> [printers]
> comment = All Printers
> path = /usr/spool/samba
> printable = Yes
> browseable = No
>
> [profiles]
> path = /usr/local/samba/profiles
> browsable = no
> writable = yes
> create mask = 0666
> directory mask = 0700
>
> [netlogon]
> path = /usr/local/samba/netlogon
> writable = no
> browsable = no
>
> drwxrwxrwx 2 root root /usr/local/samba/profiles
> drwxrwxrwx 2 root root /usr/local/samba/netlogon
>
> smbpasswd -a root
> smbpasswd -a myuser
> smbpasswd -am myworkstation
>
> myworkstation join the domain without problem, upon rebootin and
> attempting to logon to the domain i get the following error:
> "The system cannot log you on to this domain because the system's
> computer account in its primary domain is missing or the password on
> that account is incorrect"
>
> Thx to all for any help !
>
> Gab
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
More information about the samba-technical
mailing list