RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-14 Thread Grillenmeier, Guido



if your process is the only one creating the numbers, 
then you simply have to have a store that remembers the last number passed out 
and increments it appropriately. That store could even be an object/attribute in 
the config container of your AD - but you'd have to make sure that you always 
use the same DC so that replication doesn't come in your way. Only when your 
"primary" DC isn't available, you'd switch over to another DC (and then do a 
higher increment of whatever number it knows of - sort of like a FSMO role 
scenario).  
 
This even works for multiple processes 
that use and update the counter - but you'd have to add the logic 
for them to use the same DCs as primary and failover to read the last value and 
incease it appropriately.
 
/Guido


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ADSent: Montag, 13. März 2006 18:44To: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make 
EmployeeNumber unique?


You are all right. Thanks for 
the quick response guys. Once again, this group came through.
 
I should have gave a little more 
background of my problem. We would like to connect Remedy to AD. Remedy's 
requirements are unique alpha numeric number and a maximum of 15 
characters. I got it to work using 5 users but know I have to build a script 
that will 'stamp'  4 users with a unique number. The script will 
then run every 4 hours are so looking for any new user and then stamp then with 
a unique number. 
 
I have to make sure that new users do not 
get an already used number. Scanning 4 accounts every time I find a new user 
is not very effective.
 
Thanks again.
 
Y


From: [EMAIL PROTECTED] on 
behalf of Al MulnickSent: Mon 13/03/2006 12:05 PMTo: 
ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] How to make 
EmployeeNumber unique?

In the end, it really does come down to ensuring that your source value is 
unique.  Not having your global repository ensuring it's uniuqe for you. 
Subtle yet distinct difference that you'll find has it's own set of tradeoffs. 

 
If you want employeeID to be unique across your forest, ensure it's indexed 
and in your global catalogs. Add a step into your creation process that checks 
for that value prior to commit. 
 
Al 
On 3/13/06, joe 
<[EMAIL PROTECTED]> 
wrote: 
Hope 
  away, won't help. :o)Even sAMAccountName uniqueness can be 
  sidestepped, it is a distributedsystem, the only way to get true enforced 
  uniqueness is tosinglehome/singlemaster the updates that you want to be 
  unique.I have asked for triggers and business rules in AD but was told 
  by StuartKwan of the Ottawa Kwan Clan that they have already implemented 
  those for us in MIIS.  joe--O'Reilly 
  Active Directory Third Edition -http://www.joeware.net/win/ad3e.htm_From: 
  [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] 
  On Behalf Of ADSent: Monday, March 13, 2006 11:34 AMTo: ActiveDir@mail.activedir.orgSubject: 
  RE: [ActiveDir] How to make EmployeeNumber unique?I was hoping I 
  can flick a switch to enforce uniqueness. Kinda likesamaccount name or 
  DN._From: [EMAIL PROTECTED] 
  on behalf of Darren Mar-EliaSent: Mon 13/03/2006 11:24 AMTo: ActiveDir@mail.activedir.org 
  Subject: RE: [ActiveDir] How to make EmployeeNumber 
  unique?I suspect you will need an external process to do this. 
  There is nobuilt-in capability for enforcing this kind of uniqueness. So 
  you will need some centralized script or application that all changes to 
  thisattribute go through for 
  validation.Darren-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] 
  On Behalf Of ADSent: Monday, March 13, 2006 8:12 AMTo: ActiveDir@mail.activedir.orgSubject: 
  [ActiveDir] How to make EmployeeNumber unique?Hey,Can anyone 
  tell me how I can force uniqueness on the EmployeeNumberattribute? I 
  researched it for about 30 minutes but could not find an answer. I usually 
  would take more time but I am in a hurry.ThanksYves 
  St-CyrList info   : http://www.activedir.org/List.aspxList 
  FAQ: http://www.activedir.org/ListFAQ.aspxList 
  archive:http://www.mail-archive.com/activedir%40mail.activedir.org/ 
  List info   : http://www.activedir.org/List.aspxList 
  FAQ: http://www.activedir.org/ListFAQ.aspxList 
  archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread joe



