[Samba] Unable to enable Add/Remove Printer Drivers (3.0.0)

Adam Williams adam at morrison-ind.com
Fri Oct 3 15:34:54 GMT 2003


> I used to be able to load printer drivers via "server properties".  Now
> when I go in the printer drivers are listed and I can use the properties
> button but the Add/Remove buttons are greyed out.  This is a Samba
> 3.0.0/2.4.2-SGI_XFS_1.0 box and I've tried both NT4sp6 and Win2003beta
> clients (both exhibit the same behaviour).
> I see the following in the log when I connect to "\\barbel\Printers and
> Faxes"
> [2003/10/02 09:06:04, 0] smbd/connection.c:register_message_flags(220)
>   register_message_flags: tdb_fetch failed
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:06, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> [2003/10/02 09:06:06, 0] lib/util_str.c:safe_strcpy_fn(573)
>   ERROR: NULL dest in safe_strcpy
> ...
>  This message repeats alot
> ...
> [2003/10/02 09:06:52, 0] smbd/service.c:make_connection(847)
>   win2003 (192.168.1.180) couldn't find service
> ::{2227a280-3aea-1069-a2de-08002b30309d}
> [2003/10/02 09:06:56, 1] smbd/service.c:close_cnum(876)
>   win2003 (192.168.1.180) closed connection to service print$

I fixed this.  I rebuilt 3.0.0 and made sure every bit of previous
releases except the TDB files and smb.conf where gone.  Then re-ran
"make install".  Start up samba and was able to connect and manipulate
the print drivers via APW/"Server Properties".  Some bit of one of the
rc releases must have been lying around is my only guess (we used rc1 -
rc4 in production).




More information about the samba mailing list