LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba : New windows xp clients cant join samba domain (http://www.linuxquestions.org/questions/linux-newbie-8/samba-new-windows-xp-clients-cant-join-samba-domain-826918/)

lyschange 08-18-2010 02: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

Regards

scruggsdl 08-27-2010 11:41 AM

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

redhawk1973 08-27-2010 11:52 AM

Can you post your samba config file

redhawk1973 08-27-2010 11:56 AM

From http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2570619
 
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 03:38 AM

Hi All this is the smb.conf file.

workgroup = BEC
security = user
passdb backend = ldapsam:ldap://becdata.bec.co.sz
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

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

[test]


# [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

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

[common]
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 01:27 AM.