Displaying 20 results from an estimated 8000 matches similar to: "Using parameters in lpq command conflicts with background lpq"
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
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
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
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
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
2002 Oct 02
2
really tough question about wins database
I sent this twice, but since nobody answered, I guess its not a "quick
question" anymore. ;)
Version 2.2.5 on 2.4.18-6mdk
ive got the following in my smb.conf
[global]
add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
workgroup = ARCHANGEL
netbios aliases = CYBERCENTER PARISHCENTER
netbios
2004 Apr 26
4
Is it possible to store XP Profiles on Samba 3.0.2 ?
Hi all,
Can you use Samba to store an XP Pro profile?
I'm running Samba 3.0.2a (compiled from source) on Solaris 9.
Compiled it against OpenLDAP 2.1.30 and MIT Kerberos 1.3.3 (both
compiled from source from fresh downloads today).
Am now trying to get Windows XP Pro to store profiles on to this box.
The smbd and nmbd seem to run fine.
Every time XP Pro goes to create a user's
2004 Sep 20
2
Can't delete smbpasswd user if not in /etc/passwd
Hi all,
Looking for a solution to the following:-
# smbpasswd -x jh---
build_sam_account: smbpasswd database is corrupt! username jh--- with uid 1774 is not in unix passwd database!
Failed to initialise SAM_ACCOUNT for user jh---. Does this user exist in the UNIX password database ?
Failed to modify password entry for user jh---
#
Ths user has already been deleted from the /etc/passwd (in
2007 Mar 08
2
CUPS errors when not using CUPS - Breaks printing
Hi All,
We appear to have a CUPS problem that is breaking our (LPRng)
based printing.
We now have loads of errors of the form:_
[2007/03/08 12:21:36, 0, pid=23877] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused
filling up the log.smbd file
We using
printing=lprng
in smb.conf, and there isn't (nor has there ever been) any
2004 Apr 23
2
create_canon_ace_lists: unable to map SID
Hi all,
I'm trying to get a Samba server (which is a member of a Samba
controlled domain) to store WinXP Pro user's profiles. The XP user
is authenticating against a 2003 Active Directory server, which then tells
it to store it's profile on my Samba server.
The 'profiles' share exists and is writeable and under some circumstances
we can get profiles to be stored there,
2007 Oct 01
2
Logging logins with preexec and Samba/LDAP
Hi all,
I had the following line in my smb.conf with which to log access to the
home share when users logged in:
preexec = /bin/echo \"%u logged in to %m at %T\" >>
/var/log/samba/logons.log
Since updating to LDAP however, it's stopped working and I suspect that smbldap cant handle the % substitutions for user, machine and time. Has anyone else run into this problem? If
2004 Aug 20
3
Samba unix password sync
Hello all:
I know I had posted this question a while ago, but I have just not been
able to get it to work. I am trying to sync samba passwords with unix
passwords and it is just not working. I have attached the
results of
"testparm -sv /etc/samba/smb.conf > smbconfig.txt"
with this email. I have also attached the "net groupmap list" results.
If anyone can provide any
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'
1998 Sep 02
0
Problems while running lpq but lpr works... (samba bug?)
Hi,
I am using samba samba-1.9.18p10 quite happily on a FreeBSD-STABLE
system.
The printing works (the paper comes out of the printer) but when I
examine the printer queue on the Windows machine, it is always empty
(even if the printer is offline).
By turning on the debugging I saw the follwing output in the logfile:
Running the command `lpr -r -s -P kyo /var/spool/samba/mobifi.n23036'
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
2005 Mar 31
2
last file missing from wildcard searches (3.0.13)
Hi all,
We're at the preliminary stages of investigating this, but I
can't find any references to it on a Google etc.
Anyway. We've just moved from 3.0.6 to 3.0.13 and users report a file
being missing.
On investigation it turns out that (as far as we could tell in a 5
minute minor panic) the last file in a directory is not included in
a wildcard search. (last file is defined
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