bugtrack | 4 Jan 2006 19:27

[DBMail 0000288]: LDAP bind problem (using LDAPv2 instead of LDAPv3)


The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=288 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   288
Category:                   Authentication layer
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:27 CET
Last Modified:              04-Jan-06 19:27 CET
====================================================================== 
Summary:                    LDAP bind problem (using LDAPv2 instead of LDAPv3)
Description: 
ldapauth is unable to bind to OpenLDAP, because of using LDAPv2 by default,
but default OpenLDAP servers settings allows only LDAPv3 protocol.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-Jan-06 19:27 moje           New Issue                                    
(Continue reading)

bugtrack | 4 Jan 2006 19:36

[DBMail 0000289]: ldapauth don't allow anonymous bind


The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=289 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   289
Category:                   Authentication layer
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:36 CET
Last Modified:              04-Jan-06 19:36 CET
====================================================================== 
Summary:                    ldapauth don't allow anonymous bind
Description: 
ldapauth default behaviour is try to bind using password and fail if
unsuccessfull, but some users (for example me) don't want to provide ldap
master password.
My recomendation is to allow anonymous LDAP bind if password is blank.
This method will disable dbmail-users, but it's not important. No one will
use dbmail-users for LDAP updates (high madness level is required for
administrating ldap using dbmail-users).
====================================================================== 

(Continue reading)

bugtrack | 4 Jan 2006 19:44

[DBMail 0000290]: Unable to create INBOX (or trash and next ...) if USER is not in dbmail_users (using LDAP auth)


The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=290 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   290
Category:                   Database layer
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:44 CET
Last Modified:              04-Jan-06 19:44 CET
====================================================================== 
Summary:                    Unable to create INBOX  (or trash and next ...) if
USER is not in dbmail_users (using LDAP auth)
Description: 
errormsg:
dbpgsql.c, db_query: Error executing query [INSERT INTO dbmail_mailboxes
(name, owner_idnr,seen_flag, answered_flag, deleted_flag, flagged_flag,
recent_flag, draft_flag, permission) VALUES ('Trash', '500', 1, 1, 1, 1,
1, 1, 2)] : [ERROR:  insert or update on table "dbmail_mailboxes" violates
foreign key constraint "dbmail_mailboxes_owner_idnr_fkey" DETAIL:  Key
(owner_idnr)=(500) is not present in table "dbmail_users". ]

(Continue reading)

bugtrack | 4 Jan 2006 20:55

[DBMail 0000288]: LDAP bind problem (using LDAPv2 instead of LDAPv3)


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=288 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   288
Category:                   Authentication layer
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:27 CET
Last Modified:              04-Jan-06 20:55 CET
====================================================================== 
Summary:                    LDAP bind problem (using LDAPv2 instead of LDAPv3)
Description: 
ldapauth is unable to bind to OpenLDAP, because of using LDAPv2 by default,
but default OpenLDAP servers settings allows only LDAPv3 protocol.

====================================================================== 

---------------------------------------------------------------------- 
 aaron - 04-Jan-06 20:55  
---------------------------------------------------------------------- 
The code does not specify which LDAP version to speak. This must be a
(Continue reading)

bugtrack | 4 Jan 2006 21:00

[DBMail 0000290]: Unable to create INBOX (or trash and next ...) if USER is not in dbmail_users (using LDAP auth)


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=290 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   290
Category:                   Database layer
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:44 CET
Last Modified:              04-Jan-06 21:00 CET
====================================================================== 
Summary:                    Unable to create INBOX  (or trash and next ...) if
USER is not in dbmail_users (using LDAP auth)
Description: 
errormsg:
dbpgsql.c, db_query: Error executing query [INSERT INTO dbmail_mailboxes
(name, owner_idnr,seen_flag, answered_flag, deleted_flag, flagged_flag,
recent_flag, draft_flag, permission) VALUES ('Trash', '500', 1, 1, 1, 1,
1, 1, 2)] : [ERROR:  insert or update on table "dbmail_mailboxes" violates
foreign key constraint "dbmail_mailboxes_owner_idnr_fkey" DETAIL:  Key
(owner_idnr)=(500) is not present in table "dbmail_users". ]

(Continue reading)

bugtrack | 4 Jan 2006 21:04

