Samba3 on OpenIndiana (patch attached)

Gordon Ross gordon.w.ross at gmail.com
Fri Apr 29 16:23:47 MDT 2011


Hi all,

I've been working on making Samba3 build and work better on OpenIndiana.
(OpenIndiana is an off-shoot of OpenSolaris  See http://www.openindiana.org)

I'd like Samba to use the native OpenLDAP and MIT Kerberos libs.
Attached are some patches to do that.  (relative to git master)
It does not build for me without these.  Review appreciated.

Here's the set of configure options I'm using:
    ./configure --prefix=/usr \
	--libdir=/usr/lib/samba \
	--includedir=/usr/include/samba \
	--sysconfdir=/etc/samba \
	--with-configdir=/etc/samba \
	--with-privatedir=/etc/samba/private \
	--with-swatdir=/usr/share/samba/swat\
	--localstatedir=/var/samba \
	--with-lockdir=/var/samba/locks \
	--with-piddir=/var/samba/locks \
	--with-logfilebase=/var/samba/log \
	--enable-shared=yes \
	--enable-static=no \
	--with-static-modules= \
	--with-shared-modules=vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex
\
	--with-readline \
	--with-aio-support \
	--with-acl-support \
	--with-ads \
	--with-krb5 \
	--with-ldap \
	--with-automount \
	--with-dnsupdate \
	--with-pam \
	--with-winbind \
	CC=cc \
	CPP=/usr/sfw/bin/cpp \
	MAKE=gmake \
	CUPS_CONFIG=/usr/bin/cups-config \
	INSTALLCMD=/usr/bin/ginstall \
	LDFLAGS=" -R/usr/lib -R/usr/lib/samba" \
	LIBREPLACE_NETWORK_LIBS=" -lsocket -lnsl"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openindiana.patch
Type: application/octet-stream
Size: 4351 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110429/e5ef6ab1/attachment.obj>


More information about the samba-technical mailing list