Custom AD/LDAP Attribute (in the User Schema)
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Custom AD/LDAP Attribute (in the User Schema)

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory
Author Message
Will Gillen
Guest





PostPosted: Fri May 12, 2006 11:08 pm    Post subject: Custom AD/LDAP Attribute (in the User Schema) Reply with quote

We have a legacy application that requires a custom Enrionment Variable
to be set. And this PC environment variable is on a "per user
basis".... basically it is a form of their userid with some extra
chars, etc.

We are looking at putting this attribute as an addition to our AD
schema, and trying to set the environment variable on the PC (in a
login script or something) when a person logs into the workstation.

We have applied for our X.500 OID (just to be sure our schema attribute
is "unique"), and I have read through several documents and tutorials
describing the proper and improper ways to add an attribute to the
schema. It looks like the best way is to add a new custom attribute,
and then create a new custom auxillary class, and then associate that
new attribute with the class, and then associate the new custom class
with the "user" class in AD.

Ok, so we have that all done, and we can now edit the new custom value
for each user in our test AD environment. So, what would be the
best/easiest (trying to avoid using client side vbscript, etc) to set
an environment variable (say, call it: %CUSTOMUSERNAME%) on the PC when
someone logs in?

Any ideas?

Thanks!
Back to top
Joe Richards [MVP]
Guest





PostPosted: Sat May 13, 2006 4:05 am    Post subject: Re: Custom AD/LDAP Attribute (in the User Schema) Reply with quote

It has to be a client side script during the logon process. Nothing else will
know what to set and where.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



Will Gillen wrote:
Quote:
We have a legacy application that requires a custom Enrionment Variable
to be set. And this PC environment variable is on a "per user
basis".... basically it is a form of their userid with some extra
chars, etc.

We are looking at putting this attribute as an addition to our AD
schema, and trying to set the environment variable on the PC (in a
login script or something) when a person logs into the workstation.

We have applied for our X.500 OID (just to be sure our schema attribute
is "unique"), and I have read through several documents and tutorials
describing the proper and improper ways to add an attribute to the
schema. It looks like the best way is to add a new custom attribute,
and then create a new custom auxillary class, and then associate that
new attribute with the class, and then associate the new custom class
with the "user" class in AD.

Ok, so we have that all done, and we can now edit the new custom value
for each user in our test AD environment. So, what would be the
best/easiest (trying to avoid using client side vbscript, etc) to set
an environment variable (say, call it: %CUSTOMUSERNAME%) on the PC when
someone logs in?

Any ideas?

Thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory