On Wednesday 26 March 2008 19:40:04 Les Mikesell wrote: > Anne Wilson wrote: > > On Wednesday 26 March 2008 18:59:41 Les Mikesell wrote: > >> Anne Wilson wrote: > >>> Like John, I fought long and hard to get user share working. I read > >>> Eeverything I could, including buying Samba3 by Example. In the end I > >>> admitted defeat and went back to shares. > >> > >> If you really want a public share with no authentication at all, share > >> mode is probably the best approach. If everyone that should have access > >> is logged into a windows domain anyway, you can transparently accept > >> this authentication and either keep their user id (as for a home > >> directory share) or force it or their group id into something that gives > >> common r/w access to a share. You can also do the latter with explicit > >> logins against uses in the smbpasswd file. > > > > This is becoming a real hijack, which I didn't intend. However, > > > > All users that are intended to be able to share have a user account on > > the samba server. All users have samba passwords matching their login > > passwords, whether in windows or linux. I couldn't even get their home > > directories to show using 'user' mode. > > If they are logged into a windows domain, they will send the domain > credentials, like it or not - and you really want the windows login to > match the linux name for home directories to work. If you set > security = server > and > password server = your_domain_controller > (which I think needs to be resolvable in dns after adding your search > domains) > everything should just be transparent. This doesn't really come into it. 99% of the time there are only linux boxes on the LAN. Samba is necessary for the odd times when a family windows laptop makes a temporary connection. There's certainly nothing like a windows domain to consider. Anne -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20080326/a35923f8/attachment-0005.sig>