[Samba] Can't connect XP to Samba domain: (user name could not be found)

Chris Anders slash at thezoneinternet.com.au
Tue Apr 4 23:48:39 GMT 2006

Have you created a machine trust account ? thats the username its not  
happy about..

if you man smbpasswd (if your using tdbsam or smbpasswd as your  
backend) you will see the option -m
thus smbpasswd -a -m testmachine$ (dont forget the $) will add the  
machine account testmachine for you to join the domain

hope that helps

Kind Regards,

Chris Anders
Network Engineer

Anders Networks
Mobile     - 0421 580 017
Email       - chris at anders.net.au
Web         - http://www.anders.net.au

This message contains confidential information and is intended only f  
or the individual named. If you are not the named addressee you s  
hould not disseminate, distribute or copy this e-mail. Please notify  
t he sender immediately by e-mail if you have received this e-mail by  
mistake and delete this e-mail from your system. E-mail transmission  
ca n not be guaranteed to be secure or error-free as information  
could be intercepted, corrupted, lost, destroyed, arrive late or  
incomplete, or contain viruses. The sender therefore does not accept  
liability for any errors or omissions in the contents of this  
message, which arise as a result of e-mail transmission. If  
verification is required please request a hard-copy version.

On 05/04/2006, at 8:47 AM, Steve A wrote:

> I have done all I can think of to make Samba be a PDC, but I can't  
> get my
> Windows XP-SP2 client to join the domain.  I've already edited the  
> Group
> Policy for the roaming profile thingumyjig.  I am asked for the  
> user/pass (I
> use root) to add the machine to the domain, and the error is:
> "The user name could not be found".
> Here's my smb.conf, and group information.
> =================
> [global]
> 	workgroup = SAMBA-DOMAIN
> 	netbios name = SAMBA
> 	server string = KJN Server
> 	smb ports = 139
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 	load printers = No
> 	show add printer wizard = No
> 	domain logons = Yes
> 	os level = 65
> 	preferred master = Yes
> 	domain master = Yes
> 	ldap ssl = no
> [netlogon]
> 	path = /export/netlogon
> 	browseable = No
> [profiles]
> 	path = /export/profiles
> 	read only = No
> =================
> Domain Admins (S-1-5-21-1171369666-3077905698-890339982-512) -> wheel
> Domain Guests (S-1-5-21-1171369666-3077905698-890339982-514) -> nobody
> Domain Users (S-1-5-21-82349369-3985415093-3734604251-513) -> users
> =================
> Obviously root is a member of wheel, so I would have thought this  
> would
> allow me to join XP to the domain. root is also defined in
> /etc/samba/smbpasswd, with the same password as the system root user.
> There seems to be a lot of info on Samba 2.x and PDC, but not Samba  
> 3.  Does
> anyone have any ideas?
> Many thanks,
> Steve :)
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list