[Samba-it] Problema accesso al dominio PDC conm samba 3.0.5
Alessio
alessio.bottazzi at tin.it
Thu Aug 5 15:24:02 MDT 2004
Ho configurato samba come pdc seguendo tutta la procedura indicata qui
http://www.openskills.info/view/box...ype=description
<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 il computer al dominio "BCL" 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 accesso del pc:
[2004/08/03 09:52:30, 2] smbd/server.c:main(887)
Changed root to /home/Bcl
[2004/08/03 09:52:30, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.139.5)
[2004/08/03 09:52:30, 2] smbd/reply.c:reply_special(208)
netbios connect: name1=BCLX name2=PC5
[2004/08/03 09:52:30, 2] smbd/reply.c:reply_special(215)
netbios connect: local=bclx remote=pc5, name type = 0
[2004/08/03 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 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 09:52:30, 2] smbd/server.c:exit_server(568)
Closing connections
Deduco che non riesce a trovare il file smbpasswd, anche se esiste!
Questo è il mio 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
Qualcuno ha qualche indicazione da darmi su cme risolvere il problema?
Sul pc (Windows XP Pro) ho applicato le modifiche necessarie per
autenticarsi al dominio (sia nel registro che nel criteri i protezione)
Grazie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20040805/d09e5019/attachment.html>
More information about the samba-it
mailing list