cancel
Showing results for 
Search instead for 
Did you mean: 

File cant access at AL11 after cifsmount in HPUX

Former Member
0 Kudos
308

Hi guru....

This is my situation:-

Actually I just create one folder directory for samba purppose...which is i create at --> /usr/sap/XID/SAPSP

this folder ownership :-

drwxrwxr-x 4 xidadm sapsys 1024 Jul 11 13:02 SAPSP

but when i bring up the cifsclient the folder change to root which is like this:--

#whoami

root

/usr/sap/XID

#cifsclient start

CIFS Client started; process id: 17763

/usr/sap/XID

#cifsmount //putra-aa-uat/transaction /usr/sap/XID/SAPSP -U spp2app -P spp2app

#cifsclient status

path: /opt/cifsclient/sbin/cifsclientd

version: HP CIFS Client - Version A.02.02.01

Compiled on HP-UX B.11.11, 9000/800/N4000-55, 2006/09/15 23:11:32

cksum: 1485599189

status: The CIFS Client is up; process id 17763, started 18:59:31.

mntck: ok

/usr/sap/XID

The major problem is when i mount using the samba cifsmount the folder SAPSP change to different ownship :-

drwxrwxrwx 2 root sys 131072 Jul 15 19:01 SAPSP

so on SAP XI part when go to transaction AL11 i cant access the directory because of the permission....

please help how i can change or access the directory file in AL11....

regards

zakie

Accepted Solutions (1)

Accepted Solutions (1)

nelis
Active Contributor
0 Kudos

Hi,

I think what you may need to do here is create a user xidadm on the samba server which has permission to access the folder contents then mount the directory with cifsmount using xidadm.

What does cifslist -x show ?

Regards,

Nelis

Former Member
0 Kudos

Hi,

I think what you may need to do here is create a user xidadm on the samba server which has permission to access the folder contents then mount the directory with cifsmount using xidadm.

What does cifslist -x show ?

Regards,

Nelis

Hie Nelis..

Thanks for reply....

1) the samba is inside the HPUX 11.23i server which is also SAP XI inside it...and how to create user xidadm on samba server???????

2) this cifslist -x

#cifslist -x

Mounted Object Mountpoint State

-


putra-aa-uat:/transaction /usr/sap/XID/SAPSP M

====================================================

Server Local User Remote User Domain State

-


putra-aa-uat root spp2app L

please....

nelis
Active Contributor
0 Kudos

the samba is inside the HPUX 11.23i server which is also SAP XI inside it...and how to create user xidadm on samba server???????

OK, I didn't realize it was on the same system.

Theoretically if the "spp2app" user has been setup correctly and has access to the folder contents you wish to share and you mount the share with this user then you should be able to access it fine from any user on the system.

To troubleshoot...

  • Try mounting the share without a user name

mount -F cifs putra-aa-uat:/transaction /usr/sap/XID/SAPSP

  • Change to xidadm and login

su - xidadm
cifslogin putra-aa-uat spp2app

  • Is the local user xidadm, remote user spp2app ?

cifslist -x

  • If YES then you should be able to access the share

cd /usr/sap/XID/SAPSP

  • If NO then either there is a problem with the share permissions or the permissions on file level. What you can try here is change the UID of user spp2app to the same UID as user xidadm, actually if I remember correctly this is a must if the server is HP/UX.

See [here|http://docs.hp.com/en/B8724-90079/ch02s06.html?btnNext=next%A0%BB] for further information.

Regards,

Nelis

Former Member
0 Kudos

OK, I didn't realize it was on the same system.

Theoretically if the "spp2app" user has been setup correctly and has access to the folder contents you wish to share and you mount the share with this user then you should be able to access it fine from any user on the system.

To troubleshoot...

Try mounting the share without a user name

mount -F cifs putra-aa-uat:/transaction /usr/sap/XID/SAPSP

Change to xidadm and login

su - xidadm

cifslogin putra-aa-uat spp2app

Is the local user xidadm, remote user spp2app ?

cifslist -x

If YES then you should be able to access the share

cd /usr/sap/XID/SAPSP

If NO then either there is a problem with the share permissions or the permissions on file level. What you can try here is change the UID of user spp2app to the same UID as user xidadm, actually if I remember correctly this is a must if the server is HP/UX.

See here for further information.

Regards,

Nelis

Thanks nelis it solve.......

Answers (0)