Can't say on the adfind/admod pairing...I'm waiting for the DEC session
on JoeWare in a couple of weeks :-)

What object got returned by adfind? Is it something you can get to with
ADUC? If so, Exchange Tasks->Remove all Exchange Attributes may be the
cleanest way to make sure that all of the right bits get removed. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Tuesday, February 15, 2005 1:35 PM
To: ActiveDir@mail.activedir.org
Cc: joe
Subject: RE: [ActiveDir] Remove orphaned account

Ok, now I'm getting somewhere.  Correct me if I'm wrong.  Would this be
the correct command to find and remove that account that the SMTP
address is associated with?

Adfind -gc -b -f "proxyaddresses=smtp:[EMAIL PROTECTED]" | admod -del

-Devon

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Tuesday, February 15, 2005 3:26 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Remove orphaned account

Ok, I found the address using adfind -gc -b -f
"proxyaddresses=smtp:[EMAIL PROTECTED]", but now how do I remove it from
AD?

-Devon

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Tuesday, February 15, 2005 3:21 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Remove orphaned account

About 10mins.  When I do a normal AD search for that SMTP address, it
does not return any results.  That adfind command didn't find any
results either.

-Devon

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Coleman, Hunter
Sent: Tuesday, February 15, 2005 3:12 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Remove orphaned account

How quickly did you try to reuse that SMTP address? I've seen that when
I delete a mailbox or contact and immediately try to apply the address
to another object.

Might be worth verifying that the address is gone:
Adfind -gc -b dc=domain,dc=com -s subtree -f
"proxyaddresses=*youraddress*" name 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Tuesday, February 15, 2005 12:52 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Remove orphaned account

I have a user account that I deleted in AD.  When I try to add another
user with that same SMTP address, it stated that the address already
exists.  When I do a search for that address in AD, I get no results.
How can I remove this SMTP address from AD?

Devon Harding
Windows Systems Engineer
Southern Wine & Spirits - GSD
954-602-2469

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/
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