Chris Betts | 2 Jul 23:37 2007

Re: Error installing JXplore

Hi Chris,

   looks like you're using gcj - I think we've had compatibility problems with that in the past.  I'm afraid JX is only tested against the Sun runtime...

   - Chris


;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

noonan_Linux_cmschube> sh jxplorer.sh console
starting JXplorer...

Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: com.ca.directory.jxplorer.JXplorer
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/accts/cmschube/jxplorer/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/accts/cmschube/jxplorer/java.version=1.4.2)
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ClassReader.handleClassBegin(int, int, int) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
   at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_PrepareCompiledClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   ...9 more

=========================
JXplorer failed to start
=========================
Please ensure that you have appropriate "xhost" access to the machine you are
running this from. Make sure the DISPLAY environment variable is set correctly.
Otherwise, ask your Unix Systems Administrator for more information on running
X Windows applications.

If you require more information run "jxplorer.sh console" and check the
error produced.


On 02/07/2007, at 11:18 PM, Chris Schubert wrote:

Thanks for your quick reply.. after I run the "sh jxplorer.sh" this is what I get.... something w/Java???



On 6/29/07, Chris Betts < chris <at> pegacat.com> wrote:
The installer isn't very good - we're trying to source a new one.

In the meantime, go to the sourceforge site and download the
'deploy.tar.gz' file, unpack it and use the jxplorer.sh script to
start it and it should work fine!

    - Chris

On 30/06/2007, at 7:40 AM, Chris Schubert wrote:

> Hello,
>
> I don't mean to turn this into a support call, but if you could
> help me out, I'd appreciate it.
>
> I'm trying to install this on a Red Hat Enterprise Version 4 and
> this is what I get.
> I have Java Verison  1.6.
>
> sh ./JXv3.2_install_linux.bin
> Preparing to install...
> Extracting the installation resources from the installer archive...
> Configuring the installer for this system's environment...
>
> Launching installer...
>
> Warning: -Xmx50331648 not understood. Ignoring.
> Warning: -Xms16777216 not understood. Ignoring.
> Invocation of this Java Application has caused an
> InvocationTargetException. Thi
> s application will now exit. (LAX)
>
> Stack Trace:
> java.lang.NoClassDefFoundError: while resolving class: ZeroGe
> at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/
> libgcj.so.
> 5.0.0)
> at java.lang.Class.initializeClass () (/usr/lib/libgcj.so.5.0.0)
> at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.
> 5.0.0)
> at ZeroGd.<clinit>() (Unknown Source)
> at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
> at _Jv_ResolvePoolEntry( java.lang.Class, int) (/usr/lib/libgcj.so.
> 5.0.0)
> at com.zerog.ia.installer.LifeCycleManager.a(boolean) (Unknown Source)
> at com.zerog.ia.installer.LifeCycleManager.b (java.lang.String[])
> (Unknown Sou
> rce)
> at com.zerog.ia.installer.LifeCycleManager.a(java.lang.String[])
> (Unknown Sou
> rce)
> at com.zerog.ia.installer.Main.main(java.lang.String []) (Unknown
> Source)
> Caused by: java.lang.ClassNotFoundException:
> com.apple.mrj.MRJOSType not found i
> n [file:/tmp/install.dir.26437/InstallerData/, file:/tmp/
> install.dir.26437/Insta
> llerData/installer.zip, file:/usr/share/java/libgcj-3.4.6.jar,
> file:./, core:/]
> at java.net.URLClassLoader.findClass (java.lang.String) (/usr/lib/
> libgcj.so.5.
> 0.0)
> at gnu.gcj.runtime.VMClassLoader.findClass (java.lang.String) (/usr/
> lib/libgcj
> .so.5.0.0)
> at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/
> lib/libgc
> j.so.5.0.0)
> at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader ) (/usr/lib/
> libgcj.so.5.
> 0.0)
> at java.lang.Class.forName(java.lang.String, boolean,
> java.lang.ClassLoader)
> (/usr/lib/libgcj.so.5.0.0)
> at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.
> 5.0.0)
> at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
> at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
> at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
> at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/
> libgcj.so.5.
> 0.0)
> at java.lang.VMClassLoader.resolveClass(java.lang.Class ) (/usr/lib/
> libgcj.so.
> 5.0.0)
> ...9 more
>
> (:26437): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "xfce",
>
> (:26437): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "xfce",
>
> (:26437): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "xfce",
>
> (:26437): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "xfce",
>
> (:26437): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "xfce",
>
> (:26437): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "xfce",
> This Application has Unexpectedly Quit: Invocation of this Java
> Application has
> caused an InvocationTargetException. This application will now
> exit. (LAX)
>
>
> Thank you for your time. I look forward to enjoying your product.


