X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=gosa-si%2Ftests%2Fclient.php;h=bd44acbe5eeb3cd89b1722ce3a59b3690faaa378;hb=c1ab5bb6bab3f95d4027360cadab5e71ecfc8f5c;hp=7a92a4c0b5da30ced6135cfb3e27b7eec7e0a63e;hpb=1fa27d58342e7f89fecd515f7690558cee0cc6d1;p=gosa.git diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index 7a92a4c0b..bd44acbe5 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -9,8 +9,10 @@ $zahl= 1; for($count = 1; $count <= $zahl; $count++) { - $sock = new Socket_Client("127.0.0.1","20081",TRUE,1); + $sock = new Socket_Client("127.0.0.1","20081",TRUE,5); $sock->setEncryptionKey("secret-gosa-password"); + #$sock = new Socket_Client("10.3.67.111","20081",TRUE,5); + #$sock->setEncryptionKey("UldOjon9gra"); if($sock->connected()){ @@ -21,7 +23,7 @@ for($count = 1; $count <= $zahl; $count++) #$data = "
job_ping
GOSA 00:01:6c:9d:b9:fa 00:01:6c:9d:b9:fa19700101000000
"; # jobdb delete - #$data = "
gosa_delete_jobdb_entry
GOSA GOSA 1
"; + #$data = "
gosa_delete_jobdb_entry
GOSA GOSA 3
"; # smbhash #$data = "
gosa_gen_smb_hash
GOSAGOSAtester
"; @@ -81,8 +83,8 @@ for($count = 1; $count <= $zahl; $count++) ########### # messaging - #$data = "
gosa_send_user_msg
GOSA GOSA eine wichtige nachricht admin rettenbe 20130101235959 kaffeepause
"; + #$data = "
gosa_send_user_msg
GOSA GOSA ".base64_encode("eine wichtige nachricht")." admin polle rettenbe 20130101235959 ".base64_encode("kaffeepause")."
"; ################ # logHandling.pm @@ -99,11 +101,9 @@ for($count = 1; $count <= $zahl; $count++) #$data = "
gosa_get_log_file_by_date_and_mac
GOSA GOSA install_20080311_090900 00:01:6c:9d:b9:fa boot.log
"; ######### - # testing - #$data = "
gosa_query_packages_list
GOSA GOSA
"; - # Kerberos test query - $data = "
gosa_krb5_list_principals
00:0C:29:DD:CD:2A GOSA
"; +# $data = "
gosa_krb5_create_principal
00:01:6c:9d:aa:16 horst@WIRECARD.SYSGOSA666
"; + $data = "
gosa_krb5_modify_principal
00:01:6c:9d:aa:16 horst@WIRECARD.SYSGOSA666
"; $sock->write($data); $answer = "nothing";