Re: [Samba] Configure Options while build Samba and OpenLDAP?

2006-08-29 Thread updatemyself .

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 <[EMAIL PROTECTED]> 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


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


Re: [Samba] Configure Options while build Samba and OpenLDAP?

2006-08-29 Thread Logan Shaw

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


Re: [Samba] Configure Options while build Samba and OpenLDAP?

2006-08-29 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/29/2006 04:27 AM, updatemyself . escreveu:
> what about.. ldap options..?

What LDAP options? The ones used to compile? I have a
strong feeling that RPMs have that options, and that you can
also check the documentation for the needed options according
to your setup.

[...]


Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFE9DHWCj65ZxU4gPQRAsDKAJ9tP0y8M0dAnU2dVOb40Pg6yAEtdQCaAwPE
kGeSAjLxqLCk579vxTXwws4=
=Npkd
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Configure Options while build Samba and OpenLDAP?

2006-08-29 Thread updatemyself .

what about.. ldap options..?

any one can help?

On 8/28/06, Felipe Augusto van de Wiel <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/28/2006 05:30 AM, updatemyself . escreveu:
> Hai All,
>
> can anyone help me to know
> what all are the compailing option to use.. while build my samba and
> open-ldap rpm from sourse.
>
> to configure samba + ldap domain Server
> i wish to use the folowing package..
>
>
http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/openldap-2.3.19-4.src.rpm
>
>
http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-3.0.23b-1.src.rpm
>
> OS is..
> Red Hat Enterprise Linux WS (2.6.9-34.EL)
>
> if any one can give me the modified "spec" file.. that will be grate
help
> or give me the configure options...

The conf_args of the debian/rules, Debian package (3.0.22)
in Etch (testing).

conf_args = \
--cache-file=./config.cache \
--with-fhs \
--enable-shared \
--enable-static \
--disable-pie \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/etc/samba \
--with-privatedir=/etc/samba \
--with-piddir=/var/run/samba \
--localstatedir=/var \
--with-netatalk \
--with-pam \
--with-syslog \
--with-utmp \
--with-readline \
--with-pam_smbpass \
--with-libsmbclient \
--with-winbind \
--with-shared-modules=idmap_rid,idmap_ad \
--with-msdfs \
--with-automount \
--with-tdbsam \
--with-ldap \
--with-python=python2.3

ifeq ($(DEB_HOST_ARCH_OS),linux)
  conf_args += \
--with-smbmount \
--with-acl-support \
--with-quotas
  mount_cifs= yes
  smbfs = yes
else
  conf_args +=  --without-quotas
  mount_cifs= no
  smbfs = no
endif


> thank you in advance
> jerrynikky.

Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFE8xkdCj65ZxU4gPQRAjOWAJwIvlbtLvjorGb+ItKNuyLiOP078wCguyVx
+xOs5VobqLXpU9MSqO8Ru9o=
=3gIR
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Configure Options while build Samba and OpenLDAP?

2006-08-28 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/28/2006 05:30 AM, updatemyself . escreveu:
> Hai All,
> 
> can anyone help me to know
> what all are the compailing option to use.. while build my samba and
> open-ldap rpm from sourse.
> 
> to configure samba + ldap domain Server
> i wish to use the folowing package..
> 
> http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/openldap-2.3.19-4.src.rpm
> 
> http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-3.0.23b-1.src.rpm
> 
> OS is..
> Red Hat Enterprise Linux WS (2.6.9-34.EL)
> 
> if any one can give me the modified "spec" file.. that will be grate help
> or give me the configure options...

The conf_args of the debian/rules, Debian package (3.0.22)
in Etch (testing).

conf_args = \
--cache-file=./config.cache \
--with-fhs \
--enable-shared \
--enable-static \
--disable-pie \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/etc/samba \
--with-privatedir=/etc/samba \
--with-piddir=/var/run/samba \
--localstatedir=/var \
--with-netatalk \
--with-pam \
--with-syslog \
--with-utmp \
--with-readline \
--with-pam_smbpass \
--with-libsmbclient \
--with-winbind \
--with-shared-modules=idmap_rid,idmap_ad \
--with-msdfs \
--with-automount \
--with-tdbsam \
--with-ldap \
--with-python=python2.3

ifeq ($(DEB_HOST_ARCH_OS),linux)
  conf_args += \
--with-smbmount \
--with-acl-support \
--with-quotas
  mount_cifs= yes
  smbfs = yes
else
  conf_args +=  --without-quotas
  mount_cifs= no
  smbfs = no
endif


> thank you in advance
> jerrynikky.

Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFE8xkdCj65ZxU4gPQRAjOWAJwIvlbtLvjorGb+ItKNuyLiOP078wCguyVx
+xOs5VobqLXpU9MSqO8Ru9o=
=3gIR
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Configure Options while build Samba and OpenLDAP?

2006-08-28 Thread updatemyself .

Hai All,

can anyone help me to know
what all are the compailing option to use.. while build my samba and
open-ldap rpm from sourse.

to configure samba + ldap domain Server
i wish to use the folowing package..

http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/openldap-2.3.19-4.src.rpm
http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-3.0.23b-1.src.rpm

OS is..
Red Hat Enterprise Linux WS (2.6.9-34.EL)

if any one can give me the modified "spec" file.. that will be grate help
or give me the configure options...

thank you in advance
jerrynikky.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba