summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dab3bba)
raw | patch | inline | side by side (parent: dab3bba)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Apr 2008 14:42:51 +0000 (14:42 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Apr 2008 14:42:51 +0000 (14:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10660 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/krb5.pm | patch | blob | history |
index 629a2afb7530d386705eaa1921a0cfb5593f5f46..37a4f922a87117d3c799b906aa99d8fb176de02e 100644 (file)
"krb5_list_principals",
"krb5_list_policies",
"krb5_get_principal",
- "krb5_set_principal",
+ "krb5_create_principal",
+ "krb5_modify_principal",
+ "krb5_set_password",
"krb5_del_principal",
"krb5_get_policy",
- "krb5_set_policy",
+ "krb5_create_policy",
+ "krb5_modify_policy",
"krb5_del_policy",
"answer_krb5_list_principals",
"answer_krb5_list_policies",
"answer_krb5_get_principal",
- "answer_krb5_set_principal",
+ "answer_krb5_create_principal",
+ "answer_krb5_modify_principal",
"answer_krb5_del_principal",
"answer_krb5_get_policy",
- "answer_krb5_set_policy",
+ "answer_krb5_create_policy",
+ "answer_krb5_modify_policy",
"answer_krb5_del_policy",
);
@EXPORT = @events;
return ($msg);
}
-sub answer_krb5_set_principal {
+sub answer_krb5_create_principal {
+ my ($msg, $msg_hash, $session_id) = @_ ;
+ $msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
+ return ($msg);
+}
+
+sub answer_krb5_modify_principal {
my ($msg, $msg_hash, $session_id) = @_ ;
$msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
return ($msg);
return ($msg);
}
-sub answer_krb5_set_policy {
+sub answer_krb5_create_policy {
+ my ($msg, $msg_hash, $session_id) = @_ ;
+ $msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
+ return ($msg);
+}
+
+sub answer_krb5_modify_policy {
my ($msg, $msg_hash, $session_id) = @_ ;
$msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
return ($msg);