|
|
|
@ -19,7 +19,7 @@ foreach (qw(samba/smb.conf samba/smbusers))
|
|
|
|
|
post-install
|
|
|
|
|
post-upgrade
|
|
|
|
|
workgroup-update
|
|
|
|
|
e-smith-samba-update
|
|
|
|
|
smeserver-samba-update
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -28,11 +28,11 @@ foreach my $file (qw(
|
|
|
|
|
/etc/krb5.conf
|
|
|
|
|
))
|
|
|
|
|
{
|
|
|
|
|
templates2events($file, qw(console-save bootstrap-console-save e-smith-samba-update));
|
|
|
|
|
templates2events($file, qw(console-save bootstrap-console-save smeserver-samba-update));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
foreach (qw(console-save bootstrap-console-save bootstrap-ldap-save
|
|
|
|
|
post-install post-upgrade workgroup-update e-smith-samba-update))
|
|
|
|
|
post-install post-upgrade workgroup-update smeserver-samba-update))
|
|
|
|
|
{
|
|
|
|
|
event_link('store-ldap-smbpasswd', $_, "06");
|
|
|
|
|
}
|
|
|
|
@ -112,7 +112,7 @@ event_link("create-machine-account", $event, "10");
|
|
|
|
|
$event = "pre-restore";
|
|
|
|
|
event_link("delete-smbpasswd", $event, "90");
|
|
|
|
|
|
|
|
|
|
$event = "e-smith-samba-update";
|
|
|
|
|
$event = "smeserver-samba-update";
|
|
|
|
|
event_link("user-create-profiledir", $event, "20");
|
|
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smbd");
|
|
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nmbd");
|
|
|
|
|