index 161cb35a458a5498864adc753c6c6e562124bce1..a34847599ac4517768ed26cb0c9bf08ef8759e81 100644 (file)
"krb5_list_principals",
"krb5_list_policies",
"krb5_get_principal",
"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_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",
"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_del_principal",
"answer_krb5_get_policy",
- "answer_krb5_set_policy",
+ "answer_krb5_create_policy",
+ "answer_krb5_modify_policy",
"answer_krb5_del_policy",
"answer_krb5_del_policy",
+ "answer_krb5_set_password",
);
@EXPORT = @events;
);
@EXPORT = @events;
return ( $msg );
}
return ( $msg );
}
+sub krb5_set_password {
+ my ($msg, $msg_hash, $session_id) = @_;
+ $msg =~ s/gosa_krb5/krb5/g;
+ return ( $msg );
+}
+
+
+sub krb5_create_principal {
+ my ($msg, $msg_hash, $session_id) = @_;
+ $msg =~ s/gosa_krb5/krb5/g;
+ return ( $msg );
+}
-sub krb5_set_principal {
+
+sub krb5_modify_principal {
my ($msg, $msg_hash, $session_id) = @_;
$msg =~ s/gosa_krb5/krb5/g;
return ( $msg );
my ($msg, $msg_hash, $session_id) = @_;
$msg =~ s/gosa_krb5/krb5/g;
return ( $msg );
}
}
-sub krb5_set_policy {
+sub krb5_create_policy {
+ my ($msg, $msg_hash, $session_id) = @_;
+ $msg =~ s/gosa_krb5/krb5/g;
+ return ( $msg );
+}
+
+
+sub krb5_modify_policy {
my ($msg, $msg_hash, $session_id) = @_;
$msg =~ s/gosa_krb5/krb5/g;
return ( $msg );
my ($msg, $msg_hash, $session_id) = @_;
$msg =~ s/gosa_krb5/krb5/g;
return ( $msg );
return ($msg);
}
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);
my ($msg, $msg_hash, $session_id) = @_ ;
$msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
return ($msg);
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);
my ($msg, $msg_hash, $session_id) = @_ ;
$msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
return ($msg);
return ($msg);
}
return ($msg);
}
+sub answer_krb5_set_password {
+ my ($msg, $msg_hash, $session_id) = @_ ;
+ $msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
+ return ($msg);
+}
+
1;
1;