Heres a snippet of the code I use:
_recv() is a protocol compliant function just used to get the length and
return the real data. Same for _send. The rest should make some sense.
The important bit is how the base64 is implemented.
This code works to authenticate as a director (we actually use thi
On Thu, Jan 27, 2011 at 8:59 AM, Nabil Servais wrote:
> I update my code, I think I manage to use the same algorithms of
> bacula for the challenge but result between my code and bconsole is a
> bite different. I don't understand why.
>
> For example :
>
> challenge send by the server :
> <2014017
I update my code, I think I manage to use the same algorithms of
bacula for the challenge but result between my code and bconsole is a
bite different. I don't understand why.
For example :
challenge send by the server :
<2014017250.1296136483@eole-laptop-dir>
and the response of bconsole:
dg5j5
On 26/01/11, Nabil Servais ([email protected]) wrote:
> I try to implements bacula protocol in python.
>
> I have some difficulites about the digest challenge. And I'm not an expert in
> C.
>
> My code : http://pastebin.com/pX9HdC1q
I haven't had a chance to look at your code, but the res
Hello,
I try to implements bacula protocol in python.
I have some difficulites about the digest challenge. And I'm not an expert in C.
My code : http://pastebin.com/pX9HdC1q
Thanks in advance for the help.
--
Special