| Author | Messages | |
PeterJ
Posts:5
 | | 09/01/2005 9:11 AM |
| Hi all
How could I, using adfind, really useful tool by the way
respect to joe!!, find all users who have an expiry date set on their account.
What would the name of that attribute be?
Thanks in advance
Regards
Peter Johnson | | | |
| listmail
Posts:455
 | | 09/01/2005 2:23 AM |
| As Neil indicated, you can look at accountExpires
attribute. Adfind will decode that to a date for you if you use the -tdc switch.
Unfortunately at the present time you can't specify a date in the query to
adfind in the query and have it give you the objects matching. However, there is
another tool on the website called findexpacc which will find expired accounts
and expired passwords and can be set to tell you what accounts/passwords are
expired in X days. You could put in say 10000 for that value and it will tell
you all accounts that will be expired in the next 10000 days.
findexpacc /?
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Peter
JohnsonSent: Thursday, September 01, 2005 5:09 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] Finding user's with
certain attributes Hi all
How could I, using adfind, really
useful tool by the way respect to joe!!, find all users who have an expiry date
set on their account. What would the name of that attribute
be?
Thanks in
advance
Regards
Peter
Johnson | | | |
| nicolasb@xxxx.yyy
 | | 09/01/2005 9:18 AM |
| Peter,
Not trying to oversimplify things “
but a really easy way to find most attributes, it to put a really obvious value
in the attrib for a specific user, and examine the object with LDP or ADSI edit
afterwards and see what got populated.
As such, there is no expiry date attrib
that I™m aware of “ you can calculate it though -
Check out this newsgroup thread: http://tinyurl.com/2n8ju
Sorry for the indirect answer mate.
From: Peter Johnson
[mailto:PeterJ@xxxxxxxx]
Sent: 01 September 2005 11:09 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: [ActiveDir] Finding
user's with certain attributes
Hi all
How could I, using adfind, really useful tool by the way
respect to joe!!, find all users who have an expiry date set on their account.
What would the name of that attribute be?
Thanks in advance
Regards
Peter Johnson | | | |
| AD000001290
Posts:0
 | | 09/01/2005 9:31 AM |
| That
would be "accountExpires", I believe. The value is stored in INT8 format so I'm
not sure how to interpret the result :(
neil
-----Original Message-----From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]On Behalf Of Peter
JohnsonSent: 01 September 2005 10:09To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] Finding user's
with certain attributes
Hi
all
How could I, using adfind, really
useful tool by the way respect to joe!!, find all users who have an expiry
date set on their account. What would the name of that attribute
be?
Thanks in
advance
Regards
Peter
Johnson
PLEASE READ: The information contained in this email is confidential and
intended for the named recipient(s) only. If you are not an intended
recipient of this email please notify the sender immediately and delete your
copy from your system. You must not copy, distribute or take any further
action in reliance on it. Email is not a secure method of communication and
Nomura International plc ('NIplc') will not, to the extent permitted by law,
accept responsibility or liability for (a) the accuracy or completeness of,
or (b) the presence of any virus, worm or similar malicious or disabling
code in, this message or any attachment(s) to it. If verification of this
email is sought then please request a hard copy. Unless otherwise stated
this email: (1) is not, and should not be treated or relied upon as,
investment research; (2) contains views or opinions that are solely those of
the author and do not necessarily represent those of NIplc; (3) is intended
for informational purposes only and is not a recommendation, solicitation or
offer to buy or sell securities or related financial instruments. NIplc
does not provide investment services to private customers. Authorised and
regulated by the Financial Services Authority. Registered in England
no. 1550505 VAT No. 447 2492 35. Registered Office: 1 St Martin's-le-Grand,
London, EC1A 4NP. A member of the Nomura group of companies. | | | |
| sami.halonen@xxxx.yyy
 | | 09/01/2005 10:45 AM |
| The accountExpires attribute seems to be set on every user
object, but if the expiry date is set to "Never", the value of the attribute is
either 0 or 9223372036854775807. Anything in between means that the expiry date
is actually set to something.
-Sami From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of
neil.ruston@xxxxxxxxxxxxxSent: 1. syyskuuta 2005
12:29To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE:
[ActiveDir] Finding user's with certain attributes
That
would be "accountExpires", I believe. The value is stored in INT8 format so I'm
not sure how to interpret the result :(
neil
-----Original Message-----From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]On Behalf Of Peter
JohnsonSent: 01 September 2005 10:09To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] Finding user's
with certain attributes
Hi
all
How could I, using adfind, really
useful tool by the way respect to joe!!, find all users who have an expiry
date set on their account. What would the name of that attribute
be?
Thanks in
advance
Regards
Peter
Johnson
PLEASE READ: The
information contained in this email is confidential and
intended for the
named recipient(s) only. If you are not an intended
recipient of this
email please notify the sender immediately and delete your
copy from your
system. You must not copy, distribute or take any further
action in reliance
on it. Email is not a secure method of communication and
Nomura International
plc ('NIplc') will not, to the extent permitted by law,
accept
responsibility or liability for (a) the accuracy or completeness of,
or (b) the presence
of any virus, worm or similar malicious or disabling
code in, this
message or any attachment(s) to it. If verification of this
email is sought then
please request a hard copy. Unless otherwise stated
this email: (1) is
not, and should not be treated or relied upon as,
investment research;
(2) contains views or opinions that are solely those of
the author and do
not necessarily represent those of NIplc; (3) is intended
for informational
purposes only and is not a recommendation, solicitation or
offer to buy or sell
securities or related financial instruments. NIplc
does not provide
investment services to private customers. Authorised and
regulated by the
Financial Services Authority. Registered in England
no. 1550505 VAT No.
447 2492 35. Registered Office: 1 St Martin's-le-Grand,
London, EC1A 4NP. A
member of the Nomura group of companies. | | | |
|
|