Hi Paulo

Not sure if anyone answered your post yet, but the answer to your question
is that you need to add the ~vpopmail/etc/vlimits.default.limits file
(search the archives for more info)

Is there any chance you could type up a basic guide that shows what steps
you followed to get a running vpopmail with openldap ?

I am currently working on updating the vpopmail README files to try and
provide a basic installation guide for each of the vpopmail modules. The
existing README.ldap contains a fair amount of info, but it lacks a
step-by-step summary

Michael.



----- Original Message ----- 
From: "Paulo Fragoso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 1:45 AM
Subject: [vchkpw] Vpopmail with ldap


> Hi,
>
> I'm trying to use vpopmail-5.3.29 with ldap, I have made some
> modifications on vldap.h:
>
> ================================================
> --- vldap.h.orig        Mon Oct 20 15:59:57 2003
> +++ vldap.h     Thu Oct 23 11:21:01 2003
> @@ -33,13 +33,13 @@
>   #define VLDAP_SERVER "localhost"
>   #define VLDAP_PORT LDAP_PORT
>   #define VLDAP_USER "cn=Manager, o=vpop"
> -#define VLDAP_PASSWORD "proba"
> +#define VLDAP_PASSWORD "*****"
>   #define MAX_BUFF 500
>
>   #ifdef OLD_VLDAP
>      #define VLDAP_BASEDN "ou=Subs, o=vpop"
>   #else
> -   #define VLDAP_BASEDN "ou=%s, o=vpop"
> +   #define VLDAP_BASEDN "o=vpop"
>   #endif
>
>   static char *vldap_attrs[] = {
> ================================================
>
> Now it's working with openldap server (openldap-server-2.0.27) on
> FreeBSD 5.1-RELEASE, but I am getting an error when adding frist domain:
>
> # ./vadddomain dominio.com.br
> Please enter password for postmaster:
> enter password again:
> Error: (vadduser) can't read domain limits
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> This domain was added in ldap base:
>
> # ldapsearch  -D "cn=Manager,o=vpop" -b "o=vpop"
>
> ================================================
> version: 2
>
> #
> # filter: (objectclass=*)
> # requesting: ALL
> #
>
> # vpop
> dn: o=vpop
> objectClass: Organization
> o: vpop
>
> # dominio.com.br, vpop
> dn: ou=dominio.com.br,o=vpop
> ou: dominio.com.br
> objectClass: organizationalUnit
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 3
> # numEntries: 2
> ================================================
>
> What's happening?
>
> Thanks,
> Paulo.
>
>
>


Reply via email to