diff options
author | martti <martti> | 2002-02-04 10:31:49 +0000 |
---|---|---|
committer | martti <martti> | 2002-02-04 10:31:49 +0000 |
commit | 1064e6c45eabc607986ecb7c7444b0c6f26007b7 (patch) | |
tree | 93cd157b5f4eef88c66c67b28262d474c233d821 /net/samba | |
parent | 72a3731e46d61a12151ddaba8626ef67066ea7a9 (diff) | |
download | pkgsrc-1064e6c45eabc607986ecb7c7444b0c6f26007b7.tar.gz |
Added optional support for LDAP (set SAMBA_USE_LDAP=YES to activate this).
According to Samba 2.2.3 release announcement:
Much work has been done on the LDAP backend code. The configure
option --with-ldapsam is now considered to be stable. The schema
used has changed, see the file examples/LDAP/samba.schema for the
new schema.
New documentation explaining how to set up a Samba only PDC/BDC
setup has been added in the files Samba-LDAP-HOWTO and Samba-BDC-HOWTO
in the documentation tree.
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 11 | ||||
-rw-r--r-- | net/samba/PLIST | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index b3fe2140dd2..a6117d5bc5f 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2002/02/04 08:09:02 martti Exp $ +# $NetBSD: Makefile,v 1.76 2002/02/04 10:31:49 martti Exp $ DISTNAME= samba-2.2.3 WRKSRC= ${WRKDIR}/${DISTNAME}/source @@ -61,6 +61,15 @@ BUILD_DEFS+= USE_PAM CONFIGURE_ARGS+= --with-pam .endif +.if defined(SAMBA_USE_LDAP) && ${SAMBA_USE_LDAP} == "YES" +.include "../../databases/openldap/buildlink.mk" +BUILD_DEFS+= SAMBA_USE_LDAP +CONFIGURE_ARGS+= --with-ldapsam +PLIST_SUBST+= SAMBA_LDAP="" +.else +PLIST_SUBST+= SAMBA_LDAP="@comment " +.endif + # The following are Linux-only options. CONFIGURE_ARGS+= --without-smbwrapper CONFIGURE_ARGS+= --without-smbmount diff --git a/net/samba/PLIST b/net/samba/PLIST index f61380af859..e441187a333 100644 --- a/net/samba/PLIST +++ b/net/samba/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.3 2002/02/04 08:09:03 martti Exp $ +@comment $NetBSD: PLIST,v 1.4 2002/02/04 10:31:49 martti Exp $ bin/make_printerdef bin/make_smbcodepage bin/make_unicodemap bin/nmblookup +${SAMBA_LDAP}bin/pdbedit bin/rpcclient bin/smbcacls bin/smbclient |