Please read the DBMail config file's [LDAP] section. It is designed to
interact with essentially arbitrary schemas, you simply tell it what the
field names are it'll use them. You are encouraged to use your existing
schema as much as possible.

There's no need to convert your users over to dbmailUsers. You can add the
dbmailUsers schema in addition to your existing user schemas in order to
get the additional dbmail fields, but you can just as well re-use other
fields available in your schema.

Since you mention Windows users authenticating, are you working with an
Active Directory server?

Aaron


On Thu, 21 May 2009 23:41:53 +0100, Gordan Bobic <[email protected]> wrote:
> OK, I got the one from the latest tar ball, thanks.
> 
> Now that I tried that, I have another question - I have an existing LDAP 
> database that is already used in production to authenticate 
> UNIX/Windows/Samba accounts.
> 
> I have gotten as far as authenticating IMAP users via the LDAP database 
> (it seems that this doesn't require the dbmailUsers class), but lmtpd, 
> clearly, won't work because the mailbox aliases don't exist.
> 
> I added the schema to my OpenLDAP slapd.conf and I can add new dbmail 
> users using the dbmail-users tool, but I cannot convert existing users 
> to include the dbmailUsers objectClass. I tried adding it manually, but 
> I get objectClass class violations, and dbmail-users -c does the same.
> dbmail-users -a says the user already exists.
> 
> How do I add dbmailUsers objectClass to existing users to I can 
> authenticate dbmail off the same user account?
> 
> Thanks.
> 
> Gordan
> 
> Jonathan Feally wrote:
>> See - 
>>
http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/tree/dbmail.schema?h=dbmail_2_2
>> We no longer use svn. I'm not sure as to how correct this schema is, but

>> it should be better than what that old svn version shows.
>> 
>> -Jon
>> 
>> 
>> Gordan Bobic wrote:
>>> Hi,
>>>
>>> Can anyone confirm if this is the most up to date LDAP schema that 
>>> should be used with 2.2.11?
>>>
http://svn.ic-s.nl/websvn/filedetails.php?repname=DBMail&path=%2Ftrunk%2Fdbmail%2Fdbmail.schema&rev=1828&sc=0
>>>
>>> Thanks.
>>>
>>> Gordan
>>> _______________________________________________
>>> DBmail mailing list
>>> [email protected]
>>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>>>
>>>   
>> 
>> 
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to