Move _createDirectories to _postServiceHook
Remove unused variable
Replace all calls to ldb() with ldap()
Merge pull request #1365 from Zentyal/scabrero/samba-fix-boot

Scabrero/samba fix boot