search for: dovecot_pw_fd

Displaying 4 results from an estimated 4 matches for "dovecot_pw_fd".

2018 Feb 01
2
AuthDatabase CheckPassword broken?
...wed by 3 > > nulls. I'm guessing the 2nd null is supposed to be the password. > > > > Why is this no longer working? How can I fix it? > > > > THX --Mark > Our CI has test > > #!/usr/bin/env python > # -*- coding: utf-8 -*- > import os, sys > > DOVECOT_PW_FD = 3 > > def checkPassword(): > ? with os.fdopen(DOVECOT_PW_FD, 'r') as s: > ??? data = s.read().split("\0") > ??? if data[0] != "testuser" or data[1] != "pass": > ????? return False > ??? os.environ["USER"] = data[0] > ??? os.e...
2018 Feb 01
2
AuthDatabase CheckPassword broken?
I had been using the CheckPassword authentication interface with dovecot 2.2.15, https://wiki2.dovecot.org/AuthDatabase/CheckPassword, and it was working. After upgrading to 2.2.33.2 CheckPassword no longer works. The referenced wiki page says, Checkpassword Interface Read <username> NUL <password> NUL from fd 3. I've checked the information read from fd 3 with 2.2.33.2
2018 Feb 02
0
AuthDatabase CheckPassword broken?
Script didn't run: File "/root/tmp/checkpwtest.py", line 8 o?= with os.fdopen(DOVECOT_PW_FD, 'r') as s: ^ SyntaxError: invalid syntax --Mark -----Original Message----- From: Mark Foley <mfoley at ohprs.org> Date: Thu, 01 Feb 2018 15:34:15 -0500 Organization: Ohio Highway Patrol Retirement System To: dovecot at dovecot.org Subject: Re: AuthDatabase CheckPassword broken?...
2018 Feb 01
0
AuthDatabase CheckPassword broken?
...d from fd 3 with 2.2.33.2 and I get <username> followed by 3 > nulls. I'm guessing the 2nd null is supposed to be the password. > > Why is this no longer working? How can I fix it? > > THX --Mark Our CI has test #!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys DOVECOT_PW_FD = 3 def checkPassword(): ? with os.fdopen(DOVECOT_PW_FD, 'r') as s: ??? data = s.read().split("\0") ??? if data[0] != "testuser" or data[1] != "pass": ????? return False ??? os.environ["USER"] = data[0] ??? os.environ["EXTRA"] = "userd...