[Samba] Configure Options while build Samba and OpenLDAP?

updatemyself . updatemyself at gmail.com
Wed Aug 30 03:33:12 GMT 2006


i mean the configure options.. while building samba and open-ldap from SRC
rpm

thank a lot...

regards
jerrynikky.

On 8/29/06, Logan Shaw <lshaw at emitinc.com> wrote:
>
> >> On 08/28/2006 05:30 AM, updatemyself . escreveu:
> >> > can anyone help me to know
> >> > what all are the compailing option to use.. while build my samba and
> >> > open-ldap rpm from sourse.
>
> On Tue, 29 Aug 2006, updatemyself . wrote:
> > what about.. ldap options..?
> >
> > any one can help?
>
>
> I rebuilt Samba for Slackware and added LDAP in the build
> since Slackware doesn't have LDAP by default (at all).
>
> All I had to do was set these environment variables:
>
>      CFLAGS="-I/usr/local/pkg/openldap/include"
>      LDAP_LDFLAGS="-L/usr/local/pkg/openldap/lib
> -Wl,-rpath,/usr/local/pkg/openldap/lib"
>
> and add this "./configure" option:
>
>      --with-ldap=yes
>
> The two environmen variables were only needed because I have
> my OpenLDAP libraries installed in a non-standard place.
> (There isn't a Slackware package for OpenLDAP that I know of,
> and I didn't feel like making one, so I just put all the
> OpenLDAP stuff in its own directory to keep it separate.)
> If you have your OpenLDAP includes in /usr/include and your
> OpenLDAP libraries in /usr/lib, you wouldn't need those two
> environment variables.
>
> All that applies to Slackware, but it should be fairly similar
> for Debian, I would think.
>
>    - Logan
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list