* * ldap-group.c by Kory Wheatley * Idaho State University * September 29, 2003 * This is an suid wrapper for the ldapgroup program. */ #include #include #include /* for exec */ main(argc, argv) int argc; char *argv []; { /* Make sure at least one argument is passed to this program */ if (argc < 2) { printf ("Usage: ldap-group [-p] trans \n"); exit(1); } /* execute the perl script */ execv("/opt/bin/techweb-changes.pl",argv); } /* END OF MAIN PROGRAM */