/*-------------------------------------------------------------- Program to test SUN implementation of netgroups in LDAP argv[1] is the netgroup argv[2] is the hostname argv[3] is the domain TC 18/8/05 -------------------------------------------------------------*/ #include #include #include #include #include main (argc, argv) int argc; char *argv[]; { int stat; stat = innetgr(argv[1],argv[2],(char *) 0,argv[3]); printf("Exit status is %d\n",stat); }