Yes - installed dbmail-2.1.1
Yes - dbmail-users -l shows users (output below)
Yes - dbmail.conf setup for ldap (also below)

So if I understand correctly, if dbmail.conf contains valid ldap info then
authentication should automatically look to ldap?  One other thing:  the
users in dbmail were created before dbmail knew about ldap running.  Should
I delete the users and add then back?

Thanks again.

[EMAIL PROTECTED] ~]# dbmail-users -l
afabian:x:7:0:0.00:0.00:[EMAIL PROTECTED]
anyone:x:2:0:0.00:0.00:
bcurtis:x:8:0:0.00:0.00:[EMAIL PROTECTED]
cforbus:x:9:0:0.00:0.00:[EMAIL PROTECTED]
cmiller:x:10:0:0.00:0.00:[EMAIL PROTECTED]
cthomas:x:11:0:0.00:0.00:[EMAIL PROTECTED]
dcarroll:x:12:0:0.00:0.00:[EMAIL PROTECTED]
dwilliams:x:6:0:0.00:0.01:[EMAIL PROTECTED]
jnatale:x:13:0:0.00:0.00:[EMAIL PROTECTED]
ndicken:x:14:0:0.00:0.00:[EMAIL PROTECTED]
rhagan:x:15:0:0.00:0.00:[EMAIL PROTECTED]
sfrayser:x:16:0:0.00:0.00:[EMAIL PROTECTED]
[EMAIL PROTECTED]@__:x:1:0:0.00:0.00:

from dbmail.conf <snip>

[LDAP]
BASE_DN=ou=Users,dc=cingo,dc=net
BIND_DN=cn=Manager,dc=cingo,dc=net
BIND_PW=<.somepasswd.>
SCOPE=SubTree
PORT=389
HOSTNAME=localhost
USER_OBJECTCLASS=top,account,dbmailUser
FORW_OBJECTCLASS=top,account,dbmailForwardingAddress
CN_STRING=uid
FIELD_PASSWD=userPassword
FIELD_UID=uid
FIELD_NID=uidNumber
MIN_NID=10000
MAX_NID=15000
FIELD_CID=gidNumber
MIN_CID=10000
MAX_CID=15000
FIELD_MAIL=mail
FIELD_QUOTA=mailQuota
FIELD_FWDTARGET=mailForwardingAddress
TRACE_LEVEL=5


Only dbmail-2.1.x support ldap authentication. Did you setup dbmail.conf to
connect to your ldap server? Does dbmail-users -l show your users?


[EMAIL PROTECTED] wrote:
> Hello all
> 
> Today I got dbmail/postfix/squirrelmail installed fine. Used to send this
> email.
> 
> Also have ldap working - ssh and samba authenticate fine.
> 
> I just can't seem to find the magic to make dbmail use ldap to
> authenticate instead of the mysql db.
> 
> What am I missing?
> 
> Thanks, Dave
> 
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 


-- 
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to