[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP Samba4



Hello,

I want to use openldap as a backend for Samba4. I set up the openldap with a different port, because samba4 has an own "ldap" server running on port 389.
I set up the standard config for samba4 like this:

    passdb backend = ldapsam:ldap://ldap.example.com:3389
    ldap suffix = dc=ldap,dc=example,dc=com
    ldap user suffix = ou=users
    ldap group suffix = ou=groups
    ldap machine suffix = ou=computers
    ldap idmap suffix = ou=Idmap
    ldap delete dn = no
    ldap admin dn = cn=admin,dc=ldap,dc=example,dc=com
    ldap ssl = no
    ldap passwd sync = yes
    idmap_ldb:use rfc2307 = Yes
    invalid users = root

Created also the ou's in openldap, added a couple of users in openldap. Also set the smbpasswd, but everytime when I try to ask the openldap through samba. Im getting:

smbldap_search_domain_info: Adding domain info for OPENCHANGE failed with NT_STATUS_UNSUCCESSFUL

Do I still need to load the samba.schema in openldap ? And when yes.. How do I do that??

openldap: 2.4.31
samba:     4.0.1
OS:           Debian Wheezy

Cheers,

--
Pascal den Bekker

Linux System Administrator

Affinitas GmbH | Kohlfurter Straße 41/43 | 10999 Berlin | Germany
email: pascal_den.bekker@affinitas.de | tel: +49 30 868 000 140
www.edarling.de | www.shopaman.de

Geschäftsführer: Lukas Brosseder, David Khalil, Michael Schrezenmaier

Eingetragen beim Amtsgericht Berlin-Charlottenburg, HRB 115958