Hello Richard -

On Tue, 12 Oct 1999, Richard Barnes -Listserv wrote:
> I was hoping you could help me out with compiling pmwho (downloaded source
> from ftp.abc.se:/pub/pmwho/)...
> 
> I get:
> 
> # gcc -DSOLARIS pmwho-1.6.c -o pmwho
> pmwho-1.6.c: In function `main':
> pmwho-1.6.c:273: warning: return type of `main' is not `int'
> 

I get the same thing on my Linux box - don't think its a problem.

> Version of gcc:
> # gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95/specs
> gcc version 2.95 19990728 (release)
> 
> it still compiles (since I only get a warning message), but I can't connect
> to my chassis.  I've modified:
> 
> #define PMWHO_DEFAULT   "yorkr1"
> #define PASSWORD        "(mypassword)" - the password contains a "." and a
> "&", would this matter?
> 
> #if defined(SUNOS4) || defined(SOLARIS)
> #define TELNET_EXEC     "/usr/bin/telnet"
> #define TELNET_CLOSE    "Connection closed"
> #define TELNET_PORT     "2011" <- I'm running my TELNET port on this
> nonstandard one?  does this matter?
> #define TELNET_PROMPT   "telnet> "
> 
> when I run pmwho I get:
> 
> # ./pmwho
> pmwho: timeout on connection to host 'yorkr1'
> 
> from the command line I can type: /usr/bin/telnet yorkr1 2011 and get
> connected without a problem...
> 

Is the password identical? Is the "telnet>" prompt identical?

> any ideas?
> 

I would look at a debug on yorkr1 to see whether pmwho is actually getting a
connection and I would also look at a tcpdump (or equivalent) on the Solaris
box to see what is happening on the wire.

hth

Hugh

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to