fixed regressions in zentyal-samba