clement | 16 Oct 16:38 2013
Picon

Re: LDAP_SUCCES on ldap_search_ext when host is unreachable

Thanks for information. Effectivily, i see that is the tcp stack who accept or not packet. If host is
unreachable, my program wait a response, but, if the server ldap isn't start, tcp receive a TCP_RST and the
ldap_search_ext is LDAP_DOWN.

However, i don't know if is a problem or not, but i have make a simple test.
If i initialize and i make a search directly, my program wait some minutes befor ldap return a LDAP_DOWN.
On the other side, if i initialize, make a bind on host UP and apply an iptables to  make host down. When i make a
ldap_search_ext(), i have a LDAP_SUCCESS. the SDK ldap consider that the host is connected and don't make
a bind request. 

With your information, i have call ldap_result() and with good timeout, i can see if host answer and can make
a request on my second ldap server. But, an another problem become. I make a ldap_search_ext() for
asynchronous mode because i have a thread who send request and a thread who receive result, so on one
situation (when the search as not result), the result is delete by ldap_result() and my receiuve thread
don't have the result.

Thanks
Clement
Clement | 7 Oct 12:06 2013
Picon

LDAP_SUCCES on ldap_search_ext when host is unreachable

Hello,

I work on switch over ldap server and i have a problem when the host is unreachable. For information, I use old
versions (ldap sdk 5.1.5) but i have the same problem with ldap sdk 6.0.7.

My test is simple, i create a rules IPTABLES to drop packets to first ldap server and i request the server with
ldap_search_ext. This function return LDAP_SUCCESS while the server is unreachable.
On an other test, i stop ldap service and ldap_search_ext return 81 or ldap_can't contact ldap serveur.

So, my server don't execute second search on the second server.

For information, my programme test connection on start and create handle on first server who's connect.
every 3000 ms, i bind my two server to verify if is always up.

Thanks,
Clement
Markus Moeller | 7 Aug 21:32 2013

Case insensitive search

Hi,

I have a server with an rfc2307bis schema and would like to search for users
being member of a group, but the uid  might be accidentally put in upper or
lower case or a combination.  An ldapsearch of uid is case insensitive, but
when I look for memberuid it is case sensitive. How can I created an
ldapsearch which is case insensitive ? I tried:

# filter: (&(memberuid:caseIgnoreMatch:=user)(cn=groupa))
# requesting: ALL
#
# search result

search: 2
result: 12 Critical extension is unavailable
text: Bad search filter

but it fails.

What can I do ?

Thank you
Markus

Re: מדוע בישראל לא מרוויחים

 

 

שלום. בהמשך לחשיפת מחקרנו בערוץ 10 – 

94 אחוז מהעסקים בישראל לא מרוויחים מספיק

 

במהלך 13 השנים האחרונות, לאחר שבחנו מעל 12 אלף עסקים מכל
הסוגים בישראל
ובארצות-הברית, גילינו שעסקים רבים בישראל יכולים היו
לעמוד על רווחים כספיים
גבוהים בהרבה, אם לא מספר טעויות שנעשות על ידם.

 

בחג האחרון הוקצו מספר מושבים חינם לסדנא מתנה לבעלי
העסקים בישראל, בה יפורטו
כל הטעויות שבגללן רוב בתי העסק בישראל לא מרוויחים מספיק.

 

המרצה הוא מחבר רב המכר "האם שווה להיות עצמאי?", יועץ
בינלאומי בעל ניסיון
עצום בהגדלת רווחים של עסקים תוך זמן קצר.

 

(Continue reading)

Rich Megginson | 17 May 16:24 2013

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 15:17 2013

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 03:42 2013
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 14:16 2012

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 16:57 2012
Picon

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 14:47 2012
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 16:38 2012

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)


Gmane