Custom Partition on 2.0M* Forward

2012-01-20 Thread Steven Altsman
Since there is no server.xml - where does the code for custom partitions go?
Per:
http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-par
tition-for-apacheds.html




RE: Custom Partition on 2.0M* Forward

2012-01-20 Thread Steven Altsman
So, if I want to make a NoSQL adaptor as a custom partition, I duplicate an
existing partition and do a native bean reference...where?

-Original Message-
From: Pierre-Arnaud Marcelot [mailto:paj...@gmail.com] On Behalf Of
Pierre-Arnaud Marcelot
Sent: Friday, January 20, 2012 10:39 AM
To: users@directory.apache.org
Cc: Steven Altsman
Subject: Re: Custom Partition on 2.0M* Forward

Hi Steven,

In ApacheDS 2.0, the server.xml file has been replaced by a config.ldif
file.

Just launch the server and connect to it with an LDAP Browser (Apache
Directory Studio for example).
Open and explore the 'ou=config' node.
Partitions are located under
'ou=partitions,ads-directoryServiceId=default,ou=config'.
If you want to create one, replicate the structure found at
'ads-partitionId=example,ou=partitions,ads-directoryServiceId=default,ou=con
fig' (including all children entries for indexes) and modify it to your
needs.

You might also want to try the freshly released Apache Directory Studio 2.0
M1 version, which contains a Configuration Editor for Apache DS 2.0 servers
and allows you to create partitions easily.
Simply right-click on the connection and choose 'Open Configuration' in the
context menu.

Hope this helps,
Pierre-Arnaud


On 20 janv. 2012, at 17:00, Steven Altsman wrote:

 Since there is no server.xml - where does the code for custom partitions
go?
 Per:

http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-par
 tition-for-apacheds.html
 
 




Re: [ApacheDS] ads-httpConfFile

2011-10-06 Thread Steven Altsman
Hmm, the log for the war (subsonic.war) keeps saying Can't delete
port mapping.  It wants 4040 but the transport for the http server
can be should be 80.  Would that be something I would have to specify
for ads-httpConfFile?

Ibis redibis nunquam per bella peribis



On Thu, Oct 6, 2011 at 9:55 AM, Kiran Ayyagari kayyag...@apache.org wrote:
 that should be all, if any issues happen they are more likely related
 to your web app's dependencies

 On Thu, Oct 6, 2011 at 10:47 AM, Steven Altsman
 steven.alts...@gmail.com wrote:
 My options were to download jetty or glassfish per google. I had
 grabbed jetty, but should I be able to copy the contents of the lib
 folder or will there be more involved with that?

 Ibis redibis nunquam per bella peribis



 On Wed, Oct 5, 2011 at 10:11 PM, Kiran Ayyagari kayyag...@apache.org wrote:
 include the jetty JSP API implementation jar e.x., jsp-2.0-api.jar in
 the lib folder, the default distribution doesn't include this

 On Wed, Oct 5, 2011 at 9:43 PM, Steven Altsman steven.alts...@gmail.com 
 wrote:
 How do I use this to run my .war file?

 I get

 HTTP ERROR: 500

 JSP support not configured
 RequestURI=/subsonic/WEB-INF/jsp/login.jsp

 Powered by Jetty://

 Ibis redibis nunquam per bella peribis




 --
 Kiran Ayyagari





 --
 Kiran Ayyagari



Re: [ApacheDS] ads-httpConfFile

2011-10-06 Thread Steven Altsman
I suppose more to the point is I need to specify parametres to match
what ApacheDS is trying to start the war file with - such as

-Dsubsonic.host=${SUBSONIC_HOST} \
  -Dsubsonic.port=${SUBSONIC_PORT} \
  -Dsubsonic.httpsPort=${SUBSONIC_HTTPS_PORT} \
  -Dsubsonic.contextPath=${SUBSONIC_CONTEXT_PATH} \

Would that be a special attr in the ads-httpWebApp?

Ibis redibis nunquam per bella peribis



