You have followed the detailed description in the Samba-Howto-Collection.pdf 
found at the samba.org site?
Remember to set the permissions correct on the W32X86 directory, as well as 
defining a [print$] section and "printer admin = <your-login-name>" in 
smb.conf. All of this is in the pdf.

Eirik Thorsnes

On Tuesday 20 November 2001 14:43, you wrote:
> From [EMAIL PROTECTED] Thu Nov 15 19:47:44 2001
> From: "Karthik S" <[EMAIL PROTECTED]>
> To: "Patrick Powell" <[EMAIL PROTECTED]>
> Subject: RE: Problem with Automatic Printer Downloading in Samba
> Date: Fri, 16 Nov 2001 09:19:48 +0530
>
>
> This is a multi-part message in MIME format.
>
> --------------InterScan_NT_MIME_Boundary
> Content-Type: text/plain;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
>
> Hello,
>       I still need help on this. Someone suggested me to use Samba 2.2.2 but
> even with that I got the same problem. Someone wanted me to reload Samba
> after addprinter command since I had missed the step of reloading the Samba
> after the addprinter command while writing the mail. But I do reload Samba
> after that. Still I get the problem.
>
>       Do help me out of this.
>
> Thanks & Regards,
> Karthik.
>
> -----Original Message-----
> From: Patrick Powell [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 16, 2001 5:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with Automatic Printer Downloading in Samba
>
>
> Do you still need help on this?
>
> Patrick Powell                 Astart Technologies,
> [EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
> Network and System             San Diego, CA 92123
>   Consulting                   858-874-6543 FAX 858-279-8424
> LPRng - Print Spooler (http://www.lprng.com)
>
> > From [EMAIL PROTECTED] Wed Nov  7 04:58:50 2001
> > From: "Karthik S" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Subject: Problem with Automatic Printer Downloading in Samba
> > Date: Wed, 7 Nov 2001 18:33:32 +0530
> >
> >
> > This is a multi-part message in MIME format.
> >
> > --------------InterScan_NT_MIME_Boundary
> > Content-Type: text/plain;
> >     charset="iso-8859-1"
> > Content-Transfer-Encoding: 7bit
> >
> > Hello,
> >     I installed Samba 2.2.1a in Linux and tried to configure it for
> > Automatic Printer Driver Downloading. While uploading the driver files to
> > the Samba Server, although all the driver files get copied to the correct
> > location
>
> and
>
> > the printer gets added to CUPS, I get a message "The operation could not
>
> be
>
> > completed . Access Denied".
> >
> >     While downloading the files, the uploaded printer is listed in the
> > "Printers" folder. Double-clicking it prompts a message - "Do you want to
> > download the driver files from the server?". When said - "Yes" to this, a
> > message "No driver files found. Do you want to install a driver locally?"
> > appears.
> >
> >     Why do these problems occur?
> >
> >     But on the Windows machine, if I go to the properties of the printer,
>
> click
>
> > on "New Driver" and install it again on the server, NO "Access Denied"
> > message appears. After this, I am able to download the driver to any
> > other Windows client.
> >
> >     I do not understand why I get the message "Access Denied" the first
> > time? Please share with me if you have any info on this.
> >
> >     Another strange thing that happened is - sometimes driver files were
>
> copied
>
> > to a folder "2" under W32X86 and also straight under W32X86 while other
> > times it was copied to only to the folder 2 under W32X86. I do not
> > understand why this happens. I have given a step by step account of what
> > I did to configure at the end of this mail.
> >
> >     Another help. I am trying to port Samba to VxWorks. I need just the
>
> simple
>
> > functionalities like - Name resolution, File Sharing and Automatic
> > Printer Driver Downloading. I DO NOT need functionalities like - my
> > server acting
>
> as
>
> > a domain server and print server. I want only the functionalities listed
> > above. Can you give me some idea of which part of Samba code that I can
> > prune out to support these minimum functionalities? I ask this because
> > memory is a major cause of concern for me in VxWorks environment.
> >
> > Thanks & Regards,
> > Karthik.
> >
> > STEP BY STEP ACCOUNT OF HOW I CONFIGURED SAMBA FOR AUTOMATIC DOWNLOAD:
> >
> > At Linux:
> > 1.Created a group "ntadmin" in Linux machine.
> > 2.Created a user "padmin" in group "ntadmin" (as printer administrator)
> > 3.Created the appropriate folders (W32X86 and WIN40) at
>
> /home/samba/printers
>
> > where the driver files are uploaded. Gave chmod 775 for "printers"
> > folder. 4.Added an user with the "hostname" followed by $ where hostname
> > is the
>
> name
>
> > of the Windows machine used to upload.
> > 5.Added the "hostname$" as well as "padmin" to the smbpasswd list
> > 6.Add the following to smb.conf file:
> >     #under global-
> >     printer admin = @ntadmin
> >     printing = cups
> >     addprinter command = /usr/bin/addprinter
> >
> >     #A new share
> >     [print$]
> >             path = home/samba/printers
> >             public = yes
> >             browseable = yes
> >             read only = yes
> >             write list = Administrator,padmin,root
> >             directory mask = 0775
> >
> > 5.Created the script addprinter to add the printer to CUPS as follows.
> >     #!/bin/sh
> >     driver = $(grep -lr "$4" /home/samba/printers/W32X86 | head -1)
> >     /usr/sbin/lpadmin -p $2 -P $driver -L "$5" -v "parallel:/dev/lp0"
> >
> > At Windows NT:
> > 1. Logged in as "padmin" into the Samba server and tried to upload a
>
> driver
>
> > through "AddPrinter" at Printers folder.
> >
> >
> >
> > --------------InterScan_NT_MIME_Boundary
> > Content-Type: text/plain;
> >     name="InterScan_Disclaimer.txt"
> > Content-Transfer-Encoding: 7bit
> > Content-Disposition: attachment;
> >     filename="InterScan_Disclaimer.txt"
> >
> > -------------------------------------------------------------------------
> >-
>
> -----------------------------------------------
>
> > Information transmitted by this E-MAIL is proprietary to Wipro and/or its
>
> Customers and
>
> > is intended for use only by the individual or entity to which it is
> > addressed, and may contain information that is privileged, confidential
> > or exempt from disclosure under applicable law. If you are not the
> > intended recipient or it appears that this mail has been forwarded to you
> > without proper authority, you are notified that any use or dissemination
> > of this information in any manner is strictly prohibited. In such cases,
> > please notify us immediately at mailto:[EMAIL PROTECTED] and delete
> > this mail from your records.
> > -------------------------------------------------------------------------
> >-
>
> --------------------------------------------
>
> ---------------------------------------------------------------------------
>---------------------------------------------- Information transmitted by
> this E-MAIL is proprietary to Wipro and/or its Customers and is intended
> for use only by the individual or entity to which it is addressed, and may
> contain information that is privileged, confidential or exempt from
> disclosure under applicable law. If you are not the intended recipient or
> it appears that this mail has been forwarded to you without proper
> authority, you are notified that any use or dissemination of this
> information in any manner is strictly prohibited. In such cases, please
> notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail
> from your records.
> ---------------------------------------------------------------------------
>-------------------------------------------
>
> > --------------InterScan_NT_MIME_Boundary--
>
> --------------InterScan_NT_MIME_Boundary
> Content-Type: text/plain;
>       name="InterScan_Disclaimer.txt"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: attachment;
>       filename="InterScan_Disclaimer.txt"
>
> ---------------------------------------------------------------------------
>---------------------------------------------- Information transmitted by
> this E-MAIL is proprietary to Wipro and/or its Customers and is intended
> for use only by the individual or entity to which it is addressed, and may
> contain information that is privileged, confidential or exempt from
> disclosure under applicable law. If you are not the intended recipient or
> it appears that this mail has been forwarded to you without proper
> authority, you are notified that any use or dissemination of this
> information in any manner is strictly prohibited. In such cases, please
> notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail
> from your records.
> ---------------------------------------------------------------------------
>-------------------------------------------
>
> --------------InterScan_NT_MIME_Boundary--
>
>
> ---------------------------------------------------------------------------
>-- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The
> address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  For the
> impatient, to subscribe to a list with name LIST,  send mail to
> [EMAIL PROTECTED] with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems,  send email to [EMAIL PROTECTED] with the
> word LPRNGLIST in the SUBJECT line.
> ---------------------------------------------------------------------------
>--

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to