[Samba] passdb backend postgresql
Maulana I Kahirawan
iwan at seilink.com
Thu Mar 24 10:02:54 GMT 2005
Hi there..
I tried to compile samba with postgresql as a backend
and I always got some error.
this is my config
Redhat Linux 9
PostgreSQL 7.3.6
Samba 3.0.13
here is my configure file
$ ./configure --prefix = /usr \
--localstatedir=/var \
--with-configdir=/etc/samba \
--with-privatedir=/etc/samba \
--with-fhs \
--with-quotas \
--with-smbmount \
--enable-cups \
--with-pam \
--with-pam_smbpass \
--with-syslog \
--with-utmp \
--with-sambabook=/usr/share/swat/using_samba \
--with-swatdir=/usr/share/swat \
--with-shared-modules=idmap_rid \
--with-libsmbclient \
--with-expsam=pgsql \
--with-pgsql-prefix= /usr/local/pgsql
and I get error
"..............................
checking for PGSQL... yes
checking whether to use automount... no
checking whether to use smbmount... configure: error: not on a linux
system!"
and when I remove the "--with-smbmount"
I also get error like this
"............................
checking whether to use PAM... yes
checking for pam_get_data in -lpam... yes
checking whether to use pam_smbpass... ye
configure: error: No support for PIC code"
does anyone know how to build samba with postgresql as a backend?
More information about the samba
mailing list