1827439 Members
5574 Online
109965 Solutions
New Discussion

CIFS automount

 
Gerald Taylor
Frequent Advisor

CIFS automount

Hello guru's

Has anyone out there successfully figured a way to automount cifs shares on hpux 11.00? Or a way to script the mount process to unprivledge users? All help and opinions appreciated.

Gerald
4 REPLIES 4
Sundar_7
Honored Contributor

Re: CIFS automount

Hi Gerald,

We have a configuration where in the user home directories are exported as a CIFS share to windows XP clients. Autofs has been configured to mount the home directories of the user from a NFS server.

The user connects to the CIFS share from the PC, smbd tries to access the directory which triggers the autofs to mount the directory for smbd.

What is that u r trying to export and what kind of problem u r facing ?


-- Sundar.
Learn What to do ,How to do and more importantly When to do ?
Gerald Taylor
Frequent Advisor

Re: CIFS automount

I am trying to script the retrieval of files from windows 2000 share using cifs client on hpux 11.00 server as a non-root user.

Gerald
Darren Prior
Honored Contributor

Re: CIFS automount

Hi Gerald,

There's some info in the "Installing and configuring the CIFS/9000 client" that will help you. This is available either on http://docs.hp.com or included with your install of the client.

Briefly, you'll need to ensure the CIFS client is started by editing the /etc/rc.config.d file for it, then add an entry in /etc/fstab:

server:/sharename /mountpoint cifs defaults 0 0

You will need to use a cifslogin command to authenticate against the server that is supplying the shares. It's worth checking out the guestUser variable in the config file's documentation too.

regards,

Darren.
Calm down. It's only ones and zeros...
Gerald Taylor
Frequent Advisor

Re: CIFS automount

Thanks for the responses I think we are going to use sudo with the mount command to solve this issue.

Gerald