Link to home
Start Free TrialLog in
Avatar of diordonez
diordonez

asked on

SAMBA shares access from linux workstations

We have a corporative Redhat 9 server using samba .

We need to configure some Linux workstations that can connect to samba shares in the server , but those shares are differents depending on the user who logged in.
I try to use mount -t smbfs but i says "only root can mount"

Is there any option to use the users and password stored in the server and do not create linux users in the workstations ?
Avatar of jlevie
jlevie

It would be better to enable NFS on the Samba server and mount volumes as needed on the Linux workstations. To avoid the need for root access to execute the mounts and the possibility of deadlocks from mounts in /etc/fstab you could set up either of the Linux automounters (autofs or amd) and have NFS mounts/unmouts done on demand. Note that to use NFS, which is going to be more efficient and faster than SMB shares, the UID/GID of users on the workstations must be the same as those accounts on the Samba server. For only a few Linux workstations this can be done manually, but for a larger number (say more than 5-10) NIS is the way to go.
ASKER CERTIFIED SOLUTION
Avatar of PaulS_III
PaulS_III

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of diordonez

ASKER

Thanks a lot for your help !!