breezy LVM and samba questions

Kim Briggs patiodragon at gmail.com
Sat Oct 15 00:48:18 UTC 2005


> samba:
>
> as usual, authentication is a problem. Create the file share, can't
> login. setup password with smbpasswd, no authentication. didn't
> change anything with the breezy samba configuration. It would be nice
> to have authentication problems handled when a shares created.
>
> again, what's the magic incantation allowing one to login to a samba
> share?
>
>
Sorry I can't help you with all the security issues, but I have just figured
out how to setup samba on a trusted LAN and will list the parameters here in
case it is useful for someone. My incantation in this example is "all for
one and one for all".

In the /etc/samba/smb.conf file:

[global]
workgroup = windows_workgroup_name
restrict anonymous = no
server string = what_windows_will_see
security = share

"security = share": This is not the default, but suggested in Suse Yast
program for home network/SOHO. It allows everyone to see all the shares
before asking for a password. Passwords done by share and not user.

[share1]
path = /path/to/share
guest ok = yes (trusted LAN, remember...)
read only = no (ditto)

In addition, these items are useful to add to the share section if you'd
like all the files there to have the same owner (not "nobody", for example),
the same group and would like all files and directories to be created with
the same permissions (yes, this is a home network).

force user = user_name
force group = users
guest account = same_user_name (needed?)
force directory mode = 0775
force create mode = 0775

cheers,
KB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051014/c155d2bc/attachment.html>


More information about the ubuntu-users mailing list