LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2003, 06:02 AM   #1
m4rk
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Question Samba - Cannot join W2k pc to domain


Help!

I am running Samba server 2.2.7a on a Mandrake 9.1 system and have started having a problem.

Last week I was able to join w2k workstations to the domian, but this week I am getting the error massage :

'The following error occured attempting to join the domain "<domain>"

The account used is a computer account. Use your global user account or local user account to access this server.'

I have tried manually creating the computer account on the server, but this makes no difference. I have also tried a different add user script in smb.conf, which has made no difference.

Here is part of smb.conf:

[global]
log file = /var/log/samba/log.%m
debug uid = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = True
null passwords = Yes
encrypt passwords = Yes
logon home = \\samba01\home\%U
dns proxy = No
netbios name = SAMBA01
printing = cups
server string = Samba Server %v
debug pid = Yes
logon script = default.bat
min passwd length = 4
workgroup = <domain>
logon path = \\samba01\home\%U\profile
debug hires timestamp = Yes
os level = 64
add user script = /usr/sbin/useradd -d /dev/null -g nobody -c 'Machine Account' -s /bin/false -M %u
printcap name = lpstat
max log size = 50
log level = 3
domain logons = Yes
domain admin group = root adminuser @adminuser

[homes]
comment = Home Directories
read only = No
browseable = No


Any suggestions?

Last edited by m4rk; 09-24-2003 at 06:11 AM.
 
Old 09-24-2003, 02:49 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Try adding root as a samba user then use root to add the machine to the domain.
 
Old 09-25-2003, 04:39 AM   #3
m4rk
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the suggestion, but I have already tried that!

Any other ideas?
 
Old 09-26-2003, 12:28 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
This sounds liek a similar problem - he actually figured it out himself before I could reply:
http://www.linuxquestions.org/questi...944#post499944
 
Old 06-27-2007, 08:28 AM   #5
snipper
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
please help - i am a new user and kinda new to linux

I Can't join my Samba Domain from my xp box.. plz help.. appreciate in advance.
 
Old 06-27-2007, 08:38 AM   #6
snipper
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
some1 plz help me... or send me a smb.conf file.. i wll modify it.. with my requirements.. me new to this site..help help...
 
Old 06-27-2007, 08:40 AM   #7
snipper
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
me using fedora 6 and samba 3... ny more information required.. i am able to see the share files and i can access my linux box..it doesnt ask me for any authentication. whn i try to add my xp box to linux domain, it gives me the error bad username or password.. im trying with root and the password. ny1 suggest wht to do...
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Cannot join Samba domain. codedv Linux - Networking 0 10-12-2004 05:33 PM
Can't join my Samba Domain subaruwrx Linux - Networking 53 09-30-2004 10:29 AM
join samba domain! egyptian Linux - Networking 1 07-29-2004 10:18 AM
Join Domain in SAMBA Server radixiz Linux - Software 3 11-28-2003 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration