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

Fstab entry for samba share in HP UX 11.31

rohithroki
Frequent Advisor

Fstab entry for samba share in HP UX 11.31

Dear Team,

I have created a samba share and succusfully able to mount manually in the client server using the below command

/usr/sbin/mount -F cifs -o username=xxxx,password=123 servername:/share /mountpoint/

I am trying to make it permanent through fstab entry using below entry how ever getting some error

//servername/share /mountpoint cifs user=username,password=123 0 0

getting the error 

# mount -a
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{special | directory}
mount [-F FStype][-eQrV][-o specific_options]
special directory

See mount_cifs(1M) for further information.

Regards

RKJ

HPUX OS Version 11..31

1 REPLY
Steven Schweda
Honored Contributor

Re: Fstab entry for samba share in HP UX 11.31

> See mount_cifs(1M) for further information.

   Did you?

   I know nothing, but my Web search for:
       hp-ux mount cifs fstab
found many things, including:

      https://community.hpe.com/t5/x/x/td-p/2674744

What did your Forum/Web search find?

   Note that the scheme shown in that Forum solution did not put the
CIFS credentials, in plain text, into /etc/fstab.