[Samba-it] Cambio nomi Pc
simo
simo.sorce at xsec.it
Sun Jul 23 00:04:01 MDT 2006
On Fri, 2006-07-21 at 18:01 +0200, Mirko wrote:
[..]
> non riesco a rinominare i Pc inseriti nel dominio.
>
> Il tentativo mi viene rifiutato con un messaggio di "Acceso negato" e
> con il seguente errore
>
>
> [2006/07/21 17:36:07, 0] passdb/pdb_tdb.c:tdb_update_samacct_only(640)
> Unable to modify passwd TDB! Error: Record does not exist occured
> while storing the main record (USER_muletto2$)
[..]
> add user script = /usr/sbin/useradd -g 501 -s /bin/false -d
> /dev/null -m %u
> delete user script = /usr/sbin/userdel -r %u
> add group script = /usr/sbin/groupadd %g
> delete group script = /usr/sbin/groupdel %g
> add user to group script = /usr/bin/gpasswd -a %u %g
> delete user from group script = /usr/bin/gpasswd -d %u %g
> add machine script = /usr/sbin/useradd -g 501 -s /bin/false -d
> /dev/null -m %u
[..]
> Non riesco a capire cosa succeda...
Che ne dici di aggiungere anche un comodo "rename user script" ? :-)
Leggi bene la manpage per i dettagli.
Simo.
More information about the samba-it
mailing list