Hello, > Now for the practical part. Change the line > putenv(varname); > in the Solaris code to > putenv(strdup(varname)); > If I'm right this should do the magic. > > Regards > Wolfgang Zekoll
Thank you; the trick to export environment to an external authenticator works on Solaris !!! Now there is just one issue in the way for me to configure the software: what information should my authenticator return to the proxy to indicate success or failure ? I assumed it was based on exit code only, but when my program returns 0 on exit, the proxy does not even try to establish a tcp connection to the server. However, all environment variables look OK, showing that server address has been resolved. # ./ftp.proxy -D 2121 -a /usr/scripts/ftpauth -B -l -d -e # cat ftpauth #!/bin/sh exit 0 The syntax used is: #ftp myproxy 2121 username: localuser:[EMAIL PROTECTED] password: localpass:remotepass When using tcpdump on remotehost i cannot incoming packets from the proxy host. Any ideas ? Paul --general-l------------------------------------ To unsubscribe please visit: http://www.ftpproxy.org/html/maillinglists.html

