List Info

Thread: Re: (ITS#5064) Issues with openldap 2.2 (Error 34 Invalid DN syntax )




Re: (ITS#5064) Issues with openldap 2.2 (Error 34 Invalid DN syntax )
country flaguser name
United States
2007-07-27 10:19:26
 > 1) both 2.0 and 2.2 are ancient.  OpenLDAP 2.3 is
mature, and 2.4 is
 > about to exit beta stage.  Unless the problem is
related to a real
 > software bug, and it persists either in HEAD/2.4 or in
2.3 code, this
 > ITS will be closed.

Currently, I've no mean to use an openldap 2.3 unless exists
an RPM 
update package for RHEL 4 (or CentOS).

But the problem is that the request like 
"attribute=a_string=another_string,..." worked
fine with openldap 2.0 
but not with openldap 2.2.


[..CUT..]
> 
> 2) were GlueCEUniqueID and mds-vo-name declared
anywhere?  There seems 
> to be nothing wrong with your DN per se; in fact,
dntest yields
[..CUT..]

> 
> But apparently some attribute declarations are missing;
in fact, slapdn 
> (after declaring GlueVOViewLocalID as indicated above)
yields
> 
> slapdn -f testrun/slapd.1.conf 
>
'GlueVOViewLocalID=/VO=swetest/GROUP=/swetest/ROLE=swadmin,G
lueCEUniqueID=grid001.fc.up.pt:2119/jobmanager-lcgsge-swetes
t,mds-vo-name=UPorto,mds-vo-name=local,o=grid' 
> 
> DN: 
>
<GlueVOViewLocalID=/VO=swetest/GROUP=/swetest/ROLE=swadmi
n,GlueCEUniqueID=grid001.fc.up.pt:2119/jobmanager-lcgsge-swe
test,mds-vo-name=UPorto,mds-vo-name=local,o=grid> 
> check failed 21 (Invalid syntax)
> 
> where the failure refers exactly to the fact that
GlueCEUniqueID was not 
> declared.
> 


If you want some informations regarding the schema used, you
will find 
here :

http://
glueschema.forge.cnaf.infn.it/Spec/V13

And you ca download the schema here :
https://forge.cnaf.infn.it/plugins/scmsvn/viewcvs.ph
p/v_1_3/mapping/ldap/schema/openldap-2-1/?rev=34&root=gl
ueschema

if you want to import some datas with slapadd, you could
find here a 
reference ldiff file :

ldap://cclcgtopbdii01.in2p3.fr:2170/
root : o=grid

Regards.

Pierre-Emmanuel


-- 
Pierre-Emmanuel Brinette	
Grid computing - EGEE/LCG team
IN2P3/CNRS Computing Centre - Lyon (France)
27 bd du 11 novembre, F-69622 Villeurbanne cedex
pbrinettecc.in2p3.fr - Tél. : +33 (0) 4 78 93 08 80



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )