-   Linux - Newbie (
-   -   Samba : New windows xp clients cant join samba domain (

lyschange 08-18-2010 01:36 AM

Samba : New windows xp clients cant join samba domain
Hi all , weve been running samba on linux for a while and everything was fine. All of a sudden when you add new clients to the domain you get the error message :Logon Failure:unknown user name or bad password. This to me seems like a windows error message and not a samba error. When you remove an existing machine (ie on domain) and then try to rejoin it to the domain you fail.

Please help any assistance will be appreciated


scruggsdl 08-27-2010 10:41 AM

I am having the same issue and would like answers to this as well, can anyone help?

redhawk1973 08-27-2010 10:52 AM

Can you post your samba config file

redhawk1973 08-27-2010 10:56 AM

The procedure for making an MS Windows workstation or server a member of the domain varies with the version of Windows.
Windows 200x/XP Professional Client

When the user elects to make the client a domain member, Windows 200x prompts for an account and password that has privileges to create machine accounts in the domain.

A Samba administrator account (i.e., a Samba account that has root privileges on the Samba server) must be entered here; the operation will fail if an ordinary user account is given. The necessary privilege can be assured by creating a Samba SAM account for root or by granting fro

The name of the account that is used to create domain member machine trust accounts can be anything the network administrator may choose. If it is other than root, then this is easily mapped to root in the file named in the smb.conf parameter username map = /etc/samba/smbusers.

lyschange 08-31-2010 02:38 AM

Hi All this is the smb.conf file.

workgroup = BEC
security = user
passdb backend = ldapsam:ldap://
ldap admin dn = cn=Directory Manager
ldap suffix = dc=seb,dc=co,dc=sz
ldap user suffix = ou=People
ldap machine suffix = ou=Computers
ldap group suffix = ou=Groups
encrypt passwords = yes

log file = /var/log/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
domain logons = yes
domain master = yes
local master = yes
preferred master = yes

wins support = yes

logon home =
logon path =

logon drive = H:

template shell = /bin/false
winbind use default domain = no

path = /home/netlogon
read only = yes
browsable = no


# [profiles]
# path = /var/lib/samba/profiles
# read only = no
# writeable = yes
# read only = no
# writeable = yes
# create mask = 0777
# directory mask = 0777
# profile acls = yes

comment = Home Directory
path = /home/%u
browsable = no
writable = yes
create mask = 0664
directory mask = 0775

comment = Global Share - All Users
path = /data/common
public = Yes
browseable = Yes
writable = Yes
browsable = Yes
write list = @common
create mask = 0666

All times are GMT -5. The time now is 05:10 PM.