bug-cvs
[Top][All Lists]
Advanced

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

Re: PATCH


From: Steve McIntyre
Subject: Re: PATCH
Date: Thu, 23 Oct 2003 23:34:19 +0100
User-agent: Mutt/1.5.4i

On Thu, Oct 23, 2003 at 08:54:44PM +0000, Mathias Herberts wrote:
>Ok, here it is then.
>
>My patch modifies src/server.c:check_repository_password so it can check 
>a user password using an external authentication process. I basically 
>wrote that so I could authenticate my CVS users against our corporate 
>Active Directory.
>
>The patch relies on a special syntax of the password field in 
>CVSROOT/passwd. If the password starts with an at sign '@' then 
>everything following the '@' up to the ':' is considered a path to an 
>authentication program. As the salt used by crypt(3) cannot contain '@' 
>we can still use regular encrypted passwords.

I know you've done the work now, but wouldn't it be easier to use PAM
and the pam_winbind (IIRC) module to do the authentication...?

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
Can't keep my eyes from the circling sky,
Tongue-tied & twisted, Just an earth-bound misfit, I...

Attachment: signature.asc
Description: Digital signature


reply via email to

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