I tried what says on this document (UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI - Zimbra :: Wiki) but, I can't get my Zimbra UI to create a record for my Samba Domain, it keeps saying:

Message: invalid request: createLDAPEntry invalid name: sambaDomainName=mydomain,dc=mydomain: [LDAP: error code 34 - invalid DN] Error code: service.INVALID_REQUEST Method: CreateLDAPEntryRequest Details:soap:Sender

Any ideas what can be happening?