DNS Server using samba
Hello there am trying to make a DNS server using SAMBA. I found this configuration in a spanish forun and tried it but i cant log into de domain from windows. Any idea what can io have wrong?
Create machine acct in the machnies group and no asign shell # /usr/sbin/useradd -g machines -d /dev/null -c "machine nickname" -s /bin/false machine_name$ Block the acct to avoid shell access # passwd -l machine_name$ Create samba acct, option -m indicates that is a machine acct #smbpasswd -a -m machine_name We also havve to create a linux acct and a samba acct for each user we add to the domain # useradd userid # passwd -l userid # smbpasswd -a userid Enter Password: <pw> This is may global settins in my smb.conf [global] wins support = yes dns proxy = yes time server = yes netbios name = milinux server string = Linux PDC running %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 os level = 64 prefered master = yes local master = yes domain master = yes security = user encrypt passwords = yes domain logons = yes debug level = 2 log file = /var/log/samba/log.%m log level = 2 max log size = 50 logon home = \\%L\%U\.profile logon drive = X: logon path = \\%L\profiles\%U workgroup = DOMINIO add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u |
Hi,
I don't know what is going wrong with your config... but i'm a bit surprised by the title of the thread... Samba might be used as a DNS server (i don't really see how but one cannot be sure of anything in this open world), but i think you're talking of domain controler (which is not really the same thing). Anyway, i shall advise having a look at chapter 3 and 4 of http://us3.samba.org/samba/docs/man/Samba-Guide/ The above guide is entitled Samba-3 by Example... very good reading concerning interactions of Samba, printing, DNS, DHCP, Domain controller, logon scripts... |
All times are GMT -5. The time now is 02:46 PM. |