similar to: Problems while running lpq but lpr works... (samba bug?)

Displaying 20 results from an estimated 5000 matches similar to: "Problems while running lpq but lpr works... (samba bug?)"

1998 Sep 23
0
Variable substitution bug in Samba 1.9.18p10 ?
While trying to debug the fact that printing works here but the print queue isn't returned properly, I found the following behaviour which might be a bug in Samba 1.9.18p10: I have (among others) the following lines in smb.conf: [printer1] create mode = 0700 read only = yes printable = yes path = /var/spool/samba printer name = %S comment = Kyocera
2004 Oct 05
1
Using parameters in lpq command conflicts with background lpq
I have an application than makes use of the "lpq command" and uses the %U parameter in the command string. The application returns a personalized queue list based on the value of %U. This technique worked well in older versions of Samba (circa RedHat 8), but I have run into some trouble with Samba 3. The issue appears to be twofold. 1) The lpq command is now run from the
2009 Aug 17
1
/usr/bin/ld: cannot find -lpq
Hi, I am trying to install asterisk-1.2.34 but facing following issue. I have gone through it and found that there are files in /usr/lib libpq.a libpq.so libpq.so.4 libpq.so.4.1 make[1]: Entering directory `/usr/src/asterisk-1.2.34/cdr' gcc -shared -Xlinker -x -o cdr_pgsql.so cdr_pgsql.o -lpq -lz -L/usr/lib/pgsql /usr/bin/ld: skipping incompatible /usr/lib/libpq.so when
2004 Feb 10
0
Some questions about lpq command and the displayed jobs
Hello list, i use now Samba 3.0.2 as PDC with LDAP backend on suse sles8. With the other versions of Samba3 I hade the same problems with the lpq command. I use CUPS printing system with raw options. The clientdrivers are installed on serverside. my smb.conf in the global part printing = cups print command = lpr -r -oraw -P%p %s lpq command = lpq -P'%p'
2005 Oct 19
0
samba/cups/lpq
I use , cups and samba on a mandriva2006 linux box. (Cups is compiled with samba. "ldd /usr/sbin/smbd" give "libcups.so.2 => /usr/lib/libcups.so.2 (0xb7e55000)" and i'd like to see the print queue of cups from the windows client.(Xp for example) but i see nothing into the windows queueing. Iv'e tried many things: - using lpq command, etc..., to force a lpq
2003 Mar 20
0
Printing issue: lpq command
Dear Samba Printing gurus, I've got Samba 2.2.8 feeding a commercial unix print spooler where users get differing views of print queues according to their "user class". Basically "operator" types see everything while lowly "users" can only see their own jobs. It doesn't appear to be possible to get this effect reliably via Samba because when an operator
2006 Sep 29
1
need %u parameter for lpq command
Hi, I'm developing a script for "lpq command". It would need a %U option so that the script can know which user asked for the job list. Currently, lpq command seem to only serve %p. Is there any hope to get %U ? I see that my script run as root, so I assume the calling user info is lost ? TIA, Charles -- Charles Bueche <charles@bueche.ch> sand, snow, wave, wind and net
2005 Oct 29
0
postgres 8.0, PQsetdbLogin() in -lpq... no
People, I got rails talking to PostgreSQL 8.0 on my Mac! Once upon a time: I''m on a Mac. I want to use postqreSQL 8.0 to backend my rails. I tried a gem install... zmac11:/cd/rubythings/ruby-postgres oracle$ zmac11:/cd/rubythings/ruby-postgres oracle$ zmac11:/cd/rubythings/ruby-postgres oracle$ zmac11:/cd/rubythings/ruby-postgres oracle$ gem install postgres ERROR: While executing
2001 Dec 01
1
Jobnames displayed by lpq: Fixed a bit
There has been some correspondence about getting the file names displayed with lpq instead of the smbXXXXX name. The -J option works, but, with some documents, notably Microsoft Word and Corel WP9, the application sends a long preamble, such that the file name is never seen in the queue when listed with lpq. eg: Microsoft Word - PRINT FILE NAME.doc So, to fix this up, at least for word documents,
2004 Dec 10
1
Odd LPQ behavior in 3.0.x
Here is what I'm seeing after upgrading to 3.0.x: 1) Jobs no longer properly report their status, using LPRng's lpq. I see, instead, no listing for status and a listing for number of pages in the job. While that is also useful information, it does not allow me to act on jobs as I'd like to (resume/pause/etc). 2) Basically EVERY job that has ever printed via Samba on that printer
1999 Aug 25
0
Printing with samba + lpr
Hi. After hours and hours of problems I finally got my HP LaserJet IIIp to print via my samba server. The only problem that remains is that lpr (or lpq perhaps?) doesn't clean up in /tmp after printing. I've tried to find the problem by debugging smbd with strace (with -f) to find out what really happens. This is the only "error" i found when searching after
2000 Aug 16
0
lpr command as user, lprm command as nobody
Im using samba 2.07 from source on a digital unix 4.0e machine. Users are connecting to their unix home directories fine. There are also samba print shares. Im using cups-1.0.5 for the print server but this problem looks like it's part of samba. The authenication is done from a NT server. Ie the global section of smb.conf [global] workgroup = ee-student debuglevel = 3 server string
2005 Jan 17
1
lpq: Unknown destination "pdf"!
Hi! How can I get rid off "lpq: Unknown destination "pdf"!" warning message in my /var/log/samba/smbd file. I have a pdf maker defined in my smb.conf as follows and it works allright: ... [pdf] comment = PDF creator printing = bsd path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
2007 May 05
1
Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)
Dear All, Why does my configure fail like so: checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config checking for PQexec in -lpq... no configure: *** configure: *** The PostgreSQL installation on this system appears to be broken. configure: *** Either correct the installation, or run configure configure: *** including --without-postgres Configure options are: env CC=/usr/local/bin/gcc
2005 Jul 04
1
Annoying lpq commands appear after testparm
I am using a master-smb.conf with one other include for the shares file. Every time that I do a testparm -s master-smb.conf and then check the resulting file I see these config directives, which I haven't defined: printing = cups print command = lpq command = %p lprm command = But this is after I have defined "printing = cups", any ideas why? Or is this
2004 Sep 17
1
background lpq update not working
I'm using several 'netbios aliases' with my server, only one of them offers the printers. In this enviroment, the new background lpq update, indroduced in 3.0.6, does not work correctly. I think, this happens, because the sending and the receiving process has different lists of services, so the service number could not correctly recognized. As a workaround, i changed
2007 Apr 24
1
dundi problem * 1.4.2
Hi All, I've been banging my head on a small dundi problem... I have two * servers setup, both have almost identical dundi.conf files: root@tsjonge:/opt/asterisk/etc# cat dundi.conf [general] department=thuis organization=pipsworld locality=Amsterdam stateprov=NH country=NL email=remco@pipsworld.nl phone=+31207508308 ;bindaddr=0.0.0.0 ;port=4520 entity=00:02:b3:49:69:5e ttl=16
2009 Jan 11
0
I can't start lineage2
Hi. I have problem with starting lineage 2 i got kubuntu 8.04(hardy). Lineage 2 orginal uptader works. But when i try to start lineage from l2dir/system/l2.exe i get this Code: kyo at Kyo-Comp:/media/Death/Lineage II/Lineage II/system$ wine l2.exe fixme:reg:GetNativeSystemInfo (0x1a1f3e4) using GetSystemInfo() err:seh:setup_exception_record stack overflow 584 bytes in thread 0009 eip 7c8399f3
2007 Oct 16
2
username with @ (at character) - problems with authentication (CUPS)
Hi all I tried to set up a printer, which I need to acces using my username. Unfortunatelly, username contains @ (at) inside. I tried different form of escaping (using backslash, unicode value, quotes etc). Nothing works. my username is: abc@domain.com my password is: 12345678 printer server is: srv-file printer name (with space): KyC2520 WITS From various docs i found the URI form I
2003 Dec 30
1
Plaintext_password returned NULL
Hi all, I am sharing a directory by using SAMBA Ver. 2.2.3a on a HP-UX 11.11 for MS XP-Clients. Allthough conntecting works fine, I get the follwing log entry everytime a client connects: [2003/12/30 10:11:02, 0] smbd/chgpasswd.c:(939) check_plaintext_password: getsmbpwnam returned NULL smb.conf looks as follows: # Global parameters [global] coding system = client code page = 850 code page