Dirty Samba hacks to make your life easier

C1 | Mon 21 Jan | 2:45 p.m.–3:10 p.m.

Presented by

  • Kirin van der Veer

    Kirin van der Veer has built and Sysadmin'd networks for organizations as disparate as Greenpeace in Amsterdam and Military deployments in the middle east. He occasionally files bug reports for Samba and other open source projects. Currently he is the Senior (read only) Linux systems administrator for Planet Innovation in Melbourne. In his spare time he once commissioned a developer to create a fork of Gnome terminal, simulating an accurate recreation of 1995 era VGA text modes in order to play ADOM the exact way he remembered.


Thanks to the proliferation of IoT devices Samba is everywhere. But what if you want to use it the "normal" way? You know, as a DC and file server for a large number of users? What happens when you need to parse the directory for a list of disabled users and take action? Or have regular helpdesk guys deal with locked files? For regularly running scripts what returns queries faster; pdbedit or ldapsearch? Perhaps you'd like to setup a linux based hotdesk that will automatically RDP into whatever workstation a user happens to be logged into elsewhere on campus. How to you remotely (and securely) request that information from Samba? How about a website that acts as a password reset portal? (don't forget your input validation!) During this talk I will outline and demo a number of scripts and hacks used to make Samba work for our organization (including links to source code).