LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 08-18-2010, 01:36 AM   #1
lyschange
LQ Newbie
 
Registered: May 2010
Posts: 8
Blog Entries: 2

Rep: Reputation: 0
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
 
Old 08-27-2010, 10:41 AM   #2
scruggsdl
LQ Newbie
 
Registered: Jun 2010
Location: Classified
Distribution: CentOS, RHEL, Fedora, Solaris
Posts: 16

Rep: Reputation: 0
I am having the same issue and would like answers to this as well, can anyone help?
 
Old 08-27-2010, 10:52 AM   #3
redhawk1973
Member
 
Registered: Jul 2003
Location: Woodbridge VA
Distribution: Red Hat, Suse, AIX, Fedora, Cent OS, Ubuntu, Mint Linux
Posts: 58

Rep: Reputation: 18
Can you post your samba config file
 
Old 08-27-2010, 10:56 AM   #4
redhawk1973
Member
 
Registered: Jul 2003
Location: Woodbridge VA
Distribution: Red Hat, Suse, AIX, Fedora, Cent OS, Ubuntu, Mint Linux
Posts: 58

Rep: Reputation: 18
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.
 
Old 08-31-2010, 02:38 AM   #5
lyschange
LQ Newbie
 
Registered: May 2010
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto get qemu Windows XP guest to join a Samba domain? garydale Linux - Software 1 12-26-2009 12:43 PM
need help for samba as domain controller for windows clients ARsenthil Linux - Server 3 02-18-2008 11:10 AM
Samba Domain Controler for windows clients thsot Linux - Server 2 12-25-2007 04:08 AM
Samba: Clients fail to join domain, machine password not found Neruocomp Linux - Software 0 07-20-2006 10:25 AM
How to join windows xp in samba domain jhone_redhat Linux - Networking 1 02-04-2006 08:52 AM


All times are GMT -5. The time now is 12:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration