SunStudio compile

2008-08-22 Thread Anil
I am trying to compile python ldap with SunStudio, I get this error. Any idea? ... /opt/SUNWspro/bin/CC -I/opt/coolstack/include -DNDEBUG -fast -xipo -xtarget=generic -xcode=pic32 -DHAVE_LIBLDAP_R -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.5 -IModules -I/opt/coolstack/include -I/opt/coolstack/include

Re: SunStudio compile

2008-08-22 Thread Anil
uot; int(*)(ldap*,unsigned,void*,void*) in call to ldap_sasl_interactive_bind_s(ldap*, const char*, const char*, ldapcontrol**, ldapcontrol**, unsigned, extern "C" int(*)(ldap*,unsigned,void*,void*), void*) is being passed int(*)(ldap*,unsigned,void*,void*). Sounds like the same thing. Matej Vela wro

server sort

2009-07-05 Thread Anil
I am having a bit of a problem trying to setup the controlValue in LDAPControl for doing server sorting. My LDAP server supports this control, but I keep getting back Not supported error. Clearly this is a problem on my end with how I am passing in controlValue. I am not that familiar with BER

connection pooling

2009-11-02 Thread Anil
I am looking to do connection pooling and am thinking of doing something like http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/pooling.html Can you guys give some advice and/or better yet, has someone already done this? Thanks -

bad filter

2010-07-01 Thread Anil
I pass a filter string such as this to search(), but I keep getting BAD SEARCH FILTER error. "(|(last-login-time<=100101*)(!(last-login-time=*)))" The same thing works when using it with ldapsearch command. I also tried running it through ldap.filter.escape_filter_chars. Still no luck. Is this a k

Re: bad filter

2010-07-01 Thread Anil
I've used this type of wild card search+compare before, all with Solaris's ldapsearch, never complained. Let me change this to not use a wild card like that. Thanks. 2010/7/1 Michael Ströder : > Anil wrote: >> I pass a filter string such as this to search(), but I keep ge

Re: modifying problem

2007-11-30 Thread Anil Jangity
Okay, I was just introduced to "multi-valued RDN", didn't know about that. So, here's a quick question. Is there a easy way/code to modify these kinds of RDN? Its a little bit of extra work to have to go figure out that a RDN is being changed and then go use modrdn. Thanks

modifying problem

2007-11-30 Thread Anil Jangity
sult="Not Allowed on RDN" message="Entry cn=Ahmad [EMAIL PROTECTED],[EMAIL PROTECTED],ou=People,o=entic.net cannot be modified because the change to attribute mail would have removed a value used in the RDN" etime=1 How should I correctly handle data entered by

sasl bind

2008-01-09 Thread Anil Jangity
Hi! Is there some documentation somewhere that explains the usage of SASL bind requests? How exactly should sasl_interactive_bind_s() be used? Thanks, Anil - Check out the new SourceForge.net Marketplace. It's the