Can I add an LDAP attribute name containing a hyphen?

tracyfischer
Mega Contributor

I need to add an attribute to our LDAP integration but when I try and add it the hyphen in the name is causing the rest of the attributes to the next line?   Is there some trick to using attributes named like this?

the attribute I need is called msRTCSIP-PrimaryUserAddress:  

find_real_file.png

1 ACCEPTED SOLUTION

It should just be an issue during the display of the string because the edit box is formatting the text based on normal word-wrapping rules.   Same thing would probably happen if you tried a space instead of the hyphen.   The LDAP commands would use the whole string without any word-wrapping.


View solution in original post

6 REPLIES 6

Valor1
Giga Guru

I don't think that's the actual (schema) name of the attribute.


You could remove ALL the attributes listed, pull a test batch (20), and see if that column gets created for you.



Or, ask your AD guys what the specific db/schema attribute name is.


I queried it specifically by name, this is my data



userPrincipalName: tracy.fischer@franklintempleton.com


mail: tracy.fischer@franklintempleton.com


manager: CN=rpineda,OU=Users,OU=MAD,DC=euro,DC=corp,DC=frk,DC=com


msRTCSIP-PrimaryUserAddress: sip:tfischer@frk.com


Also: I'm assuming you wouldn't be posting if just adding "msrtcsip-primaryuseraddress" to the properties list worked, right?


But your suggestion to remove them all and just test it out is a good one.   I'll give that a try.   Thank you!