dovecot: Don't require having uid/gid.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jul 3 03:55:59 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/a3bbf340694f
changeset: 5877:a3bbf340694f
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jul 03 03:55:36 2007 +0300
description:
Don't require having uid/gid.

diffstat:

1 file changed, 7 deletions(-)
src/auth/userdb-static.c |    7 -------

diffs (24 lines):

diff -r 933caa747d37 -r a3bbf340694f src/auth/userdb-static.c
--- a/src/auth/userdb-static.c	Tue Jul 03 03:51:36 2007 +0300
+++ b/src/auth/userdb-static.c	Tue Jul 03 03:55:36 2007 +0300
@@ -131,9 +131,6 @@ static_preinit(struct auth_userdb *auth_
 
 	module = p_new(auth_userdb->auth->pool, struct static_userdb_module, 1);
 
-	uid = (uid_t)-1;
-	gid = (gid_t)-1;
-
 	tmp = t_strsplit_spaces(args, " ");
 	p_array_init(&module->template, auth_userdb->auth->pool,
 		     strarray_length(tmp));
@@ -177,10 +174,6 @@ static_preinit(struct auth_userdb *auth_
 	}
 	t_pop();
 
-	if (uid == (uid_t)-1)
-		i_fatal("static userdb: uid missing");
-	if (gid == (gid_t)-1)
-		i_fatal("static userdb: gid missing");
 	return &module->module;
 }
 


More information about the dovecot-cvs mailing list