Operating System - HP-UX
1752707 Members
5373 Online
108789 Solutions
New Discussion юеВ

Re: cifsmount for NT-shares

 
SOLVED
Go to solution
DECOSTER
Occasional Contributor

cifsmount for NT-shares

I'm trying to map a NT-share on my HP-UX 11.00 machine, using the following command:
cifsmount \\paspcc01\smb /tmp/paspcc01
where paspcc01 is the NT-system, smb the sharename and /tmp/paspcc01 the mountpoint.
The messages I get are as follows
Remote user root's password:
Connecting Server: UNIX: Host is down

I've added the domain=bayant in the config file but that doesn't help.
paspcc01 is reachable from the Unixhost ( ping ).

I've tried the following, but with the same result:
cifsmount \\paspcc01.bayant\smb /tmp/smb -U bayant\\andco
Remote user bayant\andco's password:
Connecting Server: UNIX: Host is down

Could anyone give me hint which command to use
9 REPLIES 9
Jeroen Peereboom
Honored Contributor
DECOSTER
Occasional Contributor

Re: cifsmount for NT-shares

You're absolutely right of course.

But this brings me to the next problem:

DOS Access Denied.
This is my command:

cifsmount //paspcc01.bayant/smb /tmp/smb -U smb

The share is created with full access for everyone, and I've added user smb just to be sure. I've tried adding the -u (for unencrypted passwords) but that doesn't help.

User smb is a local user on paspcc01.
If I try a domainuser ( bayant\andco ), I get the same result.

Using the IP-adress instead of the hostname gives me:
Connecting Server: UNIX: Connection refused
Darren Prior
Honored Contributor

Re: cifsmount for NT-shares

Hi,

I believe you should use forward slashes, otherwise you'll need to escape the back slashes and it starts to look quite confusing!

An alternative is to use:

mount -F cifs paspcc01:/smb /tmp/paspcc01
cifslogin paspcc01 yourloginname

regards,

Darren.
Calm down. It's only ones and zeros...
DECOSTER
Occasional Contributor

Re: cifsmount for NT-shares

You're right about the slashes, but I still have the access problem, same thing with cifslogin:

# cifslogin paspcc01 smb
Remote user smb's password:
Logging in User: DOS: Access denied

Do I need to do anything special on the NT-side ?

Thanks for helping out.
Darren Prior
Honored Contributor

Re: cifsmount for NT-shares

Hi,

I seem to recall that there's something on the NT side that allows or disallows certain IPs from authenticating. It's worth manually adding your HP-UX box to the allowed list.

regards,

Darren.
Calm down. It's only ones and zeros...
DECOSTER
Occasional Contributor

Re: cifsmount for NT-shares

Thanks Darren,

got any idea where I do that ?

lmhosts ?
Darren Prior
Honored Contributor

Re: cifsmount for NT-shares

Hi,

I'm afraid I don't know ;(

The situation involved a fairly secure system, where only certain machines were allowed to authenticate against the PDC. The host PC was allowed to authenticate, but the CIFS client was not. Although we were logging into the host, the actual authentication request was being sent from the CIFS client to the PDC - and the CIFS client was not allowed to authenticate so it failed.

It might be worth having a chat with your NT admins to see if they're aware of this functionality.

regards,

Darren.
Calm down. It's only ones and zeros...
praveen..
Super Advisor

Re: cifsmount for NT-shares

Same issue I am facing..

# cifslogin windows_box_ip admin
Remote user admin's password:
Logging in User: UNIX: Connection refused
#

Please suggest
HarmM
New Member

Re: cifsmount for NT-shares

Hi all,

Just wondering what cifslist -A show you. I have expirienced this kind of behaviour as well when doing the mount using the servers fqdn and the login using just the hostname. Maybe start from scratch and make sure you're persistent in using either the fqdn or just the hostname.

Regards,

Harm