Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Hardy wrote: | One final question... the deleteprinter command is | correctly deleting the underlying CUPS queue and Samba | is receiving a SIGHUP. But, the printer still shows in Samba | until I restart the daemon. Bug? Yes. Already fixed in the

Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Jeff Hardy
One final question... the deleteprinter command is correctly deleting the underlying CUPS queue and Samba is receiving a SIGHUP. But, the printer still shows in Samba until I restart the daemon. Bug? On Mon, 2004-12-06 at 11:26, Jeff Hardy wrote: > Haha. It was that pesky newline. See below.

Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Jeff Hardy
Haha. It was that pesky newline. See below. Everything works perfectly now. Thanks very much. -Jeff On Mon, 2004-12-06 at 11:14, Martin Zielinski wrote: > Hello, > you shouldn't need to restart samba. > > I'm using a C-programm as addprinter command, and do not need to restart > samba. > S

Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Martin Zielinski
Hello, you shouldn't need to restart samba. I'm using a C-programm as addprinter command, and do not need to restart samba. Samba does it by it's own, if it receives one or more lines of text from the script. You allways get these access denied errors, when no line is printed. I know nearly noth

Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Jeff Hardy
> | I am left with two problems... the Access Denied error, > | and the requirement for an external daemon to restart > | Samba to complete the process. It works, but I seem to > | be missing something. > > A simple kill -HUP is enough. You shouldn't restart > smbd. Thanks again. I had prev

Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Hardy wrote: | I am left with two problems... the Access Denied error, | and the requirement for an external daemon to restart | Samba to complete the process. It works, but I seem to | be missing something. A simple kill -HUP is enough. You sho

Re: [Samba] Re: CUPS, APW

2004-12-06 Thread Jeff Hardy
> | register_message_flags: tdb_fetch failed > > The register_message_flags() error has been fixed. See: > > svn diff -r 4016:4018 svn://svnanon.samba.org/samba/branches/SAMBA_3_0 > > | do nothing. Unfortunately, something then renames my > | queue (in Samba, not CUPS) to the Driver Name tha

Re: [Samba] Re: CUPS, APW

2004-12-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Hardy wrote: | register_message_flags: tdb_fetch failed The register_message_flags() error has been fixed. See: svn diff -r 4016:4018 svn://svnanon.samba.org/samba/branches/SAMBA_3_0 | do nothing. Unfortunately, something then renames my | queu

Re: [Samba] Re: CUPS, APW

2004-12-03 Thread Jeff Hardy
So far I have an addprinter command that eventually works with a bit of effort. FIRST STEP: When I click Finish on the "Completing the Add Printer Wizard" dialog, lpadmin is run correctly with all of my parameters to add the printer to CUPS. I print to STDOUT the name of the printer, because th

Re: [Samba] Re: CUPS, APW

2004-12-03 Thread Jeff Hardy
The addprinter command (would have helped if I mentioned that, huh?). I find I am constantly fighting the dreaded Access Denied Errors. The script I have that worked previously in a source install environment just took the parameters from the APW and stuffed them into lpadmin. It was always prob

[Samba] Re: CUPS, APW

2004-12-03 Thread Michael Lueck
What exactly do you need to script...??? -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba