1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps |
2 |
--- e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps 2006-12-01 13:50:55.000000000 -0700 |
3 |
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps 2006-12-01 13:50:28.000000000 -0700 |
4 |
@@ -26,8 +26,9 @@ |
5 |
'Domain Admins' => 'admin', |
6 |
'Domain Users' => 'shared', |
7 |
'Domain Guests' => 'nobody', |
8 |
- , |
9 |
- map { $_->prop('Description'), $_->key } $a->groups()); |
10 |
+ (map { $_->prop('FirstName')." ".$_->prop('LastName'), $_->key } $a->get('admin')), |
11 |
+ (map { $_->prop('FirstName')." ".$_->prop('LastName'), $_->key } $a->users()), |
12 |
+ (map { $_->prop('Description'), $_->key } $a->groups())); |
13 |
|
14 |
my %mapping_done = (); |
15 |
foreach (`/usr/bin/net groupmap list`) |