Re: [SLUG] Samba Question

From: Kwan Lowe (kwan@digitalhermit.com)
Date: Tue Oct 21 2003 - 09:18:06 EDT


> Hey Folks!
>
> I'm in the process of converting one of my customers over to linux. As
> part of the transition, I first converted the ailing Windows ME server to
> a Linux Samaba Server. It is working just great. I'm now working on
> workstations. I'm having some issues trying to get the linux workstations
> to connect to the SMB shares.
>
> The fstab is like so:
>
> //server/share /mnt/share smbfs 0

It looks like you're missing a keyword in your fstab line. It should have
an options field (usually says something like 'defaults' or some
user/password field.

>
> The linux boot-up hangs on the Mount SMB shares line and eventually errors
> out on a message about invalid password. Although I have the shares on
> the server set up for public access I am still being asked for a password.
> (I can access them from a windows workstation without supplying a
> password.)

You can setup a "credentials" option in your fstab file pointing to a
user/password file (do man smbmount for the syntax). You can also put this
information directly in the fstab file but this is not recommended.

>
> When I attempt to do the mount from the command line I am also asked for a
> password and no matter what I type I get a message about root is the only
> one allowed to mount this share.
>
>
> I think it might have to do with the rights on smbmnt in /usr/bin/. What
> should the rights of the /usr/bin/smb* be? If someone has this working
> and can provide me with an ls -al of /usr/bin/smb*

It's not the permissions on the excutable but the settings in the fstab
that limit the users that can mount/unmount.

-- 
The Digital Hermit      Unix and Linux Solutions
http://www.digitalhermit.com
kwan@digitalhermit.com
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:26 EDT