[Samba] windows printer status not update

steven stevenng at lcp.com.hk
Tue Sep 7 04:44:52 GMT 2004

I got the following problems using samba 3.06(with patch from samba site) on
1.windows printer status not update
    printer status on client windows machine keep all the printed jobs if no
delete the job status.
2. smbd has the following log:
    [2004/09/07 11:27:22, 0] lib/substitute.c:alloc_sub_basic(505)
    alloc_sub_basic: NULL source string!  This should not happen
    [2004/09/07 11:27:22, 0] printing/print_generic.c:print_run_command(67)
    Invalid snum 5 for command lpq -P'%p'
    [2004/09/07 11:27:22, 3]
     0 jobs in queue for
    [2004/09/07 11:27:23, 2] tdb/tdbutil.c:tdb_log(725)
    tdb(unnamed): tdb_open_ex: /usr/local/samba/var/locks/printing/.tdb
(770,0) is already open in this process
    [2004/09/07 11:27:23, 0] printing/printing_db.c:get_print_db_byname(106)
    get_print_db: Failed to open printer backend database

my smb.conf configure has " lpq command = lpq -P'%p'
Printting is OK.

More information about the samba mailing list