Greetings!
A huge applause from me to all the contributors and developers for this
wonderful product. Thank you very very much.

I am trying to integrate my LDAP directory with sipxecs as described on
http://sipx-wiki.calivia.com/index.php/LDAP_Integration_for_sipXconfig
data is in ldap of class type inetOrgPerson
entries are mapped as follows
sipX attribute -> LDAP attribute

   - user id -> uid (it is the rdn)
   - *firstname* -> gn
   - lastname -> sn
   - mail -> mail
   - sip password -> userPassword
   - voicemail pin -> (no mapping)

rest all attributes are also not mapped.
the userPassword attribute is retained in LDAP as PLAIN TEXT instead of
various alternatives like SSHA, MD5, CRYPT
despite userPassword being plain text, the attribute entry is encoded using
base64 as per LDAP standards.
thus, the for an object having entry as
userPassword: secret
it actually gets stored as
userPassword:: c2VjcmV0

while importing ldap objects to sipx, the sip password gets imported without
decoding the base64 encoding.
this difference in encoding (base64 in ldap vs utf-8 in sipX) results in
wrong data and authentication failure

questions:
1. am i doing something wrong? how do i import the entry correctly so that
"secret" is imported and not "c2VjcmV0"
2. if this is a bug, can existing developers help me find an alternative or
eliminate the bug

i have a few ideas on how to extend ldap and sipXecs. i wish to contribute
to sipxecs.


awaiting solution to my query,
thanks,
prashant
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to