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.
- Timestamp:
-
Jul 23, 2009, 11:38:31 PM (14 years ago)
- Author:
-
hank
- Comment:
-
how-to samba
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v48
|
v49
|
|
321 | 321 | }}} |
322 | 322 | |
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 | | |
349 | 323 | == Users and Permissions on /FILES == |
350 | 324 | '''Add nologin to shells''' |
… |
… |
|
379 | 353 | find /FILES -type d -exec chmod 550 {} \; |
380 | 354 | }}} |
| 355 | |
| 356 | |
| 357 | == Samba Installation == |
| 358 | |
| 359 | '''Installation''' |
| 360 | {{{ |
| 361 | sudo apt-get install samba |
| 362 | }}} |
| 363 | |
| 364 | '''Add a fileuser as samba user''' |
| 365 | {{{ |
| 366 | sudo smbpasswd -a fileuser |
| 367 | }}} |
| 368 | |
| 369 | |
| 370 | '''Copy samba config files from repo''' |
| 371 | {{{ |
| 372 | cd /etc/samba/ |
| 373 | mv smb.conf smb.conf.org |
| 374 | scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/samba/smb.conf.master smb.conf.master |
| 375 | scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/samba/recycle.conf recycle.conf |
| 376 | chmod 644 smb.conf.master |
| 377 | chmod 644 recycle.conf |
| 378 | testparm -s smb.conf.master > smb.conf |
| 379 | }}} |
| 380 | |
| 381 | '''Create smbusers file''' |
| 382 | fileuser = <name of principal attorney, etc> |
| 383 | {{{ |
| 384 | fileuser = matt |
| 385 | }}} |
| 386 | |
381 | 387 | |
382 | 388 | == Firewall == |