[dovecot-cvs] dovecot/src/auth auth-request.c, 1.58.2.29, 1.58.2.30 auth-request.h, 1.27.2.5, 1.27.2.6
tss at dovecot.org
tss at dovecot.org
Sat Mar 10 16:04:33 EET 2007
- Previous message: [dovecot-cvs] dovecot/src/auth db-passwd-file.c, 1.28, 1.29 mech-gssapi.c, 1.10, 1.11 passdb-bsdauth.c, 1.16, 1.17 passdb-cache.c, 1.21, 1.22 passdb-checkpassword.c, 1.32, 1.33 passdb-pam.c, 1.48, 1.49 passdb-passwd.c, 1.18, 1.19 passdb-shadow.c, 1.19, 1.20 passdb-sia.c, 1.3, 1.4 passdb-vpopmail.c, 1.26, 1.27 userdb-passwd.c, 1.21, 1.22 userdb-prefetch.c, 1.5, 1.6 userdb-vpopmail.c, 1.23, 1.24
- Next message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.90, 1.91 auth-request.h, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv1548
Modified Files:
Tag: branch_1_0
auth-request.c auth-request.h
Log Message:
Added %c variable which expands to "secured" with SSL/TLS/localhost.
Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.58.2.29
retrieving revision 1.58.2.30
diff -u -d -r1.58.2.29 -r1.58.2.30
--- auth-request.c 9 Mar 2007 00:27:08 -0000 1.58.2.29
+++ auth-request.c 10 Mar 2007 14:04:31 -0000 1.58.2.30
@@ -155,6 +155,8 @@
net_addr2ip(value, &request->local_ip);
else if (strcmp(key, "rip") == 0)
net_addr2ip(value, &request->remote_ip);
+ else if (strcmp(key, "secured") == 0)
+ request->secured = TRUE;
else
return FALSE;
@@ -1048,6 +1050,7 @@
{ 'w', NULL },
{ '!', NULL },
{ 'm', NULL },
+ { 'c', NULL },
{ '\0', NULL }
};
struct var_expand_table *tab;
@@ -1084,6 +1087,7 @@
}
tab[10].value = auth_request->mech == NULL ? "" :
auth_request->mech->mech_name;
+ tab[11].value = auth_request->secured ? "secured" : "";
return tab;
}
Index: auth-request.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.h,v
retrieving revision 1.27.2.5
retrieving revision 1.27.2.6
diff -u -d -r1.27.2.5 -r1.27.2.6
--- auth-request.h 16 Feb 2007 17:22:57 -0000 1.27.2.5
+++ auth-request.h 10 Mar 2007 14:04:31 -0000 1.27.2.6
@@ -84,6 +84,7 @@
unsigned int proxy:1;
unsigned int cert_username:1;
unsigned int userdb_lookup:1;
+ unsigned int secured:1;
/* ... mechanism specific data ... */
};
- Previous message: [dovecot-cvs] dovecot/src/auth db-passwd-file.c, 1.28, 1.29 mech-gssapi.c, 1.10, 1.11 passdb-bsdauth.c, 1.16, 1.17 passdb-cache.c, 1.21, 1.22 passdb-checkpassword.c, 1.32, 1.33 passdb-pam.c, 1.48, 1.49 passdb-passwd.c, 1.18, 1.19 passdb-shadow.c, 1.19, 1.20 passdb-sia.c, 1.3, 1.4 passdb-vpopmail.c, 1.26, 1.27 userdb-passwd.c, 1.21, 1.22 userdb-prefetch.c, 1.5, 1.6 userdb-vpopmail.c, 1.23, 1.24
- Next message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.90, 1.91 auth-request.h, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list