On Thu, Oct 6, 2011 at 10:45 AM, Steven Altsman
steven.alts...@gmail.com wrote:
 Hmm, the log for the war (subsonic.war) keeps saying Can't delete
 port mapping.  It wants 4040 but the transport for the http server
 can be should be 80.  Would that be something I would have to specify
 for ads-httpConfFile?

 Ibis redibis nunquam per bella peribis



 On Thu, Oct 6, 2011 at 9:55 AM, Kiran Ayyagari kayyag...@apache.org wrote:
 that should be all, if any issues happen they are more likely related
 to your web app's dependencies

 On Thu, Oct 6, 2011 at 10:47 AM, Steven Altsman
 steven.alts...@gmail.com wrote:
 My options were to download jetty or glassfish per google. I had
 grabbed jetty, but should I be able to copy the contents of the lib
 folder or will there be more involved with that?

 Ibis redibis nunquam per bella peribis



 On Wed, Oct 5, 2011 at 10:11 PM, Kiran Ayyagari kayyag...@apache.org 
 wrote:
 include the jetty JSP API implementation jar e.x., jsp-2.0-api.jar in
 the lib folder, the default distribution doesn't include this

 On Wed, Oct 5, 2011 at 9:43 PM, Steven Altsman steven.alts...@gmail.com 
 wrote:
 How do I use this to run my .war file?

 I get

 HTTP ERROR: 500

 JSP support not configured
 RequestURI=/subsonic/WEB-INF/jsp/login.jsp

 Powered by Jetty://

 Ibis redibis nunquam per bella peribis




 --
 Kiran Ayyagari





 --
 Kiran Ayyagari




[ApacheDS] ads-httpConfFile

2011-10-05 Thread Steven Altsman
How do I use this to run my .war file?

I get

HTTP ERROR: 500

JSP support not configured
RequestURI=/subsonic/WEB-INF/jsp/login.jsp

Powered by Jetty://

Ibis redibis nunquam per bella peribis


[ApacheDS] Extracting SSL Cert for openSUSE LDAP client

2011-09-29 Thread Steven Altsman
All,

 

I've grabbed 2.0.0-M3 and would like to import the SSL cert into openSUSE so
I can actually connect to port 636 (ideally 10636).  Directory Studio
automatically prompts me to trust the cert, but Yast2 doesn't give me that
option.

 

Any help is greatly appreciated



Re: [ApacheDS] ACLS - Set a user in a partition to be an admin

2011-05-12 Thread Steven Altsman
Ah HA! Adding the subentry opened up a tonne of possibilities!  Thank
you very much for your assistance.

Ibis redibis nunquam per bella peribis



On Thu, May 12, 2011 at 7:33 AM, Mike Adamson mikeat...@gmail.com wrote:
 Hi,

 You need to give the o=US,DC=mydomain,DC=org node an administrativeRole
 attribute with a value of accessControlSpecificArea and then create a sub
 entry for it like:

 dn: cn=adminSubentry,o=US,dc=mydomain,dc=org
 changetype: add
 objectclass: top
 objectclass: subentry
 objectclass: accessControlSubentry
 cn: adminSubentry
 subtreeSpecification: {}
 prescriptiveACI: {
    identificationTag administratorFullAccessACI,
    precedence 100,
    authenticationLevel simple,
    itemOrUserFirst userFirst: {
        userClasses {
            name { uid=adminguy,ou=people(,o=US...,DC=org). }
        },
        userPermissions {
            {
               protectedItems {
                   entry, allUserAttributeTypesAndValues
               },
               grantsAndDenials {
                   grantAdd, grantDiscloseOnError, grantRead,
                   grantRemove, grantBrowse, grantExport, grantImport,
                   grantModify, grantRename, grantReturnDN,
                   grantCompare, grantFilterMatch, grantInvoke
               }
           }
       }
   }
   }

 I haven't had much joy applying these things with directory studio, it's
 easier to put it all in an ldif file and import it.

 Cheers,

 MikeA

 On 11 May 2011 18:33, Steven Altsman steven.alts...@gmail.com wrote:

 Hi All,

 Pretty straightforward question, methinks: I have
 o=US,DC=mydomain,DC=org and in there I have
 uid=adminguy,ou=people(,o=US...,DC=org).  I want him to admin over
 o=US,DC=mydomain,DC=org.  I've got ApacheDS and Eclipse with Directory
 Studio extensions.

 Ibis redibis nunquam per bella peribis




[ApacheDS] ACLS - Set a user in a partition to be an admin

2011-05-11 Thread Steven Altsman
Hi All,

Pretty straightforward question, methinks: I have
o=US,DC=mydomain,DC=org and in there I have
uid=adminguy,ou=people(,o=US...,DC=org).  I want him to admin over
o=US,DC=mydomain,DC=org.  I've got ApacheDS and Eclipse with Directory
Studio extensions.

Ibis redibis nunquam per bella peribis