Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:samba [2010/01/29 17:47]
93.103.1.78
linux:samba [2013/09/17 12:32] (current)
zagi [Share Definitions]
Line 16: Line 16:
       add machine script = /usr/sbin/useradd -n -g machines -d /dev/null -s /sbin/nologin %u       add machine script = /usr/sbin/useradd -n -g machines -d /dev/null -s /sbin/nologin %u
    
 +
 +<pre>
 +@ECHO OFF
 +if %username%==GOST goto izhod
 +NET USE Z: /HOME /YES
 +NET USE G: \\SERVER\USERS
 +NET USE H: \\SERVER\MEDIA
 +NET TIME \\SERVER /SET /YES
 +:izhod
 +</pre>
 +
 <html><pre> <html><pre>
 pdbedit --pwd-must-change-time=timestamp username pdbedit --pwd-must-change-time=timestamp username
Line 169: Line 180:
 === smb.conf === === smb.conf ===
 <pre> <pre>
-#======================= Global Settings ======================= +# 
 +======================= Global Settings ======================= 
 +<code>
 [global] [global]
  
Line 410: Line 422:
    usershare allow guests = yes    usershare allow guests = yes
  
-#======================= Share Definitions ======================= +</code> 
 +# 
 +======================= Share Definitions ======================= 
 +<code>
 # Un-comment the following (and tweak the other settings below to suit) # Un-comment the following (and tweak the other settings below to suit)
 # to enable the default home directory shares.  This will share each # to enable the default home directory shares.  This will share each
Line 539: Line 553:
 #      #hide files = /.recycle.*/.recycle/ #      #hide files = /.recycle.*/.recycle/
 #      #veto files = /.recycle.*/.recycle/ #      #veto files = /.recycle.*/.recycle/
-</pre>+</code>
  
linux/samba.1264783632.txt.gz · Last modified: 2010/01/29 17:47 by 93.103.1.78
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready