source:
trunk/locker/sbin/usereditat
@
2829
Last change on this file since 2829 was 2818, checked in by achernya, 8 years ago | |
---|---|
|
|
File size: 226 bytes |
Rev | Line | |
---|---|---|
[2818] | 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.