3 // thie file defines the messages sent too and from the gaas client.
4 function gaasStatus_clientsend($params)
9 function gaasStatus_clientrecv($params)
15 // INIT server message
17 // AD: "AD", "user", "pass", "domain", "client def", "admin def"
18 // IN: "IN", "user", "pass"
19 function gaasInitServer_clientsend($params)
24 $msg["backend"] = $params[0];
25 $msg["user"] = $params[1];
26 $msg["pass"] = $params[2];
28 if($msg["backend"] == "AD") {
29 $msg["domain"] = $params[3];
30 $msg["clientdef"] = $params[4];
31 $msg["admindef"] = $params[5];
32 } else if($msg["backend"] == "IN") {
33 // we dont do anything
35 // invalid backend type
42 // pretty simple, it either works or doesnt, we just pass on the result
43 function gaasInitServer_clientrecv($params)
45 echo "in recv, params\n";
51 function gaasSetADLogin_clientsend($params)
56 function gaasSetADLogin_clientrecv($params)