I actually like the idea of assigning a unique ID from 
another system (say like a UID) but as an alternative possibility that 
doesn't require using another store... 
 
If a single domain, use the RID of the 
users.
 
If multiple domain, use some value for each domain like 
0=domain0, 1=domain1, 2=domain2, or actual prefix like Dom1, Dom2, 
Dom3, to prepend to the RID.
 
Of course the question that has to be asked, what about 
users who are moved from one domain to another. Does it happen? And if so, what 
does it mean in relation to this remedy ID?
 
 
 

--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Al 
MulnickSent: Monday, March 13, 2006 2:51 PMTo: 
ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] How to make 
EmployeeNumber unique?

Storing it in another database or file would be helpful.  If that 
doesn't work for you, if the information is indexed and in the GC, you *could* 
generate a new unique number (based on your criteria) and search for it.  
If the search comes up empty, then create it; if you get a hit, discard and take 
appropriate action to get that resolved. Rinse. Repeat as desired. 
 
-ajm 
On 3/13/06, Steve 
Evans <[EMAIL PROTECTED]> 
wrote: 
What 
  if . . .Use a SQL table with an identity column.  So you 
  find the users withoutemployee ID's (simple LDAP query), shove those into 
  the SQL table, and get back the new ID's for the AD accounts.Steve 
  Evans_From: [EMAIL PROTECTED][mailto: 
  [EMAIL PROTECTED]] On Behalf Of ADSent: Monday, March 
  13, 2006 9:44 AMTo: ActiveDir@mail.activedir.orgSubject: 
  RE: [ActiveDir] How to make EmployeeNumber unique? You are all 
  right. Thanks for the quick response guys. Once again, thisgroup came 
  through.I should have gave a little more background of my problem. We 
  would like toconnect Remedy to AD. Remedy's requirements are unique alpha 
  numeric number and a maximum of 15 characters. I got it to work using 5 
  users but know Ihave to build a script that will 'stamp'  4 
  users with a unique number.The script will then run every 4 hours are so 
  looking for any new user and then stamp then with a unique 
  number.I have to make sure that new users do not get an already used 
  number.Scanning 4 accounts every time I find a new user is not very 
  effective.Thanks again.Y_From: [EMAIL PROTECTED] 
  on behalf of Al MulnickSent: Mon 13/03/2006 12:05 PMTo: ActiveDir@mail.activedir.orgSubject: 
  Re: [ActiveDir] How to make EmployeeNumber unique?In the end, it 
  really does come down to ensuring that your source value 
  isunique.  Not having your global repository ensuring it's 
  uniuqe for you. Subtle yet distinct difference that you'll find has it's 
  own set oftradeoffs.If you want employeeID to be unique across 
  your forest, ensure it's indexedand in your global catalogs. Add a step 
  into your creation process that checks for that value prior to 
  commit.AlOn 3/13/06, joe <[EMAIL PROTECTED]> 
  wrote:Hope away, won't help. :o)Even sAMAccountName uniqueness 
  can be sidestepped, it is a distributed system, the only way to get true 
  enforced uniqueness is tosinglehome/singlemaster the updates that you want 
  to be unique.I have asked for triggers and business rules in AD but 
  was told by StuartKwan of the Ottawa Kwan Clan that they have already 
  implemented those for us in MIIS.joe--O'Reilly 
  Active Directory Third Edition -http://www.joeware.net/win/ad3e.htm_From: 
  [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] 
  On Behalf Of ADSent: Monday, March 13, 2006 11:34 AMTo: ActiveDir@mail.activedir.orgSubject: 
  RE: [ActiveDir] How to make EmployeeNumber unique?I was hoping I 
  can flick a switch to enforce uniqueness. Kinda likesamaccount name or 
  DN._From: [EMAIL PROTECTED] 
  on behalf of Darren Mar-EliaSent: Mon 13/03/2006 11:24 AMTo: ActiveDir@mail.activedir.org 
    ActiveDir@mail.activedir.org>Subject: 
  RE: [ActiveDir] How to make EmployeeNumber unique?I suspect 
  you will need an external process to do this. There is no built-in 
  capability for enforcing this kind of uniqueness. So you willneed some 
  centralized script or application that all changes to thisattribute go 
  through for validation.Darren-Original Message- 
  From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] 
  On Behalf Of ADSent: Monday, March 13, 2006 8:12 AMTo: ActiveDir@mail.activedir.orgSubject: 
  [ActiveDir] How to make EmployeeNumber unique?Hey,Can anyone 
  tell me how I can force uniqueness on the EmployeeNumber attribute? I 
  researched it for about 30 minutes but could not find ananswer. I usually 
  would take more time but I am in a hurry.ThanksYves 
  St-CyrList info   : http://www.activedir.org/List.aspxList 
  FAQ: http://www.activedir.org/ListFAQ.aspxList 
  archive:http://www.m

