Fix compilation (IDL & smbreadline errors).

* smbreadline: https://lists.samba.org/archive/samba-technical/2014-March/098242.html
* IDL: https://bugzilla.redhat.com/attachment.cgi?id=693547&action=diff
Add .gitignore files.