Category: Filesharing / NFS / SAMBA / SMB

Samba4 on CentOS7 in under 10min – add windows file sharing user script – security – from SMB 1.0 to 2.0 – anti ETERNALBLUE EXPLOIT update trouble – SID “username” is not in a valid format – pdb_getsampwnam (tdb) error fetching database – solved
19.04.2018

update: 2019-02: everything was fine… until you decided to update because of the EthernalBlue exploit THAT ALSO AFFECTS OPEN SOURCE IMPLEMENTATIONS OF SMB 1.0! (WTF!? WHY?), samba now miss behaves on Debian and CentOS. (scroll down for details) EternalBlue, sometimes […]

Howto install and setup File Sharing Server with GNU Linux
04.08.2017

ext3+gnu_linux+samba = fast and reliable fileserver. WARNING! Security problems Versions from Version 3.5.0 to 4.6.4 (recent in May 2017 ) are affected and need to be patched! patches are available from: https://www.samba.org/samba/patches/ Unfortunately EVEN Debian9 (!!!! GUYS FIX THAT FAST […]

GNU Linux – recover deleted files NTFS – undelete ext3 vs ext4 – rescue accidentally deleted data files – overwritten partition table – foremost – gpart
06.07.2017

update: extundelete works well on ext3 but kind of failed me on ext4. tools to try: http://trinityhome.org/Home/index.php?wpid=61&front_id=12 get an overview: what harddisk/partition is what? lsblk; # more detailed lsblk -o “NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID” alias harddisk=’lsblk -o “NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID”‘ harddisk NAME MAJ:MIN RM SIZE […]

06.07.2017

can be easily checked via: root@debian9:~# cat /proc/filesystems nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cpuset nodev cgroup nodev cgroup2 nodev tmpfs nodev devtmpfs nodev debugfs nodev tracefs nodev securityfs nodev sockfs nodev bpf nodev pipefs […]

23.06.2015

tested on: Linux Debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) i686 GNU/Linux #install software #centos7 yum update && yum install samba-client samba-common cifs-utils #debian apt-get update && apt-get install cifs-utils mkdir /mnt/cifs; # create mountpoint mount -t cifs //FILE-SERVER-IP-ADDRESS/NAME_OF_SHARE /mnt/cifs […]

05.03.2015

update: 2019-05: XFS? the way to go? there are at least 3 distros i know of (Fedora/RedHat/CentOS, SuSE/OpenSuse and Trisquel (yes Richard Stallman himself runs xfs!)) using xfs as their default filesystem. “Red Hat Enterprise Linux 7 began defaulting to […]