Re: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread Al Mulnick
Storing it in another database or file would be helpful.  If that doesn't work for you, if the information is indexed and in the GC, you *could* generate a new unique number (based on your criteria) and search for it.  If the search comes up empty, then create it; if you get a hit, discard and take appropriate action to get that resolved. Rinse. Repeat as desired. 

 
-ajm 
On 3/13/06, Steve Evans <[EMAIL PROTECTED]> wrote:
What if . . .Use a SQL table with an identity column.  So you find the users withoutemployee ID's (simple LDAP query), shove those into the SQL table, and get
back the new ID's for the AD accounts.Steve Evans_From: [EMAIL PROTECTED][mailto:
[EMAIL PROTECTED]] On Behalf Of ADSent: Monday, March 13, 2006 9:44 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make EmployeeNumber unique?
You are all right. Thanks for the quick response guys. Once again, thisgroup came through.I should have gave a little more background of my problem. We would like toconnect Remedy to AD. Remedy's requirements are unique alpha numeric number
and a maximum of 15 characters. I got it to work using 5 users but know Ihave to build a script that will 'stamp'  4 users with a unique number.The script will then run every 4 hours are so looking for any new user and
then stamp then with a unique number.I have to make sure that new users do not get an already used number.Scanning 4 accounts every time I find a new user is not very effective.Thanks again.
Y_From: [EMAIL PROTECTED] on behalf of Al MulnickSent: Mon 13/03/2006 12:05 PMTo: 
ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] How to make EmployeeNumber unique?In the end, it really does come down to ensuring that your source value isunique.  Not having your global repository ensuring it's uniuqe for you.
Subtle yet distinct difference that you'll find has it's own set oftradeoffs.If you want employeeID to be unique across your forest, ensure it's indexedand in your global catalogs. Add a step into your creation process that
checks for that value prior to commit.AlOn 3/13/06, joe <[EMAIL PROTECTED]> wrote:Hope away, won't help. :o)Even sAMAccountName uniqueness can be sidestepped, it is a distributed
system, the only way to get true enforced uniqueness is tosinglehome/singlemaster the updates that you want to be unique.I have asked for triggers and business rules in AD but was told by StuartKwan of the Ottawa Kwan Clan that they have already implemented those for
us in MIIS.joe--O'Reilly Active Directory Third Edition -http://www.joeware.net/win/ad3e.htm_From: 
[EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of ADSent: Monday, March 13, 2006 11:34 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make EmployeeNumber unique?I was hoping I can flick a switch to enforce uniqueness. Kinda likesamaccount name or DN._
From: [EMAIL PROTECTED] on behalf of Darren Mar-EliaSent: Mon 13/03/2006 11:24 AMTo: ActiveDir@mail.activedir.org
  ActiveDir@mail.activedir.org>Subject: RE: [ActiveDir] How to make EmployeeNumber unique?I suspect you will need an external process to do this. There is no
built-in capability for enforcing this kind of uniqueness. So you willneed some centralized script or application that all changes to thisattribute go through for validation.Darren-Original Message-
From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of AD
Sent: Monday, March 13, 2006 8:12 AMTo: ActiveDir@mail.activedir.orgSubject: [ActiveDir] How to make EmployeeNumber unique?Hey,Can anyone tell me how I can force uniqueness on the EmployeeNumber
attribute? I researched it for about 30 minutes but could not find ananswer. I usually would take more time but I am in a hurry.ThanksYves St-CyrList info   : 
http://www.activedir.org/List.aspxList FAQ: http://www.activedir.org/ListFAQ.aspxList archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/<http://www.mail-archive.com/activedir%40mail.activedir.org/>List info   : 
http://www.activedir.org/List.aspxList FAQ: http://www.activedir.org/ListFAQ.aspxList archive: 
http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread Steve Evans
What if . . . 
 
Use a SQL table with an identity column.  So you find the users without
employee ID's (simple LDAP query), shove those into the SQL table, and get
back the new ID's for the AD accounts.

Steve Evans


 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 9:44 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?


You are all right. Thanks for the quick response guys. Once again, this
group came through.
 
I should have gave a little more background of my problem. We would like to
connect Remedy to AD. Remedy's requirements are unique alpha numeric number
and a maximum of 15 characters. I got it to work using 5 users but know I
have to build a script that will 'stamp'  4 users with a unique number.
The script will then run every 4 hours are so looking for any new user and
then stamp then with a unique number. 
 
I have to make sure that new users do not get an already used number.
Scanning 4 accounts every time I find a new user is not very effective.
 
Thanks again.
 
Y

  _  

From: [EMAIL PROTECTED] on behalf of Al Mulnick
Sent: Mon 13/03/2006 12:05 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] How to make EmployeeNumber unique?


