source:
trunk/locker/sbin/usereditat
@
  2842
        
        | Last change on this file since 2842 was 2818, checked in by achernya, 9 years ago | |
|---|---|
| 
 | |
| File size: 226 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh | 
| 2 | |
| 3 | if [ ! "$2" ]; then | 
| 4 | echo "Usage: $0 <server> <user>" | 
| 5 | exit 2 | 
| 6 | fi | 
| 7 | |
| 8 | exec ldapvi --bind sasl -Y GSSAPI -h $1 -b dc=scripts,dc=mit,dc=edu \ | 
| 9 | "(&(|(objectClass=posixAccount)(objectClass=posixGroup))(cn=$2))" | 
Note: See TracBrowser
        for help on using the repository browser.
    