<error.txt>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
Thomas Besser | 3 Jul 10:23 2007
Picon
Picon

linux troubles...

Hi,

I switched recently to a new desktop computer (from i386 to amd64) and
running debian etch (v4.0, amd64 version) on it.

Downloaded the suggested linux version called 'JXv3.2_install_linux.bin' on
http://www.jxplorer.org/downloads/users.html

The installer seems to have many problems:

sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libdl.so.2: cannot open shared
object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared
object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open
shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared
object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared
object file: No such file or directory
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared
libraries: libpthread.so.0: cannot open shared object file: No such file or
directory

With the generic unix version "JXv3.2_deploy.tar.bz2" it runs without
problems.

Could it be that the installer is only for linux (i386)? If yes, you should
note this on the download page.

Regards
Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Thomas Robers | 3 Jul 13:55 2007
Picon

Re: linux troubles...

Thomas Besser schrieb:
> Hi,
> 
> I switched recently to a new desktop computer (from i386 to amd64) and
> running debian etch (v4.0, amd64 version) on it.
> 
> Downloaded the suggested linux version called 'JXv3.2_install_linux.bin' on
> http://www.jxplorer.org/downloads/users.html
> 
> The installer seems to have many problems:
> 
> sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin
> Preparing to install...
> Extracting the installation resources from the installer archive...
> Configuring the installer for this system's environment...
> nawk: error while loading shared libraries: libdl.so.2: cannot open shared
> object file: No such file or directory
> dirname: error while loading shared libraries: libc.so.6: cannot open shared
> object file: No such file or directory
> /bin/ls: error while loading shared libraries: librt.so.1: cannot open
> shared object file: No such file or directory
> basename: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> dirname: error while loading shared libraries: libc.so.6: cannot open shared
> object file: No such file or directory
> basename: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> hostname: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> 
> Launching installer...
> 
> grep: error while loading shared libraries: libc.so.6: cannot open shared
> object file: No such file or directory
> /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared
> libraries: libpthread.so.0: cannot open shared object file: No such file or
> directory
> 
> With the generic unix version "JXv3.2_deploy.tar.bz2" it runs without
> problems.
> 
> Could it be that the installer is only for linux (i386)? If yes, you should
> note this on the download page.
> 
> Regards
> Thomas
> 

Hi Thomas,

I don't know if the installer is only for i386 but I got a similar error last
year, found a solution and posted it to this list (24.08.2006):

> 
> Hi,
> I found an answer to my problem in another forum, regarding problems to
> execute 'bin'-files under (open)SuSE 10.1. I had to do:
> 
> 1.   perl -pi -e 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' JXv3.2b4_install_linux_.bin
> 
> to get the installation to work. And after intallation I did (in the directory where JXplorer
> was installed):
> 
> 2. perl -pi -e 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' JXplorer_LDAP_Browser
> 
> Although I get the (german) error message, JXplorer works for me now under openSuSE 10.1 :
> 
>> > user <at> host:/opt/jxplorer> ./JXplorer_LDAP_Browser
>> > awk: Kommandozeile:6: Warnung: Escape-Sequenz '\.' als '.' behandelt.

Maybe this helps you too.

Regards
Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Chris Betts | 3 Jul 18:27 2007

Re: linux troubles...

Alternatively, if you want to give up on the buggy installer you can  
grab the 'deploy.tar.gz' package from sourceforge, unpack that and  
use the jxplorer.sh shell script instead.  Not quite as pretty  
though :-).

    - Chris

On 03/07/2007, at 9:55 PM, Thomas Robers wrote:

