[comp.mail.uucp] uucp RLOGIN failure code

kim@mcrware.UUCP (Kim Kempf) (03/06/89)

Perhaps someone knows what the nature of the problem I've been having
with uucp.  The connection fails during the initial connection handshake
portion of the protocol.  The remote side answers with "RLOGIN" rather
than the expected "ROK":

... got that
imsg >15\ 12\ 15\ 12\ 20<
Shere=unicon\  0imsg >\ 20<
RLOGIN\  0msg-RLOGIN
exit code 0


My side is SunOS 4.0.1, the remote side is SVR3 with HDB uucp.  I think
the problem is configuration on the HDB side, but I'm not sure since I
don't use it yet.  Is there some obvious things to check?  Other hosts
calling the same site have no problems.  Thanks in advance. 

----------------
Kim Kempf, Microware Systems Corporation	{sun,uunet}!mcrware!kim

nobody@tekecs.GWD.TEK.COM (-for inetd server command) (03/08/89)

In article <970@mcrware.UUCP> kim@mcrware.UUCP (Kim Kempf) writes:
|
|Perhaps someone knows what the nature of the problem I've been having
|with uucp.  The connection fails during the initial connection handshake
|portion of the protocol.  The remote side answers with "RLOGIN" rather
|than the expected "ROK":
|
|... got that
|imsg >15\ 12\ 15\ 12\ 20<
|Shere=unicon\  0imsg >\ 20<
|RLOGIN\  0msg-RLOGIN
|exit code 0
|
|

RLOGIN is usually given if the slave (The site you are calling) does not
have your login name in the USERFILE or Permissions file.  Thus, your
'Login' was not ok.  

Best of luck,

	-Jeff Beadles

--
Jeff Beadles	Utek Sustaining Engineering
jeff@quark.WV.TEK.COM

wietse@wzv.UUCP (Wietse Z. Venema) (03/11/89)

In article <970@mcrware.UUCP> kim@mcrware.UUCP (Kim Kempf) writes:
|
|Perhaps someone knows what the nature of the problem I've been having
|with uucp.  The connection fails during the initial connection handshake
|portion of the protocol.  The remote side answers with "RLOGIN" rather
|than the expected "ROK":

Some uucico implementations require that the (uid,gid) of uucp logins
are in the range of `system' accounts (e.g. uid, gid < 100).
-- 
work:	wswietse@eutrc3.uucp	| Eindhoven University of Technology
work:	wswietse@heitue5.bitnet	| Mathematics and Computing Science
home:	wietse@wzv.uucp		| 5600 MB Eindhoven, The Netherlands

jfh@rpp386.Dallas.TX.US (John F. Haugh II) (03/13/89)

In article <970@mcrware.UUCP> kim@mcrware.UUCP (Kim Kempf) writes:
|Perhaps someone knows what the nature of the problem I've been having
|with uucp.  The connection fails during the initial connection handshake
|portion of the protocol.  The remote side answers with "RLOGIN" rather
|than the expected "ROK":

Check your file permissions.  This has been a cause of problems as
well in the past.
-- 
John F. Haugh II                        +--Quote of the Week:------------------
VoiceNet: (214) 250-3311   Data: -6272  | "Give me your poor huddled masses,
InterNet: jfh@rpp386.Dallas.TX.US       |  Let's club 'em to death ..."
UucpNet : <backbone>!killer!rpp386!jfh  +--------------------------------------

steve@polyslo.CalPoly.EDU (Steve DeJarnett) (03/14/89)

In article <970@mcrware.UUCP> kim@mcrware.UUCP (Kim Kempf) writes:
>
>Perhaps someone knows what the nature of the problem I've been having
>with uucp.  The connection fails during the initial connection handshake
>portion of the protocol.  The remote side answers with "RLOGIN" rather
>than the expected "ROK":

	One possible problem (we saw this a few months ago) is that the 
remote site you're talking to doesn't have your system in their USERFILE (or
the corresponding HDB (BNU) UUCP file).  Your system MUST be in:

	Their /etc/passwd (i.e. there must be some UUCP login that you can use
		-- either your own system login, or nuucp, or something)
	Their L.sys file (your system name MUST appear here, even if they never
		call you)
	Their USERFILE (I think that when you appear in the above mentioned 
		files, but not here, you get the "RLOGIN" message from UUCP
		(which has nothing to do with the BSD "rlogin" program, which
		allows you to log in to a remote machine via TCP/IP))

You may also need to appear in their L.aliases file, if your hostname is too
long for their UUCP to deal with.

	Note, though, that I've only dealt with (as an admin, at least) BSD
UUCP.  For System V (HDB/BNU), your mileage may vary.  Check the related files
for problems, though.

-------------------------------------------------------------------------------
| Steve DeJarnett            | Smart Mailers -> steve@polyslo.CalPoly.EDU     |
| Computer Systems Lab       | Dumb Mailers  -> ..!ucbvax!voder!polyslo!steve |
| Cal Poly State Univ.       |------------------------------------------------|
| San Luis Obispo, CA  93407 | BITNET = Because Idiots Type NETwork           |
-------------------------------------------------------------------------------

peter@apexepa.UUCP (Peter Palij) (03/19/89)

In article <970@mcrware.UUCP> kim@mcrware.UUCP (Kim Kempf) writes:
>
>Perhaps someone knows what the nature of the problem I've been having
>with uucp.  The connection fails during the initial connection handshake
>portion of the protocol.  The remote side answers with "RLOGIN" rather
>than the expected "ROK":

You may also want to check your /etc/passwd for ambiguities.  We
experienced similar problems when two differing uucp login accounts
shared the same user number.

-- 
-----------------
Peter Palij                                               uunet!apexepa!peter
Apex Software Corporation   peter@apexepa.uucp          Phone: (412) 681-4343