Changes between Initial Version and Version 1 of TipAndDoc/network/samba/swat


Ignore:
Timestamp:
Jul 15, 2009 5:42:03 PM (15 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/samba/swat

    v1 v1  
     1[[PageOutline]] 
     2 
     3 = Samba Web Administration Tool = 
     4 * [http://www.eml.ele.cst.nihon-u.ac.jp/~momma/wiki/wiki.cgi/Ubuntu/swat.html Momma's Wiki: Ubuntu/swat - sambaの管理用webインターフェイス swatだけでなくxinetdも...] 
     5 
     6 = swat with no root user = 
     7 * [https://bugs.launchpad.net/ubuntu/+source/samba/+bug/5608 Bug #5608 in samba (Ubuntu): “SWAT expects to authenticate as root”] 
     8   * [https://bugs.launchpad.net/ubuntu/+source/samba/+bug/5608/comments/8 Bug #5608 - Comment #8] 
     9{{{ 
     10The workaround is very simple. Just change the rights of the smb.conf file. The group should be adm and the rights for the group should be set to rw. In commands: 
     11sudo chgrp adm /etc/samba/smb.conf 
     12sudo chmod g+w /etc/samba/smb.conf 
     13}}} 
     14   * [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378454 #378454 - swat: not usable when root account is disabled (pure sudo system) - Debian Bug report logs] 
     15{{{ 
     16Actually, there is another solution: SWAT manages permissions using PAM, 
     17and using rights on /etc/samba/smb.conf. 
     18So the solution is just to allow you user(s) to write to 
     19/etc/samba/smb.conf. 
     20 
     21Example: 
     22adduser myuser adm 
     23chgrp adm /etc/samba/smb.conf 
     24chmod g+w /etc/samba/smb.conf 
     25}}}