Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

LDAP and dbmail

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


ballier at mail

Aug 18, 2009, 10:11 AM

Post #1 of 5 (1009 views)
Permalink
LDAP and dbmail

Hello,

I have added a user to LDAP. After this, "dbmail -l <username>" show me the
user, but he can't receive mail, because he isn't registered in the
database. What can I do? It is not possible to create the user in mysql with
"dbmail -c <user>" because dbmail means, the user already exists.

Ralph
--
View this message in context: http://www.nabble.com/LDAP-and-dbmail-tp25025349p25025349.html
Sent from the dbmail users mailing list archive at Nabble.com.

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Aug 19, 2009, 12:40 AM

Post #2 of 5 (946 views)
Permalink
Re: LDAP and dbmail [In reply to]

raba34 wrote:
> Hello,
>
> I have added a user to LDAP. After this, "dbmail -l <username>" show me the
> user, but he can't receive mail, because he isn't registered in the
> database. What can I do? It is not possible to create the user in mysql with
> "dbmail -c <user>" because dbmail means, the user already exists.

If you use authldap, the user_idnr field in the database *must* match
the uidNumber attribute in ldap, or whatever attribute field_nid points
to in dbmail.conf.

So if you migrate from authsql to authldap, you should update the
user_idnr in the database and you're all set.


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


ballier at mail

Aug 19, 2009, 2:23 AM

Post #3 of 5 (935 views)
Permalink
Re: LDAP and dbmail [In reply to]

Hello,

I understand, but my problem is another. I would like to establish users in
LDAP for a couple of applications such as for Moodle, BSCW, dbmail and so
on. After this, the user can employ e. g. Moodle directly. No changes are
needed in Moodle because an entry in LDAP ist sufficient.

This is not possible at dbmail, since an entry in LDAP is insufficient for
using dbmail. I have to setting up user, mailbox and so on in mysql, but I
don't know how exactly.

I think, it's not a solution to use few lines like "insert ... into ...",
because tables vary from version to version. Furthermore I mean, LDAP makes
only sense if the Admin has only one place to enable or to disable the use
of applications.

Ralph

Paul J Stevens wrote:
>
> raba34 wrote:
>> Hello,
>>
>> I have added a user to LDAP. After this, "dbmail -l <username>" show me
>> the
>> user, but he can't receive mail, because he isn't registered in the
>> database. What can I do? It is not possible to create the user in mysql
>> with
>> "dbmail -c <user>" because dbmail means, the user already exists.
>
> If you use authldap, the user_idnr field in the database *must* match
> the uidNumber attribute in ldap, or whatever attribute field_nid points
> to in dbmail.conf.
>
> So if you migrate from authsql to authldap, you should update the
> user_idnr in the database and you're all set.
>
>
> --
> ________________________________________________________________
> Paul Stevens paul at nfg.nl
> NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
> The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>
>

--
View this message in context: http://www.nabble.com/LDAP-and-dbmail-tp25025349p25040727.html
Sent from the dbmail users mailing list archive at Nabble.com.

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Aug 19, 2009, 5:03 AM

Post #4 of 5 (942 views)
Permalink
Re: LDAP and dbmail [In reply to]

raba34 wrote:
> Hello,
>
> I understand, but my problem is another. I would like to establish users in
> LDAP for a couple of applications such as for Moodle, BSCW, dbmail and so
> on. After this, the user can employ e. g. Moodle directly. No changes are
> needed in Moodle because an entry in LDAP ist sufficient.

Same for dbmail.

>
> This is not possible at dbmail, since an entry in LDAP is insufficient for
> using dbmail. I have to setting up user, mailbox and so on in mysql, but I
> don't know how exactly.

Not true. Dbmail will automatically create shadow entries in
dbmail_users on first insertion of a message.

>
> I think, it's not a solution to use few lines like "insert ... into ...",
> because tables vary from version to version. Furthermore I mean, LDAP makes
> only sense if the Admin has only one place to enable or to disable the use
> of applications.

Indeed. Don't start messing with the tables. No need.


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


ballier at mail

Aug 20, 2009, 11:34 PM

Post #5 of 5 (927 views)
Permalink
Re: LDAP and dbmail [In reply to]

Yes, you are right. It works. I had make a mistake before.

Ralph


Paul J Stevens wrote:
>
> raba34 wrote:
>> Hello,
>>
>> I understand, but my problem is another. I would like to establish users
>> in
>> LDAP for a couple of applications such as for Moodle, BSCW, dbmail and so
>> on. After this, the user can employ e. g. Moodle directly. No changes are
>> needed in Moodle because an entry in LDAP ist sufficient.
>
> Same for dbmail.
>
>>
>> This is not possible at dbmail, since an entry in LDAP is insufficient
>> for
>> using dbmail. I have to setting up user, mailbox and so on in mysql, but
>> I
>> don't know how exactly.
>
> Not true. Dbmail will automatically create shadow entries in
> dbmail_users on first insertion of a message.
>
>>
>> I think, it's not a solution to use few lines like "insert ... into ...",
>> because tables vary from version to version. Furthermore I mean, LDAP
>> makes
>> only sense if the Admin has only one place to enable or to disable the
>> use
>> of applications.
>
> Indeed. Don't start messing with the tables. No need.
>
>
> --
> ________________________________________________________________
> Paul Stevens paul at nfg.nl
> NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
> The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>
>

--
View this message in context: http://www.nabble.com/LDAP-and-dbmail-tp25025349p25074799.html
Sent from the dbmail users mailing list archive at Nabble.com.

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.