[Samba] cups addprinter fails dos error 0x00000013 (Samba 3b3)

Chris Puttick chris at centralmanclc.com
Tue Aug 12 13:57:22 GMT 2003


Hi

As per subject line...

Samba 3 beta 3 installed and functional (e.g. appears in browse lists on
windows, shares accessible etc.) on SuSE 8.2. 

CUPS 1.1.18 configured and functional, cups drivers installed.

Using cupsaddsmb results in failure with DOS code 0x00000013:

Running command: rpcclient localhost -N -U'root%******' -c 'adddriver
"Windows NT x86"
"coloura3:cupsdrvr.dll:coloura3.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"'
result was DOS code 0x00000013

Attaching with rpcclient and running adddriver results in same error.

The print$ subdirectory "W32X86" is created, but not the expected "2" one.
The cups drivers are successfully copied into W32X86, as is the ppd.

Any thoughts? If further information is needed, let me know.

smb.conf below.

Regards

Chris Puttick

[global]
        workgroup = TRINITY
        netbios aliases = zulu2
        server string =
        security = SHARE
        map to guest = Bad User
        log level = 1
        syslog = 0
        time server = Yes
        unix extensions = Yes
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
        printcap name = cups
        os level = 2
        wins support = Yes
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        printing = cups
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/


[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0640
        directory mask = 0750
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printer admin = root
        create mask = 0600
        guest ok = Yes
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = root
#       force group = ntadmin
        create mask = 0666
        guest ok = Yes

[clcrechp2100]
        comment = HP2100
        path = /var/spool/samba
        printer admin = root
        read only = No
        create mask = 0600
        guest ok = Yes
        printable = Yes
        printer name = clcrechp2100
        oplocks = No
        share modes = No

[coloura3]
        comment = HP Colour Laserjet 8550DN
        path = /var/spool/samba
        printer admin = root
        read only = No
        create mask = 0600
        guest ok = Yes
        printable = Yes
        printer name = coloura3
        oplocks = No
        share modes = No







More information about the samba mailing list