SWAT and authentication

Gerald Carter gcarter at valinux.com
Wed Jun 28 15:09:32 GMT 2000


Shawn Barnhart wrote:
> 
> What's the deal with SWAT authentication?  I have a 
> Freebsd 4-Stable box running SWAT from the Samba 2.0.7 port 
> and I can log into SWAT as a regular user (ie, not root but 
> has a smbpasswd entry) and make any changes I want to 
> the smb.conf file --  which is 0644 root.wheel. I'm
> presuming this is because my inetd.conf entry for SWAT 
> has it running as root as per the example.

Ummm...IIRC SWAT validated against /etc/passwd and 
not smbpasswd.  

> Is there any way to control which users can and can't 
> make changes to the server other than packet filtering 
> the SWAT port?  This is kind of awkward and inconvenient.

modification to smb.conf is controlled by the file 
permission bits on smb.conf.  My guess is that you've
got something configured weird.  No offense. :-)






Cheers,
jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )


More information about the samba mailing list