Description
An LDAP Shell
This is a request for a command line LDAP directory tree browser. The program is a shell for navigating a directory's DIT and performing various LDAP operations in the process. In many ways the console can be designed like a UNIX shell with LDAP centric commands.
Shell Commands
For example the concept of the current working directory path would apply except here the path would be a distinguished name rather than a file path. The user could cd and ls as they do in a unix shell to change their current context and perform a single level listing of child entry relative names.
| Command | Purpose |
|---|---|
| cd | change current working context to another |
| ls | list the subordinate entry RDNs |
| edit | start editing an entry's LDIF to perfrom modify ops |
| mv | perfroms a modifyRdn op |
| find | performs a search op |
| pushd | pushes current context on stack |
| popd | pops last context from stack |
| exit | exists the shell: unbinds |
History, Tab Completion, Readline Editing
Furthermore the console can have tab completion and readline like editing capabilities to make the command line interface more productive.
Resources
A great resource is the jline
library which does line completion and has readline like line editing capabilities.
