Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/db-ldap.c @ 3908:afe21b6d4b68 HEAD
Give a clear error message if SQL/LDAP configuration file path was left
empty.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 18 Jan 2006 18:53:20 +0200 |
parents | 928229f8b3e6 |
children | af15aab60ff1 |
line wrap: on
line diff
--- a/src/auth/db-ldap.c Tue Jan 17 16:04:01 2006 +0200 +++ b/src/auth/db-ldap.c Wed Jan 18 18:53:20 2006 +0200 @@ -406,6 +406,9 @@ return conn; } + if (*config_path == '\0') + i_fatal("LDAP: Configuration file path not given"); + pool = pool_alloconly_create("ldap_connection", 1024); conn = p_new(pool, struct ldap_connection, 1); conn->pool = pool;