Peter Marschall <peter@adpm.de> [Sun, 06 Mar 2011 20:51:08 +0100] rev 32
[PATCH 19/19] remove rdn_to_dn() after its last users are gone
From 892013debac0aef9937ecfbf2c8aab72c88e07cc Mon Sep 17 00:00:00 2001
Signed-off-by: Peter Marschall <peter@adpm.de>
---
shelldap | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
Peter Marschall <peter@adpm.de> [Sun, 06 Mar 2011 20:31:05 +0100] rev 31
run_cat: convert to using path_to_dn()
run_edit: convert to using path_to_dn()
run_copy & run_move: convert to using path_to_dn()
run_grep: convert to using path_to_dn()
run_passwd: convert to using path_to_dn()
Peter Marschall <peter@adpm.de> [Sun, 06 Mar 2011 20:11:47 +0100] rev 30
add method path_to_dn() to convert a given "path" to a DN
path_to_dn() replaces the occurrences of '~', '.' and '..' in a path given
and returns a DN.
However, it does not check whether the DN is valid.
Especially:
- on return it is not guaranteed that the DN exists
- on return the first part does not need to be a valid RDN