%#define PR_SF_NGROUPS (1u<<31) /* set field limiting group creation */
%#define PR_SF_NUSERS (1u<<30) /* " " foreign users " */
+/* OpenAFS implementation limit. This limit can be modified in future releases
+ * and does not need to match the limis applied by other implementations. */
+const OPENAFS_MAXPRLIST=50000;
+
typedef char prname[PR_MAXNAMELEN];
-typedef prname namelist<>;
-typedef afs_int32 idlist<>;
-typedef afs_int32 prlist<>;
-typedef prlistentries prentries<>;
+typedef prname namelist<OPENAFS_MAXPRLIST>;
+typedef afs_int32 idlist<OPENAFS_MAXPRLIST>;
+typedef afs_int32 prlist<OPENAFS_MAXPRLIST>;
+typedef prlistentries prentries<OPENAFS_MAXPRLIST>;
INewEntry(
IN string name<PR_MAXNAMELEN>,