[sabayon] user profile LDAP



Any one can help me, how to use sabayon user profile via LDAP this in my configuration
sabayon-apply-2.29.92-1.fc12.i686

cat /etc/sabayon/users.xml
<profiles>
 <ldap server="ldap.example.com">
  <profilemap search_base="dc=example,dc=com"
           scope="one"
           query_filter="(uid=%u)"
           result_attribute="sabayonProfileURL"/>
  </ldap>
  <default profile=""/>
</profiles>

I got error, ldap still contact to localhost, if i edit /usr/lib/python2.6/site-packages/sabayon/systemdb.py
...
uris = get_setting (ldap_node, "uri", "ldap://ldap.example.com")
...
it`s works. How to configuration ldap server on xml file without editing systemdb.py
Thank before




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]