Sponsored Content
Operating Systems AIX Assigning Domain Server Breaks rlogin Post 302637683 by bakunin on Wednesday 9th of May 2012 06:30:14 AM
Old 05-09-2012
Quote:
Originally Posted by vjm
In any os first it check the hosts file and then it will go to the dns servers.
Sorry, but this is outright wrong.

In fact this is what the file /etc/resolv.conf is for: to determine the precedence the various means of name resolution (DNS, host files, NIS, etc.) take. This behavior is in fact common for every OS (with the possible exception of Windows, of which i don't know) because it is the compulsory modus operandi of the gethostbyname() system function mandated by several RFCs (1034, 1035, 2065, 2308 just to name a few).

@herot:

I'm sorry not to be of any more help, but i think without some in-depth debugging you won't find the culprit here. It might be a good idea to install tcpdump (if you haven't already) and start analysing the (attempted) traffic the respective machines are encountering.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

DCHP server assigning a wrong Address

Pls could you help me diagnose my problem. I have a system which is a DHCP server and also the Remote Access Server. The DHCP server allocate normal address within the scope range to the LAN system. why it allocates abitrary number such as 169.254.217.90 255.255.0.0 class B address to the remote... (1 Reply)
Discussion started by: kayode
1 Replies

2. UNIX for Dummies Questions & Answers

block certain domain from sending mail to server

hi currently i have a server that is able to send out and receive mail. is there a way to configure the server such that mails can be sent to a certain domail like abc@yahoo.com but block mails from this domain abc@yahoo.com. the server is running on solaris 10. thanks in advance :) (2 Replies)
Discussion started by: legato
2 Replies

3. UNIX for Dummies Questions & Answers

Mail server in home network and without domain name

Hi peeps, I want to learn how to configure mail servers, I am in private network, I am running debian 4.0, practically I have tried courier-mta, courier-imap, postfix, and sendmail. sometimes I am able to send mail and not able to connect to my imap server which is localhost, sometimes I am... (1 Reply)
Discussion started by: squid04
1 Replies

4. IP Networking

domain linux server, open ports?

Hi all - i currently run a domain strifex.net. This domain has a dedicated IP address and in having that, should be able to run a ventrilo VoIP server from it. I uploaded all the needed files etc... and am able to connect to it, if and only if i enable DMZ to my local machine - then i am able to... (1 Reply)
Discussion started by: ccfc1986
1 Replies

5. Solaris

Assigning two hostname to single server

Hi All, Is there any option where in I can assign the two hostname to single system. Thanks (6 Replies)
Discussion started by: kumarmani
6 Replies

6. Solaris

Assigning cryptographic resources to the control domain

Sun documentation suggests that we need to assign cryptographic resources to the control domain as part of the initial configuration. I searched the documentation to better understand the purpose of this and know recommendation/limitation. I am doing this for Netra T5220 and wondering if the... (5 Replies)
Discussion started by: StarSol
5 Replies

7. Red Hat

Domain name server installation issue in centOS

HI All, I am trying to setup DNS on my centOS server. I am using bind software to setup DNS. The following errors have getting. ================================================== Error in named configuration: zone localdomain/IN: loaded serial 42 zone localhost/IN: loaded serial 42... (4 Replies)
Discussion started by: phpconnect
4 Replies

8. UNIX for Dummies Questions & Answers

Joining the Linux server to a Windows AD domain

Hi , I have a domain contoso.com, which is created by Windows AD, i have a linux server which i want to join to this domain. Linux server-: RHEL 5.3 ******Info of the windows domain************* AD server- Windows 2008 r2 server. Please help me to join this linux server to the windows... (2 Replies)
Discussion started by: shroh
2 Replies

9. Solaris

Solaris 11 server as Primary Domain Controller

Hi, All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies

10. UNIX for Dummies Questions & Answers

Page breaks and line breaks

Hi All, Need an urgent solution to an issue . We have created a ksh file or shell script which generates 1 DAT file. the DAT file contains extract of a select statement . Now the issue is , when we are executing the ksh file , the output is coimng with page breaks and line breaks . We have... (4 Replies)
Discussion started by: Ayaskant
4 Replies
RLOGIN(1)						      General Commands Manual							 RLOGIN(1)

NAME
rlogin - remote login SYNOPSIS
rlogin rhost [-ec] [-8] [-c] [ -a] [-f] [-F] [-t termtype] [-n] [-7] [-PN | -PO] [-d] [-k realm] [-x] [-L] [-l username] DESCRIPTION
Rlogin connects your terminal on the current local host system lhost to the remote host system rhost. The version built to use Kerberos authentication is very similar to the standard Berkeley rlogin(1), except that instead of the rhosts mechanism, it uses Kerberos authentication to determine the authorization to use a remote account. Each user may have a private authorization list in a file .k5login in his login directory. Each line in this file should contain a Ker- beros principal name of the form principal/instance@realm. If the originating user is authenticated to one of the principals named in .k5login, access is granted to the account. If there is no /.k5login file, the principal will be granted access to the account according to the aname->lname mapping rules. (See krb5_anadd(8) for more details.) Otherwise a login and password will be prompted for on the remote machine as in login(1). To avoid some security problems, the .k5login file must be owned by the remote user. If there is some problem in marshaling the Kerberos authentication information, an error message is printed and the standard UCB rlogin is executed in place of the Kerberos rlogin. A line of the form ``~.'' disconnects from the remote host, where ``~'' is the escape character. Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character) will suspend the rlogin session. Substitution of the delayed-suspend character (normally ^Y) for the suspend character suspends the send portion of the rlogin, but allows output from the remote system. The remote terminal type is the same as your local terminal type (as given in your environment TERM variable), unless the -t option is specified (see below). The terminal or window size is also copied to the remote system if the server supports the option, and changes in size are reflected as well. All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S and ^Q and flushing of input and output on interrupts are handled properly. OPTIONS
-8 allows an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote side's stop and start characters are other than ^S/^Q. Eight-bit mode is the default. -L allows the rlogin session to be run in litout mode. -ec sets the escape character to c. There is no space separating this option flag and the new escape character. -c require confirmation before disconnecting via ``~.'' -a force the remote machine to ask for a password by sending a null local username. This option has no effect unless the standard UCB rlogin is executed in place of the Kerberos rlogin (see above). -f forward a copy of the local credentials to the remote system. -F forward a forwardable copy of the local credentials to the remote system. -t termtype replace the terminal type passed to the remote host with termtype. -n prevent suspension of rlogin via ``~^Z'' or ``~^Y''. -7 force seven-bit transmissions. -d turn on socket debugging (via setsockopt(2)) on the TCP sockets used for communication with the remote host. -k request rlogin to obtain tickets for the remote host in realm realm instead of the remote host's realm as determined by krb_real- mofhost(3). -x turn on DES encryption for all data passed via the rlogin session. This significantly reduces response time and significantly increases CPU utilization. -PN -PO Explicitly request new or old version of the Kerberos ``rcmd'' protocol. The new protocol avoids many security problems found in the old one, but is not interoperable with older servers. (An "input/output error" and a closed connection is the most likely result of attempting this combination.) If neither option is specified, some simple heuristics are used to guess which to try. SEE ALSO
rsh(1), kerberos(3), krb_sendauth(3), krb_realmofhost(3), rlogin(1) [UCB version] FILES
~/.k5login (on remote host) - file containing Kerberos principals that are allowed access. BUGS
More of the environment should be propagated. RLOGIN(1)
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy