[ale] SAMBA.conf

Matt Shade mshade at threekay.com
Wed Jan 9 10:46:35 EST 2002


There are four settings for security in the Globals section in smb.conf (not
samba.conf, by the way).

security = share  -  means that your connection is simply to a share, and
doesn't have to have a valid username, or the username sent can be mapped
with the 'username map', or it could be a valid user on the system. If a
username isn't sent, then you would have to have Guest access enabled for
that share.

security = user  -  Must have a valid user on the system, or the username
sent must map to a valid user in the username map. Any unknown users (that
are authenticated) will be dropped into any guest account you may have set
up.

security = server  -  This will get it's authentication from another server
setup as the security server. You make a request to the samba box, then
samba will check with the security server for you authentication. Works
similar to security=user, but it's validation comes from another server.

security = domain - Similar to security=user and security=server, but this
will get it's user authentication from an NT Domain Controller. You have to
first use smbpasswd to set your linux user up in the Domain Controller.

Check the man pages for smb.conf(5) and smbpasswd(8) for more info about
them.

matt



----- Original Message -----
From: "Jay Fox" <g_j_fox at yahoo.com>
To: ale at ale.org
To: <ale at ale.org>
Sent: Wednesday, January 09, 2002 10:16
Subject: [ale] SAMBA.conf


> I am new to editing samba.conf.  From a windows box I can see the RedHat
box
> in net neighborhood.  I double click the icon, I get a username / password
> box, but there doesn't seem to be any username that will grant me access
to
> the share.
>
> I have setup a private directory as follows:
> [SHARENAME]
>     comment = share comment
>     path = /var/www/html
>     valid users    user1 user2
>     public = no
>     writable = yes
>     printable = no
>
> I have tried both to use root to gain access and my windows logon.  My
> windows logon is specified in the valid users as shown above.  How does
> Samba get the windows user info from my Windows PDC?
>
> Thanks,
> Jay
>



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list