Operating System - HP-UX
1833210 Members
2991 Online
110051 Solutions
New Discussion

CIFS Share - Connection Refused

 
Tony_249
New Member

CIFS Share - Connection Refused

Hi,

We're trying to share a Win2003 dir on a HP-UX11.11 with the CIFS client A.01.09.03. But when trying to connect, we are getting the 'connection refused' error.

the following is the steps we took to install and configure.

1) Installing the HP CIFS Package and recommended dependend Packages like HP Kerberos Package (already installed on machine)

2) as user root:
# cifsclient start
CIFS Client started; process id: 2559
# ps -ef | grep cifs
root 2559 1 0 11:27:53 pts/tb 0:00 /opt/cifsclient/sbin/cifsclientd
-f /etc/opt/cifsclient/cifscli
root 2563 1700 0 11:28:00 pts/tb 0:00 grep cifs

3) as user root:
# mount -F cifs [Server IP]:/cifs /bs67
# cifslist
=========================================================================
server [Server IP]:
=========================================================================
No users currently logged in.

Share: \\[Server IP]\CIFS
rw /bs67

4) as user (user) (account exists with same password on HP-UX machine and Windows Domain and box)
tony > cifslogin [Server IP] [username]
Remote user tony password: [password]
Logging in User: UNIX: Connection refused

5)
tony > cifslogin [server IP] tony -f
Remote user tony's password:
tony > cifslist
=========================================================================
server [server IP]:
=========================================================================
Remote Username: tony Local Username: tony

Share: \\[server IP]\CIFS
rw /bs67

6) as user tony
tony > cd /bs67
NFS access failed for server [server IP]: RPC: Remote system error
/bs67: I/O error

7)
tony > bdf
Filesystem kbytes used avail %used Mounted on

NFS access failed for server [Server IP]: RPC: Remote system error
NFS fsstat failed for server [Server IP]: RPC: Remote system error
bdf: /bs67: I/O error

I have also attached the cifsclient.cfg file.

Any ideas what could be causing this problem?
2 REPLIES 2
Zeev Schultz
Honored Contributor

Re: CIFS Share - Connection Refused

Looks like for some reason your 2003
server rejects user tony login and share
access.cifslogin "-f" option doesn't provide login but "forces" even if server not responding.

I would suggest checking 2003 event log (system and security) for possible hints of bad login.
I also saw that supported authentication type by cifs client is NTLM and not sure its what used on 2003.

See here (not much info :( ):
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8724-90044/B8724-90044_top.html&con=/hpux/onlinedocs/B8724-90044/00/00/34-con.html&toc=/hpux/onlinedocs/B8724-90044/00/00/34-toc.html&searchterms=cifslogin&queryid=20041111-055303
So computers don't think yet. At least not chess computers. - Seymour Cray
Tony_249
New Member

Re: CIFS Share - Connection Refused

There's nothing in the the 2003 logs at the time I try to connect.

We are using NTLM currently with JCIFS.

We're at a bit of a loss at the moment.