Page 1 of 1

ldap authentication against scalix ldap

Posted: Tue Feb 13, 2007 12:20 pm
by friedmar
Hello evrybody,

is it possible to authenticate a user (e.g. for webdav) via LDAP against the Scalix server?

An other question is it possible to access the users and/or adressllist via LDAP out of adressbook.app (Mac) or thunderbird?

It should work, but I do not know how.


Regards

Friedmar :?:

Syncing with LDAP

Posted: Tue Feb 13, 2007 3:08 pm
by ausyvr
You can authenticate OpenLDAP with Scalix

There are a few files you need to create and modify before you can authenticate against ldap:

Code: Select all

   /var/opt/scalix/sys/om_ldap.conf
   /var/opt/scalix/sys/pam.d/ual.remote
   /var/opt/scalix/sys/pam.d/pop3
   /var/opt/scalix/sys/pam.d/omslapdeng


The first file

Code: Select all

on_ldap.conf
you create in here

Code: Select all

/var/opt/scalix/xx/x/sys
and include the following lines:

Code: Select all

host=hostname
search=subtree
base=dc=acme, dc=com (we only needed to use o=xx)
filter=uid=%s
tls=off


The other three files contain all the same lines:

Code: Select all

   auth sufficient om_ldap
   auth sufficient om_auth
   auth required pam_deny
   account required om_auth
   password required om_auth
   session required om_auth


I found with ual.remote, pop3 and omslapeng contains all extra lines for comments etc. I renamed those files by adding .orig, then created new files and copied the lines above into each new file.
This is what we used to allow users to use their OpenLDAP passwords for scalix. And it it worked for use fine.

Good Luck!

Re: ldap authentication against scalix ldap

Posted: Tue Feb 13, 2007 5:01 pm
by jnawk
friedmar wrote:Hello evrybody,

is it possible to authenticate a user (e.g. for webdav) via LDAP against the Scalix server?

An other question is it possible to access the users and/or adressllist via LDAP out of adressbook.app (Mac) or thunderbird?

It should work, but I do not know how.


Regards

Friedmar :?:


I understand your request to mean that you want to use Scalix as the source of users, and not actually have to involve some other LDAP server. If I have understood your request correctly, then in short, the answer is no. See the following thread http://www.scalix.com/forums/viewtopic.php?t=5071&highlight= for further information.

Posted: Wed Feb 14, 2007 4:00 am
by friedmar
Thank you jnawk,

that answered my question.

Friedmar