gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] Patch for smb authentication


From: lizard
Subject: Re: [gcmd-dev] Patch for smb authentication
Date: Sun, 11 Feb 2007 14:48:21 +0100

Hello Piotr,

i have tested the code you sent me back.
Unfortunately it does not work at all. At the second wrong log-in attempt gcmd 
locks.
After that gcmd windows do not get updated again.

> BTW - what's the purpose of having static count variable? Do you want to
> cancel every third auth callback?
I wanted to cancel authentication after the second wrong log-in attempt.
While i wrote the first patch i locked me out to often from the domain.

I have taken out this countig because i don't check if the user changes his 
user name.
This function is pointless. What would sysadmins have to do the whole day if 
they don't
have to re enable user accounts.

I send you the modified file. Maybe it is good enough that other users may test 
it too.
thx and bye

> > i was using gnome-commander 1.2.3 for some time now.
> > Today i tried the 1.3 branch. Unfortunately it seem to still lack smb 
> > authentication support.
> > Because smb access is crucial for me i wrote an patch.
> > The patch for 1.2.3 can be applied with patch -p1 < file-name.
> > Unfortunately is was not able port the patch cleanly to 1.3.
> > Therefore one needs to autogen.sh the freshly downloaded cvs sources first.
> > This creates src/Makefile.in. After that you apply the patch.
> > patch -p1 < file-name.
> > I hope the patches work as good for you as they do for me.
> 
> Thanks for your contribution :o))
> 
> I've attached slightly revised version of your gnome-smb-auth.c
> Unfortunately I don't have access to SMB network for having it tested -
> could you, please, verify whether it is still working as expected? ;o) 
> 
> BTW - what's the purpose of having static count variable? Do you want to
> cancel every third auth callback?
> 
> 
> Piotr

Attachment: gnome-smb-auth.c.bz2
Description: application/bzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]