[Samba] Newbie question

Martyn Ranyard ranyardm at lineone.net
Thu May 16 05:37:02 GMT 2002


At 02:17 PM 5/16/02 +0200, Rob Westland wrote:
>Hi group,

Hi.

>I just installed Linux RedHat 7.2 with samba.
>I use the following conf file:
>[global]
>        smb passwd file = /etc/samba/smbpasswd
>        printing = lprng
>        dns proxy = no
>        security = share
>        encrypt passwords = yes
>        workgroup = K&S
>        server string = Samba Server
>        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
>        log file = /var/log/samba/%m.log
>        netbios name = Linux
>        load printers = yes
>        username map = /etc/samba/user.map
>        printcap name = /etc/printcap
>        max log size = 0
>
>[algemeen]
>        path = /home/data
>        writable = yes
>        comment = K&S Algemeen
>        valid users = root,rob
>        printable = no
>
>
>On my Windows machine I can see linux and I can see the share (algemeen), 
>but when I try to browse to it, Windows asks me for the password.
>What am I missing?

A couple of things - if you go for share level security you should have a 
password = blah entry in the share.

If you just want to use a username and password that is on the linux box, 
use security = user and run the following on the server :

smbpasswd -a username


>Rob.

Martyn



--------------
Martyn Ranyard

I am not a member of the samba team,
and anything that I say may not be as
accurate as a response from one of the
team.  I reply to save those more
qualified time, which can more usefully
be spent developing SAMBA further.





More information about the samba mailing list