Re: [sabayon] Proper Format for Bind_DN and BIND_PW in Users.xml



On 5/25/2010 2:37 PM, Scott Balneaves wrote:
On Sun, May 23, 2010 at 05:07:43PM -0400, Alex Brown wrote:
What is the proper way to configure users.xml to include the bind_dn
and bind_pw ldap options (along with the ldap server option)?
I think:

<ldap uri="ldap://ldap1.example.com,ldap://ldap2.example.com"; bind_dn="..."
bind_pw="...">  ...</ldap>  is what you need.


Thanks for responding, Scott.

I tried that format but it didn't work.  I actually used:

<?xml version="1.0" encoding="UTF-8"?>
<profiles>
<ldap server="10.1.1.11" bind_dn="foo" bind_pw="bar">
<profilemap search_base="ou=Groups,ou=Accounts,dc=home,dc=net"
                scope="one"
                query_filter="(member=%u)"
                result_attribute="sabayonProfileName"/>
</ldap>
<default profile=""/>
</profiles>

Is there any logging I can turn on to see why it's not working? If so, how would I do that?

Thanks again for your help.

Alex


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