View previous topic :: View next topic |
Author |
Message |
mbjr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Southpark/avatar30.gif)
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Fri Mar 19, 2004 12:11 pm Post subject: ldap auth |
|
|
Hi guys,
I'm about to give a chace to ldap and see what it can do on the auth side. To do this, I've decided to follow the gentoo ldap howto. I'm following it, and I got stuck and that's where I need your help
It describes to emerge openldap pam_ldap nss_ldap migrationtools, which I have merged with the following options:
Quote: |
openldap-2.1.27 +berkdb +crypt -debug +gdbm -ipv6 +kerberos -odbc +perl +readline +samba +sasl -slp +ssl +tcpd
pam_ldap-167 +ssl
migrationtools-44-r1
|
so started to play around with the config files, slapd for first, where i have the schemas, tsl and dbinfo:
Quote: | snip----------->
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
<-----------snip
snip----------->
TLSCertificateFile /etc/ssl/mycerts/netsrv_cacert.pem
TLSCertificateKeyFile /etc/ssl/mycerts/netsrv_servercrt.pem
TLSCACertificateFile /etc/ssl/mycerts/netsrv_serverkey.pem
<-----------snip
snip----------->
database ldbm
suffix "dc=netsrv,dc=com"
rootdn "cn=Manager,dc=netsrv,dc=com"
rootpw {SSHA}uThrGi2W/Ri9MSnVIeYld7oO89gQLGyL
directory /var/lib/openldap-ldbm
index objectClass eq
<-----------snip
|
/etc/conf.d/slapd has the
OPTS="-h ldaps:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock"
line in it, and the ldap.conf file the
BASE dc=netsrv, dc=com
URI ldaps://netsrv:636/
lines. So I'm now at the point where I'd start the slapd, which logs me the following:
Quote: | Mar 19 13:04:04 netsrv slapd[15537]: sql_select option missing
Mar 19 13:04:04 netsrv slapd[15537]: auxpropfunc error no mechanism available
Mar 19 13:04:04 netsrv slapd[15537]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Mar 19 13:04:04 netsrv slapd[15537]: bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
Mar 19 13:04:04 netsrv slapd[15537]: main: TLS init def ctx failed: -1
Mar 19 13:04:04 netsrv slapd[15537]: slapd stopped.
Mar 19 13:04:04 netsrv slapd[15537]: connections_destroy: nothing to destroy.
|
So it needs a plugin for ssl as sasl-auxprop-plug_init which I assume related to sasld, which I have:
cyrus-sasl-2.1.18 +gdbm +java +kerberos +ldap +mysql +pam +postgres +ssl -static
I doublechecked that the files linked in the configs are exists so what now? ![Smile :-)](images/smiles/icon_smile.gif) _________________ mb |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sat Mar 27, 2004 9:29 am Post subject: |
|
|
*bump*
Code: |
postfix/smtpd[13977]: sql_select option missing
postfix/smtpd[13977]: auxpropfunc error no mechanism available
postfix/smtpd[13977]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
|
im also getting tired of this waiting for a fix ...
anyone found whats wrong with this ?
![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mbjr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Southpark/avatar30.gif)
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Sat Mar 27, 2004 9:59 am Post subject: |
|
|
I didn't really have the chance to play more with it, but hopfully this weekend will help me out Will post the results ![Smile :-)](images/smiles/icon_smile.gif) _________________ mb |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MarkG Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 28 Apr 2002 Posts: 90 Location: Dorset, UK
|
Posted: Fri Apr 02, 2004 12:41 pm Post subject: |
|
|
Quote: |
Code: |
postfix/smtpd[13977]: sql_select option missing
postfix/smtpd[13977]: auxpropfunc error no mechanism available
postfix/smtpd[13977]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
|
im also getting tired of this waiting for a fix ...
anyone found whats wrong with this ?
|
Try
Code: | USE="-mysql" emerge cyrus-sasl |
It should get rid of the warning but I'd like a better fix
MarkG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|