- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cifsmount problem !
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 07:47 AM
03-12-2004 07:47 AM
I'm trying to mount drives (Ej. e:\temp) from nt servers to my Unix box, i´m using CIFS/9000.
# uname -a' returns:
HP-UX a_inb_00 B.11.00 U 9000/800 63714506 unlimited-user license
# ps -ef | grep cifsclient
root 9614 1 0 13:46:59 pts/ti 0:00 /opt/cifsclient/sbin/cifsclientd
-f /etc/opt/cifsclient/cifs
My cifsmount command line is:
# cifsmount //130.10.16.250/test_samba /samba_depot -U username
where "test_samba" is the name of my share directory on nt server, and "samba_depot" is the mount point in the Unix box.
But i returns the following (after my entering a password):
Connecting Server: UNIX: Connection refused
The target machine is running Win NT4 SP6.
I've noticed that the 'Connection refused' comes back very quickly.
The only change I've made to the /etc/opt/cifsclient/cifsclient.cfg file is to uncomment the 'domain=""' line thus:
domain = "SYS_ADM"
where SYS_ADM is the name of the domain in which 130.10.16.250 resides.
Somebody have an idea ?, I can provide further information as required.
Thank´s in advan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 08:43 AM
03-12-2004 08:43 AM
Re: cifsmount problem !
Also, -U "username" .. is username a valid NT account? You might want to try for "username" -- SYS_ADM\username
Or :
cifsmount ////130.10.16.250//test_samba /samba_depot -U SYS_ADM\username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 09:34 AM
03-12-2004 09:34 AM
Re: cifsmount problem !
Alternately to make a HP machine function properly within the domain there needs to be a name for it on the Primary Domain Controller.
One or both of these issues could be preventing You from making the connection.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 11:49 AM
03-12-2004 11:49 AM
Re: cifsmount problem !
The Unix Host was added to the PDC "SYS_ADM", but i receive the same message about the "Connection refused".
I probed more valid accounts in my NT server but the message is the same.
Is necesary had a samba server defined for make the succesfull connection to one windows , or i can establish connections between unix and windows systems with the CIFS client only ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 11:56 AM
03-12-2004 11:56 AM
Re: cifsmount problem !
No. You do not need CIFS/9000 Server (aka Samba) for CIFS Client to work. It works independently from the SAMBA piece.
After you added domain="sys_adm" in the cfg file (try lower case btw), have you restarted cifsclient? (cifsclient stop /cifsclient start)?
On another Windows machine, can you actually mount the share you are serving from that NT server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 04:28 PM
03-12-2004 04:28 PM
SolutionPlease check these links:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=425307
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=222528
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 11:06 AM
03-15-2004 11:06 AM
Re: cifsmount problem !
I tryied the next commands:
#cifsmount //130.10.16.250/ivan /samba_depot -U administrator
Remote user administrator's password:
Connecting Server: UNIX: Connection refused
# cifsmount \\130.10.16.250\ivan /samba_depot -U administrator
Remote user administrator's password:
Connecting Server: UNIX: Host is down
I verify the configuration on my NT server and in theory everything is ok, but i can´t make the mounting on the unix server!
Thank´s in advan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 11:20 PM
03-15-2004 11:20 PM
Re: cifsmount problem !
Can you mount the share with a "normal" mount?
mount -F cifs 130.10.16.250/test_samba /samba_depot
Do you add the NT4 Server to you hosts file?
Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 12:48 AM
03-16-2004 12:48 AM
Re: cifsmount problem !
I hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 01:12 AM
03-16-2004 01:12 AM
Re: cifsmount problem !
#cifsmount //130.10.16.250/test_samba /samba_depot -U username -P password
My mountpoint has permissions 755 root:sys
Maybe put the hostname and ip in /etc/hosts and use the hostname rather than the ip address in the cifsmount command.
This works ok here.
You could try using the Asminstrator account and password to prove it isn't an access rights problem.
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:02 AM
03-17-2004 07:02 AM
Re: cifsmount problem !
This is my actual configuration:
a)ON UNIX BOX:
- My CIFS version is:
CIFS-Client A.01.04 HP CIFS/9000 Client
CIFS-Development A.01.04 CIFS/9000 server source code files
CIFS-Server A.01.04 CIFS/9000 (Samba) File and Print Services
Note: I only have the cifsclient configured.
- Status of cifsclient:
# cifsclient status
Path: /opt/cifsclient/sbin/cifsclientd
Version: FILESET HP CIFS CLIENT: Version: A.01.04
Compiled on HP-UX B.11.00, s800/R390, 00/09/13 14:49:43
cifsclientd: ver_id=3978115621
cksum: 2706385565
Status: CIFS Client daemon is up; process id 8245, started 13:23:18.
Changes:
- I Modified the "/etc/opt/cifsclient.cfg" configuration file as.
# Values other than sums of the above should NEVER be used!
linkModeMask = 0x07; // take read-only, hidden and system into account
linkMode = 0x06; // set both: system and hidden, but not read-only
linksAreUnicode = yes; // whether links are stored in Unicode
enableFakeLinks = no; // set this to "yes" if you need faked softlinks
domain = SYS_ADM // domain name sent to server
where SYS_ADM is the name of my Primary Domain Controler, also added the name of my NT server "ADMON01" in the /etc/hosts file.
- I made a directory named "depotsmb" as the mount point.
b) NT 4.0 SERVER:
- I added the "hostname" of my unix box to the "hosts" and "lmhosts" files on Windows.
- I added the unix box to the NT server using the Server Manager utilitie of WinNT.
- I shared a directory on the NT server with the name of "samba" with all permissions.
- I added a new user on my NT server named "cifsuser" like a test.
c) UTILIZED COMMANDS:
#cifsmount //130.10.16.250/samba /depotsmb -U administrator
Remote user administrator's password:
Connecting Server: UNIX: Connection refused
# cifsmount //130.10.16.250/samba /depotsmb -U cifsuser
Remote user cifsuser's password:
Connecting Server: UNIX: Connection refused
Note: The -P option is useless.
I don´t find where is the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:32 PM
03-17-2004 08:32 PM
Re: cifsmount problem !
To be honest - you're running a very old version of CIFS! The first step would be to upgrade to the latest revision as it's highly likely that this type of problem may have been fixed in the many versions in between.
The client and server s/w are available from http://software.hp.com The latest server release is A.01.11 and the client is A.01.09.01.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 08:44 PM
03-17-2004 08:44 PM
Re: cifsmount problem !
#mount -F cifs -o username=