Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:samba [2009/05/25 00:35] 127.0.0.1 external edit |
linux:samba [2012/05/16 13:48] 188.143.232.12 IoRQDlEzwcP |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Samba ====== | + | and got 10 points. |
- | + | ||
- | '' | + | |
- | // | + | |
- | + | ||
- | $ vim .smbcredentials | + | |
- | + | ||
- | '' | + | |
- | | + | |
- | | + | |
- | + | ||
- | $ chmod 600 .smbcredentials | + | |
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | pdbedit --pwd-must-change-time=timestamp username | + | |
- | timestamp je unix time ko mora spremenit password | + | |
- | ce das to na 0 pol bo moral spremenit | + | |
- | </ | + | |
- | + | ||
- | smb.conf | + | |
- | + | ||
- | strict syn = no | + | |
- | sync always = no | + | |
- | printable = no | + | |
- | load printers = no | + | |
- | preserve case = no | + | |
- | default case = lower | + | |
- | disable netbios = yes | + | |
- | deadtime = 15 | + | |
- | + | ||
- | ===== Creating Recycle Bin for Samba storage ===== | + | |
- | + | ||
- | The best option is to have a " | + | |
- | Here is an example of modifying the home directories of your users in samba configuration file | + | |
- | + | ||
- | [homes] | + | |
- | comment = Home Directory | + | |
- | valid users = %S | + | |
- | browsable = no | + | |
- | guest ok = no | + | |
- | read only = no | + | |
- | vfs object = recycle | + | |
- | recycle: | + | |
- | recycle: | + | |
- | recycle: | + | |
- | + | ||
- | The “vfs object” line calls in the plug-in that enables recycle | + | |
- | + | ||
- | + | ||
- | ==== How can I list the currently active clients? ==== | + | |
- | The winbindd deamon can log its status to the winbind log file upon request using the signal USR2. | + | |
- | + | ||
- | If debuglevel is set to 2 or above, the windbindd dameon will also print the list of clients currently active. | + | |
- | + | ||
- | # killall -USR2 winbindd | + | |
- | + | ||
- | The winbind log level can be set separately in the smb.conf (/ | + | |
- | + | ||
- | log level = 2 winbind:3 | + | |
- | + | ||
- | <note important> | + | |
- | + | ||
- | # service winbind reload | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== samba + Windows Vista ===== | + | |
- | + | ||
- | <note important> | + | |
- | Microsoft' | + | |
- | Change the settings from Send NTLMv2 response only to Send LM & NTLM - use NTLMv2 session security if negotiated. | + | |
- | Vista defaults to only send the more secure NTLMv2 protocol, which Samba (and, incidentally, | + | |
- | </ | + |