From efea318b2e7e4725ff850544fa2609a65a196845 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 28 Nov 2005 03:09:22 +0000 Subject: use role=client on passwd --- src/cmd/upas/fs/imap4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/upas/fs/imap4.c b/src/cmd/upas/fs/imap4.c index bc51089b..dd67f64d 100644 --- a/src/cmd/upas/fs/imap4.c +++ b/src/cmd/upas/fs/imap4.c @@ -358,9 +358,9 @@ imap4login(Imap *imap) return "error in initial IMAP handshake"; if(imap->user != nil) - up = auth_getuserpasswd(auth_getkey, "proto=pass service=imap server=%q user=%q", imap->host, imap->user); + up = auth_getuserpasswd(auth_getkey, "proto=pass role=client service=imap server=%q user=%q", imap->host, imap->user); else - up = auth_getuserpasswd(auth_getkey, "proto=pass service=imap server=%q", imap->host); + up = auth_getuserpasswd(auth_getkey, "proto=pass role=client service=imap server=%q", imap->host); if(up == nil) return "cannot find IMAP password"; -- cgit v1.2.3