]> git.sur5r.net Git - bacula/bacula/commitdiff
kes Update src/win32/dll/bacula.def for change in BPIPE definition for
authorKern Sibbald <kern@sibbald.com>
Mon, 25 Sep 2006 21:42:21 +0000 (21:42 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 25 Sep 2006 21:42:21 +0000 (21:42 +0000)
     Win32 build.
kes  Fix a compiler warning in compat.cpp
kes  Change strcpy to bstrncpy in compat.cpp
kes  Remove some broken code in bdb_list.c
kes  Fix, hopefully the last, ACL problem in the restore command.
kes  Update the README.mingw32

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3504 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/cats/bdb_list.c
bacula/src/dird/ua_query.c
bacula/src/dird/ua_restore.c
bacula/technotes-1.39

index 5e37d3c3653ab86e3446bc22c923df5802723fd6..3ffb0aed3dca1515a92c04f503834071c0b319ae 100644 (file)
@@ -21,14 +21,12 @@ Document:
   \bacula\working).
 - Document techniques for restoring large numbers of files.
 - Document setting my.cnf to big file usage.
-- Add example of proper index output to doc.
-   show index from File;
+- Add example of proper index output to doc. show index from File;
 - Correct the Include syntax in the m4.xxx files in examples/conf
 - Document JobStatus and Termination codes.
 - Fix the error with the "DVI file can't be opened" while
   building the French PDF.
-- Document more DVD stuff -- particularly that recycling doesn't work,
-  and all the other things too.
+- Document more DVD stuff
 - Doc
    { "JobErrors",  "i"},
    { "JobFiles",   "i"},
@@ -41,8 +39,6 @@ Document:
 Priority:
 
 For 1.39:
-- When reading through parts on the DVD, the DVD is mounted and
-  unmounted for each part.
 - Make sure that the restore options don't permit "seeing" other
   Client's job data. -- mostly fixed.
 - Implement Python event for backing up/restoring a file.
@@ -56,8 +52,7 @@ For 1.39:
 - Look at zlib 32 => 64 problems.
 - Try turning on disk seek code.
 - Possibly turn on St. Bernard code.
-- Fix bextract to restore ACLs, or better yet, use common
-  routines.
+- Fix bextract to restore ACLs, or better yet, use common routines.
 - Do we migrate appendable Volumes?
 - Remove queue.c code.
 - Some users claim that they must do two prune commands to get a
@@ -1694,3 +1689,6 @@ Block Position: 0
     > to the slots keyword, you can apply the enable/disable to any or all volumes.
 - Restricted consoles start in the Default catalog even if it
   is not permitted.
+- When reading through parts on the DVD, the DVD is mounted and
+  unmounted for each part.
+
index fbadb34ddc91b6808b05a9dc8707f86ee8c365cb..503a076e02fd38bc13b075c888aa4d60786659ef 100644 (file)
@@ -182,6 +182,7 @@ void db_list_jobmedia_records(JCR *jcr, B_DB *mdb, uint32_t JobId,
 void db_list_job_records(JCR *jcr, B_DB *mdb, JOB_DBR *jr,
                          DB_LIST_HANDLER *sendit, void *ctx)
 {
+#ifdef xxx
    int jrlen;
    JOB_DBR ojr;
    int done = 0;
@@ -220,6 +221,7 @@ void db_list_job_records(JCR *jcr, B_DB *mdb, JOB_DBR *jr,
    }
    sendit(ctx, "============================================================================\n");
    db_unlock(mdb);
+#endif
    return;
 }
 
index 6e1a3c2b845a6ad51123bb4a422a444525d1ac7a..76ab8c038dc916019b5e05b88b26a60fd745c172 100644 (file)
@@ -7,7 +7,7 @@
  *   Version $Id$
  */
 /*
-   Copyright (C) 2001-2005 Kern Sibbald
+   Copyright (C) 2001-2006 Kern Sibbald
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
index c8765f5117ca307961607e265c75dda3f5d4e0fd..50e1e46fdbad28c42b112ffed442c85bf578b136 100644 (file)
@@ -422,7 +422,10 @@ static int user_select_jobids_or_files(UAContext *ua, RESTORE_CTX *rx)
       case -1:                        /* error or cancel */
          return 0;
       case 0:                         /* list last 20 Jobs run */
-         /* ***FIXME*** restrict clients on restricted console */
+         if (!acl_access_ok(ua, Command_ACL, NT_("sqlquery"), 8)) {
+            bsendmsg(ua, _("SQL query not authorized.\n"));
+            return 0;
+         }
          gui_save = ua->jcr->gui;
          ua->jcr->gui = true;
          db_list_sql_query(ua->jcr, ua->db, uar_list_jobs, prtit, ua, 1, HORZ_LIST);
@@ -455,6 +458,7 @@ static int user_select_jobids_or_files(UAContext *ua, RESTORE_CTX *rx)
          break;
       case 3:                         /* Enter an SQL list command */
          if (!acl_access_ok(ua, Command_ACL, NT_("sqlquery"), 8)) {
+            bsendmsg(ua, _("SQL query not authorized.\n"));
             return 0;
          }
          if (!get_cmd(ua, _("Enter SQL list command: "))) {
index 78e5f288a5064c57da2315e8d9fcfe1936a3739f..39099acc75edff56ab8e59027ba7c1349cbbe04a 100644 (file)
@@ -2,6 +2,13 @@
 
 General:
 25Sep06
+kes  Update src/win32/dll/bacula.def for change in BPIPE definition for
+     Win32 build.                 
+kes  Fix a compiler warning in compat.cpp
+kes  Change strcpy to bstrncpy in compat.cpp
+kes  Remove some broken code in bdb_list.c
+kes  Fix, hopefully the last, ACL problem in the restore command.
+kes  Update the README.mingw32
 kes  Add new version of upgrade-win32-client.txt to examples directory.
      Submitted by Michel Meyers.
 kes  Print an INFO message in the job report when a Volume is marked Purged.