Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory Character limitations?

Status
Not open for further replies.

brendaluv

Technical User
Dec 2, 2002
144
CA
Do you know if there is any restrictions on what values can be assigned to the "department" attribute within Active Directory? We wanted to set joe blow's "Section" data to be "Chief Administrator's Office / Bureau de l''administrateur en chef" but we get the following error from Active Directory when we do this. Are there any restricted characters? Note that if we try the same for the Street field, it works.

Connecting to the database Phonebook_WEB2_DBMS3.
11-APR-2005 14:08:56. . ..Looking up LDAP Data...
11-APR-2005 14:08:56. . Fetched LDAP Data...
11-APR-2005 14:08:56. . . HOST=IP
11-APR-2005 14:08:56. . . PORT=389
11-APR-2005 14:08:56. . . USER=CN=Proxy\, LDAP,OU=Special accounts,OU=IM IT,OU=Corporate Services,OU=OTTAWA,DC=x,DC=gc,DC=ca
11-APR-2005 14:08:56. . . PASS=pswrd$ldap
11-APR-2005 14:08:56. . . BASE=OU=city,DC=x,DC=gc,DC=ca
11-APR-2005 14:08:56. . . NAME=Active Directory
11-APR-2005 14:08:56. . ...Connecting to IP...
11-APR-2005 14:08:56. . Connected to IP( 0)
11-APR-2005 14:08:56. . ...Modifying streetAddress to Street / Queen,
modify_s Returns : 0
Process exited.
Disconnecting from the database Phonebook_.
 
Maximum length: 64 characters. It's stored as a unicode string in AD, so non-alphanumeric characters should not be an issue.

Your string [red]"Chief Administrator's Office / Bureau de l''administrateur en chef"[/red] is 69 characters in length.

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top