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
Peter Marschall <peter@adpm.de> [Sun, 06 Mar 2011 14:53:39 +0100] rev 29
mkdir: support more objectclasses
Depending on the naming attribute given, support the objectclasses
'country' and 'organization' in addition to the default
'organizationalUnit'.
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 22:22:47 +0100] rev 28
make_filter: cope with filters that are already parenthesized
Treat filter elements correctly that may be more complex filters
themselves; e.g. '(&(sn=Doe)(givenname=John))'