Re[2]: [vchkpw] vpopmail + ldap problem

2006-03-18 Thread Mathieu CHATEAU

Friday, March 17, 2006, 3:59:37 PM, you wrote:



 -Original Message-
 From: Oliver A. Rojo [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 16, 2006 9:26 PM
 To: Vpopmail Mailing List
 Subject: [vchkpw] vpopmail + ldap problem
 
 
 Im having a problem with integrating vpopmail with ldap. I've already 
 installed everything...
 
 What I did:
 
 1. I set these options on vldap.h before compile
 #define VLDAP_SERVER localhost
 #define VLDAP_PORT LDAP_PORT
 #define VLDAP_USER cn=vpopmailuser, o=vpopmail
 #define VLDAP_PASSWORD vpoppasswd
 #define VLDAP_BASEDN o=vpopmail
 
 2. My compile options
 --enable-auth-module=ldap
 
 3. Copied the file slapd.conf and qmailUser.schema from the vpopmail 
 ldap directory to ldap etc/ and schema/ directory
 4. Successful creation of vpopmail database
 ldapadd -f vpopmail.ldif -x -w vpoppasswd 
 -D'cn=vpopmailuser,o=vpopmail'
 
 The problem is when I add a virtual domain
 
 /home/vpopmail/bin/vadddomain mydomain.com
 
 I get an error saying:
 
 Error: Object class violation (65)
 additional info: object class 'qmailUser' requires 
 attribute 'sn' Failed while attempting to add user to auth backend
 Error: (vadduser) no auth connection
 
 What seems to be the problem here? Did I missed something?
 
 Please help!
 
 Thanks!
 
 -- 
 
 
 Oliver A. Rojo
 
 
 
 
 __
 
 This email and any files transmitted with it are confidential 
 and intended solely for the use of the individual or entity to 
 whom they are addressed. If you have received this email in error 
 please notify the system manager. Please note that any views or 
 opinions presented in this email are solely those of the author 
 and do not necessarily represent those of the company. Finally, 
 the recipient should check this email and any attachments for 
 the  presence of viruses. The company accepts no liability for any 
 damage caused by any virus transmitted by this email.



JA I am new to LDAP, so I am not sure what I might have possibly broken.
JA The way I stopped that error from happening was to edit the schemas.
JA I changed sn and cn from must to may in the Person directive in
JA core.schema.

JA Jennifer
JA  

this is a bug in the vpopmail ldap schema (the schema is bad)
Their schema works until version 2.3 of OpenLdap.

Mathieu CHATEAU



Re: [vchkpw] vpopmail with Ldap

2006-02-10 Thread Mathieu CHATEAU
Hello rahul,

  are you using openldap 2.1 ?

  the vpopmail schema is not compatible with higher version (the
  vpopmail schema is not state of the art)

  Mathieu CHATEAU
  

Thursday, February 9, 2006, 1:05:01 PM, you wrote:

r Hi,

r Qmail is running fine.

r I want to configure Global Address Book.

r I have successfully configured Vpopmail with Ldap
r through the link:-

r http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-ldap.htm

r When i am trying to add the user, Its giving the
r error:-

r /home/vpopmail/bin/vadduser [EMAIL PROTECTED] password

r Error: Object class violation (65)
r additional info: object class 'qmailUser'
r requires attribute 'sn'
r Failed while attempting to add user to auth backend
r Error: no auth connection


r Any direction would be appreciated!

r Regards,

r __
r Do You Yahoo!?
r Tired of spam?  Yahoo! Mail has the best spam protection around 
r http://mail.yahoo.com 






Re: [vchkpw] autorespond.core

2006-01-09 Thread Mathieu CHATEAU
Friday, December 30, 2005, 10:55:38 AM, you wrote:

km hi all..

km i have noticed in recent days that some vpopmail accounts that have
km temporary vacation autoresponses set make the autorespond dump core. the
km reason is segmentation fault according to gdb...   was wondering what
km would make autorespond to dump core. the autoresponds are set up through
km qmailadmin and not all of them crash it.

km this is the gdb output:
km Program terminated with signal 11, Segmentation fault.
km #0  0x280c2814 in ?? ()

km thanks
km --

hello,

I had the same troubles.
I installed qmail in another location than /var/qmail. That's was the
troubles. I made a symlink (as far as i can remember)

-- 
Best regards,
 Mathieu CHATEAU



Re: [vchkpw] keep a copy of all incoming and outgoing mail messages

2005-11-05 Thread Mathieu CHATEAU
Hello Listas,

if you are using qmail-scanner (a perl script which replace the
standard qmail queue) you can do it the easy way, the function is
included..

i have multi server mail server with qmail + vpopmail + qmail-scanner
+ spamassassin + clamav + openldap with success..

cheers,
Mathieu CHATEAU

Friday, November 4, 2005, 7:54:14 PM, you wrote:

Lb Hi everyone,
Lb Is there a way to keep a copy of all incoming and outgoing mail messages
Lb with vpopmail? 




-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]



