Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-11 Thread Andreas Schlager
Hi Ludovic, ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSFolderInfoURL/key

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-11 Thread Ludovic Marcotte
On 11/05/12 03:59, Andreas Schlager wrote: /array keybindFields/key stringuid/string /dict You configuration is incorrect. bindFields is an array of strings and must be within your SOGoUserSources' entry. -- Ludovic Marcotte +1.514.755.3630 :: www.inverse.ca Inverse inc.

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-08 Thread Ludovic Marcotte
On 05/05/12 21:33, Jean Raby wrote: Alright, SOGo is not doing an indirect bind, it tries to bind directly as uid=username,baseDN. From a quick look at the code, it seem that you need to set 'bindFields' to tell it to do the inderect bind. Can you try adding this to you user source:

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-08 Thread Andreas Schlager
Thanks all for your answers. At the moment I'm out of office - but will try this until next week. -Andreas. Am 2012-05-08 20:25, schrieb Ludovic Marcotte: On 05/05/12 21:33, Jean Raby wrote: Alright, SOGo is not doing an indirect bind, it tries to bind directly as uid=username,baseDN. From

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-08 Thread Andreas Schlager
I've updated to latest nightly build and inserted the key bindFields as described, but unfortunately still the same result: May 8 22:29:16 srv1 slapd[1699]: conn=1012 fd=21 ACCEPT from IP=127.0.0.1:59681 (IP=0.0.0.0:389) May 8 22:29:16 srv1 slapd[1699]: conn=1012 op=0 BIND

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-08 Thread Ludovic Marcotte
nightly - LDAP authentication doesn't work I've updated to latest nightly build and inserted the key bindFields as described, but unfortunately still the same result: May 8 22:29:16 srv1 slapd[1699]: conn=1012 fd=21 ACCEPT from IP=127.0.0.1:59681 (IP=0.0.0.0:389) May 8 22:29:16 srv1 slapd[1699

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Andreas Schlager
Hi skywalk3r, sorry - I didn't mentioned it: I'm using OpenLDAP 2.4 which is running on the same system together with sogo. Am 2012-05-04 19:50, schrieb skywalk3r: Dne 5/4/2012 7:40 PM, skywalk3r napsal(a): Dne 5/4/2012 7:18 PM, Andreas Schlager napsal(a): [snip] Hello, if you are using

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Andreas Schlager
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: keySOGoUserSources/key array dict keyCNFieldName/key

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Jean Raby
On 12-05-05 11:02 AM, Andreas Schlager wrote: 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: keySOGoUserSources/key array dict

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Andreas Schlager
Hi Jean, I've done a restart of the cache daemons and a fresh start of sogo to see all messages in the syslog and sogo.log. Marked all slapd output in green. I cannot identify a BIND operation with the configured DN 'cn=admin,dc=daheim,dc=at'. root@srv1:/var/log# /etc/init.d/nscd restart;

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Jean Raby
Alright, SOGo is not doing an indirect bind, it tries to bind directly as uid=username,baseDN. From a quick look at the code, it seem that you need to set 'bindFields' to tell it to do the inderect bind. Can you try adding this to you user source: keybindFields/key array

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-04 Thread skywalk3r
Dne 5/4/2012 7:18 PM, Andreas Schlager napsal(a): 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

Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-04 Thread skywalk3r
Dne 5/4/2012 7:40 PM, skywalk3r napsal(a): Dne 5/4/2012 7:18 PM, Andreas Schlager napsal(a): 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