sane-project-website/old-archive/2000-06/0102.html

97 wiersze
3.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: question about network protocoll...</TITLE>
<META NAME="Author" CONTENT="Jochen Eisinger (jochen.eisinger@gmx.net)">
<META NAME="Subject" CONTENT="question about network protocoll...">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>question about network protocoll...</H1>
<!-- received="Mon Jun 12 14:21:40 2000" -->
<!-- isoreceived="20000612212140" -->
<!-- sent="Mon, 12 Jun 2000 23:21:38 +0200" -->
<!-- isosent="20000612212138" -->
<!-- name="Jochen Eisinger" -->
<!-- email="jochen.eisinger@gmx.net" -->
<!-- subject="question about network protocoll..." -->
<!-- id="39455462.BC993620@gmx.net" -->
<STRONG>From:</STRONG> Jochen Eisinger (<A HREF="mailto:jochen.eisinger@gmx.net?Subject=Re:%20question%20about%20network%20protocoll...&In-Reply-To=&lt;39455462.BC993620@gmx.net&gt;"><EM>jochen.eisinger@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Jun 12 2000 - 14:21:38 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0103.html">Jochen Eisinger: "Re: saned doesn't find sane service..."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0101.html">Alan Baltazar: "Visioneer Strobe Pro NT"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0129.html">Georg Lehner: "Network backend Debian 2.1"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0129.html">Georg Lehner: "Network backend Debian 2.1"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#102">[ date ]</A>
<A HREF="index.html#102">[ thread ]</A>
<A HREF="subject.html#102">[ subject ]</A>
<A HREF="author.html#102">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I have a problem with the authentification process: In net.c the
<BR>
SANE_NET_OPEN function is called. When the backend requires user auth,
<BR>
saned replies with reply.ressource_to_authorize = ressource. net.c then
<BR>
calls the frontend auth_callback and sends SANE_NET_AUTHORIZE. Then the
<BR>
backend-&gt;do_auth continues and if the user/pass was correct succeeds.
<BR>
Saned then returns reply.handle = handle, which net.c discards. Next
<BR>
net.c retries to open the device, which must fail, because the
<BR>
ressources are already allocated.
<BR>
<P>Where is the error? I don't know...
<BR>
<P>I'm trying to write a backend that uses user authentification, but it
<BR>
somehow doesn't work...
<BR>
<P>-- jochen
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20question%20about%20network%20protocoll...&In-Reply-To=&lt;39455462.BC993620@gmx.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0103.html">Jochen Eisinger: "Re: saned doesn't find sane service..."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0101.html">Alan Baltazar: "Visioneer Strobe Pro NT"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0129.html">Georg Lehner: "Network backend Debian 2.1"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0129.html">Georg Lehner: "Network backend Debian 2.1"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#102">[ date ]</A>
<A HREF="index.html#102">[ thread ]</A>
<A HREF="subject.html#102">[ subject ]</A>
<A HREF="author.html#102">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Mon Jun 12 2000 - 14:23:06 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>