RE: [clug] Samba help

Rousak, Boris Boris.Rousak at
Tue Mar 9 03:40:58 GMT 2004


Perhaps its worth seeing what's contained in the logs.
/var/log/samba/pc_name.log and smbd.log often reveals failed logon attempts
as well as what error was returned. Might be worth posting that as well.

The other thing, is your "trib" account also present in the /etc/passwd file
while the rest aren't? 


-----Original Message-----
From: Collins, Steve [mailto:Steve.Collins at]
Sent: Tuesday, 9 March 2004 11:36 AM
To: linux at
Subject: [clug] Samba help

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?


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
P +61 2 62137193
C +61 410 680722
F +61 2 62136227


# 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
        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
        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

   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

        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.

*PLEASE NOTE*  This email and any attachments may
be confidential. If received in error, please delete all 
copies and advise the sender. The reproduction or 
dissemination of this email or its attachments is 
prohibited without the consent of the sender.

WARNING RE VIRUSES:  Our computer systems sweep
outgoing email to guard against viruses, but no warranty 
is given that this email or its attachments are virus free. 
Before opening or using attachments, please check for 
viruses.  Our liability is limited to the re-supply of any 
affected attachments.

Any views expressed in this message are those of the 
individual sender, except where the sender expressly,
and with authority, states them to be the views of the 

More information about the linux mailing list