diff src/auth/db-passwd-file.h @ 4034:b533c52196e3 HEAD

Updated passwd-file format to allow specifying any key=value fields. Since the value fields may contain ':' characters, this changes the file format a bit. Previously the last two fields were "flags" and "mail". Flags has been empty for last 3 years however, so the new format is used if the flags field contains something. In that case there is no separate mail field, it can instead be specified by adding userdb_mail=<mail> parameter.
author Timo Sirainen <timo.sirainen@movial.fi>
date Mon, 20 Feb 2006 16:16:00 +0200
parents 2d0859490a2f
children 335ac59efffd
line wrap: on
line diff
--- a/src/auth/db-passwd-file.h	Mon Feb 20 16:12:36 2006 +0200
+++ b/src/auth/db-passwd-file.h	Mon Feb 20 16:16:00 2006 +0200
@@ -9,9 +9,8 @@
 	gid_t gid;
 
 	char *home;
-	char *mail;
-
-	char *password;
+        char *password;
+        char **extra_fields;
 };
 
 struct passwd_file {