Hi! Trying to trace down a problem with printer sharing. I don't see anything glaringly obvious with my smb.conf. I am using LDAP and CUPS. Using a Windoze client, accessing a printer I receive the friendly "Access denied, unable to connect". Checking the Samba logs, I find: [2008/11/07 18:26:08, 0] param/loadparm.c:process_usershare_file(8268) process_usershare_file: share name ::{2227a280-3aea-1069-a2de-08002b30309d} contains invalid characters (any of %<>*?|/\+=;:",) [2008/11/07 18:26:08, 0] param/loadparm.c:process_usershare_file(8268) process_usershare_file: share name ::{2227a280-3aea-1069-a2de-08002b30309d} contains invalid characters (any of %<>*?|/\+=;:",) [2008/11/07 18:26:08, 0] smbd/service.c:make_connection(1362) daniel (192.168.0.60) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} I don't HAVE any shares with invalid characters - that I'm aware of. Is it possible there's something hiding in a corrupted tdb file? I've tried deleting ntprinters.tdb without improvement. -- Daniel
Peter Van den Wildenbergh
2008-Nov-09 19:11 UTC
[Samba] Access Denied to Printers / Same thing here
Daniel L. Miller wrote:> Hi! > > Trying to trace down a problem with printer sharing. I don't see > anything glaringly obvious with my smb.conf. I am using LDAP and CUPS. > > Using a Windoze client, accessing a printer I receive the friendly > "Access denied, unable to connect". Checking the Samba logs, I find: > > [2008/11/07 18:26:08, 0] param/loadparm.c:process_usershare_file(8268) > process_usershare_file: share name > ::{2227a280-3aea-1069-a2de-08002b30309d} contains invalid characters > (any of %<>*?|/\+=;:",) > [2008/11/07 18:26:08, 0] param/loadparm.c:process_usershare_file(8268) > process_usershare_file: share name > ::{2227a280-3aea-1069-a2de-08002b30309d} contains invalid characters > (any of %<>*?|/\+=;:",) > [2008/11/07 18:26:08, 0] smbd/service.c:make_connection(1362) > daniel (192.168.0.60) couldn't find service > ::{2227a280-3aea-1069-a2de-08002b30309d} > > I don't HAVE any shares with invalid characters - that I'm aware of. > Is it possible there's something hiding in a corrupted tdb file? I've > tried deleting ntprinters.tdb without improvement.Hi Daniel, I can only offer moral support, I got the same problem but no solution (yet). Samba 3.0.28a on Ubuntu 8.04 LTS with OpenLDAP slapd 2.4.9 I read through this : http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2620623 But no luck and I want to avoid the whole rpcclient thing. somebody here (http://lists.samba.org/archive/samba/2006-January/116695.html) pointed to http://www.extremetech.com/article2/0,1697,1722545,00.asp Not sure what it has to do with it but I tried deleting the task thing (no change) (It explained where the 2227a280-3aea-1069-a2de-08002b30309d key comes from) Parts of my smb.conf: [global] load printers = yes printcap name = cups printing = cups [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no write list = root, @"Domain Admins", @"Domain Users"[print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no write list = root, @"Domain Admins", @"Domain Users" # Remove @"Domain Users" asap !!! Need printer setup working for Big Xerox 7328 MFC drwxrwxrwx 2 root Domain Admins 4096 2008-11-09 10:48 printers (I will chmod this back to 775 ASAP) The printer works in CUPS root = part of "Domain Admins" User "root" already member of the group "Domain Admins". What else did I do ? Read man 8 cupsaddsmb Step 6 here fails: http://de.samba.org/samba/docs/man/Samba-Guide/happy.html#id2575750 rebooted everything one more time, to give it another try... Posted this 'cry for help' msg... Do I need cupsaddsmb? I do NOT use RAW printing. Thanks Peter