[Samba] Samba PDC - WinXP Issues

Simran Hansrai linux at chamkila.org
Tue Sep 30 00:38:20 GMT 2003

Hi Guys,

I have installed and configure samba on a redhate 8.0 box to act as a 
PDC.  When I try and add a user to my domain from my WinXP client 
machine, I get the following error:

"The user could not be added because of the following error has occured: 
  The trust relationship between this workstation and the primary domain 

I have search google.com and have tried a couple of different things but 
none seem to work.

The following is my entry for my workstations in /etc/passwd:



    ;basic server settings
    workgroup = chamkila.org
    netbios name = manak
    server string = Samba PDC running %v
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
    unix password sync = yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* 
%n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 
*passwd: *all*authentication*tokens*updated*successfully*
    add user script = /usr/sbin/adduser -n -g machines -c Machine -d 
/dev/null -s /bin/false %m$

    ;PDC and master browser settings
    os level = 64
    preferred master = yes
    local master = yes
    domain master = yes
    domain logons = yes
    domain admin group = simran administrator aman

    ;security and logging settings
    security = user
    status = yes
    encrypt passwords = yes
    log file = /var/log/samba/log.%m
    log level = 2
    max log size = 50
    hosts allow =
    ;user profiles and home directory

    logon home = \\%L\%U\
    logon drive = H:
    logon path = \\%L\profiles\%U
    logon script = netlogon.bat

    wins support = yes
    dns proxy = yes
    wins proxy = yes
# ==== shares ====
   comment = Home Directories
   browseable = no
   writeable = yes
   path = /home/samba/profiles
   writeable = yes
   browseable = no
   create mask = 0600
   directory mask = 0700
   comment = Network Logon Service
   path = /home/netlogon
   read only = yes
   browseable = no
   write list = tom


Is there something that I am missing?  Any suggestions or comments would 
be grately appreciated.

Thanks in advance,
Simran H.
linux at chamkila.org

More information about the samba mailing list