physicalDeliveryOfficeName btw, I meant:
adfind -f distinguishedname=cn=user,ou=orgunit,dc=domain,dc=org | find /i "SecretAttributeNobodyCanFind" From: Crawford, Scott [mailto:[email protected]] Sent: Thursday, February 03, 2011 2:34 PM To: NT System Admin Issues Subject: RE: ADMOD question Set it in Outlook to SecretAttributeNobodyCanFind. Then: adfind -f cn=user,ou=orgunit,dc=domain,dc=org | find /i "SecretAttributeNobodyCanFind" That will show you the attribute name its stored in...assuming its not encoded in some weird format. From: David Lum [mailto:[email protected]] Sent: Thursday, February 03, 2011 2:14 PM To: NT System Admin Issues Subject: RE: ADMOD question So when using Outlook 2007 doing a address book search one column is titled "Location", what AD attribute is that? David Lum // SYSTEMS ENGINEER NORTHWEST EVALUATION ASSOCIATION (Desk) 503.548.5229 // (Cell) 503.267.9764 From: Michael B. Smith [mailto:[email protected]] Sent: Thursday, February 03, 2011 11:24 AM To: NT System Admin Issues Subject: RE: ADMOD question The location attribute exists only on a computer object, not on a user object. Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: David Lum [mailto:[email protected]] Sent: Thursday, February 03, 2011 1:21 PM To: NT System Admin Issues Subject: ADMOD question This works perfectly: c:\automate\admod -b "CN=David Lum,OU=Users,OU=Main,DC=Mydomain,DC=ORG" "roomNumber::5West-48" Changing nothing but roomNumber to location it fails with "object class violation" which makes me think location can't take the string field I am sending it. I have tried different values but all fail. This page makes it look like it should works as well: http://www.aspfree.com/c/a/Windows-Scripting/Modifying-Computer-Objects-with-Active-Directory/ Ideas? David Lum // SYSTEMS ENGINEER NORTHWEST EVALUATION ASSOCIATION (Desk) 503.548.5229 // (Cell) 503.267.9764 ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
