(no commit message)
[devwiki.git] / testing / myproxy.mdwn
1 # Testing MyProxy with Moonshot support
2
3 ## Prerequsities
4     # apt-get install libglobus-gss-assist-dev
5
6 ## Build the MyProxy server and client
7     $ wget http://downloads.sourceforge.net/project/cilogon/myproxy/myproxy-5.3.tar.gz
8     $ tar xzf myproxy-5.3.tar.gz
9     $ cd myproxy-5.3
10     $ patch -p0 << EOF
11 -- myproxy_sasl_client.c       2011-04-14 12:08:59.000000000 -0400
12 +-++ myproxy_sasl_client.c.orig  2011-04-14 12:08:43.000000000 -0400
13 @@ -328,7 +328,7 @@
14                 result = SASL_FAIL;
15                 goto error;
16             }
17 -        } else /* if (result != SASL_OK) */ {
18 +        } else if (re
19 sult != SASL_OK) {
20             if (send_response_sasl_data(attrs, &server_response, "", 0) < 0) {
21                 result = SASL_FAIL;
22                 goto error;
23
24
25     $ /usr/share/globus/globus-bootstrap.sh
26     $ ./configure --with-flavor=gcc32pthr --with-sasl2=/usr --sbindir=/usr/sbin
27     $ make
28
29 ## Configure the server
30     # ./myproxy-server -c .....
31
32 ## Try obtaining a certificate for steve
33     $ export SASL_PATH=/usr/local/lib/sasl2
34     $ export X509_CERT_DIR=/etc/ssl/certs
35     $ ./myproxy-logon -s localhost -n -l steve@local
36
37 The PKI credentials will be in ....