The searchFlags property of the attributeSchema class that represents the
attribute you'd like preserved during logical deletion.

1. Run ADSIEDIT.MSC (Support Tools) (Requires Schema Admins)
2. Expand the Schema NC (Naming Context)
3. Locate "cn=<attribute>"
4. Right click it and select Properties
5. Locate and edit the "searchFlags" property
6. Perform a bitwise-or of bit 3 (the 8)
7. Click OK
8. Right click the node in the left pane labeled "Schema [your DC's FQDN]",
select "Update Schema Now"

To make my reason for asking clear, I don't think modifying an enterprise
wide schema property for the sake of recovering slightly more quickly from
occasional deletions is particularly good practice ... but that's just me
:o)

--
Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 11:30 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Keep existing attributes from users restored.

Out of curiosity Dean, what schema mod is this? 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Friday, July 08, 2005 11:20 AM
To: Send - AD mailing list
Subject: RE: [ActiveDir] Keep existing attributes from users restored.

To do that, you need to modify the schema.  The schema modification must be
in place before the deletion occurs, are you prepared to modify the schema
for such a rare occurrence (at least I hope this is rare)?

--

Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of TIROA YANN
Sent: Friday, July 08, 2005 11:05 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Keep existing attributes from users restored.

Hello all :)

I recovered deleted users from deletion succesfully by either the following
method http://support.microsoft.com/kb/840001/en-us or the excellent
adrestore tool from sysinternals.

But when i restore deleted users, all their existing attributes (such as
telephone, fax dispalyname, sn, givenname,etc..) are not kept after
restoration.
The account is only disabled.

Only their sids are kept. I'd like to find a way to recover all their
attributes too that is to say the state they were before deletion.

Any ideas ?

Thanks in advance.

Cheers,

Yann TIROA

Centre de Ressources Informatique.
Campus Scientifique de la DOUA.
Bât. Gabriel Lippmann - 2 ème étage - salle 238.
43, Bd du 11 Novembre 1918.
69622 Villeurbanne Cedex.


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/



List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/



List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to