From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 5 Sep 2007 14:51:37 -0500 From: "Ashwin Ganti" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] p9cr support in p9p's factotum? Topicbox-Message-UUID: b89bdf5a-ead2-11e9-9d60-3106f5b1d025 Hello, As part of a PAM module implementation in Linux I need to authenticate against p9p's factotum. The code basically does an "auth_userpasswd(user, passwd)" to achieve this. Apparently I get a response from the factotum saying that it does not understand p9cr. I noticed that in p9p's 'libauth' sources the auth_userpasswd internally calls auth_challenge("user=%q proto=p9cr role=server", user). When I grepped the sources I could not find p9cr implemented in src/cmd/auth/factotum. Although I could notice a file "p9cr.c" which seems to be a partial port as the code is not the same as that of its Plan9 counterpart but looks more like the other p9p's code ( p9sk1.c etc. ). I was wondering if p9cr is supported in p9p's factotum. If yes then am I missing something here? If not then is it on somebody's plate to complete it? I am willing to complete it but I am a newbie in the p9p's factotum's code and would appreciate any guidance/help from someone who is aware of this stuff to help me get it done. I would also like to know if there is any workaround for this like using another protocol may be? Any information would be very much useful. Thanks and regards, Ashwin Ganti "Impossibility is a relative concept" www.cs.uic.edu/~aganti