Operating System - HP-UX
1837979 Members
2969 Online
110124 Solutions
New Discussion

Re: Mount NT share folder on HPUX

 
Mario Caisapanta
Occasional Advisor

Mount NT share folder on HPUX

Hi everyone!
I want to mount a NT share folder on my HPUX, how I do that?
I used cifsclient, but it doesnt work.
7 REPLIES 7
Sundar_7
Honored Contributor

Re: Mount NT share folder on HPUX

Try this

# vi /etc/rc.config.d/cifsclient
RUN_CIFSCLIENT=1
#

# /sbin/init.d/cifsclient start

# mount -F cifs / /

# cifslogin

#

# cd /mountpoint

done ! :-)

add -s option to cifslogin if you dont want to authenticate yourself again.

-- Sundar
Learn What to do ,How to do and more importantly When to do ?
Mario Caisapanta
Occasional Advisor

Re: Mount NT share folder on HPUX

Hi Sendar thx..
But I got a error message when in cifslogin...

psa1a:/root# cifslogin PC_NAME myuser Remote user myuser's password:
Logging in User: Server not connected!

do u know why this error I got?
Steven E. Protter
Exalted Contributor

Re: Mount NT share folder on HPUX

You should use the netbios name or ip address of the target machine for testing.

Alternete connect method:

cifsmount //192.168.0.20/folder -s -f -U user -P password

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor

Re: Mount NT share folder on HPUX

I think you tried to use cifslogin before mounting the share

Mount the share first using

# mount -F cifs :/ /

Confirm with cifslist command

# cifslist -A

You should see the pc listed in there

now try cifslogin

# cifslogin

Learn What to do ,How to do and more importantly When to do ?
Mario Caisapanta
Occasional Advisor

Re: Mount NT share folder on HPUX

That's what I did:

psa1a:/root# mount -F cifs //sis_cen_055:/mx /mx_nt
psa1a:/root# cifslist -A
=========================================================================
server :
=========================================================================
No users currently logged in.

Share: \\\\SIS_CEN_055\MX
rw /mx_nt
psa1a:/root# cifslogin //sis_cen_055 mcaisapanta
Remote user mcaisapanta's password:
Logging in User: Server not connected!
psa1a:/root#

Do I need some process running on my windows?

Thx for your patience...

Regards,
MARIO
Sundar_7
Honored Contributor

Re: Mount NT share folder on HPUX

DO NOT use // while mounting and with cifslogin

Try this

psa1a:/root# mount -F cifs sis_cen_055:/mx /mx_nt
psa1a:/root# cifslist -A
...............
psa1a:/root# cifslogin sis_cen_055 mcaisapanta
Remote user mcaisapanta's password:
#

Learn What to do ,How to do and more importantly When to do ?
Mario Caisapanta
Occasional Advisor

Re: Mount NT share folder on HPUX

Sundar...thx a lot, it works.
Regards,
MARIO