[clug] samba password

Ken Walker ken.walker at textiles.umist.ac.uk
Sat Jun 7 02:25:52 EST 2003


Even though you have set null passwords=yes, you still have to use smbpasswd
with the -n option to create a samba username with a null password.
Otherwise all you will see is IPC$ You also have to log onto the client
machine with a username that is valid in both Unix and samba on the samba
share.

>    -----Original Message-----
>    From: linux-bounces+ken.walker=umist.ac.uk at lists.samba.org
>    [mailto:linux-bounces+ken.walker=umist.ac.uk at lists.samba.or
>    g]On Behalf
>    Of Neil Pickford
>    Sent: 06 June 2003 3:32 PM
>    To: adrianb at ise.canberra.edu.au
>    Cc: CLUG
>    Subject: Re: [clug] samba password
>    
>    
>    If and when you get a solution to this can you let the 
>    list know too.
>    I have had this same problem with Samba for about 3 years now!!!
>    
>    Neil Pickford
>    
>    Adrian Blake wrote:
>    > Leigh Finch wrote:
>    > 
>    >> If no-one else hhas replied yet, could you include a 
>    copy of the smb.conf
>    >> file. I dare say it is asking for a password to connect 
>    to $IPC. Which
>    >> usually means that you don't have a valid account on 
>    the samba server. 
>    >> With
>    >> regards to the first query others might know straight 
>    off, but I'd 
>    >> need to
>    >> have a look at the smb.conf file.
>    > 
>    > 
>    > # Samba config file created using SWAT
>    > # from 0.0.0.0 (0.0.0.0)
>    > # Date: 2003/06/06 10:16:26
>    > 
>    > # Global parameters
>    > [global]
>    >         dns proxy = No
>    >         log file = /var/log/samba/log.%m
>    >         load printers = yes
>    >         printing = cups
>    >         server string = Samba Server %v
>    >         socket options = TCP_NODELAY SO_RCVBUF=8192 
>    SO_SNDBUF=8192
>    >         workgroup = MONARO-H
>    >         null passwords = yes
>    >         encrypt passwords = yes
>    >         printcap name = lpstat
>    >         max log size = 50
>    > 
>    > [homes]
>    >         comment = Home Directories
>    >         path = /home/%u
>    >         read only = No
>    >         browseable = No
>    > 
>    > [printers]
>    >         comment = All Printers
>    >         path = /var/spool/samba
>    >         create mask = 0700
>    >         guest ok = Yes
>    >         printable = Yes
>    >         print command = lpr-cups -P %p %s # using cups 
>    own drivers (use 
>    > generic PostScript on clients).
>    >         browseable = No
>    > 
>    > [print$]
>    >         path = /var/lib/samba/printers
>    >         write list = @adm root
>    > 
>    > [pdf-generator]
>    >         comment = PDF Generator (only valid users)
>    >         path = /var/tmp
>    >         printable = Yes
>    >         print command = 
>    /usr/share/samba/scripts/print-pdf %s ~%u 
>    > \\\\\\\\%L\\\\%u %m %I &
>    > /mnt/thumb/smb.conf lines 1-42/42 (END)
>    > 
>    > 
>    >>
>    >> Cheers
>    >> Leigh
>    >>
>    >> -----Original Message-----
>    >> From: linux-bounces+leigh=primeproperty.com.au at lists.samba.org
>    >> 
>    [mailto:linux-bounces+leigh=primeproperty.com.au at lists.samb
>    a.org] On 
>    >> Behalf
>    >> Of Adrian Blake
>    >> Sent: Friday, June 06, 2003 10:28 AM
>    >> To: CLUG
>    >>
>    >> I have Mandrake 9.0 on a machine and started samba. On 
>    the local on 
>    >> another linux box I try to connect and get:
>    >>
>    >> smbclient -L monaro-h
>    >> added interface ip=10.12.18.55 bcast=10.12.18.255 
>    nmask=255.255.255.0
>    >> Connection to monaro-h failed
>    >>
>    >> On a win98 machine in netwotk neighbourhood clicking on 
>    the machine I 
>    >> am requested for a password, but which password ?
>    >>
>    > 
>    > 
>    
>    



More information about the linux mailing list