>  I am trying to upgrade samba to samba-3.0, 
> I have source rpm from samba site and I have been trying to recompile
> rpm with spec as following 
> --with-mmap \
...
>         --with-ldap \
>         --with-ldapsam\
>         --with-ssl \
>        --with-acl-support   
> But compile is throwing error that unknow option --with-ldap and
> --with-ldapsam and --with-ssl 

It think --with-ldapsam and --with-ssl are gone in 3.x.

> does anyone know what options I  need to compile LDAP support , and
> how I can find out that what options are available, I also looked at
> .configure , it has all these options, then why compile is failling
>  I am using redhat 8.0
> rpmbuild -bb samba.spec
>  

We build with  -

CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
        --prefix=%{prefix} \
        --localstatedir=/var \
        --with-configdir=/etc/samba \
        --with-privatedir=/etc/samba \
        --with-fhs \
        --with-quotas \
        --with-smbmount \
        --with-pam \
        --with-pam_smbpass \
        --with-syslog \
        --with-utmp \
        --with-sambabook=%{prefix}/share/swat/using_samba \
        --with-swatdir=%{prefix}/share/swat \
        --with-libsmbclient  \
        --with-acl-support \
        --with-ldap \
        --with-krb5=/usr/kerberos


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to