[DBMail 0000289]: ldapauth don't allow anonymous bind


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=289 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   289
Category:                   Authentication layer
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:36 CET
Last Modified:              04-Jan-06 21:04 CET
====================================================================== 
Summary:                    ldapauth don't allow anonymous bind
Description: 
ldapauth default behaviour is try to bind using password and fail if
unsuccessfull, but some users (for example me) don't want to provide ldap
master password.
My recomendation is to allow anonymous LDAP bind if password is blank.
This method will disable dbmail-users, but it's not important. No one will
use dbmail-users for LDAP updates (high madness level is required for
administrating ldap using dbmail-users).
====================================================================== 

(Continue reading)

bugtrack | 4 Jan 2006 21:06

[DBMail 0000220]: dbmail-imap crashes in pq library on a double free()


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=220 
====================================================================== 
Reported By:                mavetju
Assigned To:                aaron
====================================================================== 
Project:                    DBMail
Issue ID:                   220
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   crash
Priority:                   high
Status:                     acknowledged
====================================================================== 
Date Submitted:             20-Jun-05 15:11 CEST
Last Modified:              04-Jan-06 21:06 CET
====================================================================== 
Summary:                    dbmail-imap crashes in pq library on a double free()
Description: 
Jun 20 23:00:47 kermit kernel: pid 97577 (dbmail-imapd), uid 0: exited on
signal 6 (core dumped)

It happens in the PQclear():
(gdb) where
http://www.dbmail.org/mantis/view.php?id=0  0x2811e1d7 in kill () from
/lib/libc.so.5
http://www.dbmail.org/mantis/view.php?id=1  0x2811327e in raise () from
/lib/libc.so.5
(Continue reading)

bugtrack | 4 Jan 2006 21:11

[DBMail 0000288]: LDAP bind problem (using LDAPv2 instead of LDAPv3)


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=288 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   288
Category:                   Authentication layer
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:27 CET
Last Modified:              04-Jan-06 21:11 CET
====================================================================== 
Summary:                    LDAP bind problem (using LDAPv2 instead of LDAPv3)
Description: 
ldapauth is unable to bind to OpenLDAP, because of using LDAPv2 by default,
but default OpenLDAP servers settings allows only LDAPv3 protocol.

====================================================================== 

---------------------------------------------------------------------- 
 aaron - 04-Jan-06 20:55  
---------------------------------------------------------------------- 
The code does not specify which LDAP version to speak. This must be a
(Continue reading)

bugtrack | 4 Jan 2006 21:20

[DBMail 0000290]: Unable to create INBOX (or trash and next ...) if USER is not in dbmail_users (using LDAP auth)


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=290 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   290
Category:                   Database layer
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:44 CET
Last Modified:              04-Jan-06 21:20 CET
====================================================================== 
Summary:                    Unable to create INBOX  (or trash and next ...) if
USER is not in dbmail_users (using LDAP auth)
Description: 
errormsg:
dbpgsql.c, db_query: Error executing query [INSERT INTO dbmail_mailboxes
(name, owner_idnr,seen_flag, answered_flag, deleted_flag, flagged_flag,
recent_flag, draft_flag, permission) VALUES ('Trash', '500', 1, 1, 1, 1,
1, 1, 2)] : [ERROR:  insert or update on table "dbmail_mailboxes" violates
foreign key constraint "dbmail_mailboxes_owner_idnr_fkey" DETAIL:  Key
(owner_idnr)=(500) is not present in table "dbmail_users". ]

(Continue reading)

bugtrack | 4 Jan 2006 21:31

[DBMail 0000290]: Unable to create INBOX (or trash and next ...) if USER is not in dbmail_users (using LDAP auth)


A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=290 
====================================================================== 
Reported By:                moje
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   290
Category:                   Database layer
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             04-Jan-06 19:44 CET
Last Modified:              04-Jan-06 21:31 CET
====================================================================== 
Summary:                    Unable to create INBOX  (or trash and next ...) if
USER is not in dbmail_users (using LDAP auth)
Description: 
errormsg:
dbpgsql.c, db_query: Error executing query [INSERT INTO dbmail_mailboxes
(name, owner_idnr,seen_flag, answered_flag, deleted_flag, flagged_flag,
recent_flag, draft_flag, permission) VALUES ('Trash', '500', 1, 1, 1, 1,
1, 1, 2)] : [ERROR:  insert or update on table "dbmail_mailboxes" violates
foreign key constraint "dbmail_mailboxes_owner_idnr_fkey" DETAIL:  Key
(owner_idnr)=(500) is not present in table "dbmail_users". ]

(Continue reading)


Gmane