File smbldap-tools-0.9.9-suse-config.patch of Package smbldap-tools
--- smbldap-tools-0.9.9-orig/smbldap.conf 2012-08-07 13:12:06.000000000 +0200
+++ smbldap-tools-0.9.9/smbldap.conf 2012-09-16 18:02:21.400129441 +0200
@@ -19,8 +19,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
-# USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301, USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
@@ -33,12 +33,12 @@
# Put your own SID. To obtain this number do: "net getlocalsid".
# If not defined, parameter is taking from "net getlocalsid" return
-SID="S-1-5-21-2252255531-4061614174-2474224977"
+#SID="S-1-5-21-2252255531-4061614174-2474224977"
# Domain name the Samba server is in charged.
# If not defined, parameter is taking from smb.conf configuration file
# Ex: sambaDomain="IDEALX-NT"
-sambaDomain="DOMSMB"
+#sambaDomain="DOMSMB"
##############################################################################
#
@@ -76,7 +76,7 @@
# CA certificate
# see "man Net::LDAP" in start_tls section for more details
-cafile="/etc/smbldap-tools/ca.pem"
+cafile="/etc/ssl/ca-bundle.pem"
# certificate to use to connect to the ldap server
# see "man Net::LDAP" in start_tls section for more details
@@ -93,12 +93,12 @@
# Where are stored Users
# Ex: usersdn="ou=Users,dc=IDEALX,dc=ORG"
# Warning: if 'suffix' is not set here, you must set the full dn for usersdn
-usersdn="ou=Users,${suffix}"
+usersdn="ou=People,ou=Users,${suffix}"
# Where are stored Computers
# Ex: computersdn="ou=Computers,dc=IDEALX,dc=ORG"
# Warning: if 'suffix' is not set here, you must set the full dn for computersdn
-computersdn="ou=Computers,${suffix}"
+computersdn="ou=Computers,ou=Users,${suffix}"
# Where are stored Groups
# Ex: groupsdn="ou=Groups,dc=IDEALX,dc=ORG"