aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-11-11 19:24:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-11-11 19:24:00 +0000
commit4d9ebfc1ae8788f66be711273d73bf4831a7cd4e (patch)
treedaebb4a9a23e88cd09eefc12d78feb194c9ee938 /fetchmailconf
parent63a3fd1876062cdff8e59feca193a840a91bc0c8 (diff)
downloadfetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.gz
fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.bz2
fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.zip
Ready to ship.
svn path=/trunk/; revision=2983
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf9
1 files changed, 9 insertions, 0 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 05a599ed..a17adbc0 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -226,6 +226,7 @@ class User:
self.ssl = 0 # Enable Seccure Socket Layer
self.sslkey = None # SSL key filename
self.sslcert = None # SSL certificate filename
+ self.principal = None # Kerberos principal
self.properties = None # Extension properties
User.typemap = (
('remote', 'String'),
@@ -258,6 +259,7 @@ class User:
('ssl', 'Boolean'),
('sslkey', 'String'),
('sslcert', 'String'),
+ ('principal', 'String'),
('properties', 'String'))
def __repr__(self):
@@ -318,6 +320,8 @@ class User:
res = res + " sslkey " + `self.sslkey`
if self.sslcert and self.sslcert != UserDefaults.sslcert:
res = res + " sslcert " + `self.sslcert`
+ if self.principal and self.principal != UserDefaults.principal:
+ res = res + " principal " + `self.principal`
if self.expunge != UserDefaults.expunge:
res = res + " expunge " + `self.expunge`
res = res + "\n"
@@ -1475,6 +1479,11 @@ class UserEdit(Frame, MyWidget):
self.sslcert, '14').pack(side=TOP, fill=X)
sslwin.pack(fill=X, anchor=N)
+ # Someday this should handle Kerberos 5 too
+ if 'imap-k4':
+ LabeledEntry(secwin, 'Principal:',
+ self.principal, '12').pack(side=TOP, fill=X)
+
names = Frame(leftwin, relief=RAISED, bd=5)
Label(names, text="Local names").pack(side=TOP)
ListEdit("New name: ",