On Tue, 2009-02-03 at 11:53 -0600, [email protected] wrote: > While attempting to configure my (working) Fedora DS installation to work > with Samba 4, I came across the following error: > r...@host/usr/share/samba# setup-ds > --file=/var/lib/samba/private/ldap/fedorads.inf > --snip-- > Could not import LDIF file 'suggest'. Error: 256. Output: importing data > ... > suggest file could not be opened: absolute path required. > [03/Feb/2009:11:48:01 -0600] dse - The entry cn=schema in file > /var/lib/samba/private/ldap/slapd-samba4/schema/99_ad.ldif is invalid, > error code 21 (Invalid syntax) - attribute type serialNumber: Unknown > attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.44" > [03/Feb/2009:11:48:01 -0600] dse - Please edit the file to correct the > reported problems and then restart the server. > > Error: Could not create directory server instance 'samba4'. > Exiting . . . > > I used this command to generate the fedorads.inf file: > /usr/share/samba/setup/provision-backend --realm=domain.net > --domain=domain --ldap-backend-port=9830 --ldap-admin-pass=<pass> > --ldap-backend-type=fedora-ds --server-role='domain controller' > > Any idea why this does not work?
The Fedora DS backend support for Samba4 has sadly bit rotted (because we have extended the schema without testing with Fedora DS) over the past few months. To start fixing it, look at updating source4/setup/schema-map-fedora-ds-1.0 to map this syntax to a compatible one that Fedora DS supports. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc.
signature.asc
Description: This is a digitally signed message part
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
