[Samba] simple samba example problem

John H Terpstra jht at samba.org
Sat Feb 26 23:23:00 GMT 2005


OK. Add a Windows user account by executing:

	smbpasswd -a 'useraccount'

PS: That account 'useraccount' must already exist in your /etc/passwd.

- John T.

On Saturday 26 February 2005 16:16, tasos wrote:
> Hello people.
> I have used all the simple smb.conf that i found at
> samba.org.
> Now i'm using
> [global]
> workgroup = LAN
> netbios name = netbiosname
> [homes]
> guest ok = yes
> read only = no
>
> In all cases i get a prompt for login but i cannot
> login!
> I'm using local slackware's accounts but nothing.
> Can you please give me a simple example?
> Thank you in advanced!
>
> ps:Using slackware 10.
> ps2:
> Now i'm trying this conf but again the same results
> ; /etc/smb.conf
> ;
> ; Make sure and restart the server after making
> changes to this file, ex:
> ; /etc/rc.d/init.d/smb stop
> ; /etc/rc.d/init.d/smb start
>
> [global]
> ; Uncomment this if you want a guest account
>   workgroup = LAN
>         netbios name = SAMBASERVER
> hosts allow = 192.168.0.1
>  guest account = nobody
>    log file = /var/log/samba-log.%m
>    lock directory = /var/lock/samba
>    share modes = yes
>
> [homes]
>    comment = Home Directories
>    browseable = yes
>    read only = no
>    create mode = 0750
>
> [tmp]
>    comment = Temporary file space
>    path = /tmp
>    read only = no
>    public = yes
> browseable = yes
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list