search for: pam_start

Displaying 20 results from an estimated 61 matches for "pam_start".

2015 May 17
0
Googling: dovecot: auth-worker(default): pam_start() failed: Critical error - immediate abort
Howdy, Googling: dovecot: auth-worker(default): pam_start() failed: Critical error - immediate abort dobbeltganger dovecot: auth-worker(default): pam(user,1.2.3.4): lookup service=dovecot dobbeltganger out of memory [4543] returns just 3 references. Examining memory server side reveals use of virtual memory but not 100% OS: Ubuntu 14.04 client 10.04 se...
2008 Sep 02
1
"pam_start() failed: system error" with dovecot 1.1.2, cause unknown
...2 08:25:04 hill dovecot: imap-login: Login: user=<userA>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Sep 2 08:25:04 hill dovecot: IMAP(userA): Disconnected: Logged out bytes=46/543 ***problem started here Sep 2 08:25:04 hill dovecot: auth-worker(default): pam(userA,127.0.0.1): pam_start() failed: system error Sep 2 08:25:04 hill dovecot: auth-worker(default): pam(userB,35.9.37.164): pam_start() failed: system error Sep 2 08:25:05 hill dovecot: auth-worker(default): pam(userC,35.9.37.164): pam_start() failed: system error Sep 2 08:25:06 hill dovecot: imap-login: Aborted login...
2008 Nov 18
2
pam_start() failed: system error
...ind Can't contact LDAP server Nov 18 13:20:44 dizzy dovecot-auth: pam_ldap: ldap_simple_bind Can't contact LDAP server Nov 18 13:20:44 dizzy dovecot-auth: pam_ldap: ldap_simple_bind Can't contact LDAP server Nov 18 13:21:46 dizzy dovecot: auth-worker(default): pam(xxxx,xxx.xxx.xxx.xxx): pam_start() failed: system error Nov 18 13:21:46 dizzy dovecot-auth: in openpam_load_module(): no pam_permit.so found Nov 18 13:22:12 dizzy dovecot-auth: in openpam_load_module(): no pam_login_access.so found Nov 18 13:22:31 dizzy dovecot-auth: in openpam_load_module(): no pam_unix.so found Nov 18 13:22:42 d...
2017 Aug 03
2
pam auth problem
...ing to lazynet. cram-md5 works, pam not so much Aug 3 06:06:35 psg auth: in openpam_parse_chain(): /etc/pam.d/dovecot(1): missing or invalid facility Aug 3 06:06:35 psg dovecot: auth-worker(48815): Error: pam(elb,2604:6000:130d:c31b:d250:99ff:fe90:14dd,<Lyh6LtNVMq8mBGAAEw3DG9JQmf/+kBTd>): pam_start() failed: system error Aug 3 06:06:35 psg auth: in openpam_parse_chain(): /etc/pam.d/dovecot(1): missing or invalid facility Aug 3 06:06:35 psg dovecot: auth-worker(48815): Error: pam(elb,2604:6000:130d:c31b:d250:99ff:fe90:14dd,<Lyh6LtNVMq8mBGAAEw3DG9JQmf/+kBTd>): pam_start() failed: system...
2006 Sep 04
1
Can't build with PAM support
I'm having trouble getting dovecot to compile with PAM support. Output from the configure command says its checking for pam_start in -lpam .... no. I've checked, there is a pam_start in there. So how can I force configure to see what its looking for? I've tried the --with-pam switch and that doesn't work. I'm trying to build the latest RC7 on a Debian Sarge box. Regards Neil ---------------------------...
2012 Jun 11
1
dovecot does not find libpam when compiling with customized prefix
Hello everybody, I try to compile dovecot 2.1.7 with a customized --prefix setting and --with-pam . Although I installed libpam into the same --prefix, dovecot does not find it: checking for pam_start in -lpam... no configure: error: Can't build with PAM support: libpam not found The same or a similar problem seems to have appeared 4 years ago: http://www.dovecot.org/list/dovecot/2008-February/028750.html Which libpam file does dovecot expect in which directory? And possibly there is somet...
2002 Feb 14
2
[Bug 117] OpenSSH second-guesses PAM
http://bugzilla.mindrot.org/show_bug.cgi?id=117 ------- Additional Comments From djm at mindrot.org 2002-02-15 10:10 ------- > OpenSSH traditionally would not even start PAM, and > now starts it specifying 'NOUSER' as the login name. We have always used NOUSER, the recent patch just makes it consistent between protocols 1 and 2. > The second is to prevent username guessing
2002 Nov 24
1
[PATCH] PamServiceNameAppend
...herport and it's fine. Now, one step further : I use pam on the server, and would like to use /etc/pam.d/ssh_remote as the pam config-file for the second instance of sshd and continue to use /etc/pam.d/ssh for the first one. It comes down to change the "service_name" parameter of pam_start() for the second daemon. I had a look in the source and SSHD_PAM_SERVICE is a constant. I could of course recompile with -DSSHD_PAM_SERVICE= "ssh_remote" but I would have to have two sets of binaries : One sshd and another sshd_remote. Not really easy. :-( Attached is a pa...
2017 Aug 03
2
pam auth problem
...issing the name parameter. doh. first removed. Aug 3 06:49:23 psg auth: in openpam_parse_chain(): /etc/pam.d/dovecot(1): missing or invalid facility Aug 3 06:49:23 psg dovecot: auth-worker(53801): Error: pam(smb,2604:6000:1103:81a4:a8ec:3b9a:a3d4:d74f,<0+2Ax9NV6vAmBGAAEQOBpKjsO5qj1NdP>): pam_start() failed: system error Aug 3 06:49:23 psg pure-ftpd: (?@80.82.78.85) [WARNING] Authentication failed for user [vaninst] Aug 3 06:49:28 psg dovecot: auth: Warning: Timeout leak: 0x419970 (auth-request-handler.c:550) Aug 3 06:49:28 psg dovecot: imap-login: Error: Error sending request to auth serv...
2014 Apr 24
0
Help implementing username_format in auth PAM driver
...RUSER, pam_username_lookup(request)); /* TTY is needed by eg. pam_access module */ (void)pam_set_item(pamh, PAM_TTY, "dovecot"); } @@ -262,7 +275,7 @@ pam_verify_plain_call(struct auth_request *request, const char *service, ctx.request = request; ctx.pass = password; - status = pam_start(service, request->user, &conv, &pamh); + status = pam_start(service, pam_username_lookup(request), &conv, &pamh); if (status != PAM_SUCCESS) { auth_request_log_error(request, "pam", "pam_start() failed: %s", pam_strerror(pamh, status)); @@ -33...
2004 Jun 14
1
PAM_RHOST item
A little problem, which is bugging me: when using PAM authentication, Dovecot (0.99.5) does not set the PAM_RHOST item, so the PAM modules cannot know who the client is. We need this for some PAM module doing access control. Changing passdb-pam.c to pam_set_item it seems trivial, but I'm bugged as to how to get the client name from there. It seems not to be available in the auth_request
2008 Feb 15
2
PAM libraries not found
When I add the --with-pam option in my configure command I get the following error: checking for pam_start in -lpam... no configure: error: Can't build with PAM support: libpam not found PAM is most certainly installed on the machine: ii libpam-modules 0.79-5 Pluggable Authentication Modules for PAM ii libpam-runtime 0.79-5 Runtime support for the PAM...
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
...struct passdb_module *_module = request->passdb->passdb; + struct pam_passdb_module *module = (struct pam_passdb_module *)_module; conv.conv = pam_userpass_conv; conv.appdata_ptr = &ctx; @@ -265,10 +283,15 @@ ctx.request = request; ctx.pass = password; - status = pam_start(service, request->user, &conv, &pamh); + username = t_str_new(256); + table = auth_request_get_var_expand_table(request, auth_request_str_escape); + var_expand(username, module->username_format, table); + + status = pam_start(service, str_c(username), &conv, &pamh); if (stat...
2008 Nov 29
2
Dovecot POP3 problem: Authentication suddenly fails until dovecot gets restarted
...starts at different times during night (00:15 on Thursday, 1:15 on Friday, 3:20 on Saturday). I checked all cron-jobs, but couldn't find anything matching. Anyone any idea? Thanks, carsten Mail.log: Nov 29 07:10:13 wombat dovecot: auth-worker(default): pam(otrs-incoming,127.0.0.1): pam_start() failed: Critical error - immediate abort Nov 29 07:10:14 wombat dovecot: pop3-login: Aborted login (auth failed, 1 attempts): user=<otrs-incoming>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Dovecot.conf: protocols = pop3 pop3s log_timestamp = "%Y-%m-%d %H:%M:%S &quo...
2017 Apr 25
2
building Dovecot in Debian 9
I?m trying to build Dovecot 2.2.29.1 in a Docker container today and have the following error in ./configure: checking for shadow.h... yes checking for pam_start in -lpam... no checking for auth_userokay... no checking for mysql_config... mysql_config checking for mysql_init in -lmysqlclient... no configure: error: Can't build with MySQL support: libmysqlclient not found #> find / -name libmysqlclient\* /usr/share/doc/libmysqlclient20 /usr/share/lin...
2008 Aug 22
1
Dovecot not compiling with pam
Hi, I'm new here in the list so Hello to everyone! I'm compiling dovecot 1.0.10 with pam support in SLES 9 but i'm getting errors in config.log and it won't compile with pam support. Here are the results: s1:~/dovecot-1.0.10# ./configure --with-pam | grep pam checking for pam_start in -lpam... no and in config.log: configure:28830: checking for pam_start in -lpam configure:28865: gcc -o conftest -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast conftest.c -lpam >&5 /usr/lib/gc...
2007 Dec 02
1
1.0.8 install trouble on Ubuntu dapper (PAM)
...ve a dovecot that I compiled for a different system and it includes "pam" in the Passdb line. I found a page on the web saying I might need the pam-devel package, but that doesn't seem to exist for ubuntu. I saved the output from ./configure, grepped for pam, and got: checking for pam_start in -lpam... no Any ideas? What do I need to get configure to do pam support? Thanks very much j
2008 Oct 22
2
Dovecot dies with PAM error?
...l errors: Oct 21 14:46:16 tachikoma dovecot: imap-login: Login: user=<jason>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS Oct 21 14:46:16 tachikoma dovecot: IMAP(jason): Disconnected: Logged out bytes=769/9124 Oct 21 14:47:15 tachikoma dovecot: auth-worker(default): pam(jason,127.0.0.1): pam_start() failed: Critical error - immediate abort Oct 21 14:47:17 tachikoma dovecot: imap-login: Disconnected (auth failed, 1 attempts): user=<jason>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS If I have a look at /var/log/auth.log, I see: Oct 21 14:47:15 tachikoma dovecot-auth: PAM _pam_init...
2006 Jul 10
1
PAM Error on POP3s auth? And apop?
...for non-authenticated POP3. The problem begins when I try to use authentication for same against the system's /etc/passwd section. This is the error message that comes up in /var/log/maillog Jul 9 21:14:10 featherweb dovecot: auth(default): pam(kyrrin at bluefeathertech.com,192.168.42.40): pam_start() failed: system error Jul 9 21:14:17 featherweb dovecot: pop3-login: Aborted login: user=<kyrrin at bluefeathertech.com>, method=PLAIN, rip=192.168.42.40, lip=192.168.42.130, TLS THE PLATFORM: NetBSD 3.0, Postfix 2.3-RC8 (soon to be replaced by an official release in the coming week), and...
2005 Apr 07
1
pam problems
....76-22 libpam-runtime/testing uptodate 0.76-22 libpam-ldap/stable uptodate 140-1 ... my configure line is as follows: ./configure --sysconfdir=/etc --localstatedir=/var --with-ssl=openssl --with-pam when running configure, the only line related to pam is the following: checking for pam_start in -lpam... no and at the end of the configure script i get the following summary: Building with user database modules : static passwd passwd-file checkpassword (modules) Building with password lookup modules : passwd passwd-file shadow checkpassword (modules) So it seems that pam supp...