From: Mauro C. <mci...@si...> - 2003-10-01 08:38:46
|
Jens Vagelpohl wrote: > ldap.open is deprecated. Read the docs and use ldap.initialize instead.= May I say that I don't really care for ldap.initialize()? I must have=20 missed something, but I really can't understand why the older style=20 should be deprecated. What's the real win over using ldap.open()? :-\ To put it in other words, I can't get myself to appreciate LDAP URLs,=20 which I find quite cumbersome & complicated. I can never remember=20 whether the "sub" argument goes before or after the attribute list, and=20 the inability to specify arguments by name (=E0 la Python) is to me a big= =20 loss. Besides, I am instanciating an LDAP object, so it should be quite=20 clear I need an object which talks LDAP, without having to write it=20 again in a function argument :-) IMHO, the LDAP URL only interesting usage is in a browser URL line (in=20 fact I strongly suspect is *was* invented for exactly that reason by=20 Netscape). Anyway, there must be some reason, since ldap.open is being deprecated:=20 anyone caring to tell me why? Thanks in advance, Mauro |