]> git.sur5r.net Git - bacula/bacula/commitdiff
Doc + fix automount on files
authorKern Sibbald <kern@sibbald.com>
Thu, 24 Apr 2003 07:30:25 +0000 (07:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 24 Apr 2003 07:30:25 +0000 (07:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@456 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/ReleaseNotes
bacula/kernstodo
bacula/src/console/authenticate.c
bacula/src/dird/ua_cmds.c
bacula/src/lib/cram-md5.c
bacula/src/stored/mount.c
bacula/src/version.h

index b4bf68611ae689acfab93d6ec872bbc3b71e94ed..160b3184c8e5391ac4801967efb3bd8ee9cba5d4 100644 (file)
@@ -1,6 +1,6 @@
-          Release Notes for Bacula 1.30
+          Release Notes for Bacula 1.30-22Apr03 BETA
 
-  Bacula code: Total files = 235 Total lines = 66,658 (*.h *.c *.in)
+  Bacula code: Total files = 235 Total lines = 67,254 (*.h *.c *.in)
 
 Major Changes this Release:
 - The Windows Client now uses Cygwin 1.3.20 and should be much 
index 0f2169c5ec4da8155c8ad6820a7da2789a366a42..ff138597ba342033e432647f16e80ac034754653 100644 (file)
@@ -17,6 +17,9 @@ Testing to do: (painful)
 - multiple simultaneous Volumes
 
 For 1.30 release:
+- Bug: up arrow prints garbage in command line on gnome-console!
+- Bug: fix access problems on files restored on WinXP (possibly do
+       this in a later update.
 - Fix Bare Metal restore problem.
 - Test multiple simultaneous Volumes
 
index 72a065145df0b18c57c287c084b26a1ee6d5b2a0..819b93ab19ce0b803a3f61bb46c579529a8c203d 100644 (file)
@@ -55,7 +55,8 @@ int authenticate_director(JCR *jcr, DIRRES *director)
 
    if (!cram_md5_get_auth(dir, director->password) || 
        !cram_md5_auth(dir, director->password)) {
-      Dmsg0(-1, "Director authorization problem.\n");
+      Dmsg0(-1, _("Director authorization problem.\n"
+            "Most likely the passwords do not agree.\n"));  
       return 0;
    }
 
index e7dfa8a644144216dcc0adc1c1131216873480f1..ad2efde98e090b532387389e8d6e36ab122c6c63 100644 (file)
@@ -424,9 +424,10 @@ static int cancelcmd(UAContext *ua, char *cmd)
       }
    }
      
+   set_jcr_job_status(jcr, JS_Canceled);
+
    switch (jcr->JobStatus) {
    case JS_Created:
-      set_jcr_job_status(jcr, JS_Canceled);
       bsendmsg(ua, _("JobId %d, Job %s marked to be canceled.\n"),
              jcr->JobId, jcr->Job);
 #ifndef USE_SEMAPHORE
@@ -436,7 +437,6 @@ static int cancelcmd(UAContext *ua, char *cmd)
       return 1;
         
    default:
-      set_jcr_job_status(jcr, JS_Canceled);
       /* Cancel File daemon */
       ua->jcr->client = jcr->client;
       if (!connect_to_file_daemon(ua->jcr, 10, FDConnectTimeout, 1)) {
index ef64ff15e4f8bd0c6372e5aef967f5985e62f7e3..7d788381a68ff83026ffd02627bb2f17ea54d4c1 100644 (file)
@@ -69,7 +69,7 @@ int cram_md5_auth(BSOCK *bs, char *password)
    if (ok) {
       bnet_fsend(bs, "1000 OK auth\n");
    } else {
-      bnet_fsend(bs, "1999 No auth\n");
+      bnet_fsend(bs, "1999 Authorization failed.\n");
       bmicrosleep(5, 0);
    }
    return ok;
index 420eb488e88a6dcc047ee2dfdac2988074ddb298..449cc284957e5bacae52aa23865816e9a626c863 100644 (file)
@@ -133,7 +133,7 @@ mount_next_vol:
        *   and read the label. If there is no tape in the drive,
        *   we will err, recurse and ask the operator the next time.
        */
-      if (autochanger || (!release && dev_cap(dev, CAP_AUTOMOUNT))) {
+      if (autochanger || (!release && dev_is_tape(dev) && dev_cap(dev, CAP_AUTOMOUNT))) {
          ask = 0;                     /* don't ask SYSOP this time */
       }
 
index ea659e40a7856a02b175fed54cac72e2828bcd4c..6d893e7386f2e38909e6583d45bf08e85d60d339 100644 (file)
@@ -1,8 +1,8 @@
 /* */
 #define VERSION "1.30"
 #define VSTRING "1"
-#define BDATE   "22 April 2003"
-#define LSMDATE "22Apr03"
+#define BDATE   "24 April 2003"
+#define LSMDATE "24Apr03"
 
 /* Debug flags */
 #define DEBUG 1