<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Our users home directories are located on a central storage that exports them nfs to a linux server.<br>
This server is also configured as samba server using ldap autentication.<br>
I want to mount via samba server the home directories to another linux machine acting as samba client.<br>
Both linux machines are running CentOS6.7.<br>
I want the mount to be accessible to all users from the linux client.<br>
So how do I do this without uid and gid?<br>
I tried to write in client fstab:<br>
<br>
//samba_server/shared_home    /mountpoint    cifs  uid=xxx,gid=xxx,noexec 0 0 <br>
 When I try to mount the shared volume after I give th euid password I get:<br>
mount error(13): Permission denied<br>
On the linux samba server in smb.conf I have:<br>
<br>
strict locking = no<br>
unix extensions = yes<br>
follow symlinks = yes<br>
wide links = yes<br>
<br>
<br>
[shared]<br>
    path = /shared/%S<br>
    browseable = yes<br>
     writable = yes<br>
    valid users = %S<br>
        create mask = 0666<br>
        directory mask = 0777<br>
<br>
<br>
</div>
</body>
</html>