search for: auth_userdb

Displaying 20 results from an estimated 157 matches for "auth_userdb".

2005 Jan 12
1
How to configure auth_userdb and auth_passwd?
Hi! i want to configure dovecot to use a modified passwdfile. A linie in this file looks like this: "username: <TAB> crypted_password" how i have to use the auth_userdb and auth_passwd command? Now i have: auth_userdb = passwd-file /path/file auth_passwd = passwd-file /path/file (same file) dovecot is starting normaly (i think) but a authentification test via telnet doesnt work. Any suggestions? Thanx a lot. Mirko
2004 Jul 22
2
Authentification with PostgreSQL
...://dag.wieers.com/packages/dovecot/ and installed it. Now dovecot-auth isn't complaining anymore about an unknown userdb type but I can't get authentication working. /etc/dovecot.conf (...) # Authentication process name. auth = default # plain digest-md5 anonymous auth_mechanisms = plain auth_userdb = pgsql /etc/dovecot-pgsql.conf auth_userdb = pgsql /etc/dovecot-pgsql.conf auth_user = root auth_verbose = yes (...) /etc/dovecot-pgsql.conf connect = host=localhost dbname=xams-dovecot user=dovecot password=hallo default_pass_scheme = PLAIN password_query = SELECT password FROM users WHERE usern...
2003 Mar 02
1
ldap config
Hi, how do I setup the config to use an ldap server for authentification ? I tried : auth_userdb = ldap:/usr/local/dovecot/etc/dovecot-ldap.conf auth_userdb = ldap:/usr/local/dovecot/etc/ auth_userdb = usr/local/dovecot/etc/dovecot-ldap.conf however I got an error. What is the correct syntax for the ldap config ? Regards, Stefan Sels
2006 Apr 08
3
LDAP authentication via PAM
I've configured dovecot to authenticate against a Fedora Directory Server. The mail server on which dovecot is installed has the nss_ldap and pam_ldap packages installed, and /etc/dovecot.conf has the following two lines: auth_userdb = ldap /etc/dovecot-ldap.conf auth_passdb = pam In other words, I want dovecot to use LDAP to access the user database, but PAM for authentication. This part is working, since users authenticate and get their mails correctly through dovecot. /etc/dovecot-ldap.conf contains the following: hosts =...
2005 Aug 27
2
Authenticate user thru PAM
my mailsystem is using postfix and virtual mailbox which stored in mysql db. SMTP AUTH is using PAM, pam-mysql to authenticate against a mysql db. I installed dovecot 0.99-14. In the dovecot example config file it mentioned that auth_passdb can check against thru PAM but auth_userdb didn't Does it mean that auth_userdb should use other means e.g. /etc/passwd, shadow, vpopmail, etc and in my case it is mysql. Right ?
2005 Oct 21
2
dual auth with real users and virtual users
...or postfix+dovecot+real unix users, now i tried to enable virtual support with this: protocols = imap pop3 ssl_disable = yes log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot.info login_user = dovecot mail_extra_groups = mail auth = default auth_mechanisms = plain auth_passdb = pam auth_userdb = passwd auth_userdb = passwd-file /etc/vhosts/userdb auth_passdb = passwd-file /etc/vhosts/passwd The above configuration works for local users but is not working for virtual users, it produces the error: dovecot-auth: Oct 21 00:19:14 Info: PAM: pam_authenticate(erickperez) failed: Authenticati...
2006 Feb 03
1
passwd-userdb with args
...ULL) + value = NULL; + else { + str_truncate(str, 0); + var_expand(str, args[i+1], table); + value = str_c(str); + } + auth_stream_reply_add(reply, args[i], value); + } callback(reply, auth_request); + t_pop(); + } + + static struct userdb_module * + passwd_preinit(struct auth_userdb *auth_userdb, const char *args) + { + struct passwd_userdb_module *module; + const char *const *tmp, *key, *value; + + module = p_new(auth_userdb->auth->pool, struct passwd_userdb_module, 1); + + tmp = t_strsplit_spaces(args, " "); + ARRAY_CREATE(&module->template, aut...
2006 Feb 19
2
Plain password auth issues
Have the following entries in dovecot.conf auth_userdb = passwd-file /etc/dovecot-passdb auth_passdb = passwd-file /etc/dovecot-passdb auth_user = dovecot passwd-file is owned by user and group dovecot When I try to log in .. I get dovecot: Feb 19 16:41:30 Error: Logins with UID 0 not permitted (user echo) imap-login: Feb 19 16:41:30 Info: Inte...
2006 Apr 18
3
Does NIS/yp work for authentication
If a host is running NIS (passwd file ends in +::0:0:::) authentication, will dovecot be able to authenticate with auth_userdb = passwd directly and automagically or do you have to do a ypcat passwd > pwfile periodically to generate a passwd file that dovecot can use? ? Thanks! -- ==== Stewart Dean, Unix System Admin, Henderson Computer Resources Center of Bard College, Annandale-on-Hudson, New York 12504 sdea...
2005 May 17
2
(no subject)
...starting up May 17 12:33:47 mail dovecot: Auth process died too early - shutting down May 17 12:33:47 mail dovecot: auth(default): No password databases set May 17 12:33:47 mail dovecot: child 29405 (auth) returned error 89 This is is a section in my conf file. auth default { mechanisms = plain auth_userdb = passwd auth_passdb = pam #auth_userdb = passwd #auth_passdb = pam #userdb = /etc/passwd #passdb = /etc/passwd # passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot # args= /etc/passwd # }...
2004 Jul 22
3
Dovecot auth problem on FreeBSD 4.10
...message I get is: pop3-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89 or imap-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89 I have tried various combinations of: auth = default|plain|pam auth_userdb = passwd auth_passdb = passwd|shadow|pam|passwd-file but nothing works. What am I doing wrong? Thanks. Viren Patel University of Texas at Austin
2006 Jan 12
3
Plain password not authenticating
...lserver using Debian Sarge and Dovecot 1.0 with maildir format. My only previous experience has been on a simple imap server. I have read the wiki documentation and searched the archives, but can't tie down my problem. The log tells me Info: passwd-file(anne) : unknown user. I have set auth_userdb = passwd-file /etc/imap.passwd auth_passdb = passwd-file /etc/imap.passwd and created the /etc/imap.passwd file as anne:{plain}mypassword:1000:1000::/home/anne What have I missed? Anne -- Registered Linux User No.293302 (http://counter.li.org/)
2004 Jul 14
2
Authentication Problems.
...ains/$domain/mail/$user I got exim working without problem but when I tried to login via IMAP on Dovecot I'm getting 'a001 NO Authentication failed.' Now I have this setup in dovecot.conf: default_mail_env = mbox:/var/virtualdomains//%d/mail/%n/:INBOX=/var/virtualdomains/%d/mail/%n auth_userdb = passwd-file /var/virtualdomains/etc/virtpasswd It's my understanding that Dovecot can't parse out the domain name in the auth_userdb command so I modifed my setup to use just the one password file and modified it to this; user at doman.com:passwd:uid:gid:Virtual User:/var/virtualdom...
2003 Oct 30
1
Problems finding information on passwd-file
I've recently converted over to dovecot to uw-imap, and am having a heck of a time trying to find actual docs that describe how to set up virtual users properly without using ldap or posgres.. Basically I need to know what goes in auth_userdb and auth_passdb for a system with *NO* local user accounts in /etc/passwd and /etc/shadow. I will only create mbox files for these users in /var/mail/%u and alternately a home directory where they can store their own mail folders under /home/%u. How can I do this, given the current dovecot codeba...
2004 Jul 25
2
Passwords in passwd-file
Hi! I'm trying to use MD5 hashed password in a passwd-file (not the system one). I've set auth_userdb = passwd-file /my/passwd/file auth_passdb = passwd-file /my/passwd/file auth.txt additionally describes a syntax like: auth_userdb = passwd-file[34] /my/passwd/file to denote MD5 passwords in the file, but I've been unable to get any combination of using []'s after passwd-file to work....
2006 Jan 09
2
dovecot auth using passwd-file
...t I got dovecot to work fine with regular /etc/passwd file auth .. so I wanted to start using another authentication store for virtual users. So .. I created a /etc/dovecot-passdb file and plopped in an encrypted password using md5crypt. Here are the appropriate lines from the dovecot.conf file auth_userdb = passwd-file /etc/dovecot-passdb auth_passdb = pam and here is the /etc/pam.d/dovecot file #%PAM-1.0 auth required pam_nologin.so auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth session required pam_stack.so servic...
2008 May 25
3
singe system user for all virtual users
...base auth_socket_path = /var/run/dovecot/auth-master } auth_verbose = yes auth_debug = yes auth_debug_passwords = yes auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb static { args = uid=mail gid=mail home=/home/MAIL/%n } auth_userdb = user = mail socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = mail # User running Dovecot LDA group = mail # Or alternatively mode 0660 + LDA user in this group } } } dict { } plugin { } what do i do wrong? best...
2004 Dec 29
3
why dovecot try to access the uses's home?
hi, after i try to use dovecot with ldap i configure dovecot as: ------------------------ first_valid_uid = 499 last_valid_uid = 499 first_valid_gid = 499 last_valid_gid = 499 default_mail_env = maildir:/home/mail/%d/%n auth_userdb = static uid=499 gid=499 home=/home/users/%d/%n auth_passdb = ldap /etc/dovecot-ldap.conf ------------------------ but after this i've got the error in imap.log: ------------------------ dovecot: Dec 29 14:39:14 Fatal: chdir(/home/users/<username>) failed with uid 499: Permission denied...
2006 May 31
2
problems with Debian Sarge
...child process used by Dovecot that # handles the authentication steps. The steps cover an authentication # mechanism (auth_mechanisms, how the client authenticates in the IMAP or # POP3 protocol), which password database should be queried (auth_passdb), # and which user database should be queried (auth_userdb, to obtain # UID, GID, and location of the user's mailbox/home directory). # # You can have multiple processes, though a typical configuration will # have only one. Each time "auth = xx" is seen, a new process # definition is started. The point of multiple processes is to be able # to...
2004 Aug 27
4
Authentication and Startup/Shutdown error.
...only have a couple of users. Terrorists woud be wasting their time to monkey with my server. In the dovecot.conf file, here are a few of my settings. pop3_executable = /usr/libexec/dovecot/pop3 pop3_process_size = 256 auth = passwd auth_mechanisms = plain auth_realms = auth_default_realm = auth_userdb = passwd: /etc/passwd auth_passdb = passwd: /etc/passwd auth_executable = /usr/libexec/dovecot/dovecot-auth auth_process_size = 256 auth_user = root auth_count = 2 Any help would be greatly appreciated, of course. I'll keep scanning the web site while I am at your mercy. TIA, Andrew L. i...