Changes

Jump to navigation Jump to search
28 bytes added ,  14:44, 3 April 2008
no edit summary
Line 63: Line 63:  
<li>Create a group using the server-manager of your SME Server to hold the users that will be allowed to use the scanner application. In this instruction it is assumed that the group will be called saneusers.</li>
 
<li>Create a group using the server-manager of your SME Server to hold the users that will be allowed to use the scanner application. In this instruction it is assumed that the group will be called saneusers.</li>
 
<li>One of the first steps we need to do is to add a entry to the internal configuration database to hold the configuration parameters of the saned service daemon with the following commands:
 
<li>One of the first steps we need to do is to add a entry to the internal configuration database to hold the configuration parameters of the saned service daemon with the following commands:
<pre>db configuration set saned service
+
<pre>db configuration set sane-port service
db configuration setprop saned TCPPort 6566
+
db configuration setprop sane-port TCPPort 6566
db configuration setprop saned status enabled</pre>
+
db configuration setprop sane-port status enabled</pre>
<!---db configuration setprop saned access private--->
+
<!---db configuration setprop sane-port access private--->
 
</li>
 
</li>
 
<li>Create a custom template fragment by issuing the following commands:
 
<li>Create a custom template fragment by issuing the following commands:
Line 78: Line 78:  
$OUT = <<HERE;  
 
$OUT = <<HERE;  
   −
service sane  
+
service sane-port
 
{  
 
{  
 
port = 6566  
 
port = 6566  
Line 114: Line 114:     
Add the following line to the file:
 
Add the following line to the file:
<pre>sane      { ${'saned'}{TCPPort} }/tcp              # SANE network scanner daemon</pre>
+
<pre>sane-port     { ${'sane-port'}{TCPPort} }/tcp              # SANE network scanner daemon</pre>
 
Expand the configuration file:
 
Expand the configuration file:
 
<pre>expand-template /etc/services</pre>  
 
<pre>expand-template /etc/services</pre>  
Line 123: Line 123:  
Add the following lines to the file:
 
Add the following lines to the file:
 
<pre>localhost
 
<pre>localhost
adresse-ip_client1
+
adresse-ip_client1
adresse_ip_client2</pre>
+
adresse_ip_client2</pre>
 
</li>
 
</li>
 
<li>Make a link to allow xinetd to start during the server startup:
 
<li>Make a link to allow xinetd to start during the server startup:
254

edits

Navigation menu