Windoze Printer and Linux Box Setup Woes

Christian Barth barth at cck.uni-kl.de
Fri Jan 22 08:04:52 GMT 1999


Just a few remarks which may be hints:

> Here is the setup of the network:
> HP 5L connected to Win95 - 192.168.0.1
> Linux - Zeus - 192.168.0.3
> 
> -----------SMB.CONF FILE------------
> ; /etc/smb.conf
> [global]
>    printing = bsd
>    printcap name = /etc/printcap
>    load printers = yes
>    guest account = nobody
>    invalid users = root
>    announce as = Win95
>    allow hosts = 192.168.0.3  192.168.0.4 192.168.0.1
>    remote announce = 192.168.0.255/GV2
>    remote browse sync = 192.168.0.255
>    security = share
>    workgroup = GV2
>    server string = %h server (Samba %v)
>    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
>    encrypt passwords = yes
You users have encrypted passwords and enabeld accounts in 
../privat/smbpasswd?
As far as I know some Versions of w95 want them working?

>    wins support = no
>    os level = 0
>    domain master = no   
>    local master = yes   
>    preferred master = no
>    name resolve order = bcast host wins
>    dns proxy = no
>    preserve case = yes
>    short preserve case = yes
>    unix password sync = false
>    passwd program = /usr/bin/passwd %u
>    passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Passwor
>    max log size = 1000
> 
> [home]
>    comment = Home Directories
>    browseable = yes
>    path=/
>    writable=yes
>    public=yes
> 
>    directory mask = 0775
> [printers]
>    comment = All Printers
>    browseable = yes
>    path = /tmp
>    printable = yes
>    public = yes  
>    writable = yes
>    create mode = 0775
> 
> ; A sample share for sharing your CD-ROM with others.
> ;[cdrom]
> ;   comment = Samba server's CD-ROM
> ;   writable = no
> ;   locking = no 
> ;   path = /cdrom
> ;   public = yes
> ;
> [public]
>     comment=Zeus
>     path=/
>     only guest=yes
>     public=yes   
Are you sure your guest accont is working?
Are you trying to contact as user xyz or as guest?
 
>     writable=yes
>     printable=no
> 
> ------------PRINTCAP FILE-----------------
> # Printcap Configuration File
> lp|hplj5l|HP Laserjet 5L:\
>         :sd=/var/spool/lpd/hplj5l:\
>         :mx#0:\
>         :af=/var/log/hpl5jl-acct:\
>         :lf=/var/log/hplj5l-errs:\
>         :if=/usr/bin/smbprint:\
>         :sh:
> 
> ------------SMBPRINT FILLE----------------
> #!/bin/sh -x
> (
>         echo "print -"
>         /etc/magicfilter/ljet4l-filter "$@"
> ) | /usr/bin/smbclient "\\\\GOD_SERVER\\HP5L" -I 192.168.0.1 -N -P
> > /var/log/smbprint.log
Are there any messages in smbprint.log?
What happens if you try the smbclient-commend directly?


Christian
 
_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)


More information about the samba mailing list