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:
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
comment = Home Directories
read only = No
browseable = No