r5265: ensure that the Fedora RPMS build with cups support
[ira/wip.git] / packaging / Mandrake / samba-3.0.2a-smbldap-config.patch
1 --- samba-3.0.2a/examples/LDAP/smbldap-tools/smbldap_conf.pm.orig       2003-12-10 22:59:17.000000000 +0100
2 +++ samba-3.0.2a/examples/LDAP/smbldap-tools/smbldap_conf.pm    2004-03-01 22:59:01.535482375 +0100
3 @@ -101,22 +101,22 @@
4  
5  # LDAP Suffix
6  # Ex: $suffix = "dc=IDEALX,dc=ORG";
7 -$suffix = "dc=IDEALX,dc=COM";
8 +$suffix = "dc=example,dc=com";
9  
10  
11  # Where are stored Users
12  # Ex: $usersdn = "ou=Users,$suffix"; for ou=Users,dc=IDEALX,dc=ORG
13 -$usersou = q(_USERS_);
14 +$usersou = q(People);
15  $usersdn = "ou=$usersou,$suffix";
16  
17  # Where are stored Computers
18  # Ex: $computersdn = "ou=Computers,$suffix"; for ou=Computers,dc=IDEALX,dc=ORG
19 -$computersou = q(_COMPUTERS_);
20 +$computersou = q(Hosts);
21  $computersdn = "ou=$computersou,$suffix";
22  
23  # Where are stored Groups
24  # Ex $groupsdn = "ou=Groups,$suffix"; for ou=Groups,dc=IDEALX,dc=ORG
25 -$groupsou = q(_GROUPS_);
26 +$groupsou = q(Group);
27  $groupsdn = "ou=$groupsou,$suffix";
28  
29  # Default scope Used
30 @@ -130,7 +130,7 @@
31  ############################
32  # Bind DN used 
33  # Ex: $binddn = "cn=Manager,$suffix"; for cn=Manager,dc=IDEALX,dc=org
34 -$binddn = "cn=Manager,$suffix";
35 +$binddn = "cn=root,$suffix";
36  
37  # Bind DN passwd used
38  # Ex: $bindpasswd = 'secret'; for 'secret'
39 @@ -153,11 +153,11 @@
40  # Login defs
41  # Default Login Shell
42  # Ex: $_userLoginShell = q(/bin/bash);
43 -$_userLoginShell = q(_LOGINSHELL_);
44 +$_userLoginShell = q(/bin/bash);
45  
46  # Home directory prefix (without username)
47  # Ex: $_userHomePrefix = q(/home/);
48 -$_userHomePrefix = q(_HOMEPREFIX_);
49 +$_userHomePrefix = q(/home);
50  
51  # Gecos
52  $_userGecos = q(System User);
53 @@ -187,19 +187,19 @@
54  # Ex: q(\\\\My-PDC-netbios-name\\homes) for \\My-PDC-netbios-name\homes
55  # Just comment this if you want to use the smb.conf 'logon home' directive
56  # and/or desabling roaming profiles
57 -$_userSmbHome = q(\\\\_PDCNAME_\\homes);
58 +#$_userSmbHome = q(\\\\_PDCNAME_\\homes);
59  
60  # The UNC path to profiles locations without the username last extension
61  # (will be dynamically prepended)
62  # Ex: q(\\\\My-PDC-netbios-name\\profiles\\) for \\My-PDC-netbios-name\profiles
63  # Just comment this if you want to use the smb.conf 'logon path' directive
64  # and/or desabling roaming profiles
65 -$_userProfile = q(\\\\_PDCNAME_\\profiles\\);
66 +#$_userProfile = q(\\\\_PDCNAME_\\profiles\\);
67  
68  # The default Home Drive Letter mapping
69  # (will be automatically mapped at logon time if home directory exist)
70  # Ex: q(U:) for U:
71 -$_userHomeDrive = q(_HOMEDRIVE_);
72 +#$_userHomeDrive = q(_HOMEDRIVE_);
73  
74  # The default user netlogon script name
75  # if not used, will be automatically username.cmd
76 @@ -216,7 +216,7 @@
77  # prefer mkntpwd... most of the time, it's a wise choice :-) 
78  $with_smbpasswd = 0;
79  $smbpasswd = "/usr/bin/smbpasswd";
80 -$mk_ntpasswd = "/usr/local/sbin/mkntpwd";
81 +$mk_ntpasswd = "/usr/sbin/mkntpwd";
82  
83  # those next externals commands are kept fot the migration scripts and
84  # for the populate script: this will be updated as soon as possible