OMG!!!!!

That was it....  I put that in, I restarted the server and everything is 
working.

It instantly retrieved my e-mail and the entire web interface is working...

THANK YOU, JEAN!!!!!


P.




________________________________
 From: Jean Raby <jr...@inverse.ca>
To: users@sogo.nu 
Sent: Thursday, June 27, 2013 4:31 PM
Subject: Re: [SOGo] FreeBSD port - LDAP authentication
 

On 13-06-27 3:57 PM, Paul Pathiakis wrote:
> cn=John Smith,ou=people,dc=company,dc=com  (Please note that I do not have a
> container of uid.  Uid is attribute of the CN)
>
> SOGoUserSources = (
>    {
>      type = ldap;
>      CNFieldName = "cn";
>      IDFieldName = "cn";
>      UIDFieldName = "cn";
>      baseDN = "ou=people,dc=company,dc=com";
>      bindDN = "cn=sogo,ou=people,dc=company,dc=com";
>      bindPassword = "qwerty";
>      IMAPHostFieldName = ;
>      canAuthenticate = YES;
>      displayName = "Shared Addresses";
>      hostname = "ldap://<LDAP Server IP>:389";
>      id = public;
>      isAddressBook = YES;
>    }
> );
>
> I believe this is a major step in getting this work.

You need to use indirect binds:
  bindFields = (cn, uid);

Something like that:

SOGoUserSources = (
   {
     type = ldap;
     CNFieldName = "cn";
     UIDFieldName = "uid";
     bindFields = (cn, uid);
     baseDN = "ou=people,dc=company,dc=com";
     bindDN = "cn=sogo,ou=people,dc=company,dc=com";
     bindPassword = "qwerty";
     canAuthenticate = YES;
     displayName = "Shared Addresses";
     hostname = "ldap://<LDAP Server IP>:389";
     id = public;
     isAddressBook = YES;
   }
);

For more info, see page 19 of the configuration guide.



-- 
users@sogo.nu
https://inverse.ca/sogo/lists-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to