HELP: Can not connect LDAP server with 64bit ldap csdk5.08 on Solaris10

We are using 64bit ldap csdk5.08 on SunOS5.10. But it doesn't work.
We wrote a simple client program that connects using ldap_simple_bind_s() function. When I run the code it gives an error saying 'Can't connect to the LDAP server - Connection refused' .
At the same time using snoop to capture network packages on the ldap server , it shows no package received at all.
But if we use 32bit ldap library, the program works well and no error is raised.
And the 64bit ldap tool ldapsearch also works well, it can search data from the server successfully.
The sample code:
==================================================
#include <ldap.h>
#include <stdio.h>
int
main( int argc, char **argv )
     LDAP *ld;
     int rc;
     /* Get a handle to an LDAP connection. */
     if ( (ld = ldap_init( "150.236.42.53", 38902)) == NULL )
          perror( "ldap_init" );
          return( 1 );
     /* Bind anonymously to the LDAP server. */
     rc = ldap_simple_bind_s( ld, NULL, NULL );
     if ( rc != LDAP_SUCCESS )
          ldap_perror(ld, "ldap_simple_bind_s:");
     return( 1 );
}

This looks like a mismatch between C-sdk libraries and Solaris native libraries.
Are you sure your program loads the correct libraries ?
Ludovic.

