Monat: November 2008

Papierkorb Recycle Bin Samba Share Howto

How to create a Samba Recycle Bin ? (Ersatz fuer Papierkorb Windowserver) At first you need to create the /etc/samba/recycle.conf file # touch /etc/samba/recycle.conf # nano /etc/samba/recycle.conf add: ##Recycle Bin ## name = Recycle Bin mode = KEEP_DIRECTORIES|VERSIONS|TOUCH maxsize = 0 exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace excludedir = /tmp|/temp|/cache noversions = *.doc|*.ppt|*.dat|*.ini|*.mp3(Block unwanted Files) edit your /etc/samba/samba config file # nano /etc/samba/smb.conf add at section „homes“ vfs object = recycle config-file = /etc/samba/recycle.conf recycle:repository = Recycle Bin recycle:keeptree = Yes recycle:versions = Yes Now restart your samba daemons and the recycle bin should show up after a few moments (but most likely […]

smbpasswd changes samba password and unix password too

Problem: At newer Linux Setups with Samba 3 by default smbpasswd changes the user unix login password and samba share password. For higher security i prefer different passwords like on debian SARGE Solution: edit as root /etc/samba/smb.conf enter unix password sync = no (Yes=default) restart samba /etc/init.d/samba restart set new different passwords for a user with passwd and smbpasswd check passwords..working