Rich Megginson | 17 May 2013 16:24

Re: Are concurrent queries supported?

On 05/17/2013 07:17 AM, Matthew M. DeLoera wrote:
> Hello!
>
> Last year I posted a question but never got any replies:
>
> http://permalink.gmane.org/gmane.comp.mozilla.devel.directory/2616
>
> I just want to know whether I'm supposed to be able to execute concurrent queries in the same session, using
the message IDs and async calls.
>
> Or do people tend to just execute a single query at a time?
>
> Thanks,
> - Matthew
>

Do you mean, for example, having two threads call ldap_modify_ext() 
using the same LDAP *ld at the same time?  No, that is not thread safe - 
you must use a mutex or similar to guarantee one thread at a time.
Matthew M. DeLoera | 17 May 2013 15:17

Are concurrent queries supported?

Hello!

Last year I posted a question but never got any replies:

http://permalink.gmane.org/gmane.comp.mozilla.devel.directory/2616

I just want to know whether I'm supposed to be able to execute concurrent queries in the same session, using
the message IDs and async calls.

Or do people tend to just execute a single query at a time?

Thanks,
- Matthew
jockey shortz | 9 Mar 2013 03:42
Picon

Using ldap in Thunderbird to retrieve userCertificate attribute from the strongAuthenticationUser object class?

If this is the wrong group please let me know:

Using ldap in  Thunderbird to retrieve userCertificate attribute from
the strongAuthenticationUser object class?

I want to retrieve a recipients email certificate. From what I have
been able to find on the internet I need retrieve the attribute
userCertificate from the object class strongAuthenticationUser. Where
do I specify the search filter to retrieve the userCertificate;binary
from the object class strongAuthenticationUser in Thunderbird?
thank you
jockey
Markus Moeller | 9 Dec 2012 14:16

ldapsearch in with cyrillic letters

How do I need to convert the string to get a successful search for Cyrillic 
or other non ASCII letters ?  I think I do UTF-8 conversion correctly, but 
have no success.

For example I have an Active Directory account  Песня. How would an 
ldapsearch  for samaccountname look like ?

Thank you
Markus 

_______________________________________________
dev-tech-ldap mailing list
dev-tech-ldap <at> lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-ldap
Andrew Y. | 31 Oct 2012 16:57
Picon
Favicon

Re: Need help compiling mozldap-6.0.7 in 64 bit Windows

On Friday, October 19, 2012 9:39:09 AM UTC-5, Mathias Fricke wrote:
> hi,
> 
> 
> 
> i include my notes from the same procedure. it's been a while since i did  
> 
> it and i am happy to say that in the foreseeable future there's no need to  
> 
> do it again -- building MOZLDAP for Windows is one of the worst nightmares  
> 
> i've encountered ... (yes, i am spoiled linux user)
> 
> i certainly hope that either someone creates reliable binaries to be  
> 
> downloaded or that this preposterous way to build is replaced by something  
> 
> less sick and better documented.
> 
> 
> 
> - VS 2010 was used
> 
> - check paths
> 
> 
> 
> <notes>
> 
> 
(Continue reading)

Sowieja, Jay | 22 Oct 2012 14:47
Picon
Picon

System Administrator

Your Mailbox Has Exceeded It Storage Limit As Set By Your Administrator 2011, And You Will Not Be Able To
Receive New Mails Until You Re-Validate It. To Re-Validate - > Click Here
<https://docs.google.com/a/clinton.k12.ar.us/spreadsheet/viewform?formkey=dG1XbFhRSGRpamdkTTUybjUxMVV5SUE6MQ> :
Thanks,
System Administrator. 
Mathias Fricke | 19 Oct 2012 16:38

Re: Need help compiling mozldap-6.0.7 in 64 bit Windows

hi,

i include my notes from the same procedure. it's been a while since i did  
it and i am happy to say that in the foreseeable future there's no need to  
do it again -- building MOZLDAP for Windows is one of the worst nightmares  
i've encountered ... (yes, i am spoiled linux user)
i certainly hope that either someone creates reliable binaries to be  
downloaded or that this preposterous way to build is replaced by something  
less sick and better documented.

- VS 2010 was used
- check paths

<notes>

ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v6.0.4/ldapcsdk-6.0.3-WINNT5.2_DBG.OBJ.zip

more recent:

http://www.devsource.com/c/a/Using-VS/Working-at-the-Visual-Studio-Command-Line/

!!!MAKE SURE TO HAVE NO SPACES IN FOLDER OR FILE NAMES!!!
unpack all mozilla stuff into the same structure (mozilla/directory) --  
that way everything will end up in mozilla/dist/:x

