Hi list,

I've investigated a little bit and IMHO the sogo nightly build tries to
uses the username which wants to login to BIND to the directory, and not
the bindDN directive.

Here's the sogo config:

    <key>SOGoUserSources</key>
    <array>
        <dict>
        <key>CNFieldName</key>
        <string>cn</string>
        <key>IDFieldName</key>
        <string>uid</string>
        <key>IMAPHostFieldName</key>
        <string>mailHost</string>
        <key>UIDFieldName</key>
        <string>uid</string>
        <key>baseDN</key>
        <string>ou=users,dc=daheim,dc=at</string>
        <key>bindDN</key>
        <string>cn=admin,dc=daheim,dc=at</string>
        <key>bindPassword</key>
        <string>mysecretpw</string>
        <key>canAuthenticate</key>
        <string>YES</string>
        <key>displayName</key>
        <string>Shared Addresses</string>
        <key>hostname</key>
        <string>localhost</string>
        <key>id</key>
        <string>public</string>
        <key>isAddressBook</key>
        <string>YES</string>
        <key>port</key>
        <string>389</string>
        <key>type</key>
        <string>ldap</string>
        </dict>
    </array>

Any idea how to resolve this?

Regards,
-Andreas.

Am 2012-05-04 19:18, schrieb Andreas Schlager:
> Hi list,
>
> I'm trying to configure LDAP auth. with sogo - but get struggling.
> OS authentication works well, but login via webinterfaces gives this
> errors in the logs:
>
>
> May  4 19:15:42 srv1 slapd[4632]: conn=1014 fd=13 ACCEPT from
> IP=127.0.0.1:33247 (IP=0.0.0.0:389)
> May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=0 BIND
> dn="uid=aschlager,dc=daheim,dc=at" method=128
> May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=0 RESULT tag=97 err=49
> text=
> May 04 19:15:42 sogod [4960]: SOGoRootPage Login for user 'aschlager'
> might not have worked - password policy: 65535  grace: -1  expire: -1 
> bound: 0
> May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=1 UNBIND
> May  4 19:15:42 srv1 slapd[4632]: conn=1014 fd=13 closed
>
> Any help higlhly appreciated.
>
> -Andreas. 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to