Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 16:10:33 -0700] rev 37
Add a --version flag.
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 16:05:35 -0700] rev 36
Small documentation fixes, add better verbosity when saving connection
cache data.
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 16:05:34 -0700] rev 35
Make sure the hasSubordinates attribute is defined before checking its
value.
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 16:05:31 -0700] rev 34
fix 'ls -R' output, minor style cleanup
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 16:03:31 -0700] rev 33
Repair broken path behavior, remove unneeded #path_to_dn 'relative'
flag.
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
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))'
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 22:13:27 +0100] rev 27
run_list: new argument syntax: [<options>] [<filter>] [<attributes>]
From 232fbd24ff43c9c0d0691cf0e1b51a82ef099489 Mon Sep 17 00:00:00 2001
Make run_list work with a properly defined argument syntax:
- start with (optional) options: -R -l
- continue with filter ['(objectclass=*)' as fallback if none given]
- end with attributes (also optional)
Add method is_valid_filter() to check whether a strig is a legal LDAP filter.
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 20:56:20 +0100] rev 26
fix attribute lists for LDAP queries
LDAP does not know of an attribute named 'dn'.
To get only the DN in a search, the attriibute list to use is '1.1'.
On all other cases, the DN of the entries found is automaticlly
part of the result set too.
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 20:24:07 +0100] rev 25
remove now unused parent_dn() method
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 20:19:18 +0100] rev 24
cd: flexible treatment of repeated '..', even as prefix
Treat '..' as any shell does:
- while the path given starts with '..', strip away
the first element of the current base DN
- use ',' as separator
- if anything remains in thep ath given, prepend it to
the stripped down baseDN
- use the result as the new base DN
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 15:59:10 -0700] rev 23
small style cleanup
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 19:41:07 +0100] rev 22
base(): make more secure, allow '' as DN
Only accept DNs as arguments to base that are legal DNs.
Convert DN given into canonical form.
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 19:15:48 +0100] rev 21
slight cleanup: make more clear, it's an array
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 19:08:50 +0100] rev 20
use sane way to get a default basedn: RootDSe's namingContexts
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 15:59:07 -0700] rev 19
Add documentation for the additional short flags.
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 18:50:27 +0100] rev 18
accept short option names for some options
Accept short name equivalents like in ldap... commands
for 'server', 'basedn' and 'binddn'.
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 17:46:57 +0100] rev 17
simplify over-complex call of N:L:E->get_value()
@{ Net::LDAP::Entry->get_value(..., asref => 1) }
is equivalent to
Net::LDAP::Entry->get_value(...)
Peter Marschall <peter@adpm.de> [Sat, 05 Mar 2011 17:33:41 +0100] rev 16
use symbolic LDAP error codes instead of numbers
Mahlon E. Smith <mahlon@martini.nu> [Tue, 06 Sep 2011 15:59:05 -0700] rev 15
Exit with a nicer error message if IO::Socket::SSL isn't installed,
but the user is requesting SSL/TLS. (this is normally required by
Net::LDAP.)
Giacomo Tenaglia <Giacomo.Tenaglia@cern.ch> [Tue, 22 Mar 2011 13:12:49 +0100] rev 14
Allow '-' on RDN name when copying