rh0dium a écrit :
> Hi
>
> I really like your approach but when do you actually get connected??
> You never call the method connect?
oops :(
(snip whole code)
>>if __name__ == '__main__':
>> truc = NSCLdap()
truc.connect() # was missing
>> truc.search()
>
BTW, you'd better let
Hi
I really like your approach but when do you actually get connected??
You never call the method connect?
>
> class NSCLdap(object):
> def __init__(self,
> server="sc-ldap.nsc.com",
> baseDN="o=nsc.com",
> who=None,
>
Thanks Bruno!!
Very much appreciated the modifications!!
Bruno Desthuilliers wrote:
> rh0dium a écrit :
> > Hi all,
> >
> > I believe I am having a fundamental problem with my class and I can't
> > seem to figure out what I am doing wrong. Basically I want a class
> > which can do several speci
I knew it had to be something obvious - thanks so much!!
John Machin wrote:
> rh0dium wrote:
> > Hi all,
> >
> > I believe I am having a fundamental problem with my class and I can't
> > seem to figure out what I am doing wrong. Basically I want a class
> > which can do several specific ldap que
rh0dium a écrit :
> Hi all,
>
> I believe I am having a fundamental problem with my class and I can't
> seem to figure out what I am doing wrong. Basically I want a class
> which can do several specific ldap queries. So in my code I would have
> multiple searches. But I can't figure out how to
rh0dium wrote:
> Hi all,
>
> I believe I am having a fundamental problem with my class and I can't
> seem to figure out what I am doing wrong. Basically I want a class
> which can do several specific ldap queries. So in my code I would have
> multiple searches. But I can't figure out how to do
rh0dium wrote:
> Hi all,
>
> I believe I am having a fundamental problem with my class and I can't
> seem to figure out what I am doing wrong. Basically I want a class
> which can do several specific ldap queries. So in my code I would have
> multiple searches. But I can't figure out how to do
Hi all,
I believe I am having a fundamental problem with my class and I can't
seem to figure out what I am doing wrong. Basically I want a class
which can do several specific ldap queries. So in my code I would have
multiple searches. But I can't figure out how to do it without it
barfing..
Th