[Samba] Samba-PDC Problem

Matt Bednarik mattb at prismequine.com
Wed Aug 6 15:27:58 GMT 2003


On 05.08.2003 16:21 Uhr, "Todd Johnson" <toddj at dnr.state.ak.us> wrote:

> This is a small section of our networks smb.conf file. We are running
> 2.2.8a with NIS and I want samba to emulate a PDC. I have ran down the
> Unofficial HowTO on this but still come up with this problem. The
> smb.conf file shows we want to use domain logins (domain logins = yes).
> The bottom file shows what testparms spits out in the log and domain
> logins = no in this case. Does anyone have any ideas where its picking
> up the no?
> 
> [global]
> netbios name = eagle1
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> server string = BOA Samba
> local master = yes
> preferred master = yes
> domain logons = yes
> domain master = yes
> workgroup = anc-smb
> interfaces = *.*.*.*
> logon home = /walrus/%U
> log file = /var/log/samba-log.%m
> log level = 2
> max log size = 50
> lock directory = /var/lock/samba
> printcap name = /etc/printcap
> security = user
> wins support = yes
> dns proxy = yes
> os level = 99
> remote announce = *.*.*.*
> deadtime = 15
> 
> Notice where domain logins = yes
> 
> When I do a testparm to see our settings this is a brief section of the
> report
> 
> mangled stack = 50
> stat cache = Yes
> domain admin group =
> domain guest group =
> machine password timeout = 604800
> add user script =
> delete user script =
> logon script =
> logon path = \\%L\%Uprofile
> logon drive =
> logon home = /walrus/%U
> domain logons = No
> 
> If the smb.conf file says domain logons = yes then why is it picking it
> up as domain logons = No?
> 
> Thoughts?
Are you trying to join a XP box or what OS? If it is XP, you have to change
a registry key, go to xp-samba.linuxgod.net/Samba.php. Otherwise make sure
you have a $ at the end of all machine trust accounts, and are you adding
machine trust accounts into smbpasswd manually? Make sure to do smbpasswd -a
-m machinename without the $, it will add it.




More information about the samba mailing list