[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: mod_ldap_userdir



But, if i edit the httpd.conf as

LDAPUserDir public_html
LDAPUserDirDNInfo cn=your-dn,dc=example,dc=com dnpass
LDAPUserDirBaseDN ou=People,dc=example,dc=com

i can't specify the ldap server. Then, i need to use localhost as ldap
server?

Regards,
Brian Leung
System Engineer
Pacific Supernet

On Mon, 12 Aug 2002, Brian Leung wrote:

> hi all,
>
> i try to add the following line in the source code:
>
> #ifndef TRUE
> # define TRUE "1"
> #endif
>
> it seems solve the compile problem and it work with apache now
>
> Regards,
> Brian Leung
> System Engineer
> Pacific Supernet
>
> On Mon, 12 Aug 2002, Brian Leung wrote:
>
> > hi all,
> > who can compile mod_ldap_userdir in redhat platform?
> > i always get error according their docs:
> >
> > mod_ldap_userdir.c: In function `set_ldap_user_dir':
> > mod_ldap_userdir.c:94: `TRUE' undeclared (first use in this function)
> > mod_ldap_userdir.c:94: (Each undeclared identifier is reported only once
> > mod_ldap_userdir.c:94: for each function it appears in.)
> > make: *** [mod_ldap_userdir.o] Error 1
> >
> >
> > Regards,
> > Brian Leung
> > System Engineer
> > Pacific Supernet
> >
> >
>
>