Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cupsaddsmb
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Blade McKain
n00b
n00b


Joined: 15 Jan 2005
Posts: 17

PostPosted: Fri Mar 25, 2005 8:49 am    Post subject: cupsaddsmb Reply with quote

ho installato Samba3, CUPS e Clam seguento il tutorial sul sito e funziona "quasi" tutto, ovvero le cartelle condivise vanno benissimo il problema sono i driver delle stampanti che cups dovrebbe installarmi sulle macchine windows
praticamente va tutto bene fino al punto 4.12 Installare i driver delle stampanti su Windows di questo tutorial http://www.gentoo.org/doc/it/quick-samba-howto.xml

procedo quindi con il
# ./cups-samba.install
e mi installa correttamente i 3 files cups5.hlp, cupsdrvr5.dll e cupsui5.dll in /usr/share/cups/drivers

poi faccio
Code:

# cupsaddsmb -H PrintServer -U root -h PrintServer -v NOME_STAMPANTE
ovviamente modificanto PrintServer e NOME_STAMPANTE con i miei e ottengo
Password for root required to accces tux via SAMBA:
Running command: rpcclient tux -N -U'root%lamiapassword' -c 'setdriver KX-P1180 KX-P1180'
Succesfully set KX-P1180 to driver KX-P1180

il problema è che se vado a guardare nella cartella /etc/samba/printer non cè niente, non mi ha creato l'albero delle directory come invece dovrebbe fare

smb.conf
Code:

[global]
   workgroup = WORKGROUP    # set your windows network
   server string = Samba Server %v
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   browseable = yes
   printing = cups               # tell samba that we'd like CUPS for printing
   printcap name = cups
   ;encrypt passwords = yes
   ;lock directory = /usr/local/samba/var/lock
   interfaces = lo eth0             # the interface to the local network
   bind interfaces only = yes
   hosts allow = 127.0.0.1 192.168.0.1/24
   #hosts deny = 0.0.0.0/0
   security = share
   vfs object = vscan-clamav
   vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
[print$]
   comment = Printer Drivers
   # this path holds the driver structure
   path = /etc/samba/printer
   guest ok = no
   browseable = yes
   read only = yes
   # add a username to the write list
   # if you don't want root to be the only
   # printer admin
   write list =printuser,root
[KX-P1180] # the name is arbitrary, but should be consistent throughout
           # Samba and CUPS!
   comment = Panasonic KX-P1180
   printable = yes
   path = /var/spool/samba
   public = yes
   guest ok = yes
   printer admin = printuser,root
 
 [printers]      # here all printers will be shown; this becomes the Printers
                 # share/section under Network Neighborhood
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   public = yes
   guest ok = yes
   writable = no
   printable = yes
   printer admin = printuser,root 
 [public]
   comment = Public Files
   browseable = yes
   public = yes
   only guest = yes
   path = /home/samba/public
   writable = yes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum