[clug] Samba help

gbj at theforce.com.au gbj at theforce.com.au
Tue Mar 9 00:57:37 GMT 2004


You probably do not have write access to /var/www for your users.

Try these

        create mask = 0770
        directory mask = 0770


Cheers

> I'm only beginning to get my head around Samba (let alone feel truly
> comfortable with the bits I understand of Linux).  I have Samba set up on
> an RH9 box we use as a workgroup file server/CVS server/workgroup
> intranet, and I can merrily connect to the shares I've set up (my user is
> trib).
> However, the guys that work with me can't - either to their home share of
> the www share.  As far as I can tell, I've done for them exactly what I've
> done for me (although I may well be kidding myself).
> All these users are definitely in /etc/samba/smbpasswd.
>
> Can someone please take a look at my smb.conf (below) and tell me where
> I'm being dumb?
>
> TIA
>
> Steve
> --
> Stephen Collins
> Web Development Section
> eBusiness Division
> __________________________________________________
> Department of Industry, Tourism and Resources
> Level 12, 20 Allara Street, Canberra City ACT 2600
> GPO Box 9839, Canberra ACT 2601
>
> E steve.collins at industry.gov.au
> P +61 2 62137193
> C +61 410 680722
> F +61 2 62136227
>
> smb.conf
>
> # This is the main Samba configuration file. You should read the
> # smb.conf(5) manual page in order to understand the options listed
> # here. Samba has a huge number of configurable options (perhaps too
> # many!) most of which are not shown in this example
> #
> # Any line which starts with a ; (semi-colon) or a # (hash)
> # is a comment and is ignored. In this example we will use a #
> # for commentry and a ; for parts of the config file that you
> # may wish to enable
> #
> # NOTE: Whenever you modify this file you should run the command
> "testparm"
> # to check that you have not made any basic syntactic errors.
> #
> #======================= Global Settings
> =====================================
> [global]
>         log file = /var/log/samba/%m.log
>         load printers = yes
>         smb passwd file = /etc/samba/smbpasswd
>         passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
>         obey pam restrictions = yes
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         encrypt passwords = yes
>         passwd program = /usr/bin/passwd %u
>         dns proxy = no
>         netbios name = blacksheep
>         server string = Samba Server
>         printing = cups
>         unix password sync = yes
>         workgroup = ITRWEBDEV
>         os level = 20
>         printcap name = /etc/printcap
>         security = user
>         max log size = 0
>         pam password change = yes
>
> [homes]
>    comment = Home Directories
>    browseable = no
>    writable = yes
>    valid users = %S
>    create mode = 0664
>    directory mode = 0775
>
> [www]
>         writeable = yes
>         valid users = benr,girvine,jpoyser,mwalsh,sjan,trib, at apache
>         path = /var/www
>
>
> **********************************************************************
> The information contained in this e-mail, and any attachments to it, is
> intended for the use of the addressee and is confidential. If you are not
> the intended recipient you must not use, disclose, read, forward, copy or
> retain any of the information. If you have received this e-mail in
> error, please delete it and notify the sender by return e-mail or
> telephone.
> The Commonwealth does not warrant that any attachments are free from
> viruses or any other defects. You assume all liability for any loss,
> damage or other consequences which may arise from opening or using the
> attachments.
> ***********************************************************************************
>
>



More information about the linux mailing list