Similar Messages

  • HT4864 I just updated my iphone to the new version and it won't let me connect to ICloud- it says can not connect to server. HELP!

    I just updated my iphone to the new version. I keep getting a msg stating ICloud can not connect to server. I have turned off the phone several time- no luck. Help!!

    You are very welcome! I'm glad it worked for you!

  • I downloaded Lion OSX and at the end I received a notice that Safari can not connect to Server. All internet connections work including Safari on other user on same computer. I downloaded 13items and installed only 12. What do I do now ?

    I dowloaded Lion OSX and installed. I downloaded 13 iitems and installed only 12. At the end of the insta;;ation I received a notice thst Safart can not connect to Server. Safari does not work on user where installation was made. It work on other user. All internet connections work including google. If I go into Safari the blue line goes up to end of "http" on adress and freezes. Where do I go from here.:::???

    Hi There Linc Davis,
    Wow, you are the best.
    Yip this is what the website looks like. Great job Linc Davis.
    Not surprised that the "Shop" tab is missing. Darn.
    Well can you try to access it's "sister" website: astralmusic.com and astralmusicshop.com?
    Since you are awesome with the "Flash" can you investigate if this website has a issue withis this "Flash" too?
    Please Linc Davis

  • Iphone 3 and 4 can not connect to server

    We have been syncing e-mail to IPhone for 2 + years, Last night we stopped getting mail on our Iphones and other smart phones.
    Using Exchange 2003 server.
    Rebooted twice today - not seeing any sync errors in event log
    Deleted my account, hard boot of  IPhone and recreated account - still getting error “ can not connect to server” in mail
    What is strange it is only mail – I can move an appointment and it updates my outlook calendar
    Any suggestions much appreciated!

    This resolve my problems
    With that error noted, a search brought me to a solution:
    http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017
    Set the following registry key to ’1′:
    HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
    and set the following registry key to ’3′:
    HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
    Explanation of what the reg keys do: http://www.decuslib.com/decus/vmslt99a/nt/tips.txt (scroll to bottom)
    Thanks to Alan LaMielle and Mark Russinovich.

  • I am trying to turn on iCloud, I get a message "can not connect to server". How do I connect to server?

    I can't get iCloud to turn on. When I try to start it I gat a message "can not connect to server". How do I start the cloud?

    So what model and year is your machine?
    Here are the requirements for ML:
    http://www.apple.com/osx/specs/

  • I HAVE THE NEW VERSION OF FIREFOX. I LOVE TO PLAY THE POGO GAMES , I CAN NOT CONNECT TO SERVER. A MESSAGE WOULD APPEAR SAYING LOST CONNECTION. WHAT IS THE PROBLEM?

    I CAN GET INTO THE POGO WEB SITE, BUT CAN NOT LOAD THE GAMES. THE GAME WILL CLOSE AND A MESSAGE WILL APPEAR CAN NOT CONNECT TO SERVER. IT GIVE YOU OTHER OPTIONS, COULD BE BEHIND PROXY OR FIREWALL., MAY BE TO BUSY, PLEASE TRY AGAIN. NONE OF THEM SEEM TO BE THE PROBLEM.HELPPPPPPPPPPPPP

    Which "new version"? Websites think you are using Firefox 3.0.19, which is no longer supported. Maybe your User Agent is "stuck" on that old version?
    http://en.wikipedia.org/wiki/User_Agent
    type '''about:config''' in the URL bar and hit Enter <br />
    ''If you see the warning, you can confirm that you want to access that page.'' <br />
    Filter = '''general.useragent.''' <br />
    Right-click the preferences that are '''bold''', one line at a time, and select '''''Reset'''''. <br />
    Then restart Firefox

  • I am trying to update my iphone 4 icloud but I keep getting can not connect to server when I click on the terms and conditions

    I am trying to update my iphone 4 icloud but I keep getting can not connect to server when I click on the terms and conditions

    " iTunes could not contact the iPhone software update server because you are not connected to the internet.  Make sure your internet connention is active and try again."

  • Message can not connect to server

    Suddenly my Ipad air says it can not connect to server.  It is connected, I have all the bars but it will not load mail, safari, facebook, etc.  My Iphone works fine

    Hello jerri.dobbs,
    Thanks for using Apple Support Communities.
    To troubleshoot Wi-Fi connectivity on your iPad please follow the steps in the article linked to below.
    iOS: Troubleshooting Wi-Fi networks and connections - Apple Support
    Cheers,
    Alex H.

  • In e mail can not connect to server i fill out the info and get this

    when i try to get e mail i get "you can configure e mail in just a few steps" when i follow the directions i get"can not connect to server"? thanks

    On another note Im just checking the external and internal web server names on my server just to be sure that its not an internal server issue - here is the weblink I have been going through - I will test and let you know .
    Mac Mail is set to auto discover the settings http://premnair.wordpress.com/2010/07/03/configure-ews-autodiscover-owa-oab-ecp- on-exchange-server-2010/

  • Why I can not connect RTP server

    Hi all,
    Here I encounter a problem that I can not connect RTP server as below address:
    rtsp://159.226.42.36/mp3
    I can play the address link using realone or MS media player on internet although it's little long time to connect the server..
    I'm just wonder why the address style in examples is not as above,but as below:
    rtp://159.226.42.36:554/1
    How can I play the link as rtsp://159.226.42.36/mp3 or rtsp://159.226.42.36/mp3/looks.mp3 sth. like that?
    Thanks!

    BTW, the code is below:
    private void startRTPPlayer(String session) {
              try {
                   player = JMFEngine.getInstance().createRTPMediaPlayer(
                             new RTPConnectionInfo(session), null);
                   statelabel.setText("Opening " + session);
                   player.addControllerListener(new RTPControllerUpdate());
                   RTPManager mgrs = (RTPManager) RTPManager.newInstance();
                   player.realize();
              } catch (IllegalArgumentException e) {
                   logger.warn(e);
                   statelabel.setText(e.getMessage());
                   return;
              } catch (MalformedURLException e) {
                   logger.warn("The media resource location is not available");
                   statelabel.setText("The media resource location is not available");
                   return;
              } catch (IOException e) {
                   logger
                             .warn("The resource can not be opened or connected currently");
                   statelabel
                             .setText("The resource can not be opened or connected currently");
                   return;
              } catch (NoPlayerException ex) {
                   logger.error("No available player", ex);
                   statelabel.setText("Can not play the resource");
                   return;
    class RTPControllerUpdate implements ControllerListener {
              public void controllerUpdate(ControllerEvent ce) {
                   // Get this when the internal players are realized.
                   if (ce instanceof RealizeCompleteEvent) {
                        player.start();
                   if (ce instanceof ControllerErrorEvent) {
                        player.close();
                        logger.error(((ControllerErrorEvent) ce).getMessage());
         }

  • Can not connect to ftp with mountain lion

    Hallo everybody,
    i have a problem with my ftp-client, i use cyberduck, i can not connect to any ftp-server...
    evertime i get this message:
    USER user_xyz
    331 User user_xyz OK. Password required
    PASS **********
    530 Login authentication failed
    this will only happen when i try it with mountain lion 10.8.2
    with snow leopard and lion everything works fine and i can connect to the ftp-server.
    i try to take another ftp-client but its the same... i try filezilla and transmit.
    can anybody help me with this problem?

    In your Network System Preferences, under Advanced, Proxies tab, is Passive mode selected? If it is, try toggling it off then on (or try it with it off).
    Also, have you contacted the Cyberduck people to ask if they know about a problem?
    Have you tried connecting from Terminal?

  • GL can not connect to server

    OS 10.6.8, GoLive CS2 v 8.0.1
    For my web creation I use Adobe GoLive. I seldom use it.
    I need to upload a new page but when trying to connect I get the following message:
    Cannot connect to server: ftp://www.davidgraphics.com/public_html/
    Reason: Can not connect to FTP. (530: Login incorrect.)
    I have no idea what might have been changed since I last uploaded anything. Can anyone help me get past this error?
    Regarding GL. Is there a way to override the existing Publish Server settings and create new ones?
    Cheers
    David Heidelberger
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    [If you are posting using email, please turn your 'sig file' function OFF for posting]

    I restarted and it fixed the problem.

  • Parental Controls - Browsers can not connect to server.

    Hi,
    When using a Parental controlled account, the user can not connect to any server when using a web browser. Tried repairing permissions, safe mode, root admin an created new parental controlled account and same results. Tried converting account to standard account and browsers will connect, but when account is converted back to parental controlled the problem returns.
    Is there a way to delete the parental controls preference file and where is it located?
    Using an iMac iSight 10.5.5
    Any help is greatly appreciated.
    Tsofa

    You want to post in the Leopard 10.5 forum area:
    http://discussions.apple.com/category.jspa?categoryID=235
    This is the Tiger 10.4 forum.

  • Safari can't connect to server with parental controls on

    I have one user with admin rights and one user plus guest with parental controls turned on. Recently when parental controls are turned on, I get 'safari can't connect to server' error. When I turn parental controls off again I can connect to the internet again. Why is this?

    Hi and welcome....
    Unfortunately, Parental Controls can only be enabled on a non admin account.
    See if there's a proxy set up for Safari. From the Safari menu bar click Safari / Preferences then select the Advanced tab. Click "Change Settings" next to: Proxies.
    That will launch System Preferences / Network - Proxies.
    If there are any boxes checked under: Select a protocol to configure, deselect the box then click Ok.
    Quit Safari (Command + Q) then relaunch Safari.
    See if Safari can connect in a parental controlled user account.
    Carolyn

  • Client can not connect to Server installed window server 2008 and using 8.8

    HI all!
    I have a problem when Client  log in to server that installed window server 2008.It can not connect to this server even when restart and key in IP or Server name,...
    I try disable Firewall of window 2008 in server machine and client can connect to server. But when i disable firewall, it's mean  i can not use Remote desktop or terminal service..
    Now, how i can do in order to solve this problem.
    Thanks!

    Hi,
    Take a look at the admin guide (Page 75, 119, 159):
    [http://service.sap.com/~sapidb/011000358700000150922010E.zip]
    If you installed a firewall on the license service computer, make sure that the firewall is not set to port 30000; otherwise, the license service cannot work.
    If you are using Port X, make sure that you open Port X and Port (X+1) in the firewall. For example, if you are using port 10000, make sure to also open port 10001.
    The default communication port is 1143.
    The default port of the SAP Business One license server is 30000 for license communication and 30001 for the license naming service

Maybe you are looking for

  • Lumia 1520 Reboots

    Hi, i just got my second lumia 1520.. Both of them reboots (restarts) at random times, most often when i am on my way to school with the train. (happens at home, in school and so on also, just not that often)  are more people having this problem?   t

  • Copy-paste values from excel sheet into variable screen of SAP BI 7.0 query

    Hello Report has selection by material in the variable screen. Users would like to to run a report for a set of materials (100+ items). He wants to copy-paste materials into material variable to avoid manual entry. I know its impossible. Are thee any

  • Watching my Blueray/DVD movies on my iPad Air

    I want to watch my Blueray/DVD movies on my iPad Air. I have a PC with a Blueray optical drive. How do I do that?

  • Using Jco calls from the message mapping

    can any body tell me how can we use JCO call in a message mapping if posssible with an example thanks and regards sandeep

  • Email Attachment Size Etiquette

    I'm looking for opinions on what is the biggest "polite" email attachment size. By this I mean.. how big of a file can you send without calling them to make sure they aren't out of the country for a week because your huge attachment will fill their m