Operating System - HP-UX
1748035 Members
4869 Online
108757 Solutions
New Discussion юеВ

Re: CIFS mount Error- Permission denied

 
irshad ali
Frequent Advisor

CIFS mount Error- Permission denied

Hi Below are my environment details-
HPUX server OS- 11.23
root:/root # /opt/cifsclient/bin/cifsclient status
path: /opt/cifsclient/sbin/cifsclientd
version: FILESET HP CIFS CLIENT: Version: A.01.09.02
cksum: 1364716312
status: The CIFS Client is up; process id 16153
18215, started .
mntck: ok
root:/root #

I need to mount windows server folder on unix mount point command-
So I run the command
#mount -F cifs winserver name:/A/B/C/D /mount point
customer wants to restore data on d folder thats why he asked me to mount the complete folder structure.
After that I run the below command-
/opt/cifsclient/bin/cifslogin winserver name winserver user name
I give the password of winserver user name but when run the bdf it shows me Permission denied error.
winserver user has full access permission on D folder. I noticed on thing also only folder A is share not the subdirectories incide it i.e B,C,D.

Please help...




7 REPLIES 7
Shibin_2
Honored Contributor

Re: CIFS mount Error- Permission denied

What is the security settings in smb.conf ?

Is this server joined to Windows Domain ?
Regards
Shibin
Shibin_2
Honored Contributor

Re: CIFS mount Error- Permission denied

irshad ali
Frequent Advisor

Re: CIFS mount Error- Permission denied

Thanks for reply.

Hi my unix client is in domain with windows server. I am able to ping that windows server via name..
irshad ali
Frequent Advisor

Re: CIFS mount Error- Permission denied

Hi Shibin,

Please tell me exact path/location of smb.conf file. I will share that file with you...
thanks
Shibin_2
Honored Contributor

Re: CIFS mount Error- Permission denied

It should be in your /etc/opt/samba/ location
Regards
Shibin
irshad ali
Frequent Advisor

Re: CIFS mount Error- Permission denied

Hi Shibin,

I found the file in smb.conf file at /etc/opt/samba.
This is default file.
Do I need to make any entry in this file?
Shibin_2
Honored Contributor

Re: CIFS mount Error- Permission denied

Yes, you need to set the security level in that. Read the above link, which I given.

Also search for samba / CIFS documentations to read more.
Regards
Shibin