close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 48 and Version 49 of servers/setup-condensed


Ignore:
Timestamp:
Jul 23, 2009, 11:38:31 PM (13 years ago)
Author:
hank
Comment:

how-to samba

Legend:

Unmodified
Added
Removed
Modified
  • servers/setup-condensed

    v48 v49  
    321321}}}
    322322
    323 == Samba Installation  ==
    324 
    325 '''Installation'''
    326 {{{
    327 sudo apt-get install samba
    328 }}}
    329 
    330 '''Add a fileuser as samba user'''
    331 {{{
    332 sudo smbpasswd -a fileuser
    333 }}}
    334 
    335 
    336 '''Copy samba config files from repo'''
    337 {{{
    338 cd /etc/samba/
    339 scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third_party/samba/smb.conf.master smb.conf.master
    340 scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third_party/samba/recycle.conf recycle.conf
    341 }}}
    342 
    343 '''Create smbusers file'''
    344 fileuser = <name of principal attorney, etc>
    345 {{{
    346 fileuser = matt
    347 }}}
    348 
    349323== Users and Permissions on /FILES ==
    350324'''Add nologin to shells'''
     
    379353find /FILES -type d -exec chmod 550 {} \;
    380354}}}
     355
     356
     357== Samba Installation  ==
     358
     359'''Installation'''
     360{{{
     361sudo apt-get install samba
     362}}}
     363
     364'''Add a fileuser as samba user'''
     365{{{
     366sudo smbpasswd -a fileuser
     367}}}
     368
     369
     370'''Copy samba config files from repo'''
     371{{{
     372cd /etc/samba/
     373mv smb.conf smb.conf.org
     374scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/samba/smb.conf.master smb.conf.master
     375scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/samba/recycle.conf recycle.conf
     376chmod 644 smb.conf.master
     377chmod 644 recycle.conf
     378testparm -s smb.conf.master > smb.conf
     379}}}
     380
     381'''Create smbusers file'''
     382fileuser = <name of principal attorney, etc>
     383{{{
     384fileuser = matt
     385}}}
     386
    381387
    382388== Firewall ==