[Samba-it] cambio psw da Xp

Simo Sorce simo.sorce at xsec.it
Thu Feb 5 14:21:01 MST 2004


On Thu, 2004-02-05 at 14:07, Ugo Putignano wrote:
> log:
> 
> [2004/02/05 12:19:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
> [2004/02/05 12:19:31, 3] smbd/chgpasswd.c:chat_with_program(419)
>    Dochild for user ugo (uid=0,gid=0) (as_root = Yes)
> [2004/02/05 12:19:33, 2] smbd/chgpasswd.c:expect(277)
>    expect: Success
> [2004/02/05 12:19:33, 3] smbd/chgpasswd.c:talktochild(308)
>    Response 1 incorrect
> [2004/02/05 12:19:33, 3] smbd/chgpasswd.c:chat_with_program(364)
>    Child failed to change password: ugo
> [2004/02/05 12:19:33, 3] smbd/chgpasswd.c:chat_with_program(395)
>    The process exited while we were waiting

È sicuramente un problema di chat, il chat script non è corretto.

Per verificare la correttezza di un chat script, semplicemente, esegui
il passwd program per cambiare la password e verifica che tutto l'output
che vedi corrisponda a ciò che hai messo in smb.conf

La domanda vera è: ma ti server realmente sincronizzare la password di
samba con quella degli utenti linux/unix ? Se gli utenti non devono
accedere in shell (o altri servizi autenticati) è più semplice lasciare
loro solo la password di samba e disabilitare la password unix (ed il
sync delle password in smb.conf).


Simo.

-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Garofalo, 39 - 20133 - Milano
mobile: +39 329 328 7702
tel. +39 02 2953 4143 - fax: +39 02 700 442 399



More information about the samba-it mailing list