Content-type: text/html
Man page of LDAPEDIT
LDAPEDIT
Section: User Commands (1)
Updated: July 2008
Index
Return to Main Contents
NAME
ldapedit - Friendly utility to edit UGCS ldap entries
SYNOPSIS
ldapedit
[-u user]
ldapedit
-action
field [values ]
ldapedit
-add field [value] ...
ldapedit
-remove field [value] ...
ldapedit
-modify field newvalue
DESCRIPTION
ldapedit is a more friendly, but less flexible, alternative to ldapmodify for updating UGCS ldap entries. It can add, remove, or change ldap values. By default it operates on the current user, but that can be changed.
When run without any arguments (except for possibly -u username), it will print out a list of relevant ldap entries for the user (usually you).
It works on any field that is supported for a UGCS user. See our website for a description of common fields.
OPTIONS
-
-
Specifies that the program should work on the given user instead of whoever is currently logged in
- -add entry values
-
Adds the given values to the entry. This can be used to set multiple values for a field. If the field should only have one value, you might want to use modify
- -remove entry [values]
-
Removes either the entire entry (if no values are supplied), or the specified values from the given entry.
- -modify entry newvalue
-
Updates the given entry so its value is newvalue.
EXAMPLES
- ldapedit
-
Display all relevant ldap entries for your user.
- ldapedit -modify amavisSpamKillLevel 3
-
Sets the field amavisSpamKillLevel to 3
- ldapedit -add mailAlternateAddress newaddr@ugcs.caltech.edu
-
Adds newaddr@ugcs.caltech.edu as a mailAlternateAddress
BUGS
Contact sysadmins@ugcs.caltech.edu with any bug reports
AUTHOR
Written by Joshua Hutchins for UGCS, May 2009
SEE ALSO
ldapmodify
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLES
-
- BUGS
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 08:03:10 GMT, May 11, 2009