1832645 Members
2560 Online
110043 Solutions
New Discussion

Re: CIFSmount help

 
sdip
Advisor

CIFSmount help

Hi,

I am trying to setup cifs client on our HP-UX (11.11) server to mount a windows fs on it. AFter the configuration when we try to mount that windows file-system via following command then it gives error "LOC: Netbios name lookup failure".

cifsmount -U -P :/mnt1 /mnt1

I have already disable Netbios lookup in cifclient.cfg file as advised by admin guide. Here is the entry of our cifsclient.cfg file.

lookupTryNetbios = no;
lookupTryDns = no;
nbnsWinsIp = "";

ServerA = {
ipAddress = "100.23.45.81";
}; # End of user-defined server section

Any advise would be really appreciated.
3 REPLIES 3
sdip
Advisor

Re: CIFSmount help

One more update.. After addiing "100.23.45.81" in ipAddress filend on servers default function now it shows following error messages.

LOC: Netbios session refused
LOC: Netbios session refused

Do, I need to configure anything in our windows server other than dir sharing ?
Nick Lunt
Frequent Advisor

Re: CIFSmount help

Hi sdip,

Im no cifs expert but from our HPUX 11.23 box I mount a windows share like this -

cifsmount -Ulamda -Pxxxxxx //lamda/${SHARE} ${DIR}

where //lamda is the windows hostname.
$SHARE is the name of the share on the windows box.
$DIR is where to mount it on the unix box.

I see that your doing
cifsmount -Ulamda -Pgalaxy //lamda:/${SHARE} ${DIR}

which is slightly different.

Hope that helps.
bfrench
Advisor

Re: CIFSmount help

I have a simular problem. I have two mounts from one windows server. The first works fine using the cifsmount information as supplied above.

cifsmount //:/ /mnt1 -U (username) -P (password)

When I try to mount the second share with the same command I get to following errors.

cifsmount //:/ /mnt1 {options} -U (username) -P (password)
SRV: Invalid netname

I can mount the second share without username and password:
cifsmount //:/ /mnt1

But when I try to cifslogin to it I get the following errors.

LOC: Netbios name lookup failure
LOC: Netbios name lookup failure

Can any help with this?

Thansk,
Brian