1 $NetBSD: patch-ah,v 1.1.1.1 2008/06/16 16:04:25 taca Exp $
3 - Fix paths for pkgsrc.
5 --- smbldap.conf.orig 2010-11-15 14:45:49.000000000 +0000
7 @@ -57,7 +57,7 @@ sambaDomain="DOMSMB"
9 # Ex: slaveLDAP=127.0.0.1
10 # If not defined, parameter is set to "127.0.0.1"
11 -slaveLDAP="ldap.iallanis.info"
12 +slaveLDAP="ldap.example.info"
15 # If not defined, parameter is set to "389"
16 @@ -66,7 +66,7 @@ slavePort="389"
17 # Master LDAP server: needed for write operations
18 # Ex: masterLDAP=127.0.0.1
19 # If not defined, parameter is set to "127.0.0.1"
20 -masterLDAP="ldap.iallanis.info"
21 +masterLDAP="ldap.example.info"
24 # If not defined, parameter is set to "389"
25 @@ -91,19 +91,19 @@ verify="require"
28 # see "man Net::LDAP" in start_tls section for more details
29 -cafile="/etc/smbldap-tools/ca.pem"
30 +cafile="@PKG_SYSCONFDIR@/ca.pem"
32 # certificate to use to connect to the ldap server
33 # see "man Net::LDAP" in start_tls section for more details
34 -clientcert="/etc/smbldap-tools/smbldap-tools.iallanis.info.pem"
35 +clientcert="@PKG_SYSCONFDIR@/smbldap-tools.example.info.pem"
37 # key certificate to use to connect to the ldap server
38 # see "man Net::LDAP" in start_tls section for more details
39 -clientkey="/etc/smbldap-tools/smbldap-tools.iallanis.info.key"
40 +clientkey="@PKG_SYSCONFDIR@/smbldap-tools.example.info.key"
43 # Ex: suffix=dc=IDEALX,dc=ORG
44 -suffix="dc=iallanis,dc=info"
45 +suffix="dc=example,dc=info"
47 # Where are stored Users
48 # Ex: usersdn="ou=Users,dc=IDEALX,dc=ORG"
49 @@ -120,6 +120,14 @@ computersdn="ou=Computers,${suffix}"
50 # Warning: if 'suffix' is not set here, you must set the full dn for groupsdn
51 groupsdn="ou=Groups,${suffix}"
53 +# Groups objectclasses, as a space-separated list
54 +# Ex: groupsclasses="top posixGroup"
55 +groupsclasses="posixGroup groupOfNames"
57 +# Groups default member (rfc2307bis prohibit empty groups)
58 +# Ex: groupsdefaultmember="cn=default,${suffix}"
59 +groupsdefaultmember="cn=default,ou=roles,${suffix}"
61 # Where are stored Idmap entries (used if samba is a domain member server)
62 # Ex: groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
63 # Warning: if 'suffix' is not set here, you must set the full dn for idmapdn
64 @@ -150,8 +158,8 @@ crypt_salt_format="%s"
68 -# Ex: userLoginShell="/bin/bash"
69 -userLoginShell="/bin/bash"
70 +# Ex: userLoginShell="/bin/csh"
71 +userLoginShell="/bin/csh"
74 # Ex: userHome="/home/%U"
75 @@ -209,7 +217,7 @@ userScript="logon.bat"
76 # Domain appended to the users "mail"-attribute
77 # when smbldap-useradd -M is used
78 # Ex: mailDomain="idealx.com"
79 -mailDomain="iallanis.info"
80 +mailDomain="example.info"
82 ##############################################################################
84 @@ -220,12 +228,12 @@ mailDomain="iallanis.info"
85 # Allows not to use smbpasswd (if with_smbpasswd="0" in smbldap.conf) but
86 # prefer Crypt::SmbHash library
88 -smbpasswd="/usr/bin/smbpasswd"
89 +smbpasswd="@PREFIX@/bin/smbpasswd"
91 # Allows not to use slappasswd (if with_slappasswd="0" in smbldap.conf)
92 # but prefer Crypt:: libraries
94 -slappasswd="/usr/sbin/slappasswd"
95 +slappasswd="@PREFIX@/sbin/slappasswd"
97 # comment out the following line to get rid of the default banner