Newsgroup: it.comp.os.linux.iniziare
Titolo: Errore accesso dominio samba

Ho configurato samba come pdc seguendo tutta la procedura indicata qui
http://www.openskills.info/view/boxdetail.php?IDbox=552&boxtype=description
tuttavia quando provo a collegare il pc al dominio mi sempre questo errore:
Durante il tentativo di aggiungere ilcomputer al dominio "XXX" si è
verificato il seguente errore:
Errore durante l'accesso: nome utente sconosciuto o password non valida.
Eppure ho configurato correttamente smbpassword e gli script per aggiungere
le macchine al dominio.
Questo è il  log di samba relativo al tentativo di accesso al dominio:
[2004/08/03 10:33:44, 2] smbd/server.c:main(887)
Changed root to /home/Bcl
[2004/08/03 10:33:44, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.139.5)
[2004/08/03 10:33:44, 2] smbd/reply.c:reply_special(208)
netbios connect: name1=BCLX name2=PC5
[2004/08/03 10:33:44, 2] smbd/reply.c:reply_special(215)
netbios connect: local=bclx remote=pc5, name type = 0 [2004/08/03 10:33:44,
0] lib/debug.c:reopen_logs(588)
Unable to open new log file /var/log/samba/pc5.log: No such file or
directory [2004/08/03 10:33:44, 0] lib/debug.c:reopen_logs(588)
Unable to open new log file /var/log/samba/pc5.log: No such file or
directory [2004/08/03 10:33:44, 0] lib/debug.c:reopen_logs(588)
Unable to open new log file /var/log/samba/pc5.log: No such file or
directory [2004/08/03 10:33:44, 0] lib/debug.c:reopen_logs(588)
Unable to open new log file /var/log/samba/pc5.log: No such file or
directory [2004/08/03 10:33:44, 2]
smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources. [2004/08/03 10:33:44, 2]
smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources. [2004/08/03 10:33:44, 0] lib/debug.c:reopen_logs(588)
Unable to open new log file /var/log/samba/pc5.log: No such file or
directory [2004/08/03 10:33:44, 0]
passdb/pdb_smbpasswd.c:startsmbfilepwent(193)
startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist.
Couldn't create new one. Error was: No such file or directoryUnable to open
passdb database. [2004/08/03 10:33:44, 2]
auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [root] -> [root] FAILED with
error NT_STATUS_NO_SUCH_USER [2004/08/03 10:33:44, 2]
smbd/server.c:exit_server(568)
Closing connections
Sapete darmi un indicazione su cosa devo andare a modificare per far
funzionare il pdc?
Grazie

Questo è il smb.conf:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/08/03 16:39:36
# Global parameters
[global]
workgroup = BCL
server string = BCL Samba PDC - Versione %v
update encrypted = Yes
client schannel = No
server schannel = No
min passwd length = 8
obey pam restrictions = Yes
private dir = /etc/samba/
root directory = /home/Bcl
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updat
ed*successfully*
unix password sync = Yes
ntlm auth = No
client lanman auth = No
client plaintext auth = No
log level = 2
log file = /var/log/samba/%m.log
max log size = 100
name resolve order = lmhosts host wins bcast
time server = Yes
unix extensions = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
disable spoolss = Yes
mangling method = hash
add machine script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
logon script = netlogon.bat
logon path = \\%L\profiles\%U
logon drive = Z:
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 128
preferred master = Yes
domain master = Yes
dns proxy = No
ldap ssl = no
pid directory = /var/run/samba
winbind cache time = 15
cups options = raw
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
strict locking = No
[netlogon]
comment = Servizi Accesso Rete
path = /home/netlogon
write list = @admin
browseable = No
[profiles]
comment = Profili Accesso Rete
path = /home/profiles
read only = No
guest ok = Yes
browseable = No
[homes]
comment = Home Directories
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[public]
comment = Public
path = /home/samba
read only = No
guest ok = Yes
[software]
comment = Software
path = /home/software
read only = No
guest ok = Yes
[effetti]
comment = Effetti Gx
path = /usr/gx23/effetti
read only = No
guest ok = Yes
[client]
comment = Client Gx
path = /home/client
read only = No
guest ok = Yes
[client23]
comment = Client Gx 2.3
path = /home/client23
read only = No
guest ok = Yes
[d-Copia 20]
comment = Olivetti d-Copia 20
path = /tmp
guest ok = Yes
hosts allow = 
192.168.139.0/255.255.255.0
printable = Yes
[Bcl]
comment = Documenti Bcl
path = /home/Bcl
read only = No
guest ok = Yes

 Questo è il smb.conf: [...]
Non che me ne intenda molto di samba (semmai il contrario) ma puoi per 
favore postare il tuo smbusers (.conf)? Potrebbe essere che 
l'amministratore sia registrato con un alias diverso da root.
Ciao
-- 
enoslx
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GP/IT d- s+:- a- C+++ UL+++$ E---@ W++ N++ w--
M->+ PS+ PE- PGP- t+ 5? X- tv+ b++ e h! r z
------END GEEK CODE BLOCK------