Menu

Problem running LDAPAdmin on Linux w/ WINE

2006-09-29
2017-04-02
  • Nobody/Anonymous

    Hi,

    This is my first post to this forum. I have to admit that LDAPAdmin is a great tool! Thx! I use both OpenLDAP and Sun Directory server.

    After following the suggestions of running LDAPAdmin on Linux using WINE, I decided to give it a shot. LDAPAdmin starts up fine but whenever connecting to the server I got "LDAP error: Local Error". I checked the shell where WINE is running and see these errors:

    fixme:wldap32:ldap_set_optionA Unsupported option: 0x81
    fixme:wldap32:ldap_set_optionA Unsupported option: 0x33
    .
    .

    Any suggestions? I am using wine 0.9.21, FC5 and LdapAdmin 0.9.9.0

    Thx in advance!

    LF

     
    • Tihomir Karlovic

      Hi,

      those options are related to extended certificate and error reporting and are actually not critical for the functionality. I don't know if there is something you can do about it regarding wine, but LdapAdmin can be tuned here too (it is really not neccessary to deny connecting in case of this particular error). Anyway, new release is about to come next week and I'll see to adress this issue in it.

      Cheers,
      Tihomir

       
    • Nobody/Anonymous

      I'm having the same wine error messages under Ubuntu 6.06. And additionaly, this message from the ldapadmin application itself:

      LDAP error: Operation not supported by this version of the LDAP protocol. And the same happens with/without SSL, and even with the anonimous connection test.

      Thanks,

      Pablo

       
      • Brian Snipes

        Brian Snipes - 2006-10-03

        I just downloaded the 0.9.9 release and using 'ies4linux' with IE6 installed it works for me connecting to an OpenLDAP server with SSL enabled. What I get on the console is:

        [bsnipes@galileo bin]$ WINEPREFIX="/home/bsnipes/.ies4linux/ie6" wine "/home/bsnipes/bin/LdapAdmin.exe"
        fixme:vxd:VXD_Open Unknown/unsupported VxD L"secprov.vxd". Try setting Windows version to 'nt40' or 'win31'.
        fixme:userenv:LoadUserProfileA 0xd4 0x34f42c

        But I can make the connection just fine. My current WINE version is:
        [bsnipes@galileo bin]$ rpm -q wine
        wine-0.9.21-1.fc5

        Perhaps trying ies4linux would help.

        Brian

         
    • Nobody/Anonymous

      So did I under Ubuntu but no luck. I set:

      export WINEPREFIX="/home/pchamorro/.ies4linux/ie6"

      but this appears:

      LDAP error: inactive server!

      Thanks,

      Pablo

       
      • Tihomir Karlovic

        Did you try new version (0.9.9.1)? I've changed some things there, it may work now. At least without SSL it should.

        Tihomir

         
      • Brian Snipes

        Brian Snipes - 2006-10-10

        Which version of ies4linux and Wine are you using? I'll download Ubuntu and try it to see if it works for me and let you know.

        Brian

         
    • Nobody/Anonymous

      It works! I realized that it was a 'DNS problem'. Using IP addresses it works, but using full hostnames not, even I created the file: .ies4linux/ie6/drive_c/windows/system32/drivers/etc/hosts
      including a line like this:

      172.25.x.x myserver.mydomain.com

      but It didn't worked. Anyway with IP addresses it works. :)

      Thank you, :)

      Pablo

       
    • Jarbas Peixoto Junior

      Hi Tihomir,

      Congratulations for the beautiful work.

      I have Ubuntu 6,10 installed with wine (0.9.29-0ubuntu1~edgy1) and when I pressure the button “Test Conection” I function, but when I pressure “OK” appear the following messages:

      Extreme Exception 80000101.

      In the console I have:

      $ wine Desktop/LdapAdmin.exe
      err:x11drv:X11DRV_CreateWindow invalid window height -4
      fixme:wldap32:ldap_search_init_pageA (0x7c180658, "dc=previdencia", 0x00000001, "(objectclass=*)", 0x556310, 0x00000000)
      /build/buildd/openldap2-2.1.30/libraries/liblber/io.c:161: ber_free_buf: Afirmação `((ber)->ber_opts.lbo_valid==0x2)' falhou.
      ==================

      Some idea of what it can be?

       
      • Tihomir Karlovic

        Hi,

        unfortunantly I know nothing of wine since I've never used it. Looking at the error message I'm not sure what the error is, invalid window height or a call to ldap_search_init_pageA! If it has something to do with window height then you can check the registry (or whatever wine uses) for DWORD entries MwLTWidth and MwVSplit in HKEY_CURRENT_USER\Software\LdapAdmin\Config and set them to some positive values (100 or so). Those will determine size of the left tree broser window and position of vertical splitter in the right window respectively and should never have negative values.

        Hope this can help!

        Cheers,
        Tihomir

         
        • Jarbas Peixoto Junior

          Hi,

          Debtor for the information on the HKEY_CURRENT_USER/…, but I made the alterations suggested for you and they had not functioned. Perhaps either really some limitation of the current WINE.

          I will wait by new WINE version and test again.

          Tanks,
          Jarbas

           
        • Yvan JANET

          Yvan JANET - 2007-02-01

          Hi.

          I just think this may be a Wine problem. Since all windows libraries have not been ported to wine, there may be some currently unavailable stuff, and I think you have just fallen onto one of them.

          Cheers,
          Yvan

           
  • Anonymous

    Anonymous - 2017-03-30

    I get a similar error "Access violation at address 7E265A96 in module 'Wldap32.dll'. Read of address 0000000."
    Please note that the library wldap32 is already ported to wine since years.
    Wine versions 1.8.6. 1.9.24. 2.1. 2.2 or 2.4

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.