In the end, it really does come down to ensuring that your source value is
unique.  Not having your global repository ensuring it's uniuqe for you.
Subtle yet distinct difference that you'll find has it's own set of
tradeoffs. 
 
If you want employeeID to be unique across your forest, ensure it's indexed
and in your global catalogs. Add a step into your creation process that
checks for that value prior to commit. 
 
Al

 
On 3/13/06, joe <[EMAIL PROTECTED]> wrote: 

Hope away, won't help. :o)

Even sAMAccountName uniqueness can be sidestepped, it is a distributed
system, the only way to get true enforced uniqueness is to
singlehome/singlemaster the updates that you want to be unique.

I have asked for triggers and business rules in AD but was told by Stuart
Kwan of the Ottawa Kwan Clan that they have already implemented those for 
us in MIIS.

  joe

--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm



_

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 11:34 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?


I was hoping I can flick a switch to enforce uniqueness. Kinda like
samaccount name or DN.

_

From: [EMAIL PROTECTED] on behalf of Darren Mar-Elia
Sent: Mon 13/03/2006 11:24 AM
To: ActiveDir@mail.activedir.org  <mailto:ActiveDir@mail.activedir.org> 
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?



I suspect you will need an external process to do this. There is no
built-in capability for enforcing this kind of uniqueness. So you will 
need some centralized script or application that all changes to this
attribute go through for validation.

Darren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 8:12 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to make EmployeeNumber unique?

Hey,

Can anyone tell me how I can force uniqueness on the EmployeeNumber
attribute? I researched it for about 30 minutes but could not find an 
answer. I usually would take more time but I am in a hurry.

Thanks

Yves St-Cyr




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






<>

RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread Greg Nims


I have to make sure that new users do not get an already used number. 
Scanning 4 accounts every time I find a new user is not very 
effective.


I would store this number in a database table and increment every time you 
need a new number.

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/


RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread AD
You are all right. Thanks for the quick response guys. Once again, this group 
came through.
 
I should have gave a little more background of my problem. We would like to 
connect Remedy to AD. Remedy's requirements are unique alpha numeric number and 
a maximum of 15 characters. I got it to work using 5 users but know I have to 
build a script that will 'stamp'  4 users with a unique number. The script 
will then run every 4 hours are so looking for any new user and then stamp then 
with a unique number. 
 
I have to make sure that new users do not get an already used number. Scanning 
4 accounts every time I find a new user is not very effective.
 
Thanks again.
 
Y



From: [EMAIL PROTECTED] on behalf of Al Mulnick
Sent: Mon 13/03/2006 12:05 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] How to make EmployeeNumber unique?


In the end, it really does come down to ensuring that your source value is 
unique.  Not having your global repository ensuring it's uniuqe for you. Subtle 
yet distinct difference that you'll find has it's own set of tradeoffs. 
 
