Hello
Am 2015-05-29 um 22:20 schrieb Richard "Doc" Kinne:
> Hi Folks:
>
> I am trying to set up Sogo on an Ubuntu 14.04 server using mysql as the
> authenticator.
>
> I have gotten to a point where the website interface is working, but no one
> can log in. The interface says “Wrong username or password.” I’m not sure
> what I’m missing.
>
> The log says: May 29 19:27:20 sogod [25088]: [ERROR]
> <0x0x7fd85fdd05a8[SOGoUserManager]> No authentication sources defined -
> nobody will be able to login. Check your defaults.
>
> It does seem to be connecting to the database, as far as I can tell. The
> tables seem to be there.
>
> I’m missing something basic, but after several days I can’t figure out
> what. Any thoughts?
>
< ... >
> My sogo.conf is here:
> {
< ... >
> /* Authentication */
> SOGoPasswordChangeEnabled = YES;
>
> /* LDAP authentication example */
> //SOGoUserSources = (
> // {You should uncomment the above two lines :-) > type = sql; > userPasswordAlgorithm = md5; > viewURL = "mysql://sogo:[email protected]:3306/sogo/sogo_users > "; > // CNFieldName = cn; > // UIDFieldName = uid; > // IDFieldName = uid; // first field of the DN for direct binds > // bindFields = (uid, mail); // array of fields to use for indirect > binds > // baseDN = "ou=users,dc=acme,dc=com"; > // bindDN = "uid=sogo,ou=users,dc=acme,dc=com"; > // bindPassword = qwerty; > canAuthenticate = YES; > displayName = "SOGo Users"; > // hostname = ldap://127.0.0.1:389; > id = users; > isAddressBook = YES; > // } > //); And uncomment the above two lines too :-) > > > /* SQL authentication example */ > /* These database columns MUST be present in the view/table: < cut > This should solve your problems. Kind regards, Christian Mack -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416
smime.p7s
Description: S/MIME Cryptographic Signature
