]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/ua_acl.c
Minor tweaks to Migration
[bacula/bacula] / bacula / src / dird / ua_acl.c
index 2cd63618bcb4e8fbaac7e3540d70abb2dc8ff0cc..dcfc0e468a8d339c165bb1e634bd8c31f5123f47 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 /*
-   Copyright (C) 2004 Kern Sibbald and John Walker
+   Copyright (C) 2004-2005 Kern Sibbald
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -45,7 +45,7 @@ bool acl_access_ok(UAContext *ua, int acl, char *item, int len)
 
    /* If no console resource => default console and all is permitted */
    if (!ua->cons) {
-      Dmsg0(400, "Root cons access OK.\n");
+      Dmsg0(1400, "Root cons access OK.\n");
       return true;                   /* No cons resource -> root console OK for everything */
    }
 
@@ -62,7 +62,7 @@ bool acl_access_ok(UAContext *ua, int acl, char *item, int len)
    /* Search list for item */
    for (int i=0; i<list->size(); i++) {
       if (strcasecmp(item, (char *)list->get(i)) == 0) {
-         Dmsg3(400, "Found %s in %d %s\n", item, acl, (char *)list->get(i));
+         Dmsg3(1400, "ACL found %s in %d %s\n", item, acl, (char *)list->get(i));
         return true;
       }
    }