summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a00cf2)
raw | patch | inline | side by side (parent: 5a00cf2)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Apr 2008 07:24:47 +0000 (07:24 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Apr 2008 07:24:47 +0000 (07:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10629 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history | |
gosa-si/server/events/gosaTriggered.pm | patch | blob | history | |
gosa-si/tests/client.php | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index d9bf2393d29dd576ce5850a5106a87a3e39ecf01..4b599084af82da45c3d9e83730d1f41fa9ebf2cd 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
while (defined (my $event = readdir (DIR))) {
if( $event eq "." || $event eq ".." ) { next; }
-
+ daemon_log("INFO: found event module: $event", 5);
eval{ require $event; };
if( $@ ) {
daemon_log("ERROR: import of event module '$event' failed", 1);
index 63e7ce832937e59d7c0a6d5e36309f7f2abe5af8..b84d8207c31adb80e7501bfa0205b69565ae2b3c 100644 (file)
"recreate_packages_list_db",
"send_user_msg",
"get_available_kernel",
- "krb5_list_principals",
- "krb5_list_policies",
- "krb5_get_principal",
- "krb5_set_principal",
- "krb5_del_principal",
- "krb5_get_policy",
- "krb5_set_policy",
- "krb5_del_policy",
);
@EXPORT = @events;
}
-sub krb5_list_principals {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_set_principal {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_get_principal {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_del_principal {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_list_policies {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_get_policy {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_set_policy {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
-sub krb5_del_policy {
- my ($msg, $msg_hash, $session_id) = @_;
- $msg =~ s/gosa_krb5/krb5/g;
- return ( $msg );
-}
-
-
1;
index 7a92a4c0b5da30ced6135cfb3e27b7eec7e0a63e..4348bea9c60eec958454ab11ead5718f3e9bcfa9 100755 (executable)
--- a/gosa-si/tests/client.php
+++ b/gosa-si/tests/client.php
# messaging
#$data = "<xml> <header>gosa_send_user_msg</header> <target>GOSA</target> <source>GOSA</source> <subject>eine wichtige nachricht</subject> <from>admin</from> <to>rettenbe</to> <delivery_time>20130101235959</delivery_time> <message>kaffeepause</message> </xml>";
-
################
# logHandling.pm
# all date and mac parameter accept regular expression as input unless other instructions are given
#$data = "<xml> <header>gosa_get_log_file_by_date_and_mac</header> <target>GOSA</target> <source>GOSA</source> <date>install_20080311_090900</date> <mac>00:01:6c:9d:b9:fa</mac> <log_file>boot.log</log_file></xml>";
#########
- # testing
- #$data = "<xml> <header>gosa_query_packages_list</header><source>GOSA</source> <target>GOSA</target></xml>";
-
# Kerberos test query
- $data = "<xml> <header>gosa_krb5_list_principals</header> <target>00:0C:29:DD:CD:2A</target> <source>GOSA</source></xml>";
+ $data = "<xml> <header>gosa_krb5_list_principals</header> <target>00:01:6c:9d:b9:fa</target> <source>GOSA</source></xml>";
$sock->write($data);
$answer = "nothing";