[vchkpw] vpopmail ldap checking authentification from something else than vpopmail

2005-08-07 Thread Mathieu CHATEAU
hello all,

here is the great setup:
vpopmail 5.4.9
openldap 2.2.26

everything is ok : add,remove,modify accounts that's are on the ldap.
I get mails  co :)

but, as many people as seen on the mailing list, i can't authenticate
users from something else than vpopmail.

from the mailing list, the best information i could find is a
difference in the MD5 generated by vpopmail and others
softwares:

http://www.mail-archive.com/vchkpw@inter7.com/msg15955.html

I think this workaround (going to crypt) is not possible now, it's md5
or DES... Am I right ?

does someone know if something is going to be done ?
It's great to have accounts in ldap to share them between apps, but if
it's not possible, then it's useless...

another thing :
i have an *old* mailer with vpopmail 5.2.1  openldap 2.0.X and this
is NOT an issue.

thank you in advance,
-- 
Best regards,
 Mathieu  mailto:[EMAIL PROTECTED]



Re: [vchkpw] a vpopmail+openldap question

2005-07-18 Thread Mathieu CHATEAU
Hello Igor,


you can safely ignore this message, it's normal !
just mean the connection is not yet opened

cheers,
Monday, July 11, 2005, 8:18:17 AM, you wrote:

IP when i start slapd in debug mode appears some strange output:

IP = send_search_entry: conn 39 exit.
IP send_ldap_result: conn=39 op=1 p=3
IP send_ldap_response: msgid=2 tag=101 err=0
IP ber_flush: 14 bytes to sd 20
IP :  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00 0e
IP ldap_write: want=14, written=14
IP :  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00 0e
IP connection_get(20): got connid=39
IP connection_read(20): checking for input on id=39
IP ber_get_next
IP ldap_read: want=8, got=7
IP :  30 05 02 01 03 42 00   0B.
IP ber_get_next: tag 0x30 len 5 contents:
IP ber_get_next
IP ldap_read: want=8 error=Resource temporarily unavailable
IP ber_get_next on fd 20 failed errno=11 (Resource temporarily unavailable)
IP do_unbind
IP connection_closing: readying conn=39 sd=20 for close
IP connection_resched: attempting closing conn=39 sd=20
IP connection_close: conn=39 sd=20


IP someone knows what means the following lines from debug output:

IP ldap_read: want=8 error=Resource temporarily unavailable
IP ber_get_next on fd 20 failed errno=11 (Resource temporarily unavailable)



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]



[vchkpw] vpopmail ldap round robin

2005-06-28 Thread Mathieu CHATEAU
Hello all,

some points regarding vpopmail  ldap.

1/ qmailUser.schema

   while it is working with openldap 2.2.26, it's not with openldap
   2.2.27.
  it inherits objects from person objectclass where they are
  MUST. qmailUser call them in a MAY but it's not correct.
  We can go from may to must but not the oppposite.

  The matter is that qmailadmin does not create the sn  cn
  and so it's not possible to create account with 2.2.27

2/ Round robin DNS
 i have put ldap.mydomain.com in vldap.h it returns two ip in
 round robin. it works, but if i shutdown the one used, vchkpw
 does not fail over to the other one.
 it should go to the other one after the dns ttl expires. does
 someone already done it with success ?
 how to clear the dns cache entry used by vpopmail ?


thank you in advance,

  

-- 
Best regards,
 Mathieu  mailto:[EMAIL PROTECTED]