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


Ignore:
Timestamp:
Jul 11, 2009 8:09:47 PM (15 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/samba

    v1 v1  
     1[[PageOutline]] 
     2 
     3 * [http://www.aconus.com/~oyaji/suse/samba_suse.htm ファイルサーバ(Samba)の構築(SuSE編)] 
     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 * [https://bugs.launchpad.net/ubuntu/+source/samba/+bug/5608 Bug #5608 in samba (Ubuntu): “SWAT expects to authenticate as root”] 
     7   * [https://bugs.launchpad.net/ubuntu/+source/samba/+bug/5608/comments/8 Bug #5608 - Comment #8] 
     8{{{ 
     9The 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: 
     10sudo chgrp adm /etc/samba/smb.conf 
     11sudo chmod g+w /etc/samba/smb.conf 
     12}}} 
     13   * [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] 
     14{{{ 
     15Actually, there is another solution: SWAT manages permissions using PAM, 
     16and using rights on /etc/samba/smb.conf. 
     17So the solution is just to allow you user(s) to write to 
     18/etc/samba/smb.conf. 
     19 
     20Example: 
     21adduser myuser adm 
     22chgrp adm /etc/samba/smb.conf 
     23chmod g+w /etc/samba/smb.conf 
     24}}}