ptserver-acl-dumpentry-to-disallow-access-based-on-record-20020911
authorDerrick Brashear <shadow@dementia.org>
Wed, 11 Sep 2002 08:19:57 +0000 (08:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 11 Sep 2002 08:19:57 +0000 (08:19 +0000)
tighten up acl enforcement

src/ptserver/ptprocs.c

index 91c5f47..363cdbc 100644 (file)
@@ -360,7 +360,7 @@ struct prdebugentry *aentry;
     code = pr_ReadEntry(tt, 0, apos, aentry);
     if (code) ABORT_WITH(tt,code);
 
-    if (!AccessOK (tt, cid, aentry, PRP_STATUS_MEM, PRP_STATUS_ANY))
+    if (!AccessOK (tt, cid, 0, PRP_STATUS_MEM, 0))
         ABORT_WITH(tt,PRPERM);
 
     /* Since prdebugentry is in the form of a prentry not a coentry, we will