run test suite separately from the source code compilation?

2013-06-06 Thread Meike Stone
Hello, is it possible and how, to run the complete test suite included in the source tarball later, after installing the openldap rpm/deb package independently and separated from the compilation? Thanks Meike

Unable to bind sample program to LDAP server via SSL (ldaps://)

2013-06-06 Thread Ashwin Kumar
I have a sample program here that is trying to connect to LDAP server on the secured port (ldaps://) However, the sample program is not able to bind to the server. #define LDAP_DEPRECATED 1 #include stdio.h #include ldap.h #define HOSTNAME 192.168.1.51 #define PORTNUMBER 10389 #define BIND_DN

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Howard Chu
Far a wrote: As part of Solaris to Linux migration, I am planning to migrate my application that uses SUN one C SDK to openldap C sdk (Linux). I have various questions that I need to address at the beginning. I am hoping I can get some help over here. The questions are as follows * Can client

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Howard Chu
Meike Stone wrote: Hello, is it possible and how, to run the complete test suite included in the source tarball later, after installing the openldap rpm/deb package independently and separated from the compilation? We can't answer this since there is no the openldap rpm/deb package. The

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Meike Stone
2013/6/6 Howard Chu h...@symas.com: Meike Stone wrote: Hello, is it possible and how, to run the complete test suite included in the source tarball later, after installing the openldap rpm/deb package independently and separated from the compilation? We can't answer this since there is

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Hallvard Breien Furuseth
Meike Stone writes: is it possible and how, to run the complete test suite included in the source tarball later, after installing the openldap rpm/deb package independently and separated from the compilation? No. tests/progs/ in the test suite uses libraries and generated include files which

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Howard Chu
Probably worth pointing out - Solaris 11 now bundles OpenLDAP by default. If there were any issues in migrating, the OpenSolaris guys must have already encountered them and they can surely provide you answers. Howard Chu wrote: Far a wrote: As part of Solaris to Linux migration, I am

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Meike Stone
Hello, thanks for answer, that a great pity! Meike 2013/6/6 Hallvard Breien Furuseth h.b.furus...@usit.uio.no: Meike Stone writes: is it possible and how, to run the complete test suite included in the source tarball later, after installing the openldap rpm/deb package independently and

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Howard Chu
Clément OUDOT wrote: 2013/6/6 Howard Chu h...@symas.com: Far a wrote: * Is there a list of dos and don'ts and list of possible issues for migrating from SUN one LDAP TO openldap on Linux I haven't seen any such list. Hi, you can find some notes here:

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Pierangelo Masarati
On 06/06/2013 03:58 PM, Meike Stone wrote: Hello, thanks for answer, that a great pity! If your purpose is to test the distribution's builds, you can surely download the corresponding OpenLDAP source code, build it, replace slapd and slap* tools in BUILDDIR/servers/slapd with those provided

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Howard Chu
Meike Stone wrote: Hello, thanks for answer, that a great pity! Meike 2013/6/6 Hallvard Breien Furuseth h.b.furus...@usit.uio.no: Meike Stone writes: is it possible and how, to run the complete test suite included in the source tarball later, after installing the openldap rpm/deb package

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Meike Stone
If your purpose is to test the distribution's builds, Yes, that's is my intention. you can surely download the corresponding OpenLDAP source code, build it, replace slapd and slap* tools in BUILDDIR/servers/slapd with those provided by the distribution, and run the tests using make test or

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Howard Chu
Meike Stone wrote: If your purpose is to test the distribution's builds, Yes, that's is my intention. you can surely download the corresponding OpenLDAP source code, build it, replace slapd and slap* tools in BUILDDIR/servers/slapd with those provided by the distribution, and run the tests

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Doug Leavitt
On 06/06/13 09:51, Howard Chu wrote: Clément OUDOT wrote: 2013/6/6 Howard Chu h...@symas.com: Far a wrote: * Is there a list of dos and don'ts and list of possible issues for migrating from SUN one LDAP TO openldap on Linux I haven't seen any such list. Hi, you can find

Re: run test suite separately from the source code compilation?

2013-06-06 Thread Pierangelo Masarati
On 06/06/2013 06:02 PM, Howard Chu wrote: Meike Stone wrote: If your purpose is to test the distribution's builds, Yes, that's is my intention. you can surely download the corresponding OpenLDAP source code, build it, replace slapd and slap* tools in BUILDDIR/servers/slapd with those

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Far a
Thank you Doug   This is great instruction for migrating the c code. One main question that remains.  does the LDAP server needs to be migrated in the same time as client. Or,  can I have the client using OPENLDAP c SDK, while the LDAP server itself remain on Sun Solaris.   This party because I

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Howard Chu
Doug Leavitt wrote: On 06/06/13 09:51, Howard Chu wrote: Clément OUDOT wrote: 2013/6/6 Howard Chu h...@symas.com: Far a wrote: * Is there a list of dos and don'ts and list of possible issues for migrating from SUN one LDAP TO openldap on Linux I haven't seen any such

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Howard Chu
Doug Leavitt wrote: Finally, Solaris direct linking should protect the third party application in the event that dynamically loaded Solaris library dynamically loads one of the two libldaps for it's needs. In this event even if both libraries are loaded into the application, the Solaris library

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Aaron Richton
On Thu, 6 Jun 2013, Howard Chu wrote: Doug Leavitt wrote: Finally, Solaris direct linking should protect the third party application in the event that dynamically loaded Solaris library dynamically loads one of the two libldaps for it's needs. In this event even if both libraries are loaded

Re: migrating from SUN one C SDK to openldap C sdk (Linux).

2013-06-06 Thread Howard Chu
Aaron Richton wrote: On Thu, 6 Jun 2013, Howard Chu wrote: Doug Leavitt wrote: Finally, Solaris direct linking should protect the third party application in the event that dynamically loaded Solaris library dynamically loads one of the two libldaps for it's needs. In this event even if both