[Samba] Add Printer Wizard problem
Hi, I really need help. I tried to create a CUPS server but always failed to install Windows driver on the Server from Windows client using Add Printer Wizard. The error message from the Windows client is: Unable to install HP Laserjet 4050, Windows 2000, Intel server. Operation could not be completed Currently I set the printer installed on CUPS server as a local printer, eventhough it is a network printer. I will change it once I get this works. I have also create directory /etc/samba/drivers. Error log message on var/log/samba: 05it13 (10.1.22.154) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} [2005/09/02 19:36:19, 1] smbd/service.c:make_connection_snum(648) 05it13 (10.1.22.154) connect to service print$ initially as user VICSCOUT\admin (uid=10553, gid=1) (pid 12732) [2005/09/02 19:36:49, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [2005/09/02 19:36:49, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [global] workgroup = VICSCOUT netbios name= 05IT20 server string = Samba Server log file = /var/log/samba/%m.log max log size = 50 preferred master = No local master = No domain master = No dns proxy = No load printers = yes printcap name = cups printer admin = root, admin, @Administrators printing = cups use client driver = yes [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No guest ok = yes public = yes writable = no [print$] comment = Printer Drivers browseable = Yes guest ok = no readonly = yes path = /etc/samba/drivers write list = root, admin, @Administrators Previously, I tried to use cupsaddsmb -U root -v -a using use client driver=no and it gives me output : Running command: rpcclient localhost -N -U'root%secret' -c 'setdriver RawQueue RawQueue' params.c:Parameter() - Ignoring badly formed line in configuration file: Samba config file created using SWAT Succesfully set RawQueue to driver RawQueue. -- Best Regards, Ong, Loeng Seng Extranet Service Delivery Team Scouts Australia Victorian Branch Phone : 03 8543 9817 Facsimile : 03 8543 9840 E-mail : [EMAIL PROTECTED] Website : www.vicscouts.asn.au/supportteam/#loeng The Extranet Service Delivery Team consists of volunteer IT students and Team Leaders who appreciate the opportunity to learn and are delighted to provide you with seven days a week service. *** This email (including all attachments) contains confidential information, which may be privileged. It is intended solely for the identified recipient(s) to whom it is addressed. If you are not an intended recipient, please notify Scouts Extranet Service Team immediately and delete this message from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. You may not copy or use it for any purpose, or otherwise disclose its contents to any person. *** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Add printer wizard (XP)
Hello list I have been really wowed by samba 3 so far, i just have one last mission to complete... please help! I have samba 3.0.2a-SuSE installed on a SuSE 9.0 box. It uses winbind to authenticate against a win server 2003 box - this seems to work fine, users can own files and this is shown when getfacl is run on the shares (owned by DOMAIN\User). The last problem i have is adding printers... The add printer wizard shows for the windows domain administrator, and he can add a printer right untill the last screen of the wizard - when he clicks the finish button, it shows the error: Add Printer Wizard Unable to Install Printer. Access is denied. The only thing i can think of is that he has no permission to add a cups printer? The driver files are correctly copied across to PRINT$, but then straight after this the error appears. Here is my smb.conf: [global] workgroup = MYDOMAIN server string = samba test security = DOMAIN password server = pwdserver log level = 1 syslog = 0 socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 2 preferred master = No local master = No idmap uid = 1-2 idmap gid = 1-2 admin users = MYDOMAIN\administrator printer admin = MYDOMAIN\administrator printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [printers] comment = All Printers path = /var/tmp write list = MYDOMAIN\administrator create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers admin users = @ntadmin, root, MYDOMAIN\administrator write list = @ntadmin, root, MYDOMAIN\administrator printer admin = @ntadmin, root, MYDOMAIN\administrator read only = No create mask = 0644 guest ok = Yes As stated, everything else seems to be working fine. /var/lib/samba/drivers is owned by MYDOMAIN\Administrator and is chmod 777 (desperate!) /var/tmp is 777 @ntadmin is a mapped group of Domain Admins Thanks in advance! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add printer wizard (XP)
Message: 19 Date: Wed, 14 Apr 2004 12:54:02 +0100 From: Hamish [EMAIL PROTECTED] Subject: [Samba] Add printer wizard (XP) To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii; format=flowed Hello list I have been really wowed by samba 3 so far, i just have one last mission to complete... please help! I have samba 3.0.2a-SuSE installed on a SuSE 9.0 box. It uses winbind to authenticate against a win server 2003 box - this seems to work fine, users can own files and this is shown when getfacl is run on the shares (owned by DOMAIN\User). The last problem i have is adding printers... The add printer wizard shows for the windows domain administrator, and he can add a printer right untill the last screen of the wizard - when he clicks the finish button, it shows the error: Add Printer Wizard Unable to Install Printer. Access is denied. You need 2 things for this to work: 1.) a setting in smb.conf add printer command = /path/to/smb-add-printer-script.sh 2.) an actual smb-add-printer-script.sh script in named path So far, I don't know of anyone who has written a reliably working add printer command script which works with CUPS. By own efforts got stuck some time ago because of a weird re-naming problem (Samba re-named my newly created printer because it executed the script a 2nd time somehow) I will probably revisit that topic within the next few weeks. The point is that the script needs to take the variables to run CUPS lpadmin from what the user filled into the Add Printer Wizard fields The only thing i can think of is that he has no permission to add a cups printer? The driver files are correctly copied across to PRINT$, but then straight after this the error appears. The usefulness of the APW for you (without the add printer command) is currently limited to add new drivers and for existing printqueues Here is my smb.conf: It misses the add printer command line [global] workgroup = MYDOMAIN server string = samba test security = DOMAIN password server = pwdserver log level = 1 syslog = 0 socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 2 preferred master = No local master = No idmap uid = 1-2 idmap gid = 1-2 admin users = MYDOMAIN\administrator printer admin = MYDOMAIN\administrator printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Add printer wizard (XP)
The last problem i have is adding printers... The add printer wizard shows for the windows domain administrator, and he can add a printer right untill the last screen of the wizard - when he clicks the finish button, it shows the error: Add Printer Wizard Unable to Install Printer. Access is denied. The only thing i can think of is that he has no permission to add a cups printer? The driver files are correctly copied across to PRINT$, but then straight after this the error appears. For that to work you need an addprinter command script. Details are in man smb.conf. It's really easier just to add the printer in cups and have samba pick it up, unless you start doing things like explicitly using the location field to contain ip and port/queuename information that your script can use when adding the printer. Quite kludgey. ~ Daniel --- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add printer wizard (XP)
Thanks, i will give it a bash ;) I am quite keen to use the APW at this site because the admin is a die hard Windows/GUI user and freezes up like a deer in the headlights whenever 'terminal' is mentioned! Would it be better to use another printing subsystem? Also, is there any way to make the printers on the samba server just 'links' to the ip printers? IE when clients connect they download the drivers and then print directly to the printers ip, not the samba server. Thanks again, Hamish Kurt Pfeifle wrote: Message: 19 Date: Wed, 14 Apr 2004 12:54:02 +0100 From: Hamish [EMAIL PROTECTED] Subject: [Samba] Add printer wizard (XP) To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii; format=flowed Hello list I have been really wowed by samba 3 so far, i just have one last mission to complete... please help! I have samba 3.0.2a-SuSE installed on a SuSE 9.0 box. It uses winbind to authenticate against a win server 2003 box - this seems to work fine, users can own files and this is shown when getfacl is run on the shares (owned by DOMAIN\User). The last problem i have is adding printers... The add printer wizard shows for the windows domain administrator, and he can add a printer right untill the last screen of the wizard - when he clicks the finish button, it shows the error: Add Printer Wizard Unable to Install Printer. Access is denied. You need 2 things for this to work: 1.) a setting in smb.conf add printer command = /path/to/smb-add-printer-script.sh 2.) an actual smb-add-printer-script.sh script in named path So far, I don't know of anyone who has written a reliably working add printer command script which works with CUPS. By own efforts got stuck some time ago because of a weird re-naming problem (Samba re-named my newly created printer because it executed the script a 2nd time somehow) I will probably revisit that topic within the next few weeks. The point is that the script needs to take the variables to run CUPS lpadmin from what the user filled into the Add Printer Wizard fields The only thing i can think of is that he has no permission to add a cups printer? The driver files are correctly copied across to PRINT$, but then straight after this the error appears. The usefulness of the APW for you (without the add printer command) is currently limited to add new drivers and for existing printqueues Here is my smb.conf: It misses the add printer command line [global] workgroup = MYDOMAIN server string = samba test security = DOMAIN password server = pwdserver log level = 1 syslog = 0 socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 2 preferred master = No local master = No idmap uid = 1-2 idmap gid = 1-2 admin users = MYDOMAIN\administrator printer admin = MYDOMAIN\administrator printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add Printer Wizard- The specifcied network password is not correct.
I'm trying to get the Add Printer Wizard to add printers from a WinXP Pro workstation and am gettting the error Unable to install IBM 4037 5E, Windows 2000 or CP,Intel driver. The specificied network password is not correct. This is a new installation of Debian 3.0 and Samba 3.0.1-2. This is the procedure that I use: Browse to the Samba server Open the Printers and Faxes folder Right-click inside the printers and faxes folder. Click Server Properties Go to Drivers tab Click Add, Next, and Choose Have Disk Browse to my printer driver files. Click Next and choose driver versions. At this point it looks like it is copying the files, but right at the end I see the error message. Here are portions of smb.conf, log files, and test results. [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes admin users = root, gctaylor read only = yes guest ok = no [2004/02/07 13:05:10, 0] smbd/service.c:set_admin_user(321) gctaylor logged in as admin user (root privileges) [2004/02/07 13:05:10, 1] smbd/service.c:make_connection_snum(705) speedy16 (192.168.1.6) connect to service print$ initially as user gctaylor (uid=0, gid=1000) (pid 4526) [2004/02/07 13:05:18, 1] smbd/service.c:close_cnum(887) speedy16 (192.168.1.6) closed connection to service print$ [2004/02/07 13:05:21, 0] printing/nt_printing.c:get_correct_cversion(1119) get_correct_cversion: Unable to connect Here is a partial listing of smbclient # smbclient -L localhost print$ Disk Printer Drivers IPC$ IPC IPC Service (speedydeb server (Samba 3.0.1-Debian)) ADMIN$ IPC IPC Service (speedydeb server (Samba 3.0.1-Debian)) DeskJetPrinter DeskJet LexmarkPrinter Lexmark lp Printer No Information Available # smbclient //localhost/gctaylor -Ugctaylorworks. I can access the Samba server via \\server\print$ and create text files under W32X86 and WIN40. Does anyone have any ideas? I may have to use rpcclient but I'd like to get this working if possible. Thanks, Gary -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add Printer Wizard - 3.0.2rc1 - still problem
Tait Shrum wrote: | We have a Samba 3.01 pre3 server that acts as a print server among other | things. When our users go to the add printer wizard in Windows, it | doesn't show our samba server! The only way to add a printer is by | manually entering the path. That's really inconvenient if you don't | know the path. :) Is there some way we can resolve this? I think this is what you are seeing ~ https://bugzilla.samba.org/show_bug.cgi?id=101 It's in the queue to be fixed. But probably not for 3.0.1 cheers, jerry Resolved yet? Im on 3.0.2rc1 and still can't see printer in APW. Lee. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard and Slowness
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 8 Jan 2004, Jeffrey M. Hardy wrote: We have a Samba box set up as our primary campus print server, running CUPS 1.1.19 and Samba 3.3.0. Our primary interface for adding printers is the Add Printer Wizard. I am finding very slow response while adding/modifying/deleting printers. Making changes to any of the settings for a printer (default tray, driver, etc) can take 20-40 seconds or will sometimes timeout, requiring a Samba restart before any of the printers will show again. Sometimes I can avoid this by restarting Samba ahead of time, which kills all the active Samba connections to the server (usually around 50). I can then get several minutes of acceptable response time. If your interested, I have an idea. Check with me on Monday and the patch details. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc If we're adding to the noise, turn off this song --Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFADfNgIR7qMdg1EfYRAr6xAJ93Hpi9GLZI83EJvb4W8/SeqtvjjACgmOil UrZwXmWIxVCk/CUNcbW0EjQ= =sj/q -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add Printer Wizard and Slowness
Hello all, We have a Samba box set up as our primary campus print server, running CUPS 1.1.19 and Samba 3.3.0. Our primary interface for adding printers is the Add Printer Wizard. I am finding very slow response while adding/modifying/deleting printers. Making changes to any of the settings for a printer (default tray, driver, etc) can take 20-40 seconds or will sometimes timeout, requiring a Samba restart before any of the printers will show again. Sometimes I can avoid this by restarting Samba ahead of time, which kills all the active Samba connections to the server (usually around 50). I can then get several minutes of acceptable response time. One of my thoughts was plaque in our ntdrivers.tdb file which is loaded with drivers that are no longer in use. I was using the CUPS prescribed cupsaddsmb script to set up Windows drivers until I had unending problems finding ppds that worked across operating systems. As a result, the .tdb files are filled with a few hundred drivers named after queues that don't exist, along with the normal dozen or so real drivers straight from the vendor. I cannot delete these from Windows and am working up a Perl script to do so using the TDB_File module. There is plenty of RAM and load on the server is very low (Pentium 3, 1.0 GHz). No problems with actual printing or driver downloads, and we are currently at 100 printers (eventually 200). Is it possible that tdb file plaque is to blame for our APW problems? If not, any suggestions as to what could cause this? === Here is testparm output: Load smb config files from /usr/local/samba/lib/smb.conf Processing section [printers] Processing section [print$] Processing section [drivers] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions # Global parameters [global] workgroup = POTSDAM netbios name = PRINTING server string = Print Server security = DOMAIN password server = ZEUS log level = 3 log file = /var/log/samba/log.%m max log size = 50 deadtime = 15 printcap name = cups addprinter command = /usr/local/bin/smbaddprinter deleteprinter command = /usr/local/bin/smbdelprinter invalid users = root printer admin = @pradmins hosts allow = 137.143. printing = cups veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/ [printers] comment = All Printers path = /var/spool/samba write list = @pradmins guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers for Windows path = /etc/samba/drivers write list = @pradmins guest ok = Yes [drivers] comment = Vendor Driver Paks path = /etc/samba/prdrivers write list = @pradmins create mask = 0775 directory mask = 0775 -Thanks, Jeff -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add Printer Wizard Plus CUPS
I'm having some problems with our Samba Add-Printer-Wizard setup and CUPS. Everything is working fine (drivers upload, download, configured) except for one thing. Both my addprinter and deleteprinter scripts are forced to restart Samba in order to successfully complete their respective adding and deleting. Because of this, sometimes Samba will not come back up correctly. I read that normally Samba will re-read smb.conf and pick up any printer entries and complete the process. However, when dealing with CUPS as the printing subsystem, the printers are stored separately in (usually) /etc/cups/printers.conf. If I do not restart Samba during this process, the client receives an Access denied error message. Is there a way to get Samba to read the CUPS printers conf info without restarting Samba? Thank you. CUPS 1.1.19 Samba 3.0 Red Hat 8.0 -- Jeff Hardy System Administrator SUNY Potsdam [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add Printer Wizard Plus CUPS
[Samba] Add Printer Wizard Plus CUPS Jeffrey M. Hardy hardyjm at potsdam.edu Wed Dec 10 22:28:12 GMT 2003 I'm having some problems with our Samba Add-Printer-Wizard setup and CUPS. Everything is working fine (drivers upload, download, configured) except for one thing. Both my addprinter and deleteprinter scripts are forced to restart Samba in order to successfully complete their respective adding and deleting. Because of this, sometimes Samba will not come back up correctly. I read that normally Samba will re-read smb.conf and pick up any printer entries and complete the process. However, when dealing with CUPS as the printing subsystem, the printers are stored separately in (usually) /etc/cups/printers.conf. If I do not restart Samba during this process, the client receives an Access denied error message. Is there a way to get Samba to read the CUPS printers conf info without restarting Samba? Dunno if that is good enough for you: kill -HUP `pidof smbd` Or submit a bug report to http://bugzilla.samba.org/. Or wait till it's fixed. I agree it is a bug. BTW -- I've written a very rough add printer script also. Do you mind sending yours to me in exchange of mine? (I didn't dare to publish mine yet, since I am a terribly new into shell scripting) Thank you. CUPS 1.1.19 Samba 3.0 Red Hat 8.0 -- Jeff Hardy Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add printer wizard... No server listed...
We have a Samba 3.01 pre3 server that acts as a print server among other things. When our users go to the add printer wizard in Windows, it doesn't show our samba server! The only way to add a printer is by manually entering the path. That's really inconvenient if you don't know the path. :) Is there some way we can resolve this? Thanks, Tait Shrum Bryant Schools -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add printer wizard... No server listed...
Hello, Tait Shrum, Donnerstag, 04. Dezember 2003, 16:25 you wrote: TS We have a Samba 3.01 pre3 server that acts as a print server among other TS things. When our users go to the add printer wizard in Windows, it TS doesn't show our samba server! The only way to add a printer is by TS manually entering the path. That's really inconvenient if you don't TS know the path. :) Is there some way we can resolve this? Read about the browseable-parameter. As in [my_printer_name] comment = Printer path = /var/spool/samba_my_printer browseable = yes printable = yes writeable = no Topic: Browsing. -- best regards, Stefan G. Weichinger mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add printer wizard... No server listed...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tait Shrum wrote: | We have a Samba 3.01 pre3 server that acts as a print server among other | things. When our users go to the add printer wizard in Windows, it | doesn't show our samba server! The only way to add a printer is by | manually entering the path. That's really inconvenient if you don't | know the path. :) Is there some way we can resolve this? I think this is what you are seeing ~ https://bugzilla.samba.org/show_bug.cgi?id=101 It's in the queue to be fixed. But probably not for 3.0.1 cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/z1yhIR7qMdg1EfYRAs5jAJ47T5lp+EnVwrQo65UYLrxrF2TqdgCgvmo5 iUMOht9/mqK0TIrGUkP34Y8= =i+82 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
On Thu, 2003-10-30 at 08:14, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry Haltom wrote: | I also can't seem to get the Add Printer Drivers wizard | to work right. I followed the instructions in the 3.0 howto | as best as I could. My samba admin user, is named samba, | he has a uid 0. It's stored in LDAP. It works for | joining computers to the domain. | | I added samba to printer admin, and when I try to | log into a Windows computer, as this user, and add a | driver, I get: Access Denied. an admin user may not be the same as a printer admin. Your message isn't clear on what is considered to be an 'admin' user. I refer to a user which I have made to join stuff to the domain. It has a uid of 0. You're right, admin user is sort of a made up term, however I also went one to say I added \samba\ to the printer admin. So, the user I am trying the add/remove wizard as, IS listed as a printer admin. | I'm not sure what I'm being denied access too! This user has uid 0. give me more details and we'll figure out what is going on. I have no more details to give. Windows is very unhelpful in this matter. It simple says Could not add drivers: Access denied. I should also point out, I've tried the add printer driver wizard with users other than this specific one. I have both added and not added them to the printer admin line. I've tried a whole lot of stuff, but because I don't seem to understand the process, it's all guesswork. | After setting all this up, can I expect queue's to | be consistant? I need to see, in the Windows queue, unix jobs | submitted directly to cups. On the cup's queue, I'd like to | see window's jobs. This works fine. smbd does use an 'lpq cache time' since we cache the queue listing along with some addition job information. | Also, can samba be made to spool to cups AS it's receiving | from the client? We regularly print out 900 page jobs, which | take 30 pages to print from the client to the server. If the | client has to sit there and spool all 900 pages before | the job can even start, we've doubled our print time! As | of now, Windows will start printing INSTATLY upon receiving | data from the client, this may be more like buffering | than spooling. Samba cannot give the job to the printing system until the client has spooled the entire job to us. SOrry. Okay, will try to make do. Is this a limitation of Samba, or CUPs in particular? If cups supports receiving streamed data, could not Samba just start streaming it to cups, and cups would handle either spooling it, or printing it immediatly if they're are no other jobs? I'm just trying to duplicate the experience on Windows. Trying to cause as little hassle to people as possible. Doing a full Linux migration here, every server: If I can do it with no interruptions at all, people will love me for it. :) Thanks for your help. cheers, jerry ~ -- ~ Hewlett-Packard--- -- http://www.hp.com ~ SAMBA Team -- http://www.samba.org ~ GnuPG Key http://www.plainjoe.org/gpg_public.asc ~ You can never go home again, Oatman, but I guess you can shop there. ~--John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/oRzNIR7qMdg1EfYRAnbNAKDNsTcM7nZbrBxVvVb/ilaA7CO1nACeJUBl /lpTJhIkmgQPWbahlPZ+xp8= =zgJT -END PGP SIGNATURE- -- Jerry Haltom [EMAIL PROTECTED] Feedback Plus, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
Okay! I've managed to defeat this obstacle. I did it all manually using smbclient and rpcclient. Printer drivers work. However, Windows is producing VERY VERY BAD quality output. Totally grainy. It does not do this when using hte printer through the normal WIndows server's shared printer (this is a TCP/IP printer, directly supporting IPP, we are using the windows server/samba servers just to centralize it). Windows is using the native drivers for this printer, which are postscript. So, I assume, samba shold be receiving a postscript file from Windows, and in turn sending that to cups... so at first glance I wouldn't think Samba was at fault... but since it only happens when samba is involved, I don't know. All the settings for the printer are at their highest. When printing directly to CUPs using a Unix workstation, quality is just fine. On Fri, 2003-10-31 at 10:10, Jerry Haltom wrote: On Thu, 2003-10-30 at 08:14, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry Haltom wrote: | I also can't seem to get the Add Printer Drivers wizard | to work right. I followed the instructions in the 3.0 howto | as best as I could. My samba admin user, is named samba, | he has a uid 0. It's stored in LDAP. It works for | joining computers to the domain. | | I added samba to printer admin, and when I try to | log into a Windows computer, as this user, and add a | driver, I get: Access Denied. an admin user may not be the same as a printer admin. Your message isn't clear on what is considered to be an 'admin' user. I refer to a user which I have made to join stuff to the domain. It has a uid of 0. You're right, admin user is sort of a made up term, however I also went one to say I added \samba\ to the printer admin. So, the user I am trying the add/remove wizard as, IS listed as a printer admin. | I'm not sure what I'm being denied access too! This user has uid 0. give me more details and we'll figure out what is going on. I have no more details to give. Windows is very unhelpful in this matter. It simple says Could not add drivers: Access denied. I should also point out, I've tried the add printer driver wizard with users other than this specific one. I have both added and not added them to the printer admin line. I've tried a whole lot of stuff, but because I don't seem to understand the process, it's all guesswork. | After setting all this up, can I expect queue's to | be consistant? I need to see, in the Windows queue, unix jobs | submitted directly to cups. On the cup's queue, I'd like to | see window's jobs. This works fine. smbd does use an 'lpq cache time' since we cache the queue listing along with some addition job information. | Also, can samba be made to spool to cups AS it's receiving | from the client? We regularly print out 900 page jobs, which | take 30 pages to print from the client to the server. If the | client has to sit there and spool all 900 pages before | the job can even start, we've doubled our print time! As | of now, Windows will start printing INSTATLY upon receiving | data from the client, this may be more like buffering | than spooling. Samba cannot give the job to the printing system until the client has spooled the entire job to us. SOrry. Okay, will try to make do. Is this a limitation of Samba, or CUPs in particular? If cups supports receiving streamed data, could not Samba just start streaming it to cups, and cups would handle either spooling it, or printing it immediatly if they're are no other jobs? I'm just trying to duplicate the experience on Windows. Trying to cause as little hassle to people as possible. Doing a full Linux migration here, every server: If I can do it with no interruptions at all, people will love me for it. :) Thanks for your help. cheers, jerry ~ -- ~ Hewlett-Packard--- -- http://www.hp.com ~ SAMBA Team -- http://www.samba.org ~ GnuPG Key http://www.plainjoe.org/gpg_public.asc ~ You can never go home again, Oatman, but I guess you can shop there. ~--John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/oRzNIR7qMdg1EfYRAnbNAKDNsTcM7nZbrBxVvVb/ilaA7CO1nACeJUBl /lpTJhIkmgQPWbahlPZ+xp8= =zgJT -END PGP SIGNATURE- -- Jerry Haltom [EMAIL PROTECTED] Feedback Plus, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
On Sat, 2003-11-01 at 10:01, Jerry Haltom wrote: Okay! I've managed to defeat this obstacle. I did it all manually using smbclient and rpcclient. Printer drivers work. However, Windows is producing VERY VERY BAD quality output. Totally grainy. It does not do this when using hte printer through the normal WIndows server's shared printer (this is a TCP/IP printer, directly supporting IPP, we are using the windows server/samba servers just to centralize it). Windows is using the native drivers for this printer, which are postscript. So, I assume, samba shold be receiving a postscript file from Windows, and in turn sending that to cups... so at first glance I wouldn't think Samba was at fault... but since it only happens when samba is involved, I don't know. Try removing Samba - print using IPP to the CUPS server. Also, check you are using the postscript drivers for the printer in CUPS - you don't want CUPS rendering it to PCL (or whatever your printers also speak) if you can avoid it. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
Okay, I have done as you said: Printing from Unix - Cups, the image is fine. I have added the printer in W2K, as a IPP printer (W2K supports that), I set the driver to the correct driver, but the image quality is not good. So, this is obviously not samba's fault. Hope you don't mind me asking here then, what could hte problem be? What would windows see differently with CUPs/Samba VS Unix? Windows to Windows works, Windows to Cups or Samba doesn't! On Fri, 2003-10-31 at 17:24, Andrew Bartlett wrote: On Sat, 2003-11-01 at 10:01, Jerry Haltom wrote: Okay! I've managed to defeat this obstacle. I did it all manually using smbclient and rpcclient. Printer drivers work. However, Windows is producing VERY VERY BAD quality output. Totally grainy. It does not do this when using hte printer through the normal WIndows server's shared printer (this is a TCP/IP printer, directly supporting IPP, we are using the windows server/samba servers just to centralize it). Windows is using the native drivers for this printer, which are postscript. So, I assume, samba shold be receiving a postscript file from Windows, and in turn sending that to cups... so at first glance I wouldn't think Samba was at fault... but since it only happens when samba is involved, I don't know. Try removing Samba - print using IPP to the CUPS server. Also, check you are using the postscript drivers for the printer in CUPS - you don't want CUPS rendering it to PCL (or whatever your printers also speak) if you can avoid it. Andrew Bartlett -- Jerry Haltom [EMAIL PROTECTED] Feedback Plus, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
Cancel that! Thank you for all you guy's help. I had the printer in CUPs configured as an HP (which it is...). I set it to RAW, and now both sides are working fine. Still don't understand what was wrong with HP though. :) Thanks again. On Fri, 2003-10-31 at 17:41, Jerry Haltom wrote: Okay, I have done as you said: Printing from Unix - Cups, the image is fine. I have added the printer in W2K, as a IPP printer (W2K supports that), I set the driver to the correct driver, but the image quality is not good. So, this is obviously not samba's fault. Hope you don't mind me asking here then, what could hte problem be? What would windows see differently with CUPs/Samba VS Unix? Windows to Windows works, Windows to Cups or Samba doesn't! On Fri, 2003-10-31 at 17:24, Andrew Bartlett wrote: On Sat, 2003-11-01 at 10:01, Jerry Haltom wrote: Okay! I've managed to defeat this obstacle. I did it all manually using smbclient and rpcclient. Printer drivers work. However, Windows is producing VERY VERY BAD quality output. Totally grainy. It does not do this when using hte printer through the normal WIndows server's shared printer (this is a TCP/IP printer, directly supporting IPP, we are using the windows server/samba servers just to centralize it). Windows is using the native drivers for this printer, which are postscript. So, I assume, samba shold be receiving a postscript file from Windows, and in turn sending that to cups... so at first glance I wouldn't think Samba was at fault... but since it only happens when samba is involved, I don't know. Try removing Samba - print using IPP to the CUPS server. Also, check you are using the postscript drivers for the printer in CUPS - you don't want CUPS rendering it to PCL (or whatever your printers also speak) if you can avoid it. Andrew Bartlett -- Jerry Haltom [EMAIL PROTECTED] Feedback Plus, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
On Sat, 2003-11-01 at 10:55, Jerry Haltom wrote: Cancel that! Thank you for all you guy's help. I had the printer in CUPs configured as an HP (which it is...). I set it to RAW, and now both sides are working fine. Still don't understand what was wrong with HP though. :) Thanks again. The HP options include a number of drivers - including one marked 'postscript'. That should also have been the noop that RAW is, but will convert non-postscript input (such an a .jpg file etc) from the unix side. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Add Printer Wizard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry Haltom wrote: | I also can't seem to get the Add Printer Drivers wizard | to work right. I followed the instructions in the 3.0 howto | as best as I could. My samba admin user, is named samba, | he has a uid 0. It's stored in LDAP. It works for | joining computers to the domain. | | I added samba to printer admin, and when I try to | log into a Windows computer, as this user, and add a | driver, I get: Access Denied. an admin user may not be the same as a printer admin. Your message isn't clear on what is considered to be an 'admin' user. | I'm not sure what I'm being denied access too! This user has uid 0. give me more details and we'll figure out what is going on. | After setting all this up, can I expect queue's to | be consistant? I need to see, in the Windows queue, unix jobs | submitted directly to cups. On the cup's queue, I'd like to | see window's jobs. This works fine. smbd does use an 'lpq cache time' since we cache the queue listing along with some addition job information. | Also, can samba be made to spool to cups AS it's receiving | from the client? We regularly print out 900 page jobs, which | take 30 pages to print from the client to the server. If the | client has to sit there and spool all 900 pages before | the job can even start, we've doubled our print time! As | of now, Windows will start printing INSTATLY upon receiving | data from the client, this may be more like buffering | than spooling. Samba cannot give the job to the printing system until the client has spooled the entire job to us. SOrry. cheers, jerry ~ -- ~ Hewlett-Packard- http://www.hp.com ~ SAMBA Team -- http://www.samba.org ~ GnuPG Key http://www.plainjoe.org/gpg_public.asc ~ You can never go home again, Oatman, but I guess you can shop there. ~--John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/oRzNIR7qMdg1EfYRAnbNAKDNsTcM7nZbrBxVvVb/ilaA7CO1nACeJUBl /lpTJhIkmgQPWbahlPZ+xp8= =zgJT -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add Printer Wizard
I'm having a bit of trouble getting a Samba printer set up. What I have is a postscript capable HP laserjet. It actually has IPP/HTTP and stuff on it. I need queueing to work, so my clients can't print to it directly, so what I want to do is: Get the printer set up on a central CUPs server: done. Printing quality is perfect from Unix machines. Thank you postscript! Have samba print to that printer as well, this, I have working, but it's not pretty. The quality is horrible, and im not sure why. Things are grainy, blocky, etc. This is printing from a Windows computer (with teh HP laserJet PS drivers installed). Samba is messing up my image quality! Not sure what is causing that. I also can't seem to get the Add Printer Drivers wizard to work right. I followed the instructions in the 3.0 howto as best as I could. My samba admin user, is named samba, he has a uid 0. It's stored in LDAP. It works for joining computers to the domain. I added samba to printer admin, and when I try to loginto a Windows computer, as this user, and add a driver, I get: Access Denied. I'm not sure what I'm being denied access too! This user has uid 0. After setting all this up, can I expect queue's to be consistant? I need to see, in the Windows queue, unix jobs submitted directly to cups. On the cup's queue, I'd like to see window's jobs. Also, can samba be made to spool to cups AS it's receiving from the client? We regularly print out 900 page jobs, which take 30 pages to print from the client to the server. If the client has to sit there and spool all 900 pages before the job can even start, we've doubled our print time! As of now, Windows will start printing INSTATLY upon receiving data from the client, this may be more like buffering than spooling. Thanks for the prompt assistance. -- Jerry Haltom [EMAIL PROTECTED] Feedback Plus, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Add printer wizard doesn't work, HELP!
Title: Message I've been trying to setup a PDF printer, and for some reason it stopped working, so I read the help in SWAT and i'm trying again. It won't let me add any driver other than "windows NT" which it pops up an error saying that driver isn't compatible with my operating system (i'm using windows 2000) and anytime I click the sharing tab and try it, It pops up an error saying it can't install that driver. Help! Mike Blanchard Network Administrator Webmaster - www.gaepilots.com Grand Aire, Inc MIS Z-team # Samba config file created using SWAT# from 192.168.132.101 (192.168.132.101)# Date: 2002/04/10 11:36:24 # Global parameters[global]workgroup =DOMAIN server string = Samba testingsecurity = DOMAINencrypt passwords = Yespassword server = *passwd program = /usr/bin/passwd %upasswd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*unix password sync = Yeslog file = /var/log/samba/log.%mmax log size = 50socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192dns proxy = Nowins server = 10.0.0.1winbind uid = 1-2winbind gid = 1-2template shell = /bin/bashwinbind separator = +printer admin = @DOMAIN+myusername [homes]comment = Home Directoriesread only = Nobrowseable = No [print$]path = /etc/samba/driversguest ok = Yesbrowseable = Yesread only = Yeswrite list = @DOMAIN+MIS,root[printers]comment = All Printerspath = /var/spool/sambaprintable = Yesbrowseable = No [pdfdropbox]comment = Public Stuffpath = /home/sambawrite list = @MISguest ok = Yes [colorpdfprinter]path = /tmp/print2guest ok = Yesprintable = Yesprint command = /usr/bin/printpdf %s lpq command = lprm command = use client driver = Yes