Bacula-users

Re: [Bacula-users] Connection to SD failed "Auth failed PW" but correct password

2011-04-02 18:54:25
Subject: Re: [Bacula-users] Connection to SD failed "Auth failed PW" but correct password
From: Roland Plüss <roland AT rptd DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 03 Apr 2011 00:51:56 +0200
Okay, found a way back into the NAS. Multiple reboots and changing the password multiple times seems to have fixed the issue for the time being. So here the bacula-sd from the NAS:

>>>
Storage {
        Name = diskstation-sd
        SDPort = 9103
        WorkingDirectory = "/opt/var/bacula/working"
        Pid Directory = "/var/run"
        Maximum Concurrent Jobs = 20
}

Director {
        Name = server-dir
        Password = "ZzO/dkp6ugYgyHrxkIE9Hg/9V8A6jRu2xV5tBX687WS3"
}
Director {
        Name = server-mon
        Password = "48n740fV+MZ7NnTM/6pFsK7nKEnQKhuFpja3Xk3YfE7J"
        Monitor = yes
}

Device {
        Name = FileStorage
        Media Type = File
        Archive Device = /volume1/homes/backup/bacula
        LabelMedia = yes;
        Random Access = yes;
        AutomaticMount = yes;
        RemovableMedia = no;
        AlwaysOpen = no;
}

Messages{
        Name = Standard
        director = server-dir = all
}
<<<


On 04/03/2011 12:38 AM, Roland Plüss wrote:
Sorry for the delay but I've got some problems over here. The NAS
suddenly forgot the root password (only admin working but that's not
enough) so I'm a bit stuck right now not knowing how to get it back
working without formating the entire HD (and thus losing the
experimental bacula setup and some other stuff). So for the time being
the Server side bacula-dir (or rather, the important part thereof):


# NAS Storage
Storage{
        Name = StorageNAS
        Address = diskstation
        SDPort = 9103
        Password = "ZzO/dkp6ugYgyHrxkIE9Hg/9V8A6jRu2xV5tBX687WS3"
        Device = FileStorage
        Media Type = File
}
<<<

The NAS has the very same password as above with a setup similar like
this (bacula-sd)


Storage{
        Name = diskstation-sd
        SDPort = 9103
        WorkingDirectory = "/var/lib/bacula"
        Pid Directory = "/var/run"
        Maximum Concurrent Jobs = 20
}
Director{
        Name = server-dir
        Password = "ZzO/dkp6ugYgyHrxkIE9Hg/9V8A6jRu2xV5tBX687WS3"
}
<<<


On 03/29/2011 12:46 PM, Soul wrote:
Mhm... I had a similar Problem...
I solved it when I set the Address-Setting in the Dir and SD-Configs,
into quotes...

What says status storage?
How do your configs look like?

Am 28.03.2011 18:01, schrieb Roland Plüss:
(Tried to send this already but it looks like it failed)

I'm running here into a big problem. I have on my server Bacula with
Dir, SD and FD. Now I have a NAS which is supposed to take over the SD
part. It's a Synology one so I installed bacula on it. SD is
configurated and running. The passwords on both sides (In Director
section of the SD on NAS and the Storage section in the DIR on server)
are exactly the same (took it from the server side SD which works with
this password). Nevertheless connection to the NAS fails:

diskstation-sd: bnet.c:670-0 who=client host=192.168.1.10 port=9103
diskstation-sd: dircmd.c:173-0 Conn: Hello Director server-dir calling
diskstation-sd: dircmd.c:189-0 Got a DIR connection at 26-Mar-2011 21:24:00
diskstation-sd: jcr.c:820-0 set_jcr_job_status(*System*, C)
diskstation-sd: jcr.c:829-0 OnEntry JobStatus=diskstation-sd:
jcr.c:840-0 Set new stat. old: diskstation-sd: jcr.c:845-0 leave
set_job_status old=diskstation-sd: watchdog.c:193-0 Registered watchdog
1006f488, interval 600<NULL>
diskstation-sd: btimers.c:184-0 Start bsock timer 1006f448 tid=c002 for
600 secs at 1301171040
diskstation-sd: cram-md5.c:73-0 send: auth cram-md5
<964237677.1301171040@diskstation-sd> ssl=0
diskstation-sd: cram-md5.c:104-0 Authenticate NOT OK: wanted
P6+pT7+LKSM88y+Og9+doB, got A34Gv4/A5l+AtW/1OUBlZC
diskstation-sd: cram-md5.c:110-0 Auth failed PW:
65e3a3b279f27737f4c79da11af9e546
diskstation-sd: authenticate.c:126-0 cram_auth failed with client

Any ideas why the authentication fails although the password is 100%
correct? Does it make a difference the NAS is a PPC and the server not?
Any way to disable passwords altogether?

-- 
Yours sincerely
Plüss Roland



------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf



_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Yours sincerely
Plüss Roland

Leader and Head Programmer
- Game: Epsylon ( http://www.indiedb.com/games/epsylon , http://epsylon.rptd.ch )
- Game Engine: Drag[en]gine ( http://www.indiedb.com/engines/dragengine , http://dragengine.rptd.ch )
- Normal Map Generator: DENormGen ( http://epsylon.rptd.ch/denormgen.php ) and others

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>