Tercio Ferdinando Gaudencio Filho
2004-Feb-10 19:53 UTC
[Samba] Samba PDC 3.0.2 + Win 2K SP4
Hello there, I?m trying to configure my server to be a PDC for my LAN, but I?m having troubles to join to domain. My smb.conf: # Global parameters [global] workgroup = SAOPAULO netbios aliases = SERVERSP server string = Servidor de Arquivos Sao Paulo(PDC) - Samba server %v hosts equiv = /etc/hosts smb passwd file = /etc/smbpasswd username map = /etc/samba/smbusers log level = 1 log file = /var/log/samba/log.%m max log size = 100 name resolve order = host wins bcast time server = Yes socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 hostname lookups = Yes load printers = No printcap name = cups add user script = /usr/sbin/adduser -n -g w2k -c Estacao -d /dev/null -s /bin/false %m$ delete user script = /usr/sbin/userdel %m$ | /usr/sbin/smbpasswd -x %m$ logon path = \\%L\profiles logon drive = Z: logon home = \\%L\profiles domain logons = Yes os level = 200 domain master = Yes dns proxy = No wins support = Yes admin users = root hosts allow = 192.168.1., 127. [netlogon] comment = Network Logon Service path = /home/netlogon read only = No create mask = 0777 force create mode = 0777 guest ok = Yes [profiles] comment = %u path = /home/%u/profile read only = No create mask = 0777 force create mode = 0770 [publico] comment = Arquivos pblicos path = /home/pulico valid users = @users write list = @users read only = No create mask = 0777 force create mode = 0777 force directory mode = 0777 guest ok = Yes I already created the machine account(machine$) added to smbpasswd -a -m machine$ but my W2k does not join to the domain. The W2K error: The specified error occured when trying to join to domain "SAOPAULO": The specified domain does not exists or it cannot be contacted. This message was translated from Portuguese, maybe have some divergences. Thanks a lot, Tercio F. Gaudencio Filho Cosa Interm?quinas - S?o Paulo - Brasil
try running testparm -v is it configured as server role: pdc or bdc ?? also, try the add machine script = <script> for adding machines.. what password backend do you use (passwd??) it a little bit vage.. --------------------------------------------- Collen Blijenberg (Systeem/Netwerk Beheerder) Montessori Lyceum Herman Jordan Zeist Tuesday, February 10, 2004, 9:48:43 PM, you wrote: TFGF> Hello there, TFGF> I?m trying to configure my server to be a PDC for my LAN, but I?m having TFGF> troubles to join to domain. TFGF> My smb.conf: TFGF> # Global parameters TFGF> [global] TFGF> workgroup = SAOPAULO TFGF> netbios aliases = SERVERSP TFGF> server string = Servidor de Arquivos Sao Paulo(PDC) - Samba server %v TFGF> hosts equiv = /etc/hosts TFGF> smb passwd file = /etc/smbpasswd TFGF> username map = /etc/samba/smbusers TFGF> log level = 1 TFGF> log file = /var/log/samba/log.%m TFGF> max log size = 100 TFGF> name resolve order = host wins bcast TFGF> time server = Yes TFGF> socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 TFGF> hostname lookups = Yes TFGF> load printers = No TFGF> printcap name = cups TFGF> add user script = /usr/sbin/adduser -n -g w2k -c Estacao -d /dev/null -s TFGF> /bin/false %m$ TFGF> delete user script = /usr/sbin/userdel %m$ | /usr/sbin/smbpasswd -x %m$ TFGF> logon path = \\%L\profiles TFGF> logon drive = Z: TFGF> logon home = \\%L\profiles TFGF> domain logons = Yes TFGF> os level = 200 TFGF> domain master = Yes TFGF> dns proxy = No TFGF> wins support = Yes TFGF> admin users = root TFGF> hosts allow = 192.168.1., 127. TFGF> [netlogon] TFGF> comment = Network Logon Service TFGF> path = /home/netlogon TFGF> read only = No TFGF> create mask = 0777 TFGF> force create mode = 0777 TFGF> guest ok = Yes TFGF> [profiles] TFGF> comment = %u TFGF> path = /home/%u/profile TFGF> read only = No TFGF> create mask = 0777 TFGF> force create mode = 0770 TFGF> [publico] TFGF> comment = Arquivos pblicos TFGF> path = /home/pulico TFGF> valid users = @users TFGF> write list = @users TFGF> read only = No TFGF> create mask = 0777 TFGF> force create mode = 0777 TFGF> force directory mode = 0777 TFGF> guest ok = Yes TFGF> I already created the machine account(machine$) added to smbpasswd -a -m TFGF> machine$ but my W2k does not join to the domain. TFGF> The W2K error: TFGF> The specified error occured when trying to join to domain "SAOPAULO": TFGF> The specified domain does not exists or it cannot be contacted. TFGF> This message was translated from Portuguese, maybe have some divergences. TFGF> Thanks a lot, TFGF> Tercio F. Gaudencio Filho TFGF> Cosa Interm?quinas - S?o Paulo - Brasil