Module: MintPress::OracleInternetDirectory::Utils

Included in:
SystemComponent
Defined in:
src/oracle-oid/lib/oracle-oid/utils.rb

Instance Method Summary collapse

Instance Method Details

#ldapadd(options = {}) ⇒ Object

usage: ldapadd [options] list of operations are read from stdin or from the file with -f file option. options: -D binddn bind DN -w passwd bind password (for simple authentication) -h host LDAP server -p port port on LDAP server -W wurl wallet location for SSL connection(one-way or two-way) -P wpasswd wallet password for SSL connection(one-way or two-way) -U SSLAuth SSL Authentication Mode ("1" no-auth,"2" one-way,"3" two-way) -f file perform sequence of operations listed in `file' -X dsmlfile perform sequence of operations from xml file `dslmfile' -b for binary attrs read values from file specified in attrval -c continous operation (do not stop on error) -F force all changes records to be used -E charset encoding character set -M send ManageDsaIT control to server -i bind as current user for chasing Referrals -O refhop set referral hop limit to `refhop' -V version version of LDAP protocol -n print the operations but don't actually do them -d level set LDAP debugging level to `level' -o logfile log messages will be written to `logfile' -v trun in verbose mode (diagnostics to standard output) -q prompt for simple bind password -Q prompt for SSL wallet password

#ldapbind(options = {}) ⇒ Object

usage: ./ldapbind [options] where: options: -D binddn bind DN -w passwd bind password (for simple authentication) -h host LDAP server -p port port on LDAP server -W wurl wallet location for SSL connection(one-way or two-way) -P wpasswd wallet password for SSL connection(one-way or two-way) -U SSLAuth SSL Authentication Mode ("1" no-auth,"2" one-way,"3" two-way) -E charset encoding character set -V version version of LDAP protocol -O props SASL security properties -Y mech SASL mechanism -R realm SASL realm -X authzid SASL authorization identity ("dn:" or "u:") -q prompt for simple bind password -Q prompt for SSL wallet password

#ldapdelete(options = {}) ⇒ Object

usage: ./ldapdelete [options] dn | -f file where: dn list of DNs to delete file read DNs to be delete from `file' options: -D binddn bind DN -w passwd bind password (for simple authentication) -h host LDAP server -p port port on LDAP server -W wurl wallet location for SSL connection(one-way or two-way) -P wpasswd wallet password for SSL connection(one-way or two-way) -U SSLAuth SSL Authentication Mode ("1" no-auth,"2" one-way,"3" two-way) -E charset encoding character set -M send ManageDsaIT control to server -O refhop set referral hop limit to `refhop' -V version version of LDAP protocol -n print the delete operations but don't actually delete -d level set LDAP debugging level to `level' -v turn in verbose mode (diagnostics to standard output) -q prompt for simple bind password -Q prompt for SSL wallet password

#ldapmodify(options = {}) ⇒ Object

usage: ldapmodify [options] list of operations are read from stdin or from the file with -f file option. options: -D binddn bind DN -w passwd bind password (for simple authentication) -h host LDAP server -p port port on LDAP server -W wurl wallet location for SSL connection(one-way or two-way) -P wpasswd wallet password for SSL connection(one-way or two-way) -U SSLAuth SSL Authentication Mode ("1" no-auth,"2" one-way,"3" two-way) -f file perform sequence of operations listed in `file' -a changetype is add if `changetype' is missing (default is modify) -r replace values (default is add) -b for binary attrs read values from file specified in attrval -c continuous operation (do not stop on error) -F force all changes records to be used -E charset encoding character set -M send ManageDsaIT control to server -i bind as current user for chasing Referrals -O refhop set referral hop limit to `refhop' -V version version of LDAP protocol -n print the operations but don't actually do them -d level set LDAP debugging level to `level' -o logfile log messages will be written to `logfile' -v turn in verbose mode (diagnostics to standard output) -q prompt for simple bind password -Q prompt for SSL wallet password

#ldapsearch(options = {}) ⇒ Object

[oracle@oiddemo1:bin]$ ./ldapsearch usage: ./ldapsearch [options] filter [attributes...] where: filter RFC-1558 compliant LDAP search filter attributes whitespace-separated list of attributes to retrieve (if no attribute list is given, all are retrieved) options: -n show what would be done but don't actually search -v run in verbose mode (diagnostics to standard output) -t write values to files in /tmp -u include User Friendly entry names in the output -A retrieve attribute names only (no values) -B do not suppress printing of non-ASCII values -L print entries in LDIF format (-B is implied) -X print entries in XML format -R do not automatically follow referrals -d level set LDAP debugging level to `level' -F sep print `sep' instead of `=' between attribute names and values -S attr sort the results by attribute `attr' -f file perform sequence of searches listed in `file' -b basedn base dn for search -s scope one of base, one, or sub (search scope) -a deref one of never, always, search, or find (alias dereferencing) -l time lim time limit (in seconds) for search -z size lim size limit (in entries) for search -D binddn bind dn -w passwd bind passwd (for simple authentication) -h host ldap server -p port port on ldap server -W Wallet Wallet location -P Wpasswd Wallet Password -U SSLAuth SSL Authentication Mode -q prompt for simple bind password -Q prompt for SSL wallet password -E charset Character Set Encoding -M send ManageDsaIT control to server -G send RequiredAttribute control to server -C send connectBy control to server -T [-]sort_attr send serverSort control to server -j page_size send Paging control to server