[Samba] Permission Issues

Ben Bays jamin744 at yahoo.com
Thu Mar 13 21:21:13 GMT 2003


Thank You  ... that worked but I still have a problem
with the file permission being 777 to access the mount
points security = share. If I change this to user will
that mean I have to create an account for everyone who
uses it ans well as do smbpasswd?

thanks
for your help

--- rvt at dds.nl wrote:
> use 'force user = <username>', or 'force group =
> <groupname>
> Also check the 'create mask' and 'directory mask'
> parameters. 
> 
> Ries
> 
> Citeren Ben Bays <jamin744 at yahoo.com>:
> 
> > Hi All,
> > Files that I create from win are assigned user
> nobody
> > how can I change that to a valid unix name ..
> Thanks
> > 
> > --- Ben Bays <jamin744 at yahoo.com> wrote:
> > > Hi All,
> > > I set up a samba server to talk to various wint
> NT
> > > clients so they can access data off the serever.
> its
> > > a
> > > Solaris 8 server.As you can see from the
> smb.conf
> > > below I have Security = share but the only way
> to
> > > access it is to make the share " wide open 777"
> and
> > > that is not good. 
> > > 
> > > 
> > > 
> > > Any advice ass to what I can change. 
> > > Thank You from newbie Ben
> > > 
> > > # Global parameters
> > > [global]
> > >         coding system =
> > >         client code page = 850
> > >         code page directory =
> > > /usr/local/samba/lib/codepages
> > >         workgroup = DAVE
> > >         netbios name = LANCELOT
> > >         netbios aliases =
> > >         netbios scope =
> > >         server string = Lancelot Samba Server
> > >         interfaces =
> > >         bind interfaces only = No
> > >         security = SHARE
> > >         encrypt passwords = Yes
> > >         update encrypted = No
> > >         allow trusted domains = Yes
> > >         hosts equiv =
> > >         min passwd length = 5
> > >         map to guest = Never
> > >         null passwords = No
> > >         obey pam restrictions = No
> > >         password server = lancelot
> > >         smb passwd file =
> > > /usr/local/samba/private/smbpasswd
> > >         root directory =
> > >         pam password change = No
> > >         passwd program = /usr/bin/passwd
> > > 
> > >  passwd chat = *new*password* %n\n
> *new*password*
> > > %n\n
> > > *changed*
> > >         passwd chat debug = No
> > >         username map =
> > >         password level = 0
> > >         username level = 0
> > >         unix password sync = No
> > >         restrict anonymous = Yes
> > >         lanman auth = Yes
> > >         use rhosts = No
> > >         admin log = No
> > >         log level = 0
> > >         syslog = 1
> > >         syslog only = No
> > >         log file = /var/log/samba.log
> > >         max log size = 50
> > >         timestamp logs = Yes
> > >         debug hires timestamp = No
> > >         debug pid = No
> > >         debug uid = No
> > >         protocol = NT1
> > >         large readwrite = Yes
> > >         max protocol = NT1
> > >         min protocol  read bmpx = No
> > >         read raw = Yes
> > >         write raw = Yes
> > >         nt smb support = Yes
> > >         nt pipe support = Yes
> > >         nt status support = Yes
> > >         announce version = 4.9
> > >         announce as = NT
> > >         max mux = 50
> > >         max xmit = 16644
> > >         name resolve order = lmhosts host wins
> bcast
> > >         max ttl = 259200
> > >         max wins ttl = 518400
> > >         min wins ttl = 21600
> > >         time server = No
> > >         unix extensions = No
> > >         change notify timeout = 60
> > >         deadtime = 0
> > >         getwd cache = Yes
> > >         keepalive = 300
> > >         lpq cache time = 10
> > >         max smbd processes = 0
> > >         max disk size = 0
> > >         max open files = 10000
> > >         name cache timeout = 660
> > >         read size = 16384
> > >         socket options = TCP_NODELAY
> > >         stat cache size = 50
> > >         use mmap = Yes
> > >         total print jobs = 0
> > >         load printers = Yes
> > >         printcap name = lpstat
> > >         disable spoolss = No
> > >         enumports command =
> > >         addprinter command =
> > >         deleteprinter command = 
> > >  show add printer wizard = Yes
> > >         os2 driver map =
> > >         strip dot = No
> > >         mangling method = hash
> > >         character set =
> > >         mangled stack = 50
> > >         stat cache = Yes
> > >         domain admin group =
> > >         domain guest group =
> > >         machine password timeout = 604800
> > >         add user script =
> > >         delete user script =
> > >         logon script =
> > >         logon path = \\%N\%U\profile
> > >         logon drive =
> > >         logon home = \\%N\%U
> > >         domain logons = No
> > >         os level = 0
> > >         lm announce = Auto
> > >         lm interval = 60
> > >         preferred master = Auto
> > >         local master = No
> > >         domain master = No
> > >         browse list = Yes
> > >         enhanced browsing = Yes
> > >         dns proxy = Yes
> > >         wins proxy = No
> > >         wins server = 157.199.5.25
> > >         wins support = No
> > >         wins hook =
> > >         kernel oplocks = Yes
> > >         lock spin count = 3
> > >         lock spin time = 10
> > >         oplock break wait time = 0
> > >         add share command =
> > >         change share command =
> > >  delete share command =
> > >         config file =
> > >         preload =
> > >         lock dir = /usr/local/samba/var/locks
> > >         pid directory =
> /usr/local/samba/var/locks
> > >         default service =
> > >         message command =
> > >         dfree command =
> > >         valid chars =
> > >         remote announce =
> > >         remote browse sync =
> > >         socket address = 0.0.0.0
> > >         homedir map =
> > >         time offset = 0
> > >         NIS homedir = No
> > >         source environment =
> > >         panic action =
> > >         hide local users = No
> > >         winbind uid =
> > >         winbind gid =
> > >         template homedir = /home/%D/%U
> > >         template shell = /bin/false
> > >         winbind separator = \
> > >         winbind cache time = 15
> > >         winbind enum users = Yes
> > >         winbind enum groups = Yes
> > >         winbind use default domain = No
> > >         comment =
> > >         path =
> > >         alternate permissions = No
> > >         username =
> > >         guest account = nobody
> > >         invalid users =
> > >         valid users =
> > >         admin users =
> > >         read list =
> > >  printer admin =
> > >         force user =
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


More information about the samba mailing list