Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2012 16:10:12 GMT
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/168841: x11/slim fails to authorize (through kereros) if built without pam support
Message-ID:  <201206241610.q5OGACJm001375@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/168841; it has been noted by GNATS.

From: Henry Hu <henry.hu.sh@gmail.com>
To: Doug Barton <dougb@freebsd.org>
Cc: bug-followup@freebsd.org, c.kworr@gmail.com, 
	Gleb Kurtsou <gleb.kurtsou@gmail.com>
Subject: Re: ports/168841: x11/slim fails to authorize (through kereros) if
 built without pam support
Date: Sun, 24 Jun 2012 12:07:12 -0400

 --047d7b15ae452a873f04c33a1005
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Here is the updated patch:
 
 On Fri, Jun 22, 2012 at 9:25 PM, Doug Barton <dougb@freebsd.org> wrote:
 > On 06/20/2012 23:51, Henry Hu wrote:
 >> This patch enables PAM in slim.
 >
 > Given that we have a lot of users who don't like PAM, I'd much rather
 > see this be optional. See for example x11/xscreensaver.
 
 Now PAM is optional. However, I still make it default to "on", since
 PAM is part of the base system, and if we make it default to "off",
 some people may be unable to login.  If people don't like it, they may
 just turn it off.
 
 >
 >> Details:
 >> * add -DUSE_PAM=3Dyes to cmake args
 >> * install pam config file for "slim".
 >> * patch app.cpp to allow rebooting without login
 >
 > The patch seems to do more than that?
 
 OK, it allows rebooting, suspending and halting...
 
 >
 >> * modify rc.d script to start after hal. For new X server, this should
 >> be required to be able to input.
 >
 > Seems fine.
 >
 >> Most of it comes from
 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D152236, with some changes.
 >> Thanks to Gleb Kurtsou <gleb.kurtsou@gmail.com>.
 >>
 >> I've tested the patch, and I am able to log in. I'm not sure about
 >> kereros. Please test it.
 >
 > Personally I have no way to test kerberos.
 >
 > Doug
 >
 > --
 >
 > =A0 =A0This .signature sanitized for your protection
 >
 >
 
 
 
 --=20
 Cheers,
 Henry
 
 --047d7b15ae452a873f04c33a1005
 Content-Type: application/octet-stream; name="slim-1.3.3_2.patch"
 Content-Disposition: attachment; filename="slim-1.3.3_2.patch"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h3ub77gs0
 
 ZGlmZiAtcnVOIC0tZXhjbHVkZT1DVlMgLS1leGNsdWRlPS5zdm4gL3RtcC9jdnN0bXAvcG9ydHMv
 eDExL3NsaW0vTWFrZWZpbGUgL3Vzci9wb3J0cy94MTEvc2xpbS5uZXcvTWFrZWZpbGUKLS0tIC90
 bXAvY3ZzdG1wL3BvcnRzL3gxMS9zbGltL01ha2VmaWxlCTIwMTItMDYtMjEgMDI6MTk6MDAuMDAw
 MDAwMDAwIC0wNDAwCisrKyAvdXNyL3BvcnRzL3gxMS9zbGltLm5ldy9NYWtlZmlsZQkyMDEyLTA2
 LTI0IDExOjU3OjEzLjAwMDAwMDAwMCAtMDQwMApAQCAtNiw3ICs2LDcgQEAKIAogUE9SVE5BTUU9
 CXNsaW0KIFBPUlRWRVJTSU9OPQkxLjMuMwotUE9SVFJFVklTSU9OPQkxCitQT1JUUkVWSVNJT049
 CTIKIENBVEVHT1JJRVM9CXgxMQogTUFTVEVSX1NJVEVTPQlodHRwOi8vc2xpbS5iZXJsaW9zLmRl
 L3JlbGVhc2VzLwogRElTVEZJTEVTPQkke0RJU1ROQU1FfSR7RVhUUkFDVF9TVUZYfSAke0RJU1RO
 QU1FfSR7RVhUUkFDVF9TVUZYfS5yZWxlYXNlLmFzYwpAQCAtMTUsMTQgKzE1LDE0IEBACiBNQUlO
 VEFJTkVSPQloZW5yeS5odS5zaEBnbWFpbC5jb20KIENPTU1FTlQ9CUdyYXBoaWNhbCBsb2dpbiBt
 YW5hZ2VyIGZvciBYMTEsIGRlcml2ZWQgZnJvbSBMb2dpbi5hcHAKIAorTElDRU5TRT0JR1BMdjIK
 KwogTElCX0RF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S5kL3NsaW0gXSA7IHRoZW4gY3AgLXAgJUQvJUYgJUIvc2xpbTsg
 ZmkKIEBleGVjIC9iaW4vcm0gLWYgJUQvc2hhcmUvbWFuL21hbjEvc2xpbS4xCiBAZXhlYyBybWRp
 ciAiJUQvc2hhcmUvbWFuL21hbjEiIDI+L2Rldi9udWxsIHx8IHRydWUKIEBleGVjIHJtZGlyICIl
 RC9zaGFyZS9tYW4iIDI+L2Rldi9udWxsIHx8IHRydWUK
 --047d7b15ae452a873f04c33a1005--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206241610.q5OGACJm001375>