[CentOS] Re: new CentOS5.1, samba help requested

Thu Mar 27 21:14:30 UTC 2008
John <jses27 at gmail.com>

On Thu, 2008-03-27 at 12:28 +0000, Anne Wilson wrote:
> On Wednesday 26 March 2008 20:28:09 Scott Silva wrote:
> > on 3-26-2008 1:01 PM Ray Leventhal spake the following:
> > >> It is possible, because I am doing it. I have share=user and have home
> > >> directories viewable by the user and the admin (me). I have various
> > >> departmental shares that each department can access and no one else
> > >> (but the admin -- again me). Even shares that aren't browsable, so no
> > >> one even knows they are there if not given access.
> > >> And I have several public shares, some read-write, some read only with
> > >> install files and such. USers that try to access a share they have no
> > >> permission to get the logon box, but it will never actually auth
> > >> because their rights don't allow it.
> > >>
> > >> ------------------------------------------------------------------------
> > >
> > > I have no doubt it's possible....might it be possible for you to post a
> > > sanitized version of your [globals] and one or two of the shares from
> > > the smb.conf file so that I can compare what's working for you with
> > > what's not working for me?
> > >
> > > TIA,
> > > -Ray
> >
> > Some sanitized areas marked ***removed***
> > A server that will also do domain logins and roaming profiles;
> >
> As I said, mine is a simple LAN.  Here is the current version of [global] 
> section and some of the shares.  The 'domain master' line has never been in 
> any of my older setups, but it was put in to cure the frequent battles to 
> resolve masterships, mainly caused by family laptops that are not directly 
> under my control.  
> 
> [global]
> 
> workgroup = lydgate.lan
> server string = Samba Server Version %v
> netbios name = borg2
> log file = /var/log/samba/%m.log
> hosts allow = 192.168.0.  127.0.
> acl compatibility = winnt
> wins support = yes
> local master = yes
> domain master = yes
> domain logons = no
> os level = 66
> preferred master = yes
> load printers = yes
> printing = cups
> 
> #============================ Share Definitions ==============================
> 
> [homes]
> comment = Home Directories
> browseable = no
> read only = no
> case sensitive = no
> strict locking = no
> #msdf proxy = yes
> 
> [DATA2]
> path = /Data2
> #read only = no
> writeable = yes
> public = yes
> 
> [DATA3]
> path = /Data3/
> #read only = no
> writeable = yes
> valid users = anne gillian david
> 
> The commented lines are ones that have been tried in both states, as 'read 
> only' and 'writeable' seem to be preferable depending on which version of 
> samba is being used. 
> 
> The security= line is no longer present (I gather from the advice I was given 
> that the default is then 'user').  Home directories do not display.
> 
> I am able to mount both my home and the main data directory from fstab. using 
> a credentials file.
> 
> Anne

Anne, I think your directories are not visable because you do not have
"browsable  = yes" in the share setups section??? Try that?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
~/john

OpenPGP Sig:BA91F079