I've just run into the "RPC2_Bind() --> RPC2_NOBINDING (F)" problem with
the Debian coda packages. I got around it with the following patch. Is
this the correct fix?
--
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--- secure.c.orig Tue Oct 3 13:45:16 2000
+++ secure.c Tue Oct 3 13:43:49 2000
@@ -212,6 +212,10 @@
void rpc2_ApplyD(RPC2_PacketBuffer *pb, struct CEntry *ce)
{
+ /* XXXXXXXXXXXXXXX this was at the beginning now moved
+ */
+ if (!(ntohl(pb->Header.Flags) & RPC2_ENCRYPTED))
+ return;
switch((int)ce->SecurityLevel) {
case RPC2_HEADERSONLY:
@@ -226,9 +230,4 @@
ce->SessionKey, ce->EncryptionType);
return;
}
-
- /* XXXXXXXXXXXXXXX this was at the beginning now moved
- */
- if (!(ntohl(pb->Header.Flags) & RPC2_ENCRYPTED))
- return;
}