Re: ApacheDS and Samba

2011-04-17 Thread Emmanuel Lécharny

On 4/17/11 5:42 AM, Jeffrey Reynolds wrote:
Just a few things.  Wiki page?  Excellent idea.  If I ever get this 
working I'll try to throw it together over a weekend.  There are a few 
more issues, the samba schema is missing a few more attributes, and 
seems like it needs an overhaul anyway. 


Yeah, we don't maintain the samba schema. It keeps evolving over the 
time. It would be good to update it with the latest version in the next 
ADS release.
I'm wondering if its planed to be updated in version 2.0. 


We can do that, of course.
Anyway, those items seem inconsequential enough, just limit a bit of 
functionality.  Anyway, the biggest problem is that this is what my 
issue appears to be.  Once an object is created with a given set of 
objectClasses, it can only be referenced by those object classes.  For 
example, I created an inetOrgPerson, which also includes 
organizationPerson, person, and top objectClasses.  If I run 
ldapsearch looking for anyone of those objectClasses, I can find that 
entry.  Later I can add another objectClass to the entry, say 
posixAccount, but ldapsearch returns nothing for that entry when 
search for the objectClass=posixAccount attribute.  However, if I 
create an object that has all five objectClasses, then searching for 
any of them will return a result.

I have seen you JIRA for this one, and replied to it.

Sounds like a bug in the way we update index in 1.5.7. Can you try to 
extract all your objects, and reinject them ?


We are going to check this in trunk, as it has evolved a lot since 1.5.7...

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



Re: ApacheDS and Samba

2011-04-17 Thread Emmanuel Lécharny

On 4/17/11 5:52 AM, Jeffrey Reynolds wrote:
Oh one other thing, I'm not sure if it's a performance issue since I 
am running Apache DS in a VM, but whenever I go to full debug mode for 
logging, the server crashes (IE Apache DS stops running), and it seems 
that anything less does not yield any relevant log info in 
apache-rolling.log


Strange... Another JIRA ?

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



Re: Error with impimeting acl

2011-04-17 Thread Emmanuel Lecharny

On 4/17/11 6:16 AM, Darko Hojnik wrote:

Hi there,

I've tried a few hours along to get an working acl on the partition 
example.com. I've read and tried the sample on the apacheds wiki with 
the sevenSeas sample also at last do it all self with ApacheDS Studio.

By restarting ApacheDS I always get an error massage such like

[05:49:06] WARN [org.apache.directory.server.core.authz.TupleCache] - 
Found accessControlSubentry 
'cn=domainfullAuthorizationRequirementsACISubentry,dc=example,dc=com' 
without any prescriptiveACI


Have you added a subentry ? If so, can you provide it ?

Can you also provide AdministrativePoint entry?



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



Re: ApacheDS and Samba

2011-04-17 Thread Jeffrey Reynolds
Yep, it looks like this is a bug with 1.5.7, and the export import maneuver 
would work, but it would also be a serious pain in the butt and not 
something I want to try with a production system.  My question is, what is 
the easiest way to upgrade to the latest trunk with an active system? 
Should a recompile the class that had issues, and slide it into place on my 
installation?  And if so what are the comilation options and procedures that 
need to be followed?  Or can I just go a svn update from somewhere that will 
put me up to the latest code revision?  This is probably a simple question, 
and I apologize for the constant pestering.  Both Emmanuel and Stefan have 
been awesome during this whole ordeal and my hats off to you guys.


- Jeff



On 4/17/11 5:42 AM, Jeffrey Reynolds wrote:
Just a few things.  Wiki page?  Excellent idea.  If I ever get this 
working I'll try to throw it together over a weekend.  There are a few 
more issues, the samba schema is missing a few more attributes, and seems 
like it needs an overhaul anyway.


Yeah, we don't maintain the samba schema. It keeps evolving over the time. 
It would be good to update it with the latest version in the next ADS 
release.

I'm wondering if its planed to be updated in version 2.0.


We can do that, of course.
Anyway, those items seem inconsequential enough, just limit a bit of 
functionality.  Anyway, the biggest problem is that this is what my issue 
appears to be.  Once an object is created with a given set of 
objectClasses, it can only be referenced by those object classes.  For 
example, I created an inetOrgPerson, which also includes 
organizationPerson, person, and top objectClasses.  If I run ldapsearch 
looking for anyone of those objectClasses, I can find that entry.  Later 
I can add another objectClass to the entry, say posixAccount, but 
ldapsearch returns nothing for that entry when search for the 
objectClass=posixAccount attribute.  However, if I create an object 
that has all five objectClasses, then searching for any of them will 
return a result.

I have seen you JIRA for this one, and replied to it.

Sounds like a bug in the way we update index in 1.5.7. Can you try to 
extract all your objects, and reinject them ?


We are going to check this in trunk, as it has evolved a lot since 
1.5.7...


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






Re: ApacheDS and Samba

2011-04-17 Thread Stefan Seelmann
On Mon, Apr 18, 2011 at 12:36 AM, Jeffrey Reynolds
jeffrey.james.reyno...@gmail.com wrote:
 Yep, it looks like this is a bug with 1.5.7, and the export import maneuver
 would work, but it would also be a serious pain in the butt and not
 something I want to try with a production system.  My question is, what is
 the easiest way to upgrade to the latest trunk with an active system?
 Should a recompile the class that had issues, and slide it into place on my
 installation?  And if so what are the comilation options and procedures that
 need to be followed?  Or can I just go a svn update from somewhere that will
 put me up to the latest code revision?

As you are using 1.5.7 you could
- checkout the jdbm-store project from the tag [1]
- fix the bug in
src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
- run a mvn clean package
- target/apacheds-jdbm-store-1.5.7.jar is the fixed Jar, copy it to
your installation directory

Kind Regards,
Stefan

[1] http://svn.apache.org/repos/asf/directory/apacheds/tags/1.5.7/jdbm-store