..follow me on https://www.twitter.com/linuxonlinehelp

Tag: samba

Openwrt : Openwrt 15.XX loses settings if the ROM Root Filesystem is full

On openwrt 15.XX i have seen if you installed additional Sofware via opkg and the /overlay path is nearby full you can’t save any settings via Luci Webinterface (blue Info box right upper corner) or the Router reboots hard automatic into failsave mode (lost all settings / factory reset) Workaround: You can install a external usb stick on most routers and move the “/overlay” folder to it You should always Download the “backup-settings.tgz” from Software Menu to get the Router easy  and fast online again on last working state. If the rootfs (root filesystem and overlay path) is nearby full, […]

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

Samba Server Browsing Problem Samba Server sporadically hidden

Problem: Inside a Laboratory Farm of 5 Samba Servers sometimes one or more Servers are sporadically hidden at Windows XP Client Neighbourhood (Netzwerkumgebung), but they are still sharing the files and are still online. Or XP Clients hangs up at browsing the Local Network for some minutes. Solution: Open /etc/samba/smb.conf with Editor set domain master = No set local master = YES set preferred master = No restart samba service with /etc/init.d/samba restart Background: The nmbd service is browsing at your network and if he find the option domain master he will ignore the information of the other server (data […]

Smeserver: Samba Password Login fails ü ä ö

Problem: Wenn man ein Windows-Passwort für User mit ä ü ö verwendet, kann man sich nur mit FTP zum SME Server verbinden eine Anmeldung mittels SMB Windows-XP Protokoll geht nicht Loesung Passwort ohne ä ü ö nehmen oder, als root am Server per ssh anmelden und folgendes eingeben: #db configuration setprop smb UnixCharSet ISO8859-15 (+Enter) # expand-template /etc/smb.conf (+Enter) # /etc/init.d/smb restart (+Enter) Problem: If you use a password with special characters like üäö or british pound.. you can login at the sme server but not connect the smb shares from windows. Solution: change to easier password or, do a […]