> Thomas Besser schrieb:
>> Hi,
>>
>> I switched recently to a new desktop computer (from i386 to amd64)  
>> and
>> running debian etch (v4.0, amd64 version) on it.
>>
>> Downloaded the suggested linux version called  
>> 'JXv3.2_install_linux.bin' on
>> http://www.jxplorer.org/downloads/users.html
>>
>> The installer seems to have many problems:
>>
>> sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin
>> Preparing to install...
>> Extracting the installation resources from the installer archive...
>> Configuring the installer for this system's environment...
>> nawk: error while loading shared libraries: libdl.so.2: cannot  
>> open shared
>> object file: No such file or directory
>> dirname: error while loading shared libraries: libc.so.6: cannot  
>> open shared
>> object file: No such file or directory
>> /bin/ls: error while loading shared libraries: librt.so.1: cannot  
>> open
>> shared object file: No such file or directory
>> basename: error while loading shared libraries: libc.so.6: cannot  
>> open
>> shared object file: No such file or directory
>> dirname: error while loading shared libraries: libc.so.6: cannot  
>> open shared
>> object file: No such file or directory
>> basename: error while loading shared libraries: libc.so.6: cannot  
>> open
>> shared object file: No such file or directory
>> hostname: error while loading shared libraries: libc.so.6: cannot  
>> open
>> shared object file: No such file or directory
>>
>> Launching installer...
>>
>> grep: error while loading shared libraries: libc.so.6: cannot open  
>> shared
>> object file: No such file or directory
>> /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared
>> libraries: libpthread.so.0: cannot open shared object file: No  
>> such file or
>> directory
>>
>> With the generic unix version "JXv3.2_deploy.tar.bz2" it runs without
>> problems.
>>
>> Could it be that the installer is only for linux (i386)? If yes,  
>> you should
>> note this on the download page.
>>
>> Regards
>> Thomas
>>
>
> Hi Thomas,
>
> I don't know if the installer is only for i386 but I got a similar  
> error last
> year, found a solution and posted it to this list (24.08.2006):
>
>>
>> Hi,
>> I found an answer to my problem in another forum, regarding  
>> problems to
>> execute 'bin'-files under (open)SuSE 10.1. I had to do:
>>
>> 1.   perl -pi -e 's/export LD_ASSUME_KERNEL/#xport  
>> LD_ASSUME_KERNEL/' JXv3.2b4_install_linux_.bin
>>
>> to get the installation to work. And after intallation I did (in  
>> the directory where JXplorer
>> was installed):
>>
>> 2. perl -pi -e 's/export LD_ASSUME_KERNEL/#xport  
>> LD_ASSUME_KERNEL/' JXplorer_LDAP_Browser
>>
>> Although I get the (german) error message, JXplorer works for me  
>> now under openSuSE 10.1 :
>>
>>>> user <at> host:/opt/jxplorer> ./JXplorer_LDAP_Browser
>>>> awk: Kommandozeile:6: Warnung: Escape-Sequenz '\.' als '.'  
>>>> behandelt.
>
> Maybe this helps you too.
>
> Regards
> Thomas
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jxplorer-users mailing list
> Jxplorer-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jxplorer-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Ron Parker | 11 Jul 22:35 2007

Invalid Credentials (49)

I have created a bdb database using openldap on a RH Linux server with 
basically the default configuration.

I'm able to log in with JXplorer using the root dn and password: 
"cn=Manager, dc=example, dc=com" (using "example.com" here instead of my 
actual domain)

I've created an Organizational Unit called "Zimbra", and under Zimbra, I 
have inetOrgPerson "Ron"

com
  example
      organizationalUnit = Zimbra
            inetOrgPerson = Ron

Using JXplorer, I logged in as the root dn and gave inetOrgPerson Ron a 
password (userPassword)

In slapd.conf, I've given Ron access to write to the Zimbra ou:

    access to dn.base="ou=Zimbra,dc=example,dc=com"
            by dn="cn=Ron,ou=Zimbra,dc=exampledc=com" write

When I then use the following settings to log in as Ron using JXplorer, 
I get "Invalid Credentials (49)" error:

Host: example.com
Port: 389
Protocol: LDAP v3
DSML Service:
Base DN: ou=Zimbra,dc=example,dc=com
Level: User+Password
User DN: cn=Ron,ou=Zimbra,dc=example,dc=com
Password: <the password I set for inetOrgPerson Ron in userPassword field>

I've tried setting this password manually on the server (using 
ldapmodify), and by using every password type available in JXplorer but 
get the same error on login every time.

Can someone point out to me what I'm missing?  Thanks so much for any 
assistance.

-ron

--

-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Ron Parker | 17 Jul 22:23 2007

Access to Schema

Hi,

I finally resolved my user login issue by utilizing access control 
correctly.  However, now, when users log in, they don't have access to 
the schema (nothing loaded when they click on Schema tab).

In my slapd.conf access control, I have:

access to dn="cn=Subschema" by * read
access to dn.subtree="cn=Subschema" by * read

I can access this Subschema as a user locally with this command:

