[Samba] Unable to enable Add/Remove Printer Drivers (3.0.0)
Adam Williams
adam at morrison-ind.com
Thu Oct 2 13:31:38 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$
My [print$] looks like -
[print$]
path = /usr/local/pcnet/printers
guest ok = yes
browseable = yes
read only = no
create mask = 0644
directory mask = 0755
force user = pcnet
force group = cis
And I've set all the permissions wide open to try and get this to work.
"net rpc user info adam -S littleboy -U adam" shows my user as a member
of the "Print Operators" group, which my potentially flawed
understanding I though gave me Print Administrative rights.
[root at littleboy samba]# ldapsearch cn=printadmin
dn: cn=printadmin,ou=Groups,o=Morrison Industries, c=US
objectClass: posixGroup
objectClass: top
objectClass: morrisongroup
objectClass: sambaGroupMapping
cn: printadmin
gidNumber: 1007
memberUid: adam
memberUid: rhopkins
memberUid: steve
memberUid: barnosky
memberUid: brown
memberUid: darrell
allowprimary: N
displayName: Print Operators
sambaSID: S-1-5-21-2037442776-3290224752-88127236-550
sambaGroupType: 2
description: Printer Administrators
More information about the samba
mailing list