You are missing a couple of things, mostly the setup on the xp machine,
check this out
http://groups.google.com/groups?q=windows+xp+samba+pdc&hl=en&lr=&ie=UTF-
8&oe=utf-8&selm=slrnb0rk25.6ua.sy_nttvr%40gurcragntba.pbz&rnum=2 , and
everything should work fine.

Barry Johnson
Systems Administrator


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Simran Hansrai
Sent: Monday, September 29, 2003 8:43 PM
To: [EMAIL PROTECTED]
Subject: Samba PDC - WinXP Issues


Hi Guys,

I have installed and configured samba on a redhat 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 
failed."

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:
enermax$:x:534:201:enermax:/dev/null:/bin/false
jeonamur$:x:535:201:jeonamur:/dev/null:/bin/false

/etc/smbpasswd:
jeonamur$:535:AE7D4C9527EFD952B97F4EB3E2D4130F:3E7FE739CDEB16486F4686B96
ED02CBF:[W 
         ]:LCT-3F78B510:
enermax$:534:DA838D55F99FD0BC6879F19168D4B105:F47AE8F4B8B7E2B13F237B7384
9D4799:[W 
         ]:LCT-3F78CF75:


-----
smb.conf
-----
[global]

   ;basic server settings
   workgroup = chamkila.org
   netbios name = manak
   server string = Samba PDC running %v
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=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 = 127.0.0.1 192.168.0.0/255.255.255.0
   ;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 ====
[homes]
  comment = Home Directories
  browseable = no
  writeable = yes
[profiles]
  path = /home/samba/profiles
  writeable = yes
  browseable = no
  create mask = 0600
  directory mask = 0700
[netlogon]
  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.
[EMAIL PROTECTED]




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to