Re: BSD Authentication for popa3d(8)

2011-07-10 Thread Nils Anspach
Nicholas Marriott schrieb am 08.07.2011 um 18:40:46 +0100: > I think this is wrong. WHat do you expect this line to do? > > > + user = name; > I think modifying user might be better left outside. See diff below. In my opinion however, extracting the user from the user:style input, should be

Re: BSD Authentication for popa3d(8)

2011-07-04 Thread Nils Anspach
Hello, Nicholas Marriott schrieb am 02.07.2011 um 23:11:49 +0100: > Hi > > I don't think you need to strsep out the style yourself, a NULL style to > auth_userokay will look for it after a : itself. > > Otherwise this reads fine to me. > > > On Mon, Jun 27

BSD Authentication for popa3d(8)

2011-06-27 Thread Nils Anspach
Hello list, attached is a patch for popa3d(8) to use BSD authentication. Currently, to authenticate users, popa3d(8) encrypts the user-provided password via crypt(3) and then compares the hash with the passwd field from master.passwd(5). This method however does not work if users are authenticat