Thanks Brendan, for your reply, first sorry for my
late reply.
I tried with modified authdaemond.c as you
mentioned, but no luck!
I tried in RedHat-7.3 and Redhat-9, but in
both machines are giving the same error
Error message:
Premature end of script headers: sqwebmail
in the log,
chdir "": No such file or directory
both the machines are using same ldap server,
is it anything to do with ldap settings.
when I serch the mailing list, most of them
saying chdir "/var/qmail/maildirs", can anybody
help (tell) me from where sqwebmail picking this
location??, is it from config file?, or is it
mentioned in the source code?
Thanks in advance,
-bala-
--- Brendan Braybrook <[EMAIL PROTECTED]> wrote:
> > In my sqwebmail using ldap authendication,
> > once I login with valid user name and password,
> > I am getting
> > Server error!
> > Error message:
> > Premature end of script headers: sqwebmail
> > in the log,
> > chdir "": No such file or directory
>
> in 3.6.0, i found that authlib was returning HOME,
> but not MAILDIR back to
> the sqwebmail process (and sqwebmail expected
> MAILDIR). (strace the
> authlib process and watch what it writes out to see
> if you have the same
> problem).
>
> i changed authdaemond.c as follows:
>
> [deadalus ~]# diff authdaemond.c authdaemond.c.new
> 275a276,277
> > if (writeenvval(fd, "MAILDIR",
> authinfo->homedir))
> > return (1);
> Exit 1
>
> and all was fine.
>
>
>
> >
> > I tried changing
> >
> > LDAP_HOMEDIR homeDirectory
> > LDAP_MAILROOT /var/vmail
> >
> > in authldaprc file, but still the same error,
> > need your help to solve this issue!
> >
> > Thanks,
> > -bala-
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Finance: Get your refund fast by filing
> online.
> > http://taxes.yahoo.com/filing.html
> >
> >
> >
>
----------------------------------------------------------------------------
> > This electronic message contains information from
> Primus Telecommunications
> > Canada Inc. ("PRIMUS") , which may be legally
> privileged and confidential.
> > The information is intended to be for the use of
> the individual(s) or entity
> > named above. If you are not the intended
> recipient, be aware that any
> > disclosure, copying, distribution or use of the
> contents of this information
> > is prohibited. If you have received this
> electronic message in error, please
> > notify us by telephone or e-mail (to the number or
> address above)
> > immediately. Any views, opinions or advice
> expressed in this electronic
> > message are not necessarily the views, opinions or
> advice of PRIMUS.
> > It is the responsibility of the recipient to
> ensure that
> > any attachments are virus free and PRIMUS bears no
> responsibility
> > for any loss or damage arising in any way from the
> use
> > thereof.The term "PRIMUS" includes its affiliates.
> >
>
----------------------------------------------------------------------------
> > Pour la version en fran�ais de ce message,
> veuillez voir
> > http://www.primustel.ca/fr/legal/cs.htm
> >
>
----------------------------------------------------------------------------
> >
> >
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html