1826190 Members
2441 Online
109691 Solutions
New Discussion

Re: mount cifs

 
Xou
Advisor

mount cifs

Hi ALL!
I need mount cifs share in HPUX from fstab with access for all local HPUX users.

Only domain = "DOMAIN" was changed in /etc/opt/cifsclient/cifsclient.cfg

record in fstab
==============
server:/SHARE /mnt/smb cifs username=ad_user,password=usr_pass 0 0
==============

after boot in cifslist
==============
cifslist
Mounted Object Mountpoint State
-------------------------------------------------------------------------------
\\server\SHARE /mnt/smb M
===============================================================================
Server Local User Remote User Domain State
-------------------------------------------------------------------------------
server root ad_user DOMAIN L

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

ls from user:
$ ls -al /mnt/smb
/mnt/smb not found

ls from root:
# ls -al /mnt/smb
total 12
drwxrwxrwx 2 root sys 131072 Авг 21 15:08 .
drwxr-xr-x 12 root root 1024 Авг 11 12:04 ..
drwxrwxrwx 2 root sys 131072 Мая 25 17:16 offlineotchet
drwxrwxrwx 2 root sys 131072 Янв 30 2009 Packages
drwxrwxrwx 2 root sys 131072 Мар 30 16:50 Uninstall
drwxrwxrwx 2 root sys 131072 Янв 13 2009 Updates

3 REPLIES 3
Stephan.
Honored Contributor

Re: mount cifs

Xou
Advisor

Re: mount cifs

>using a ordinary user requires the use of 'cifslogin' - please check http://docs.hp.com/en/B8724-90079/ch02s06.html for details.

Use cifslogin for each user is unreal! I need for mount cifs share once at boot and share must accessible for all local hpux users. Is any ideas to solve the problem?
Stephan.
Honored Contributor

Re: mount cifs

To enable automatic loginyou have the following CIFS Client:

Store CIFS user password in the CIFS Client database.

Enable guest user support, where all unauthenticated users are automatically logged on as same guest user.

Integrate with PAM NTLM cache.

Integrate with system Kerberos cache (kinit(1) and PAM Kerberos).

Check http://docs.hp.com/en/B8725-90103/B8725-90103.pdf for details.