If you want employeeID to be unique across your forest, ensure it's indexed and 
in your global catalogs. Add a step into your creation process that checks for 
that value prior to commit. 
 
Al

 
On 3/13/06, joe <[EMAIL PROTECTED]> wrote: 

Hope away, won't help. :o)

Even sAMAccountName uniqueness can be sidestepped, it is a distributed
system, the only way to get true enforced uniqueness is to
singlehome/singlemaster the updates that you want to be unique.

I have asked for triggers and business rules in AD but was told by 
Stuart
Kwan of the Ottawa Kwan Clan that they have already implemented those 
for 
us in MIIS.

  joe

--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm



_

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 11:34 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?


I was hoping I can flick a switch to enforce uniqueness. Kinda like
samaccount name or DN.

_

From: [EMAIL PROTECTED] on behalf of Darren Mar-Elia
Sent: Mon 13/03/2006 11:24 AM
To: ActiveDir@mail.activedir.org 
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?



I suspect you will need an external process to do this. There is no
built-in capability for enforcing this kind of uniqueness. So you will 
need some centralized script or application that all changes to this
attribute go through for validation.

Darren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 8:12 AM
To: ActiveDir@mail.activedir.org
    Subject: [ActiveDir] How to make EmployeeNumber unique?

Hey,

Can anyone tell me how I can force uniqueness on the EmployeeNumber
attribute? I researched it for about 30 minutes but could not find an 
answer. I usually would take more time but I am in a hurry.

Thanks

Yves St-Cyr




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/






<>

Re: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread Al Mulnick
In the end, it really does come down to ensuring that your source value is unique.  Not having your global repository ensuring it's uniuqe for you. Subtle yet distinct difference that you'll find has it's own set of tradeoffs. 

 
If you want employeeID to be unique across your forest, ensure it's indexed and in your global catalogs. Add a step into your creation process that checks for that value prior to commit. 
 
Al 
On 3/13/06, joe <[EMAIL PROTECTED]> wrote:
Hope away, won't help. :o)Even sAMAccountName uniqueness can be sidestepped, it is a distributed
system, the only way to get true enforced uniqueness is tosinglehome/singlemaster the updates that you want to be unique.I have asked for triggers and business rules in AD but was told by StuartKwan of the Ottawa Kwan Clan that they have already implemented those for
us in MIIS.  joe--O'Reilly Active Directory Third Edition -http://www.joeware.net/win/ad3e.htm_From: 
[EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of ADSent: Monday, March 13, 2006 11:34 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make EmployeeNumber unique?I was hoping I can flick a switch to enforce uniqueness. Kinda likesamaccount name or DN._
From: [EMAIL PROTECTED] on behalf of Darren Mar-EliaSent: Mon 13/03/2006 11:24 AMTo: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?I suspect you will need an external process to do this. There is nobuilt-in capability for enforcing this kind of uniqueness. So you will
need some centralized script or application that all changes to thisattribute go through for validation.Darren-Original Message-From: 
[EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of ADSent: Monday, March 13, 2006 8:12 AMTo: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] How to make EmployeeNumber unique?Hey,Can anyone tell me how I can force uniqueness on the EmployeeNumberattribute? I researched it for about 30 minutes but could not find an
answer. I usually would take more time but I am in a hurry.ThanksYves St-CyrList info   : http://www.activedir.org/List.aspxList FAQ: 
http://www.activedir.org/ListFAQ.aspxList archive:http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspxList FAQ: http://www.activedir.org/ListFAQ.aspxList archive: 
http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread Hutchins, Mike
Title: RE: [ActiveDir] How to make EmployeeNumber unique?



heh he, he said "Ottawa Kwan Clan". Yeah, heh 
heh.


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
joeSent: Monday, March 13, 2006 8:48 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make 
EmployeeNumber unique?

Hope away, won't help. :o)
 
Even sAMAccountName uniqueness can be sidestepped, it is a 
distributed system, the only way to get true enforced uniqueness is to 
singlehome/singlemaster the updates that you want to be unique. 

 
I have asked for triggers and business rules in AD but was 
told by Stuart Kwan of the Ottawa Kwan Clan that they have already implemented 
those for us in MIIS.
 
   joe
 

--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ADSent: Monday, March 13, 2006 11:34 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make 
EmployeeNumber unique?


I was hoping I can flick a 
switch to enforce uniqueness. Kinda like samaccount name or 
DN.


From: [EMAIL PROTECTED] on 
behalf of Darren Mar-EliaSent: Mon 13/03/2006 11:24 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to make 
EmployeeNumber unique?

I suspect you will need an external process to do this. There is 
nobuilt-in capability for enforcing this kind of uniqueness. So you 
willneed some centralized script or application that all changes to 
thisattribute go through for validation.Darren-Original 
Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] 
On Behalf Of ADSent: Monday, March 13, 2006 8:12 AMTo: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] How to make EmployeeNumber 
unique?Hey,Can anyone tell me how I can force uniqueness on the 
EmployeeNumberattribute? I researched it for about 30 minutes but could not 
find ananswer. I usually would take more time but I am in a 
hurry.ThanksYves St-CyrList info   
: http://www.activedir.org/List.aspxList 
FAQ    : http://www.activedir.org/ListFAQ.aspxList 
archive:http://www.mail-archive.com/activedir%40mail.activedir.org/List 
info   : http://www.activedir.org/List.aspxList 
FAQ    : http://www.activedir.org/ListFAQ.aspxList 
archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread joe
Hope away, won't help. :o)
 
