LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba - Cannot join domain (https://www.linuxquestions.org/questions/linux-software-2/samba-cannot-join-domain-96234/)

m4rk 09-24-2003 06:02 AM

Samba - Cannot join W2k pc to domain
 
:Pengy: Help!

I am running Samba server 2.2.7a on a Mandrake 9.1 system and have started having a problem.
:scratch:
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?
:confused:

david_ross 09-24-2003 02:49 PM

Welcome to LQ.

Try adding root as a samba user then use root to add the machine to the domain.

m4rk 09-25-2003 04:39 AM

Thanks for the suggestion, but I have already tried that!

Any other ideas?

david_ross 09-26-2003 12:28 PM

This sounds liek a similar problem - he actually figured it out himself before I could reply:
http://www.linuxquestions.org/questi...944#post499944

snipper 06-27-2007 08:28 AM

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.

snipper 06-27-2007 08:38 AM

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...

snipper 06-27-2007 08:40 AM

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...


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