]> andersk Git - moira.git/blobdiff - gen/acl.pc
Command line printer manipulation client, and build goo.
[moira.git] / gen / acl.pc
index b439e991c0bb12d5c66a852ba7db23e7fe72c877..9a211385a5572fcad7b90528e3c64ce543e5a8c7 100644 (file)
@@ -19,7 +19,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_KRB4
 #include <krb.h>
+#endif
 
 EXEC SQL INCLUDE sqlca;
 
@@ -27,7 +29,6 @@ RCSID("$Header$");
 
 char *whoami = "acl.gen";
 char *db = "moira/moira";
-char defaultrealm[REALM_SZ];
 
 void dump_access_file(FILE *out, int lid);
 char *merge_access_bits(char *t1, char *t2);
@@ -115,6 +116,8 @@ int main(int argc, char **argv)
                dump_passwd_file(out, lid);
              else if (!strcasecmp(kind, "group"))
                dump_group_file(out, lid);
+             else if (!strcasecmp(kind, "userlist"))
+               dump_user_list(out, "LIST", lid);
            }
 
          tarfile_end(tf);
This page took 0.032631 seconds and 4 git commands to generate.