Cperello/s4sync fixes

The only regression detected is with the check-zentyal-log from "Shares and Antivirus Samba tests" because there are some ERROR logged related with the fact that several accounts are not being replicated because are disabled accounts. I think this should not stop this merge, though.

	Standalone basic users operations Test Suite
		EnableUsersZentyalTest: OK
		AddUser: OK
		CheckUSer: OK
		AddGroup: OK
		CheckGroup: OK
		DelUser: OK
		CheckDeletedUser: OK
		check-zentyal-log: OK
		check-syslog-apparmor: OK

	Shares and Antivirus Samba tests
		InstallNonProfilePackages: OK
		EnableModules: OK
		ConfigNetworkSetExternal: OK
		ChangeDefaultQuota: OK
		AddUserFoo: OK
		TestQuota: OK
		ChangeUserQuota: OK
		TestUsersShareWrite: OK
		TestUsersSharedRead: OK
		TestSambaLogsWrite: OK
		TestSambaLogsRead: OK
		EnableModules: OK
		TestUsersShareWriteVirus: OK
		TestSambaLogsAntivirusEmpty: OK
		ActivateAntivirusInSamba: OK
		TestUsersSharedReadWithVirus: OK
		TestSambaLogsAntivirusNotEmpty: ERROR
		TestSambaLogsQuarantineNotEmpty: ERROR
		TestUsersSharedReadTxtOfInfo: ERROR
		AddZentyalShare: OK
		TestSmbClientZentyalShareWriteNoPerm: OK
		TestSmbClientZentyalShareReadNoPerm: OK
		GrantZentyalShareReadWrite: OK
		TestSmbClientZentyalShareWriteWithReadWrite: ERROR
		TestSmbClientZentyalShareReadWithReadWrite: ERROR
		TestUsersShareWriteVirus: ERROR
		TestUsersSharedReadWithVirus: OK
		TestSambaLogsWriteWithVirus: ERROR
		TestSambaLogsQuarantineSecondVirus: ERROR
		TestZentyalSharedReadTxtOfInfo: ERROR
		GrantZentyalShareReadOnly: OK
		TestSmbClientZentyalShareWriteWithReadOnly: ERROR
		TestSmbClientZentyalShareReadWithReadOnly: ERROR
		TestSmbClientZentyalShareReadWithReadOnlyBadLogin: OK
		AddUserAdmin: OK
		GrantZentyalShareAdmin: OK
		TestSmbClientZentyalShareWriteAdmin: ERROR
		TestSmbClientZentyalShareReadAdmin: ERROR
		TestSmbClientZentyalShareReadAdminBadLogin: OK
		MkdirFileSystemShare: OK
		AddFileSystemShare: OK
		TestSmbClientFileSystemShareWriteNoPerm: OK
		TestSambaLogsAccess: OK
		TestSmbClientFileSystemShareReadNoPerm: OK
		GrantFileSystemShareReadWrite: OK
		TestSmbClientFileSystemShareWriteWithReadWrite: ERROR
		TestSmbClientFileSystemShareWriteWithReadWriteBadLogin: OK
		TestSmbClientFileSystemShareReadWithReadWrite: ERROR
		GrantFileSystemShareReadOnly: OK
		TestSmbClientFileSystemShareWriteWithReadOnly: ERROR
		TestSmbClientFileSystemShareReadWithReadOnly: ERROR
		GrantFileSystemShareAdmin: OK
		TestSmbClientFileSystemShareWriteAdmin: ERROR
		TestSmbClientFileSystemShareReadAdmin: ERROR
		DisableShareInPlaceBoolean: OK
		TestAccessDisabledShare: OK
		EnableShareInPlaceBoolean: OK
		DeleteZentyalShare: OK
		TestSmbClientZentyalShareDeleteWrite: OK
		TestSmbClientZentyalShareDeletedRead: OK
		ChangePassword: OK
		TestSambaAfterPasswordChanged: ERROR
		DeleteUser: OK
		CheckDeleteHome: OK
		check-zentyal-log: ERROR
		check-syslog-apparmor: OK