Felipe van de Wiel
2004-Jul-13 18:51 UTC
[Samba] [[ Samba-3.0.4 (compiled) does not load printers ]]
Hi all,
So the scenario:
Pentium 133MHz (x86), 32MB RAM, HD 4.7GB
Debian GNU/Linux 3.0r0, XFS released by Blade
All upgrades (apt-get dist-upgrade) applied.
Samba PDC (LDAP), running as domain master,
prefered master, domain logons. Using Samba3-beta2,
it is a production server 24/7, and we are migrating
the LDAP databases to use idmap backend. :)
I'm trying to use the old p133 as a print server.
When I install samba (binary package provided by
Debian repositories) I can use:
load printers = yes
printcap name = cups
printing = cups
The packages:
samba (2.2.3a-13)
samba-common (2.2.3a-13)
The problem:
The authentication system! I don't know if
I'm missing something, but I can't put the packaged
samba (from Debian) to work with my PDC.
So I decided to compile. I get the last source
from samba.org, and compiled it with the follow configure
line:
$ ./configure --prefix=/usr --with-syslog --enable-cups
I use the most simples setup, but I tried with ldap,
tdbsam, syslog, acl and quota support. The problem is with
cups.
The libraries installed on my debian box:
ii cupsys 1.1.14-5 Common UNIX Printing System(tm) - server
ii cupsys-bsd 1.1.14-5 Common UNIX Printing System(tm) - BSD
comman
ii cupsys-client 1.1.14-5 Common UNIX Printing System(tm) -
client pro
ii cupsys-pstoras 1.1.14-5 Common UNIX Printing System(tm) -
pstoraster
ii libcupsys2 1.1.14-5 Common UNIX Printing System(tm) - libs
ii libcupsys2-dev 1.1.14-5 Common UNIX Printing System(tm) -
developmen
If I use the __same__ smb.conf from packaged samba, start
the version 3.0.4 and running smbclient -L localhost, the
printers doesn't appear.
Here is the point. I don't know if it is an issue related
with the libcups, or the samba compilation, I don't know. I'm
looking for ideas, documents, references, people that face
similar problems.
Best regards,
// Felipe
Felipe Augusto van de Wiel
2004-Jul-19 14:47 UTC
[Samba] [[ Samba-3.0.4 (compiled) does not load printers - SOLVED ]]
Hi,
Michael Lueck
I'm answering my 'own' question just be recorded
at mail list archives, so it remains in the public
domain. :)
:: Felipe van de Wiel wrote:
:: The problem:
:: The authentication system! I don't know if
:: I'm missing something, but I can't put the packaged
:: samba (from Debian) to work with my PDC.
It is not the problem! :) When the printer was added
in the Win Client, a Access Denied message appears, so I
thought the problem was the 'auth system'. In fact it it
related but, when using drivers in the client not in the
server, the smb.conf must have a 'use client driver = yes'.
Problem solved, many thanks to Michael Lueck that
help me to discover what is going on! With this 'we'
also avoid a new 'Win98' on the network! :)
:: If I use the __same__ smb.conf from packaged samba,
:: start the version 3.0.4 and running smbclient -L
:: localhost, the printers doesn't appear.
The problem is the CUPS-api integration and the libs,
just a little bit of patience and the share will appear.
:: Here is the point. I don't know if it is an issue
:: related with the libcups, or the samba compilation, I
:: don't know. I'm looking for ideas, documents, references,
:: people that face similar problems.
Issue is related with a missing parameter (look above),
just it! :)
Best regards,
// Felipe
Reasonably Related Threads
- Some applications print, some don't
- uploading printer driver using APW changes printer share name
- Samba 3.0.4-3 bug re: libcupsys2-gnutls10
- Cups and Samba Access Denied
- CUPS filtering mechanism explained, was: [cups raw mode, was Re: unlink data file in cups_job_submit]