LDAP vpopmail sqwebmail

2000-12-29 Thread Samson Kao



1. edit vldap.h in vpopmail directory to fit ur domain
2. edit slapd.conf ( redhat default in /etc/openldap) ur domain

3. ./configure --enable-ldap=y  and others 

should be ok .



vpopmail 4.6.9-1 + sqwebmail 1.1.0 + remote ldap ?

2000-12-29 Thread Samson Kao
Title: ªÅ¥Õ



Hi all :
anybody try to use vpopmail + sqwebmail + remote ldap server for 
authentication ?

I can setup them in the same machine but i wish to use another ldap server 
.

I did 
1.setup remote ldap and run successfully 
2.edit vpopmail/vldap.h to ip user passwd etc  can connect to remote 
ldap ( i use debug mode to see it )
3.edit sqwebmail/authlib/authldaprc user passwd domain etc as i set them to 
local 

But can't work 
the apache log shows
[Fri Dec 29 16:10:44 2000] [error] [client 192.168.40.28] Premature end of 
script headers: /home/httpd/cgi-bin/webmail/sqwebmailsetgid: Invalid 
argument[Fri Dec 29 16:12:16 2000] [error] [client 192.168.40.28] Premature 
end of script headers: /home/httpd/cgi-bin/webmail/sqwebmail

 my sqwebmail 
-rwsr-xr-x 1 root 
root 245648 Dec 29 13:56 
/home/httpd/cgi-bin/webmail/sqwebmail
what i should to do now ?
any suggestions ?

Samson 


Re: vpopmail 4.6.9-1 + sqwebmail 1.1.0 + remote ldap ?

2000-12-29 Thread fox

I'd recommend you ask this on the sqwebmail mailing list.

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.theendoftime.net  -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Fri, 29 Dec 2000, Samson Kao wrote:

 ªÅ¥ÕHi all :
 anybody try to use vpopmail + sqwebmail + remote ldap server for authentication ?
 
 I can setup them in the same machine but i wish to use another ldap server .
 
 I did 
 1.setup remote ldap and run successfully 
 2.edit vpopmail/vldap.h to ip user passwd etc  can connect to remote ldap ( i use 
debug mode to see it )
 3.edit sqwebmail/authlib/authldaprc user passwd domain etc as i set them to local 
 
 But can't work 
 the apache log shows
 [Fri Dec 29 16:10:44 2000] [error] [client 192.168.40.28] Premature end of scrip
 t headers: /home/httpd/cgi-bin/webmail/sqwebmail
 setgid: Invalid argument
 [Fri Dec 29 16:12:16 2000] [error] [client 192.168.40.28] Premature end of scrip
 t headers: /home/httpd/cgi-bin/webmail/sqwebmail
 
  my sqwebmail 
 -rwsr-xr-x1 root root   245648 Dec 29 13:56 /home/httpd/cgi-bin/webm
 ail/sqwebmail
 
 
 what i should to do now ?
 any suggestions ?
 
 Samson