I am trying to setup a Fast Connect Server on my AIX 5.3 box to create a shared directory for users. The problem I'm having is that I can map the shared directory onto a PC only if I specify the IP address of the AIX server. If I specify the DNS name of the AIX server, the map on the PC to the Fast Connect shared directory doesn't work.
From the PC, I did an nslookup and the DNS name of my AIX server resolves to the correct IP address.
Any ideas on how to fix this so that I can specify the DNS name instead of the IP address when mapping a shared drive?
EDIT: DNS was working just fine before installing Fast Connect and is still working.
I am not sure if this applies to fast connect, but system wide DNS like this - add
to /etc/resolv.conf. works for me
another way would be to put entries in/etc/hosts ? it would only work of course for single hosts you specify but is handy for names the domain controller cannot resolve.
EDIT: if /etc/resolv.conf does not exist, create it
The /etc/resolv.conf on the server was already configured with the appropiate entries for our DNS servers and domain.
From the AIX server, I can resolve the DNS name for the client trying to map the shared directory and from the PC, I can resolve the DNS name of the AIX server running Fast Connect.
I tried adding just 1 client and its IP address in /etc/hosts, but the client still was unable to map the shared directory when using the DNS name of the server.
You can resolve the names of windows pcs from AIX and you can resolve the name of the AIX machine from windows pc's? If you can map a share in windows using its IP address, can you ping the AIX machine from windows using its hostname? Sorry but I am a little confused here.
edit: I have an AIX machine running samba, and along with smbd and nmbd it runs winbindd, I think winbindd may have something to with the windows pc's being able to resolve its IP address from hostname, I never joined it to our domain and it did not add it to any windows hosts files..
From the PC, I can ping the AIX server using its DNS name.
From the AIX server, I can ping the PC using its DNS name.
The nameserver entry in resolv.conf on my AIX server is pointing to our Windows DNS server. The PC gets a dynamic IP address and the AIX server has a static IP address.
There is no problem with DNS resolution between the PC and the AIX server except when the PC is trying to map the shared directory on the AIX server using the DNS name of the AIX server. Everything else, i.e. telnet, ftp, ssh, ..., works just fine when I use the DNS name of the AIX server. That's why I'm puzzled and posted this issue. Why is the mapping of the shared drive failing when the PC has to resolve the DNS name of the AIX server when everything else that resolves the DNS name works correctly?
Hi,
I have something like this.
I have connected to one server ServerA and from this ServerA, i need to do ssh connection to ServerB and then execute my queries.
#!/usr/bin/expect
spawn ssh Myusername@ServerB
expect "password"
send "Mypassword\r"
interact
Output.ksh: spawn: not... (5 Replies)
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
Hi ,
I am using redhat linux 5.I.I need a command or script which need to login from one server to another without asking password.This can be done even providing password on the command line is also fine.I have tries sshpass but it didn't work.ssh key generations is not preferred here.
... (7 Replies)
I need to connect to a ftp server-1 from linux server-2 and copy/get a file from server-1 which follows a name pattern of FILENAME* (located on the root directory) and copy on a directory on server-2. Later, I have to use this file for ETL loading... For this I tried using as below
/usr/bin/ftp... (8 Replies)
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Hi
I need to connect to a ServerB from Server A
eg: Server A : 172.20.273.51, un: xxx, pwd: xxx
Server B: 172.20.273.51, un:yyy, pwd: yyy
Need to copy the files(with name starts with IME*) from /grid/pc/IME*
to /grid/pc/archive
What will be the command or script to... (3 Replies)
Hi
i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation".
I am able to connect to this unix... (4 Replies)