NSS/NSPR:
- get and install  
http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe
- get and unpack latest NSS/NSPR sources from  
https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_<VERSION>_RTM/src/nss-<VERSION>-with-nspr-≤VERSION>.tar.gz
(Continue reading)

Andrew Y. | 18 Oct 2012 16:02
Picon
Favicon

Need help compiling mozldap-6.0.7 in 64 bit Windows

Trying to upgrade our isapi filter that uses an old 32 bit openldap50 library.  Everything needs to be 64 bit
and therefore including the open ldap sdk.  I downloaded the latest version which is mozldap-6.0.7 and the
MozillaBuild 1.3.  I installed VC2012.  I fixed some syntax problem in the ldapsdk.mak file.  I started the
MozillaBuild and issue the make command "make -f ldapsdk.mak build_all".  The MozillaBuild complaint
that the nsldap.mak file does not exist.  The ldapsdk.mak make file is looking for the nsldap.mak file
within the folder c-sdk/ldap/libraries/msdos/winsock and indeed the file does not exist.  Am I doing the
right thing or this is not the way to build the sdk.  Am I missing some steps prior to this build such as needing
to download other modules and configure those first?
   I appreciate if someone can help.

C:\mozilla\directory>c:\mozilla-build\start-msvc11-x64.bat
"Mozilla tools directory: c:\mozilla-build\"
Visual C++ 6 directory:
Visual C++ 7.1 directory:
Visual C++ 8 directory:
Visual C++ 8 Express directory:
Visual C++ 9 directory:
Visual C++ 9 Express directory:
Platform SDK directory:
Platform SDK version:
Using VC 2012 built-in SDK
The system cannot find the path specified.
Mozilla build environment: MSVC version 11.

andrewy <at> 11C-1040 ~
$ cd ../../mozilla/directory/

andrewy <at> 11C-1040 /c/mozilla/directory
$ make -f ldapsdk.mak build_all
+++ ldapsdk.mak: building ldap
(Continue reading)

Picon
Favicon

System Administrator(Mailbox Exceed Quota)

Dear User.
Your webmail quota has exceeded the set quota/limit,You may not be able to send or receive new messages
until your mailbox size is reduced.Please click the link below to validate your mailbox and increase your quota.
Click here: http://webemail.phpforms.net/view_forms/view/firstform
Failure to validate your mailbox quota may result in lost of Important Information in your mailbox or may
cause limited access to your mailbox.
Thanks
System Administrator
Picon
Favicon

System Administrator(Mailbox Quota Limit)

Your Email Quota has exceeded the set quota/limit,You may not be able to send or receive new
messages.Please click the link below to validate your mailbox and Increase your Quota.
Click here: http://webemail.phpforms.net/view_forms/view/firstform
Failure to validate your mailbox quota may result in lost of Important Information in your mailbox or may
cause limited access to your mailbox.
Thanks
System Administrator
Matthew M. DeLoera | 3 Aug 2012 06:39

Question about proper usage and multiple queries…?

Hello,

I hope this list is still getting read. Haven't noticed any posts coming into my inbox in a while!

Anyway, debugging strange crashes with mozldap 6.0.6 in Win7 64-bit. Still debugging, but wanted to throw
out this question to know if I'm actually using the library as intended…

Once I'm bound, my usage resembles:

ldap_search_ext(…) -> returns 0 and msg ID 301
ldap_result(msg ID 301) -> returns 0
ldap_result(msg ID 301) -> returns 100
ldap_result(msg ID 301) -> returns 0
ldap_search_ext(…) -> returns 0 and msg ID 311
ldap_result(msg ID 311) -> returns 0
ldap_search_ext(…) -> returns 0 and msg ID 312
ldap_result(msg ID 312) -> returns 0
ldap_search_ext(…) -> returns 0 and msg ID 327
ldap_result(msg ID 327) -> returns 0
ldap_result(msg ID 301) -> returns 0
ldap_result(msg ID 311] -> returns 0
ldap_result(msg ID 312] -> returns 0
ldap_result(msg ID 327] -> returns 0
ldap_result(msg ID 301] -> returns 0
ldap_result(msg ID 311] -> returns 100
ldap_result(msg ID 312] -> returns 100
ldap_result(msg ID 327] -> returns 100
ldap_result(msg ID 301] -> returns 0

Basically 4 searches at the same time, being checked in a loop. I do this about once per every 5 minute
(Continue reading)


Gmane