MLUG: [UUG/MLUG] Re: [UU/MLUG] Samba
[UUG/MLUG] Re: [UU/MLUG] Samba
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Responding to
 
> I setup a fileserver this week.  I have only been able to set the server
> up so that you must login to windows with a username and password that
> corrisponds to one that was set with the command smbadduser
>
> What must be done so that anyone (even those people that don't enter a
> password whenever the login to their windows computer) can access this
> information.
> The equivalncy that I make is that of anonymous FTP access..
>
> sure there is a public directory.  But this is setup so that anyone with
> a samba *account* on my server can access.  I want anyone, even those
> without an account to be able to access it.
>
> Any ideas?  Is this even possible?
>
> Jay
 
--------------------------------------->
There are 2 ways!
 
FIRST:
    In your SMB.CONF, edit or add the following lines
    --------------------------------------   
    [global]
            security = server
            password server = %m
    ---------------------------------------
*the macro %m represent the netbios name of the client computer
therefore when try to login, it samba will query the password that your
client put in their windows login
 
 
SECOND:
    In your SMB.CONF, edit or add the following lines.
    ------------------------------------------------
        [global]
              security = share
 
        [On every Broadcast Directory]
              public = no
              browseable = yes
              valid users = @XXX, @XXX
    -------------------------------------------------
* @XXX = is the list of users that you've define in UNIX group file
                For example if you have 10 users in group FACILITY
                then include replace the @XXX to @FACILITY. This will allow
                all the user under that group to access the broadcast Directory.
* You must set public = no. Else everyone will be able to access the Directory
 
LAST:
Any doubt email me. Hope it works!!
 
AZRIL
_____________________________
System Support Analyst
Financial & Computing Support
Administrative Services Division
265 GSB
Office : 314-516-7357
Mobile: 314-973-1870
Pager : 314-407-7607
http://wizard.umsl.edu
 
"BECAUSE GREAT MINDS THINK A LOT"