ldapsearch -H "ldap://example.com" -D 
'cn=Ron,ou=Zimbra,dc=example,dc=com' -x -W -b "cn=Subschema" -s base 
"objectclass=Subschema"

However, when I click on the "Schema" tab in JXplorer, I get nothing.  
When I am logged in as rootdn, however, I get the schema.

So, I guess my question is either:
a) what is the search used for this Schema tab, or
b) what do you recommend that I enter into my access control list to 
allow my users to be able to read the server schema when logged into 
JXplorer?

Thanks!

-ron

--

-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Ron Parker | 18 Jul 20:29 2007

Re: Access to Schema

Still trying to resolve this. Been trying to research.  The closest I've 
found to this issue is here:

http://www.nabble.com/Re%3A-JXplorer-Schema-access-tf2193548.html

"The first thing JXplorer does is try to read the
'subschemaSubentry' attribute from the root entry of the directory. 
 Usually
this resolves to be 'cn=schema', but if JX can't find a 
subschemaSubentry it
will then default to 'cn=schema' anyway, as this is sort of the defacto
standard. "

OpenLDAP has no "cn=schema".  Only "cn=Subschema".

"... However from what you've said below, your server looks like it is
using a schema root of 'cn=subSchema', which is perfectly valid, so long as
it is correctly advertising it in the 'subschemaSubentry' attribute of the
root entry? "

How do I do this?  That is, how can I tell if "cn=Subschema" is 
correctly advertised in "subschemaSubentry" attribute?  And, if it's 
not, how do I make it do it?

"Other possibilities are to try to change your schema entry from
cn=subschema to cn=schema, or if the subschemaSubentry attribute is set
correctly there may be a bug in JXplorer, in which case let me know and 
I'll
try to fix it... there were problems a few years ago in recognising the sub
schema sub entry... "

In OpenLDAP, "cn=schema" returns unknown object.  At this point, I don't 
know what to do.  I would imagine the solution is pretty standard since 
both OpenLDAP and JXplorer are farily well used.  If someone could 
either point me to it or tell me what I need to do, I'd really 
appreciate it.

Thanks!

-ron

Ron Parker wrote:

> Hi,
>
> I finally resolved my user login issue by utilizing access control 
> correctly.  However, now, when users log in, they don't have access to 
> the schema (nothing loaded when they click on Schema tab).
>
> In my slapd.conf access control, I have:
>
> access to dn="cn=Subschema" by * read
> access to dn.subtree="cn=Subschema" by * read
>
> I can access this Subschema as a user locally with this command:
>
> ldapsearch -H "ldap://example.com" -D 
> 'cn=Ron,ou=Zimbra,dc=example,dc=com' -x -W -b "cn=Subschema" -s base 
> "objectclass=Subschema"
>
> However, when I click on the "Schema" tab in JXplorer, I get nothing.  
> When I am logged in as rootdn, however, I get the schema.
>
> So, I guess my question is either:
> a) what is the search used for this Schema tab, or
> b) what do you recommend that I enter into my access control list to 
> allow my users to be able to read the server schema when logged into 
> JXplorer?
>
> Thanks!
>
> -ron
>

--

-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Douglas E. Engert | 18 Jul 21:45 2007

Re: Access to Schema


Ron Parker wrote:
> Still trying to resolve this. Been trying to research.  The closest I've 
> found to this issue is here:
> 
> http://www.nabble.com/Re%3A-JXplorer-Schema-access-tf2193548.html
> 
> "The first thing JXplorer does is try to read the
> 'subschemaSubentry' attribute from the root entry of the directory. 
>  Usually
> this resolves to be 'cn=schema', but if JX can't find a 
> subschemaSubentry it
> will then default to 'cn=schema' anyway, as this is sort of the defacto
> standard. "
> 
> OpenLDAP has no "cn=schema".  Only "cn=Subschema".
> 
> "... However from what you've said below, your server looks like it is
> using a schema root of 'cn=subSchema', which is perfectly valid, so long as
> it is correctly advertising it in the 'subschemaSubentry' attribute of the
> root entry? "
> 
> How do I do this?  That is, how can I tell if "cn=Subschema" is 
> correctly advertised in "subschemaSubentry" attribute?  And, if it's 
> not, how do I make it do it?
> 
> "Other possibilities are to try to change your schema entry from
> cn=subschema to cn=schema, or if the subschemaSubentry attribute is set
> correctly there may be a bug in JXplorer, in which case let me know and 
> I'll
> try to fix it... there were problems a few years ago in recognising the sub
> schema sub entry... "
> 
> In OpenLDAP, "cn=schema" returns unknown object.  At this point, I don't 
> know what to do.  I would imagine the solution is pretty standard since 
> both OpenLDAP and JXplorer are farily well used.  If someone could 
> either point me to it or tell me what I need to do, I'd really 
> appreciate it.