Even sAMAccountName uniqueness can be sidestepped, it is a distributed
system, the only way to get true enforced uniqueness is to
singlehome/singlemaster the updates that you want to be unique. 
 
I have asked for triggers and business rules in AD but was told by Stuart
Kwan of the Ottawa Kwan Clan that they have already implemented those for
us in MIIS.
 
   joe
 
--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm 
 
 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 11:34 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?


I was hoping I can flick a switch to enforce uniqueness. Kinda like
samaccount name or DN.

  _  

From: [EMAIL PROTECTED] on behalf of Darren Mar-Elia
Sent: Mon 13/03/2006 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?



I suspect you will need an external process to do this. There is no
built-in capability for enforcing this kind of uniqueness. So you will
need some centralized script or application that all changes to this
attribute go through for validation.

Darren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 8:12 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to make EmployeeNumber unique?

Hey,

Can anyone tell me how I can force uniqueness on the EmployeeNumber
attribute? I researched it for about 30 minutes but could not find an
answer. I usually would take more time but I am in a hurry.

Thanks

Yves St-Cyr




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/


<>

RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread AD
I was hoping I can flick a switch to enforce uniqueness. Kinda like samaccount 
name or DN.



From: [EMAIL PROTECTED] on behalf of Darren Mar-Elia
Sent: Mon 13/03/2006 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to make EmployeeNumber unique?



I suspect you will need an external process to do this. There is no
built-in capability for enforcing this kind of uniqueness. So you will
need some centralized script or application that all changes to this
attribute go through for validation.

Darren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 8:12 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to make EmployeeNumber unique?

Hey,

Can anyone tell me how I can force uniqueness on the EmployeeNumber
attribute? I researched it for about 30 minutes but could not find an
answer. I usually would take more time but I am in a hurry.

Thanks

Yves St-Cyr




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/


<>

RE: [ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread Darren Mar-Elia
I suspect you will need an external process to do this. There is no
built-in capability for enforcing this kind of uniqueness. So you will
need some centralized script or application that all changes to this
attribute go through for validation.

Darren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Monday, March 13, 2006 8:12 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to make EmployeeNumber unique?

Hey,
 
Can anyone tell me how I can force uniqueness on the EmployeeNumber
attribute? I researched it for about 30 minutes but could not find an
answer. I usually would take more time but I am in a hurry.
 
Thanks 
 
Yves St-Cyr
 
 
 
 
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/


[ActiveDir] How to make EmployeeNumber unique?

2006-03-13 Thread AD
Hey,
 
Can anyone tell me how I can force uniqueness on the EmployeeNumber attribute? 
I researched it for about 30 minutes but could not find an answer. I usually 
would take more time but I am in a hurry.
 
Thanks 
 
Yves St-Cyr
 
 
 
 
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/