[Samba] pdc configuration

Asier Baranguán abaranguan at elpagestion.com
Wed Mar 21 17:08:44 GMT 2007


fharrington at ocln.org escribió:
>    
> Hello,
> 
> I am using the February 15, 2002 document by Andrew Bartlett titled Using 
> Samba as a PDC.
> 
> Having difficulty, is there a more recent document or guidelines ? I am 
> getting access denied - shares have worked but not the PDC part.
> 
> below is the smb.conf without comments:
> 
> #begin smb.conf
>    workgroup = CENTOS
>    server string = Samba Server
>    hosts allow = 192.199.2.
> 
> printcap name = /etc/printcap
>    load printers = yes
> cups options = raw
>  log file = /var/log/samba/%m.log
>    max log size = 50
>    security = user
>   encrypt passwords = yes
>   domain logons=yes
>   unix password sync = Yes
>   passwd program = /usr/bin/passwd %u
>    socket options = TCP_NODELAY SO_RCVBUF=8192 
> SO_SNDBUF=8192
>    dns proxy = no

You must add the following to become a PDC:

### PDC
     domain master = yes
     domain logons = yes
     preferred master = yes
     local master = yes
     os level = 100

If you have Windows clients add:

     wins support = yes
     name resolve order = wins hosts lmhosts bcast


More information about the samba mailing list