Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-31 Thread Eric Dantan Rzewnicki
On Thu, May 19, 2005 at 09:04:46PM +0200, [EMAIL PROTECTED] wrote:
 Hello, Filip,
 on 19.05.2005, 19:05 you wrote to amanda-users@amanda.org:
 FR At 05/18/05 19:35, Bryan K. Walton wrote:
 FR (...)
 FR Same here, with Amanda 2.4.5 / Samba 3.0.13, running slackware-current 
 with
 FR 2.4.30 kernel.
 In client-src/sendbackup-gnutar.c there are regular expressions
 defined which help to hide several Samba-messages from the
 AMANDA-reports.
 This small one-line-patch removes the Samba-Domain-messages:
 
 --- standard/sendbackup-gnutar.c   2004-10-12 22:47:52.0 +0200
 +++ patched/sendbackup-gnutar.c 2005-05-11 18:20:58.314182688 +0200
 @@ -120,2 +120,3 @@
AM_ERROR_RE(ERRDOS - ERRbadpath (Directory invalid.)),
 +  AM_NORMAL_RE(^Domain=),
  #endif

Has there been any discussion in the past of breaking these regular
expressions out into a simple text file that amanda checks at runtime?
Something like logcheck's settup might be nice. That way each site can
configure it's own set of expressions to ignore without having to
recompile. 

Of course, I expect the answer to include show us the code. But, I'm
somewhat new to the list so I don't know if this has been suggested
before.

-- 
Eric Dantan Rzewnicki  |  Systems Administrator
Technical Operations Division  |  Radio Free Asia
2025 M Street, NW  |  Washington, DC 20036  |  202-530-4900
CONFIDENTIAL COMMUNICATION
This e-mail message is intended only for the use of the addressee and
may contain information that is privileged and confidential. Any 
unauthorized dissemination, distribution, or copying is strictly 
prohibited. If you receive this transmission in error, please contact
[EMAIL PROTECTED]


Re[2]: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-27 Thread sgw

Hello, Filip,

on 19.05.2005, 19:05 you wrote to amanda-users@amanda.org:

FR At 05/18/05 19:35, Bryan K. Walton wrote:

FR (...)

FR Same here, with Amanda 2.4.5 / Samba 3.0.13, running slackware-current with
FR 2.4.30 kernel.


In client-src/sendbackup-gnutar.c there are regular expressions
defined which help to hide several Samba-messages from the
AMANDA-reports.

This small one-line-patch removes the Samba-Domain-messages:

--- standard/sendbackup-gnutar.c   2004-10-12 22:47:52.0 +0200
+++ patched/sendbackup-gnutar.c 2005-05-11 18:20:58.314182688 +0200
@@ -120,2 +120,3 @@
   AM_ERROR_RE(ERRDOS - ERRbadpath (Directory invalid.)),
+  AM_NORMAL_RE(^Domain=),
 #endif


Works fine here so far.

Best regards,
Stefan G. Weichinger.

mailto://[EMAIL PROTECTED]







Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-24 Thread Tom Brown



I tried this:

--- client-src/sendbackup-gnutar.c.orig 2005-05-20 12:46:49.0 +0200
+++ client-src/sendbackup-gnutar.c  2005-05-20 12:31:03.0 +0200
@@ -73,6 +73,7 @@
   AM_NORMAL_RE(^[Aa]dded interface),
   AM_NORMAL_RE(^session request to ),
   AM_NORMAL_RE(^tar: dumped [0-9][0-9]* (tar )?files),
+  AM_NORMAL_RE(^Domain=.*OS=.*Server=.*),

 #if SAMBA_VERSION  2
   AM_NORMAL_RE(^doing parameter),


backed up, recompiled, ran make install in client-src, restarted 
services.

  - waiting for results :)


did you ever get any results?

thanks


Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-24 Thread Filip Rembiałkowski

Dnia 05/24/05 18:05, Tom Brown napisa:



I tried this:

--- client-src/sendbackup-gnutar.c.orig 2005-05-20 12:46:49.0 
+0200
+++ client-src/sendbackup-gnutar.c  2005-05-20 12:31:03.0 
+0200

