Hello,

I want to change a computer or a user SID so I've tried to use this command :

> ldbedit -H ldap://<ip of samba4> -U <domain>/administrator -s sub -d 10 cn=<pc or user sid>


# editing 1 records
# record 1
dn: CN=admin-PC,CN=Computers,DC=sc,DC=isc84,DC=org
...
*objectSid: S-1-5-21-1031258178-388409940-3248586695-1105*
...

I had the following error when I've tried to change the SID (in bold) :

LDAP error 53 LDAP_UNWILLING_TO_PERFORM - <00002035: samldb: objectSid must not be specified!> <> A transaction is still active in ldb context [0x2486070] on ldap://<ip of samba4>

How can I do that ?

Thanks

--
Hervé Hénoch
Responsable informatique
Institut Sainte Catherine
1750, chemin du Lavarin, 84000 Avignon
Téléphone : 04.90.27.57.44
Messagerie : h.hen...@isc84.org


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to