[Samba] samba printer share

Kostya Berger bergerkos at yahoo.co.uk
Thu Sep 21 12:25:30 GMT 2006


Hello, dear colleagues using SAMBA.

Who could possibly tell me what I am missing in order to make my SAMBA printer 
share visible on the windows network( i.e., accessing it from a MS Windows 
machine's explorer, for example )? 
It is SAMBA 3.0.23 on Linux 2.4.33 machine(originally RedHat 7.3. based, but 
so much upgraded, even to GLIBC-2.3.6).
here are the linked libraries:
=================================
#ldd /usr/local/samba/sbin/smbd
libcups.so.2 => /usr/lib/libcups.so.2 (0x40023000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40056000)
        libm.so.6 => /lib/libm.so.6 (0x400a8000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x400cb000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x400f8000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
        libdl.so.2 => /lib/libdl.so.2 (0x4011d000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40121000)
        libc.so.6 => /lib/libc.so.6 (0x40128000)
        libpthread.so.20 => /usr/lib/libpthre
And here, at last, my smb.conf:
[global]
        log file = /usr/local/samba/var/log.%m
        load printers = yes
        socket options = TCP_NODELAY
        username map = /etc/samba/user.map
        interfaces = 192.168.0.1/27
        domain master = yes
        null passwords = yes
        public = yes
        wins support = true
        guest account = nobody
        dns proxy = no
        netbios name = Samba
        netbios aliases = Samba
        printing = cups
        server string = Samba
        default = global
        local master = yes
        workgroup = QUBICA
        os level = 65
        printcap name = cups
        security = share
        max log size = 50

[Server_files]
        map archive = no
        writeable = yes
        path = /mnt/nfs
        hide dot files = no
        public = yes
        case sensitive = yes

[printers]
        postscript = yes
        printer = hp_LaserJet_3015
        lpq command = lpstat -o %p
        browseable = yes
        printable = yes
        print command = lpr -P %p -o raw %s -r
        comment = All Printers
        lprm command = cancel %p-%j
        printer admin = root
=======================
My printer here is installed via HPLIP, CUPS is running OK, everything's OK, 
except that I can't see the printer through windows  network browsing, 
neither from linux, nor from windows machines. Of course, I did the RTFM 
search and corrected everything accordingly, but still. The [Server_files] 
share IS visible, the [printers] is NOT.

ANY IDEAS?

THANKS IN ADVANCE FOR YOUR KIND SUPPORT AND YOUR PRECIOUS TIME!
Kostya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060921/091ed65d/attachment.bin


More information about the samba mailing list