[cups.general] cupsaddsmb not working ?
Franz Pfoertsch
franz.pfoertsch at brose.com
Fri Jan 25 02:34:38 PST 2008
Hello,
first of all cups/samba is working on SLES 10SP1.
Please make a update from Novell Samba 3.0.28 is available!
Please try to connect do the print$ share
like smbclient //<servername>/print$ ...
try to do the commands discripte at
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id410975
regards
Franz
Dr.Peer-Joachim Koch wrote:
> 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 ?
>
>
More information about the cups
mailing list