Try
ldapsearch -x  -s base -b "" "(objectclass=*)" +

This should list the rootDSE and it should have a
subschemaSubentry: cn=Subschema

Then try
ldapsearch -x -s base -b "cn=Subschema"  "(objectclass=*)" +

That should list the attributes.

Also make sure that the slapd.conf allows read access to the base

access to dn.base="" by * read

> 
> Thanks!
> 
> -ron
> 
> Ron Parker wrote:
> 
>> Hi,
>>
>> I finally resolved my user login issue by utilizing access control 
>> correctly.  However, now, when users log in, they don't have access to 
>> the schema (nothing loaded when they click on Schema tab).
>>
>> In my slapd.conf access control, I have:
>>
>> access to dn="cn=Subschema" by * read
>> access to dn.subtree="cn=Subschema" by * read
>>
>> I can access this Subschema as a user locally with this command:
>>
>> ldapsearch -H "ldap://example.com" -D 
>> 'cn=Ron,ou=Zimbra,dc=example,dc=com' -x -W -b "cn=Subschema" -s base 
>> "objectclass=Subschema"
>>
>> However, when I click on the "Schema" tab in JXplorer, I get nothing.  
>> When I am logged in as rootdn, however, I get the schema.
>>
>> So, I guess my question is either:
>> a) what is the search used for this Schema tab, or
>> b) what do you recommend that I enter into my access control list to 
>> allow my users to be able to read the server schema when logged into 
>> JXplorer?
>>
>> Thanks!
>>
>> -ron
>>
> 
> 

--

-- 

  Douglas E. Engert  <DEEngert <at> anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Ron Parker | 18 Jul 22:12 2007

Re: Access to Schema

Douglas E. Engert wrote:

> Try
> ldapsearch -x  -s base -b "" "(objectclass=*)" +
>
> This should list the rootDSE and it should have a
> subschemaSubentry: cn=Subschema
>
> Then try
> ldapsearch -x -s base -b "cn=Subschema"  "(objectclass=*)" +
>
> That should list the attributes.
>
> Also make sure that the slapd.conf allows read access to the base
>
> access to dn.base="" by * read
>
This solved all my problems.  Thank you so very much!

-ron

--

-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Chris Betts | 26 Jul 14:57 2007

Re: Losing connection loading db

Hi Vinod,

   I'd say your ldap connection was dropping out and that you had a networking problem of some sort?  I don't think this is anything to do with the client...

   - Chris

On 25/07/2007, at 9:58 PM, Roy, Vinod wrote:

Hi Chris,

 

My problem is as follows I think you can suggest with a solution

 

I am running 2 LDAP’s one being primary and the other secondary (it’s like a switch if one is down the other will be up)

In the initial case the say when primary is up and the secondary is down the messages are passing and when I change to primary down and secondary up it was throwing the following exception.

 

I am using the java version - 1.4.1.02

 

WARN 2007.07.16 14:59:12.388 com.logica.omg.application.ThreadPool$TaskRunnable doRun THREAD_WARN Thread LDAPService.ldapQueue-ThreadPool-99 caught exception java.lang.NullPointerException: (null) java.lang.NullPointerException, null

com.sun.jndi.ldap.LdapCtx.getSearchReply(LdapCtx.java:1827)

com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:110)

com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:197)

com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:170)

com.logica.omg.dbfilternode.LdapContextMap.parseNamingEnumeration(LdapContextMap.java:141)

com.logica.omg.dbfilternode.LdapContextMap.doLookup(LdapContextMap.java:235)

com.logica.omg.dbfilternode.LdapLookupExtractor.onRequest(LdapLookupExtractor.java:115)

com.logica.omg.dbfilternode.DbFilterNode.onRequest(DbFilterNode.java:203)

 

 

Best regards
Vinod Roy

IT Consultant
____________________________
LogicaCMG - Releasing your potential
Divyasree Technopolis
124 - 125 Yemlur Main Road,
Off Airport Road
Yemlur P.O
Bangalore 560 037
India
Tel: +91 80 41940000
M: +91 98455 63923 
Fax: +91 80 41943666
E :
vinod.roy <at> logicacmg.com
<<http://www.logicacmg.com/>>

 



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users

Gmane