[Samba] Problems with Print Server on Samba

Marcio Garcia mgarcia at thesource.com.br
Wed Jun 29 13:50:14 GMT 2005


Dear,

    I tried to configure my Samba Server just to print, but i had some 
problems:

    In Windows 2000 everything works nicely, but in windows 98 i can't 
see the printer of my Samba Server and i really don't know why.

    The printer that a configures its: LaserJet-2200
    My OS its: Debian Sarge

**********************************
   
My smb.conf

[global]

   workgroup = test
   netbios name = user1
   server string = Print Server
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog only = no
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

####### Authentication #######

   security = share
   encrypt passwords = false
   obey pam restrictions = yes
   invalid users = root

########## Printing ##########

   load printers = yes
   printing = cups
   printcap name = cups

############ Misc ############

   socket options = TCP_NODELAY

#======================= Share Definitions =======================

[printers]
   comment = LaserJet-2200
   browseable = Yes
   path = /tmp
   printable = yes
   public = yes
   writable = yes
   create mode = 0775

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

**********************************

testparm /etc/samba/smb.conf

Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
        workgroup = FPA
        server string = Servidor de Impressao Secretaria
        security = SHARE
        encrypt passwords = No
        obey pam restrictions = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        printcap name = cups
        dns proxy = No
        panic action = /usr/share/samba/panic-action %d
        invalid users = root
        printing = cups
        print command =
        lpq command = %p
        lprm command =

[printers]
        comment = LaserJet-2200
        path = /tmp
        read only = No
        create mask = 0775
        guest ok = Yes
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

**********************************

smbclient -L localhost

Password:
Domain=[test] OS=[Unix] Server=[Samba 3.0.14a-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (Servidor de Impressao 
Secretaria)
        ADMIN$          IPC       IPC Service (Servidor de Impressao 
Secretaria)
Domain=[test] OS=[Unix] Server=[Samba 3.0.14a-Debian]

        Server               Comment
        ---------            -------
        USER1               Print Server

        Workgroup            Master
        ---------            -------
        test                  zeta



Thanks,

Marcio Garcia



More information about the samba mailing list