Da Etch a Lenny: problema con Samba e client Win 98
ciao a tutti
a fine settimana scorsa ho aggiornato Etch a Lenny.
Con l'aggiornamento anche di samba (che ora e' alla 3.0.24)
e' impossibile accedere al dominio e validarsi dai client win 98.
Tutto regolare invece per gli utenti Win XP.
Nei log compare quanto segue
[2008/01/07 09:36:06, 10] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(761)
mod_smbfilepwd_entry: opening file /etc/samba/smbpasswd
[2008/01/07 09:36:06, 6] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(875)
mod_smbfilepwd_entry: entry exists for user XXXXX
[2008/01/07 09:36:06, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/01/07 09:36:06, 5] auth/auth.c:check_ntlm_password(273)
check_ntlm_password: sam authentication for user [XXXXX] FAILED with error NT_STATUS_WRONG_PASSWORD
Ho provato a cancellare l'utente, ricrearlo, modificare la password con smbpasswd
ma senza risultato, cosi' come una ricerca bugs isa su samba.org che su debian.
per il momento ho risolto rimappando l'utente con password sbagliata all'utente nobody,
ma chiaramente non puo' utilizzare la sua /home.
Questo il mio smb.conf
[global]
workgroup = YYYYYYYYY
domain logons = yes
server string = %h Server (Samba %v)
hosts deny = ALL
hosts allow = 192.168.2. 127.0.0.
load printers = yes
printcap name = /etc/printcap
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
guest account = nobody
log file = /var/log/samba/smb-%m.log
max log size = 200
log level = 3 passdb:10 auth:10 winbind:2
name resolve order = host wins bcast
client ntlmv2 auth = no
security = user
map to guest = Bad Password
guest ok = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
interfaces = 192.168.2.0/24 127.0.0.0/8
logon script = login.bat
#message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
local master = yes
os level = 65
domain master = yes
preferred master = yes
; logon path = \\%L\Profiles\%U
wins support = yes
wins proxy = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes
writable = no
browseable = no
#share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /tmp
browseable = no
# Set public = yes to allow user 'guest account' to print
;guest ok = yes
writable = no
printable = yes
public = yes
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[public]
comment = Public Stuff
path = /home/samba
public = yes
writable = yes
printable = no
write list = @staff
[fileserver]
comment = Fileserver
path = /home/fileserver
public = yes
writable = yes
printable = no
write list = @staff
qualche soluzione?
grazie in anticipo
ciao
--
snowdog@tiscali.it
Cicloblog: http://snowdog.altervista.org/pppblog/
Ciclofotoblog: http://ciclografia.blogspot.com
Foto: http://www.flickr.com/photos/fotosprecate/
Reply to: