|
From: David L. <dav...@it...> - 2001-12-19 15:05:53
|
On Thu, 13 Dec 2001, Michael Str=F6der typed thusly: > > I like simplebrowse.py - it's kind of utility I was always missing > > in my communication with LDAP ;-) . I'm missing "cd .." though, and it > > keeps saying "invalid command" for almost any entered one. Fix is > > attached. > > I've commited it. But, the structure of DNs is not that simple. What you're saying is that you want to find the 'parent' object of an object. But the simple removing of some component of the DN isn't guaranteed to work. e.g. A=3Da,B=3Db,C=3Dc may not have as parent A=3Da,B=3Db but instead B=3D= b,C=3Dc. I found this out the hard way when doing some testing .. Now, I don't fully understand X.500 so maybe someone else knows a way of properly defining and implementing "cd .."? d --=20 David Leonard Dav...@it... Dept of Inf. Tech. and Elec. Engg _ Ph:+61 404 844 850 The University of Queensland |+| http://www.itee.uq.edu.au/~leonard/ QLD 4072 AUSTRALIA ~` '~ B73CD65FBEF4C089B79A8EBADF1A932F13E= A0FC8 |