[cups.general] cupsaddsmb not working ?

Dr.Peer-Joachim Koch pkoch at bgc-jena.mpg.de
Thu Jan 24 06:05:07 PST 2008


Hi,

currently I'm trying to setup a new print server.
I'm using Novel SLES 10SP1 with the rpm from novell.
After copying the ppd's and the printer.conf printing
is possible using cups. In the next step I tried to add
the samba part. Therefore evrything was configured like
on the old system. I added the adope-drivers and the cups-
windows driver and tried to add everything using
cupsaddsmb.

But even using "-v" only one line appears and no print driver
is installed. How can I debug it or better
how can I solve the problem ?


---------------
cupsaddsmb -v A_2_013_ColorPas
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%MYPASS' -c 'setdriver 
A_2_013_ColorPas A_2_013_ColorPas'
Succesfully set A_2_013_ColorPas to driver A_2_013_ColorPas.

aruba:~ # smbclient -L localhost
-----------------

samba-client-3.0.24-2.23
cups-drivers-1.1.23-28.2
cups-libs-1.1.23-40.15
samba-3.0.24-2.23
cups-1.1.23-40.15
cups-SUSE-ppds-dat-1.1.20-119.2
cups-drivers-stp-1.1.23-28.2
yast2-samba-client-2.13.36-0.8
yast2-samba-server-2.13.22-0.8
cups-client-1.1.23-40.15
cups-windows-6.0-1

---------smb.conf-----------
[global]
         workgroup = OURWORK
         map to guest = Bad User
         password server = *
         username map = /etc/samba/smbusers
         log file = /var/log/samba/%m.log
         load printers = yes
         printcap cache time = 750
         printcap name = cups
         cups options = raw
         passdb backend = smbpasswd
[printers]
         comment = All Printers
         path = /var/tmp
         create mask = 0600
         printable = Yes
         browseable = No
[print$]
         comment = Printer Drivers
         path = /var/lib/samba/drivers
         write list = root
         force group = ntadmin
         create mask = 0664
         directory mask = 0775
         guest ok = Yes
----------------------
ls -l /var/lib/samba
ls -l /var/lib/samba/
insgesamt 284
-rw-------  1 root root     8192 2008-01-24 12:56 account_policy.tdb
-rw-r--r--  1 root root    40200 2008-01-24 13:09 brlock.tdb
-rw-r--r--  1 root root      219 2008-01-24 12:48 browse.dat
-rw-r--r--  1 root root    16384 2008-01-24 13:12 connections.tdb
drwxrwxr-x 10 root ntadmin  4096 2008-01-16 14:57 drivers
-rw-r--r--  1 root root     8192 2008-01-24 13:09 gencache.tdb
-rw-------  1 root root     8192 2008-01-14 15:40 group_mapping.tdb
-rw-r--r--  1 root root    40200 2008-01-24 13:09 locking.tdb
-rw-------  1 root root     8192 2008-01-24 13:09 messages.tdb
drwxr-xr-x  2 root root     4096 2007-05-16 17:23 netlogon
-rw-------  1 root root     8192 2008-01-16 14:57 ntdrivers.tdb
-rw-------  1 root root     8192 2008-01-16 14:57 ntforms.tdb
-rw-------  1 root root    49152 2008-01-24 13:09 ntprinters.tdb
drwxr-xr-x  2 root root     4096 2008-01-14 15:40 perfmon
drwxr-xr-x  2 root root     4096 2008-01-16 15:08 printing
drwxrwx---  2 root users    4096 2007-05-16 17:23 profiles
-rw-------  1 root root    16384 2008-01-24 13:09 registry.tdb
-rw-r--r--  1 root root    24576 2008-01-24 13:12 sessionid.tdb
-rw-------  1 root root     8192 2008-01-14 15:50 share_info.tdb
-rw-r--r--  1 root root    16384 2008-01-24 12:53 unexpected.tdb
drwxrwx--T  2 root users    4096 2008-01-24 12:56 usershares

-----------------------------

Any idea ?


-- 
Bye,
     Peer
_________________________________________________________
Max-Planck-Institut fuer Biogeochemie
Dr. Peer-Joachim Koch
Hans-Knöll Str.10            Telefon: ++49 3641 57-6705
D-07745 Jena                 Telefax: ++49 3641 57-7705

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7212 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.cups.org/pipermail/cups/attachments/20080124/507bafe0/attachment-0001.bin>


More information about the cups mailing list