Class LDAPDelete
java.lang.Object
LDAPTool
LDAPDelete
- public class LDAPDelete
- extends LDAPTool
Executes the delete command to delete an LDAP entry.
This class is implemented based on the java LDAP classes.
usage : java LDAPDelete [options] DN
for example : java LDAPDelete -D "dn" -w password -h ds.example.com -p 389
"cn=Johnny James,o=Ace Industry"
options: {np = no parameters, p = requires parameters}
'D' bind DN --------------------------------------------- p
'h' LDAP host ------------------------------------------- p
'p' LDAP port ------------------------------------------- p
'w' bind password --------------------------------------- p
note: '-' or '/' is used to distinct the option field.
e.g. -a -b /c /d parameter -e parameter
LDAPDelete
public LDAPDelete()
main
public static void main(String[] args)
Java is a trademark or registered trademark of Sun Microsystems,
Inc. in the US and other countries.
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.