@@ -73,6 +73,7 @@
   AM_NORMAL_RE(^[Aa]dded interface),
   AM_NORMAL_RE(^session request to ),
   AM_NORMAL_RE(^tar: dumped [0-9][0-9]* (tar )?files),
+  AM_NORMAL_RE(^Domain=.*OS=.*Server=.*),

 #if SAMBA_VERSION  2
   AM_NORMAL_RE(^doing parameter),


backed up, recompiled, ran make install in client-src, restarted 
services.

  - waiting for results :)



did you ever get any results?



Yes - works like expected.



--
Filip Rembiakowski
Administrator sieci
Kolmet Sp. z o.o.
tel:+48-22-5332007
tel:+48-604065651
http://www.kolmet.com.pl
mailto:[EMAIL PROTECTED]



Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-20 Thread Paul Bijnens
Jon LaBadie wrote:
On Thu, May 19, 2005 at 07:05:15PM +0200, Filip Rembia³kowski wrote:
At 05/18/05 19:35, Bryan K. Walton wrote:
(...)
Same here, with Amanda 2.4.5 / Samba 3.0.13, running slackware-current with 
2.4.30 kernel.

If I'm not mistaken, samba version changes in the past have resulted in
subtle changes to the messages samba generates.  Like spacing and punctuation.
This could mess up amanda's recognition of those messages.

Seems indeed like it.
And the irony is that that when amanda believes you have samba
version  2, then the line will be recognized and categorized as
normal instead of strange:  see amanda source: 
client-src/sendbackup-gnutar.c, line 83 (for amanda-2.4.5, but
already present since a long time).

--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***



Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-20 Thread Filip Rembiałkowski
Dnia 05/20/05 09:18, Paul Bijnens napisa:
Jon LaBadie wrote:

And the irony is that that when amanda believes you have samba
version  2, then the line will be recognized and categorized as
normal instead of strange:  see amanda source: 
client-src/sendbackup-gnutar.c, line 83 (for amanda-2.4.5, but
already present since a long time).


thanks,
I tried this:
--- client-src/sendbackup-gnutar.c.orig 2005-05-20 12:46:49.0 +0200
+++ client-src/sendbackup-gnutar.c  2005-05-20 12:31:03.0 +0200
@@ -73,6 +73,7 @@
   AM_NORMAL_RE(^[Aa]dded interface),
   AM_NORMAL_RE(^session request to ),
   AM_NORMAL_RE(^tar: dumped [0-9][0-9]* (tar )?files),
+  AM_NORMAL_RE(^Domain=.*OS=.*Server=.*),
 #if SAMBA_VERSION  2
   AM_NORMAL_RE(^doing parameter),
backed up, recompiled, ran make install in client-src, restarted services.
  - waiting for results :)

--
Filip Rembiakowski
Administrator sieci
Kolmet Sp. z o.o.
tel:+48-22-5332007
tel:+48-604065651
http://www.kolmet.com.pl
mailto:[EMAIL PROTECTED]


Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-19 Thread Filip Rembiałkowski
At 05/18/05 19:35, Bryan K. Walton wrote:
(...)
Same here, with Amanda 2.4.5 / Samba 3.0.13, running slackware-current with 
2.4.30 kernel.

--
Filip Rembiakowski
Administrator sieci
Kolmet Sp. z o.o.
tel:+48-22-5332007
tel:+48-604065651
http://www.kolmet.com.pl
mailto:[EMAIL PROTECTED]


Re: Samba 3.0.14 problems with Amanda 2.4.4p3?

2005-05-19 Thread Jon LaBadie
On Thu, May 19, 2005 at 07:05:15PM +0200, Filip Rembia³kowski wrote:
 At 05/18/05 19:35, Bryan K. Walton wrote:
 
 (...)
 
 Same here, with Amanda 2.4.5 / Samba 3.0.13, running slackware-current with 
 2.4.30 kernel.

If I'm not mistaken, samba version changes in the past have resulted in
subtle changes to the messages samba generates.  Like spacing and punctuation.
This could mess up amanda's recognition of those messages.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)