Comment modifier le SID ou RID d'un compte machine samba

Bonjour,

j’effectue une migration de samba 3.5.x à 3.6.x.
J’aimerais savoir comment modifier le SID d’un compte machine crée avec la commande smbpasswd -a -m nom_machine avec la commande pdbedit.

Dans la liste des options il y a:

mais je ne trouve pas la bonne syntaxe.

J’ai essayé les syntaxes suivantes mais en vain:

pdbedit --machine m4500w7-1$ SID=S-1-5-21-2619297-3964944047-3880302948-1309 pdbedit -M m4500w7-1$ SID=S-1-5-21-2619297-3964944047-3880302948-1309 pdbedit --machine m4500w7-1$ SID="S-1-5-21-2619297-3964944047-3880302948-1309"

Quelqu’un aurait déjà-t-il essayé?

Merci

[code]-M|’–machine SID’ SID|rid

This option can be used while adding or modifying a machine account. It will specify the machines' new primary group SID (Security Identifier) or rid.

Example: -M S-1-5-21-2447931902-1787058256-3961074038-1201[/code]

Source : samba.org/samba/docs/man/man … dit.8.html
Mais tente quand même un “man pbedit” pour vérifier en fonction de ta version.