🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #120

ldap_add: Invalid syntax

#120
From: nntp.valuelinx.net
Date: Tue, 31 Aug 2004 23:16
56 lines
3230 bytes
 I have been running Slackware 10

When I use the following command:

ldapadd -x -D "cn=Manager,dc=tac,dc=com" -W -f tac.ldif

I get the following error:

adding new entry "dc=tac,dc=com "
ldap_add: Invalid syntax (21)
        additional info: objectclass: value #0 invalid per syntax

I have ran slapd with option -d and this it the output I get:

@(#) $OpenLDAP: slapd 2.2.15 (Aug 27 2004 12:11:55) $
        root@SRVR01:/root/openldap-2.2.15/servers/slapd
daemon: IPv6 socket() failed errno=97 (Address family not supported by 
protocol)
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
bdb_db_init: Initializing bdb database
slapd starting
conn=0 fd=11 ACCEPT from IP=10.1.4.2:33287 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="cn=Manager,dc=tac,dc=com" method=128
conn=0 op=0 BIND dn="cn=Manager,dc=tac,dc=com" mech=SIMPLE ssf=0
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 ADD dn="dc=tac,dc=com"
conn=0 op=1 RESULT tag=105 err=21 text=objectclass: value #0 invalid per 
syntax
conn=0 op=2 UNBIND
conn=0 fd=11 closed

Here is my slapd.conf configuration:

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/samba.schema

pidfile         /usr/local/var/run/slapd.pid
argsfile        /usr/local/var/run/slapd.args


database        bdb
suffix          "dc=tac,dc=com"
rootdn          "cn=Manager,dc=tac,dc=com"
rootpw          {SSHA}ou.POp8x9U0GSESD4bnA7+O3jUiyG9V2
directory       /usr/local/var/openldap-data
# Indices to maintain
index   objectClass     eq


                If anyone can see anything that I have configured wrong it 
would be a big help.

                                Thanks 
Technical Details
Message-ID: <Huudnem1dtMQm6jcRVn-iw@valuelinx.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.valuelinx.net!news.valuelinx.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 103627,d0fffa30a4b824c2,start
X-Google-Attributes: gid103627,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.valuelinx.net!news.valuelinx.net.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 31 Aug 2004 18:15:25 -0500
From: "nntp.valuelinx.net" <w00t@valuelinx.net>
Newsgroups: fj.net.ldap
Subject: ldap_add: Invalid syntax
Date: Tue, 31 Aug 2004 18:16:12 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <Huudnem1dtMQm6jcRVn-iw@valuelinx.net>
Lines: 58
NNTP-Posting-Host: 65.67.76.69
X-Trace: sv3-a4Hs1O6R4jD0tCGzZaM7KVo4MIg7J+7sOltzvXcgeve10loJdEDLMmFnYKkOlHOoQ8obmxFdkpNdEXo!lF2SzxjAafKUUl+y73aCTGaeI6brokF/t9CgyUDDjrxQ2cme04OMA3MT95zHanLnnQa1tAHzG5Vy!7g==
X-Complaints-To: abuse@valuelinx.net
X-DMCA-Complaints-To: abuse@valuelinx.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.13