[Samba] SUMMARY: samba basic setup

Mike's List mikelist at sky.net
Fri Apr 9 21:49:13 GMT 2004


Ok, I think I found the solution, running smbpasswd <username> and
the <username> needs to exists in /etc/passwd and /etc/shadow, enter
the password and use that password to access the files via Windows.


- Mike

---------- original message ----------

Samba 2.2.8a, Solaris 9 4/04 core installation, 192.168.1/24 network.

I managed to setup Samba in the very basic way and can access the pub
directory below.  However, I need to setup some private directory and
authenticate users in the very basic way via /etc/shadow? or using
smbpasswd?

This pub works fine.

[pub]
    comment              = Public
    path                 = /home/tmp
    browseable           = yes
    public               = yes
    writeable            = yes
    force group          = nobody
    read only            = no
    public               = yes
    guest ok             = yes

All I need is to authenticate off of /etc/shadow or whatever the most
basic authentication available on Solaris 9.  So when user 'mike' connects
it'll just prompt for username/password.  The client is Windows based,
however, I keep getting MACHINE\Guest (gray out) and Password field.

[test]
        comment         = test
        path            = /home
        browseable      = yes
        writeable       = yes

What do I need to set in [test] to authenticate user 'mike' off of the
/etc/passwd and /etc/shadow file?


- Mike

[ In addition to www.sunfreeware.com more packages at ftp.patriots.net ]
[ Furthermore, you can explore www.openpkg.org -- ease of management.  ]






More information about the samba mailing list