1 |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update.group-attrs e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update.group-attrs e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update |
2 |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.group-attrs e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.group-attrs e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin |
3 |
--- e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.group-attrs 2010-11-04 19:32:27.000000000 -0600 |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update.group-attrs e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update |
4 |
+++ e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin 2010-11-04 19:31:24.000000000 -0600 |
--- e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update.group-attrs 2010-11-04 23:03:07.000000000 -0600 |
5 |
|
+++ e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update 2010-11-04 23:05:21.000000000 -0600 |
6 |
|
@@ -207,8 +207,7 @@ foreach my $group (qw/nobody shared www/ |
7 |
|
$updates->{$dn}->{objectClass} = ['posixGroup']; |
8 |
|
|
9 |
|
# Read information from getent group |
10 |
|
- @{$updates->{$dn}}{'cn','userPassword','gidNumber','memberUid'} = getgrnam($group); |
11 |
|
- $updates->{$dn}->{userPassword} =~ s/^/{CRYPT}/ unless $updates->{$dn}->{userPassword} =~ m/^{/; |
12 |
|
+ @{$updates->{$dn}}{'cn','junk','gidNumber','memberUid'} = getgrnam($group); |
13 |
|
$updates->{$dn}->{memberUid} = [ split /\s+/, $updates->{$dn}->{memberUid} ]; |
14 |
|
|
15 |
|
# Ensure groups have the needed properties |
16 |
|
@@ -311,9 +310,7 @@ foreach my $acct (@accounts) |
17 |
|
$updates->{$dn}->{objectClass} = ['posixGroup']; |
18 |
|
|
19 |
|
# Read information from getent group |
20 |
|
- @{$updates->{$dn}}{'cn','userPassword','gidNumber','memberUid'} = getgrnam($key); |
21 |
|
- $updates->{$dn}->{userPassword} =~ s/^/{CRYPT}/ unless $updates->{$dn}->{userPassword} =~ m/^{/; |
22 |
|
- $updates->{$dn}->{description} = $desc if $desc; |
23 |
|
+ @{$updates->{$dn}}{'cn','junk','gidNumber','memberUid'} = getgrnam($key); |
24 |
|
$updates->{$dn}->{memberUid} = [ split /\s+/, $updates->{$dn}->{memberUid} ]; |
25 |
|
|
26 |
|
# Ensure groups have the needed properties |
27 |
|
@@ -321,6 +318,7 @@ foreach my $acct (@accounts) |
28 |
|
{ |
29 |
|
push @{$updates->{$dn}->{objectClass}}, 'mailboxRelatedObject'; |
30 |
|
$updates->{$dn}->{mail} = "$key\@$domain"; |
31 |
|
+ $updates->{$dn}->{description} = $desc if $desc; |
32 |
|
} |
33 |
|
|
34 |
|
# Samba parameters if we find the samba.schema |
35 |
|
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.group-attrs e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin |
36 |
|
--- e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.group-attrs 2010-11-04 23:03:07.000000000 -0600 |
37 |
|
+++ e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin 2010-11-04 23:04:08.000000000 -0600 |
38 |
@@ -97,7 +97,7 @@ |
@@ -97,7 +97,7 @@ |
39 |
endpwent(); |
endpwent(); |
40 |
|
|