[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Centos 7/openldap/samba
- To: Alex Moen <alexm@ndtel.com>
- Subject: Re: Centos 7/openldap/samba
- From: Ryan Tandy <ryan@nardis.ca>
- Date: Tue, 25 Aug 2015 07:56:40 -0700
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nardis.ca; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=T69GAgNxP7zY2tjoUQfqQduTII73/82KclRzndeVYR8=; b=d1B1yF3YEfxtJ5hEMcmmrJZX+77JkiJn6NmClycrXmxD6+pmyA/g8OH3fI1URxU2Yg WP6ZAAYdTPgv1y/sdWksD5K66rwrJbW8tZUJdAJk1SSOMnTZaRKfjYDs+cq1LymueeFm bBFGawkS7eCc3TwCFD6HroEa4BgsunK1XlYvM=
- In-reply-to: <55DB79A8.3030207@ndtel.com>
- Mail-followup-to: Alex Moen <alexm@ndtel.com>, openldap-technical@openldap.org
- References: <55DB79A8.3030207@ndtel.com>
- User-agent: Mutt/1.5.23 (2014-03-12)
On Mon, Aug 24, 2015 at 03:08:08PM -0500, Alex Moen wrote:
Setting up a new openldap server on Centos 7. I am trying to add the
samba.schema that comes with samba. I got the schema file from the
newest distribution of Samba, copied it to /etc/openldap/schema, and
ran "ldapadd -Y EXTERNAL -H ldapi:/// -f
/etc/openldap/schema/samba.schema". This command worked perfectly
with the cosine and inetorgperson schema files, but I got an 'invalid
format (line 1) entry: ""' response.
Files ending in .schema are in slapd.conf format. For dynamic
configuration (cn=config) you need your schema in LDIF format.
There might be a samba.ldif in the same directory, which you can ldapadd
directly. At least [1] suggests the CentOS package ships both.
[1] http://www.rpmfind.net//linux/RPM/centos/updates/7.1.1503/x86_64/Packages/samba-4.1.12-23.el7_1.x86_64.html