[Samba] Fedora DS and Samba 4

Andrew Bartlett abartlet at samba.org
Thu Feb 5 00:10:25 GMT 2009

On Tue, 2009-02-03 at 11:53 -0600, kb9vqf at pearsoncomputing.net wrote:
> While attempting to configure my (working) Fedora DS installation to work
> with Samba 4, I came across the following error:
> root at 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 ""
> [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
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20090205/5cd4e8eb/attachment.bin

More information about the samba mailing list