System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS not able to touch or see files on HP-UX shared from windows

SOLVED
Go to solution
Syedfurquan
Trusted Contributor

CIFS not able to touch or see files on HP-UX shared from windows

Hello Expert,

 

I have hp-ux 11.31 using as CIFS client. CIFS server is windows 2008 R2. I can see the shared folder mounted on hp-ux box but I can not see any thing inside it. I cannot even touch a new file it gives me permission denied.

 

Any help how to fix this issue:

 

iimsapp01@root/#bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    20971520 4303680 16537712   21% /
/dev/vg00/lvol1    5242880  344232 4860448    7% /stand
/dev/vg00/lvol8    20971520 4749568 16096192   23% /var
/dev/vg00/lvol7    5505024 3840360 1651768   70% /usr
/dev/vg00/lvol4    10485760 1917280 8502256   18% /tmp
/dev/vg00/lvol6    10485760 4825296 5616368   46% /opt
/dev/vg00/lvol5    5242880   22016 5180192    0% /home
/dev/vg00/lvol9    104857600 69903993 32881681   68% /bea
bnhrac01:/windb/batchlogfiles
                   20971520 10838784 10055472   52% /windb/batchlogfiles
bnhs00000040.bnh.com:/healthcareimages
                   1073738748 445078876 628659872   41% /bea/bea/user_projects/domains/BNHDomain/applications/IIMS/document/MedicalPhoto
bnhs00000029.bnh.com:/iimsdevdocuments
                   314569724 270722212 43847512   86% /IIMSDevDocuments
iimsapp01@root/#cifslist -u
Server            Local User        Remote User       Domain            State
-------------------------------------------------------------------------------
bnhs00000029.bnh. root              iimsshare                           LS
bnhs00000040.bnh. root              iimsmed                             LS
bnhs00000029.bnh. bea               iimsshare                           S
iimsapp01@root/#cd /bea/bea/user_projects/domains/BNHDomain/applications/IIMS/document/MedicalPhoto
iimsapp01@root/bea/bea/user_projects/domains/BNHDomain/applications/IIMS/document/MedicalPhoto#ll
total 0
iimsapp01@root/bea/bea/user_projects/domains/BNHDomain/applications/IIMS/document/MedicalPhoto#cd ../
iimsapp01@root/bea/bea/user_projects/domains/BNHDomain/applications/IIMS/document#ll
total 33512
drwxrwxrwx   2 root       sys         131072 Sep 16 11:25 MedicalPhoto
drwxr-xr-x   4 bea        users           96 Oct  4  2010 scripts
drwxr-xr-x   4 bea        users      16883712 Sep 16 11:24 tempDOWNLOAD
drwxr-xr-x   2 bea        users       224256 Sep 16 10:41 tempUPLOAD
iimsapp01@root/bea/bea/user_projects/domains/BNHDomain/applications/IIMS/document#

 

Please help.

 

Regrads

Regards,
Syed
6 REPLIES
Syedfurquan
Trusted Contributor

Re: CIFS not able to touch or see files on HP-UX shared from windows

 

Any help please. It's very urgent. This is in production and our application team cannot access this share folder.

 

Please help

 

Regards,

 

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: CIFS not able to touch or see files on HP-UX shared from windows

You seem to have the right permission to look inside MedicalPhoto/.

Syedfurquan
Trusted Contributor

Re: CIFS not able to touch or see files on HP-UX shared from windows

Hi Denis,

Thanks for the reply. Even I am thinking ut looks luke some permission issues but where?

On windows server which is cifs server I have given read & write permission to everyone then
On hp-ux only root user can go to Medical photos/ and see the list there but I want to see the same details from "bea" user on hp-ux which is the application user.
How can I do that?
In cifslogin I have addedd "bea" user but then too when I go inside Medical photos/ through "bea" user it gives me permission denied.
How to fix this?
Thanks for any help in advanced.

Regards
Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: CIFS not able to touch or see files on HP-UX shared from windows

>Even I am thinking it looks like some permission issues but where?

 

On the server.

>In cifslogin I have added "bea" user but then too when I go inside Medical photos/ through "bea" user it gives me permission denied.

Somehow everybody doesn't include "bea"?

Syedfurquan
Trusted Contributor

Re: CIFS not able to touch or see files on HP-UX shared from windows

Hi,

 

>In cifslogin I have added "bea" user but then too when I go inside Medical photos/ through "bea" user it gives me permission denied.

>Somehow everybody doesn't include "bea"?

 
Where to include "bea"? In cifslist -u o/p it shows

iimsapp01@root/#cifslist -u
Server            Local User        Remote User       Domain            State
-------------------------------------------------------------------------------
bnhs00000029.bnh. root              iimsshare                           LS
bnhs00000040.bnh. root              dmsuser                            LS
bnhs00000040.bnh. bea              dmsuser                            LS
bnhs00000029.bnh. bea               iimsshare                           LS
 
Please suggest.
 
Regards,
Regards,
Syed
Syedfurquan
Trusted Contributor
Solution

Re: CIFS not able to touch or see files on HP-UX shared from windows

Fixed the issue with the help of following command,

 

cifsmount SERVER:/PATH/TO/SHARE /PATH/TO/MOUNTPOINT -s
cifslogin SERVER –U (username)  -P (password) –D (domain name) -s

 

Need to run this command from the user login who wants access of CIFS files..

Regards,
Syed