support Dot character in attribute name

2012-04-15 Thread Pradip Sonar
Hi,

I am working on POC on Windows registry data migration to LDAP Structure in one 
of my project.

I am using apacheds-1.5.6 and ApacheDirectoryStudio-win32-1.5.2.

I am facing issues while trying to add new attribute name containing dot 
character(.).

 

I found that ldap does not support for dot character in attribute name.

 

Can you please suggest any configurations needs to be done in apache directory 
server/studio to support dot character in attribute name?

 

Please reply back.

 

Thanks  Regards,

Pradip Sonar


Re: support Dot character in attribute name

2012-04-15 Thread Emmanuel Lécharny

Le 4/15/12 9:47 AM, Pradip Sonar a écrit :

Hi,

I am working on POC on Windows registry data migration to LDAP Structure in one 
of my project.

I am using apacheds-1.5.6 and ApacheDirectoryStudio-win32-1.5.2.

I am facing issues while trying to add new attribute name containing dot 
character(.).

Plain normal. Dot is not a valid char in an attrbute name per RFC 4512.




I found that ldap does not support for dot character in attribute name.

True.




Can you please suggest any configurations needs to be done in apache directory 
server/studio to support dot character in attribute name?

Change your attributes name to comply to the specification.

M$ does not give a shit about LDAP and broke the specification on 
purpose, but I'm sorry to say that's not our problem. AD is not an LDAP 
compliant server anyway...


Replacing every dot by an hyphen using a small sed script should not be 
a big issue though.



--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com



Re: support Dot character in attribute name

2012-04-15 Thread Jim Willeke
I can find no attribute within Active Directory's schema that contains a
. within the name of the attribute.

Could you perhaps provide an example of what you are trying to accomplish?

--
-jim
Jim Willeke


On Sun, Apr 15, 2012 at 4:57 AM, Emmanuel Lécharny elecha...@gmail.comwrote:

 Le 4/15/12 9:47 AM, Pradip Sonar a écrit :

  Hi,

 I am working on POC on Windows registry data migration to LDAP Structure
 in one of my project.

 I am using apacheds-1.5.6 and ApacheDirectoryStudio-win32-1.**5.2.

 I am facing issues while trying to add new attribute name containing dot
 character(.).

 Plain normal. Dot is not a valid char in an attrbute name per RFC 4512.




 I found that ldap does not support for dot character in attribute name.

 True.




 Can you please suggest any configurations needs to be done in apache
 directory server/studio to support dot character in attribute name?

 Change your attributes name to comply to the specification.

 M$ does not give a shit about LDAP and broke the specification on purpose,
 but I'm sorry to say that's not our problem. AD is not an LDAP compliant
 server anyway...

 Replacing every dot by an hyphen using a small sed script should not be a
 big issue though.


 --
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com




Re: Update 2.0.0-M7 and indexes

2012-04-15 Thread Emmanuel Lécharny

Le 4/14/12 5:12 AM, carlo.acco...@ibs-ag.com a écrit :

Hi, regarding the server startup issue I'm having after loading a custom 
partition with 80k users, the problem seems to be the size of master.db
For my partition. The file is 450 MB. If I delete my partition directory (and 
let to recreate on startup) the server starts fine.

Here are some other things we tried, none of which worked.
Don't waste your time doing experiments, tehre is a clear problem in the 
index construction when the server is restarted. I'm on it this afternoon.


Seems like the index creation actually works, when we have a few 
hundreds of entries, but we have serious performance issues with 80 000 
entries.


I'm not sure it's a bug, but certainly some sub-optimal process.

Keep tuned...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com



RE: Update 2.0.0-M7 and indexes

2012-04-15 Thread Carlo.Accorsi
ok much appreciaed. Thank you!

From: Emmanuel Lécharny [elecha...@gmail.com]
Sent: Sunday, April 15, 2012 6:32 AM
To: users@directory.apache.org
Subject: Re: Update 2.0.0-M7 and indexes

Le 4/14/12 5:12 AM, carlo.acco...@ibs-ag.com a écrit :
 Hi, regarding the server startup issue I'm having after loading a custom 
 partition with 80k users, the problem seems to be the size of master.db
 For my partition. The file is 450 MB. If I delete my partition directory (and 
 let to recreate on startup) the server starts fine.

 Here are some other things we tried, none of which worked.
Don't waste your time doing experiments, tehre is a clear problem in the
index construction when the server is restarted. I'm on it this afternoon.

Seems like the index creation actually works, when we have a few
hundreds of entries, but we have serious performance issues with 80 000
entries.

I'm not sure it's a bug, but certainly some sub-optimal process.

Keep tuned...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com