Hello everybody
Recently I have set up a shiny new Zimbra 5.01 system on ubuntu 6.06 running und vmware-server 1.04. I runs very nice.
Then I saw the wiki article by Greg describing how to create a single sign on solution by adding posix and samba accounts to the Zimbra admin ui.
I really like the idea to combine these things in one nice administration interface (sofar I was using linbox directory server for the unix/windows accounts)
I followed the guide as precise as possible. One major deviation is that I did not add the samba schema inclusions in slapd.conf.in but in the real slapd.conf. because there was no slapd.conf.in. I checked wheter the inclusions were still present after reboot and this was indeed the case.
(4.5 - 5.0 difference?)
I setup a samba file server in another virtual machine (ubuntu gutsy + samba 3.0.26a) and used the samba.schema from this install on the zimbra machine.
Then I ran into the same problem as described by antonmb here: Zimbra with Samba
The sambadomain is not automatically added to the ldap tree.
here is the result for the net getlocalsid command on the fileserver
I checked my samba log file and found the following entries:Code:root@fileserver:~# net getlocalsid [2008/01/21 19:40:05, 0] lib/smbldap_util.c:smbldap_search_domain_info(286) smbldap_search_domain_info: Adding domain info for BBDBEHEER.NET failed with NT_STATUS_UNSUCCESSFUL SID for domain FILESERVER is: S-1-5-21-1220456624-xxxxxxxxx-xxxxxxxxx
It seems to be able to make contact with the zimbra ldap server, but something goes wrong with adding the sambadomain to the tree.Code:tail -n 200 /var/log/samba/log.smbd ... ... Becoming a daemon. [2008/01/21 19:40:02, 2] lib/tallocmsg.c:register_msg_pool_usage(105) Registered MSG_REQ_POOL_USAGE [2008/01/21 19:40:02, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2008/01/21 19:40:02, 2] lib/smbldap_util.c:smbldap_search_domain_info(256) smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=BBDBEHEER.NET))] [2008/01/21 19:40:02, 2] lib/smbldap.c:smbldap_open_connection(786) smbldap_open_connection: connection opened [2008/01/21 19:40:02, 3] lib/smbldap.c:smbldap_connect_system(997) ldap_connect_system: succesful connection to the LDAP server [2008/01/21 19:40:02, 3] lib/smbldap_util.c:smbldap_search_domain_info(278) smbldap_search_domain_info: Got no domain info entries for domain [2008/01/21 19:40:02, 3] lib/smbldap_util.c:add_new_domain_info(149) add_new_domain_info: Adding new domain
Trying to add the domain manually in de zimbra administration console is not working either and results in the error observed by antonmbCode:[2008/01/21 19:40:02, 1] lib/smbldap_util.c:add_new_domain_info(216) add_new_domain_info: failed to add domain dn= sambaDomainName=BBDBEHEER.NET,dc=bbdbeheer,dc=net with: Invalid DN syntax invalid DN [2008/01/21 19:40:02, 0] lib/smbldap_util.c:smbldap_search_domain_info(286) smbldap_search_domain_info: Adding domain info for BBDBEHEER.NET failed with NT_STATUS_UNSUCCESSFUL [2008/01/21 19:40:02, 2] passdb/pdb_ldap.c:pdb_init_ldapsam(5658) pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups, and will risk BDCs having inconsistant SIDs ... ...
Somehow it thinks the DN is invalid.
I'm struggeling for 2 days now with this problem and I still cannot get the thing to work. I tried several things, including different sambadomain names and changing the ldap passwords, but nothing seems to work.
I would really appreciate all suggestions or help!


LinkBack URL
About LinkBacks

