Hello: I have a brother HL-1440 laser printer set-up and working fine on my RedHat 7.3 Linux box. The printer queue is named brotherLaser. I added a samba share for the printer with these options in my smb.conf file: [brotherLaser] path = /var/spool/lpd/brotherLaser writable = yes comment = Brother Laser Printer printable = yes public = yes I then went to a windows 98 machine and tried to set-up a network printer with the path \\192.168.1.1\brotherLaser I installed the driver from the cdrom that came with the printer and everything seemed to work just fine. But, when I look at the printer, it says that it is offline. When I try to connect to it, it asks me for a password. No matter what I enter, it says the password is not correct. I have samba set to allow for null passwords and the printer is public, so anyone on the network should be able to print to it without a password, correct? Here is my global tag: [global] smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u pam password change = yes printing = lprng dns proxy = no null passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap obey pam restrictions = yes debug level = 10 passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* security = user unix password sync = Yes server string = Samba Server workgroup = MYGROUP log file = /var/log/samba/%m.log load printers = yes Any ideas? Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com Custom Internet Development Websites, Ecommerce, Java, databases
You have security=user. If you don't want passwords, set security=share. Trey Nolen ----- Original Message ----- From: "Neil Aggarwal" <neil@JAMMConsulting.com> To: "Samba mailing list" <samba@lists.samba.org> Sent: Wednesday, June 12, 2002 3:08 PM Subject: [Samba] WIndows 98 asking for a password> Hello: > > I have a brother HL-1440 laser printer set-up and working fine on my > RedHat 7.3 Linux box. The printer queue is named brotherLaser. > > I added a samba share for the printer with these options > in my smb.conf file: > [brotherLaser] > path = /var/spool/lpd/brotherLaser > writable = yes > comment = Brother Laser Printer > printable = yes > public = yes > > I then went to a windows 98 machine and tried to set-up a > network printer with the path \\192.168.1.1\brotherLaser > > I installed the driver from the cdrom that came with the printer > and everything seemed to work just fine. > > But, when I look at the printer, it says that it is offline. > When I try to connect to it, it asks me for a password. > No matter what I enter, it says the password is not correct. > > I have samba set to allow for null passwords and the printer > is public, so anyone on the network should be able to > print to it without a password, correct? > > Here is my global tag: > [global] > smb passwd file = /etc/samba/smbpasswd > passwd program = /usr/bin/passwd %u > pam password change = yes > printing = lprng > dns proxy = no > null passwords = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = /etc/printcap > obey pam restrictions = yes > debug level = 10 > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > security = user > unix password sync = Yes > server string = Samba Server > workgroup = MYGROUP > log file = /var/log/samba/%m.log > load printers = yes > > Any ideas? > > Thanks, > Neil. > > -- > Neil Aggarwal > JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com > Custom Internet Development Websites, Ecommerce, Java, databases > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Hello: I set the samba to use share level access. Now, it does not ask for a password, but when I try to print something, I get this message on the Windows 98 machine: The was an error writing to \\192.168.1.1\brotherLaser for printer (Brother HL-1440 Series): The network name cannot be found. Any ideas? Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com Custom Internet Development Websites, Ecommerce, Java, databases> -----Original Message----- > From: SaDIKuZboy [mailto:sadikuzboy@libero.it] > Sent: Wednesday, June 12, 2002 3:18 PM > To: Neil Aggarwal > Subject: Re: [Samba] WIndows 98 asking for a password > > > Alle 22:08, mercoled? 12 giugno 2002, Neil Aggarwal ha scritto: > > do you really need "security = user" into your samba.conf? > put security = share and everything will work fine but you'll > manage shares > access; not user ones :o) > > > -- > ___________________________________________ > SaDIKuZboy - Network admin at gatinho.com > ------------------------------------------------------------- > Sites that I like/work with: > www.cups.org - Italian CUPS Translation > www.nasa.gov - Please join and help SETI@Home > www.nsa.gov - Security Enhanced Linux > www.gatinho.com - A growing housemade network > www.freshmeat.net - Go get your own linux mad cow! > www.slackware.it - Sometimes I help people there > elbalinux.gatinho.com - Server at gatinho [Elba Island] > orix.gatinho.com - Server at gatinho [Pompei - IT] > anaconda.gatinho.com - Server at gatinho [Napoli - IT] > hub.gatinho.com - Server at gatinho [near Napoli - IT] > koalino.gatinho.com - Server at gatinho [Milano - IT] > ___________________________________________ > Extra Projects: > ConsoLovePPPD - PPPD configurator for who loves console > epsc70ink - Epson C70-80 InkLevel WebFrontend > SDK-UniOverflow - Get overflows and exploit`em > ___________________________________________ > Contact me at irc.gatinho.com on #sadikuzzi / #linux / #FLEXYnet > ------------------------------------------------------------- > Computers are just like air conditioners: > They stop working properly when you open windows
Add the samba server information to the hosts and lmhosts files on your PCs. Jim p.s. Connect to the printer share using the \\hostname\sharename, not \\ip\sharename> -----Original Message----- > From: Neil Aggarwal [mailto:neil@JAMMConsulting.com] > Sent: Wednesday, June 12, 2002 1:38 PM > To: SaDIKuZboy; Samba mailing list > Subject: RE: [Samba] WIndows 98 asking for a password > > > Hello: > > I set the samba to use share level access. > Now, it does not ask for a password, but> when I try to print something, I get this > message on the Windows 98 machine: > > The was an error writing to \\192.168.1.1\brotherLaser > for printer (Brother HL-1440 Series): > The network name cannot be found. > > Any ideas? > > Thanks, > Neil. > > -- > Neil Aggarwal > JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com > Custom Internet Development Websites, Ecommerce, Java, databases > > > > -----Original Message----- > > From: SaDIKuZboy [mailto:sadikuzboy@libero.it]> > Sent: Wednesday, June 12, 2002 3:18 PM > > To: Neil Aggarwal > > Subject: Re: [Samba] WIndows 98 asking for a password > > > > > > Alle 22:08, mercoled? 12 giugno 2002, Neil Aggarwal ha scritto: > > > > do you really need "security = user" into your samba.conf? > > put security = share and everything will work fine but you'll > > manage shares > > access; not user ones :o) > > > > > > -- > > ___________________________________________ > > SaDIKuZboy - Network adminat gatinho.com> > ------------------------------------------------------------- > > Sites that I like/work with: > > www.cups.org - Italian CUPS Translation > > www.nasa.gov - Please join and help SETI@Home > > www.nsa.gov - Security Enhanced Linux > > www.gatinho.com - A growing housemade network > > www.freshmeat.net - Go get your own linux mad cow! > > www.slackware.it - Sometimes I help people there > > elbalinux.gatinho.com - Server at gatinho [Elba Island] > > orix.gatinho.com - Server at gatinho [Pompei - IT]> > anaconda.gatinho.com - Server at gatinho [Napoli - IT] > > hub.gatinho.com - Server at gatinho [near Napoli - IT] > > koalino.gatinho.com - Server at gatinho [Milano - IT] > > ___________________________________________ > > Extra Projects: > > ConsoLovePPPD - PPPD configurator for who loves console > > epsc70ink - Epson C70-80 InkLevel WebFrontend > > SDK-UniOverflow - Get overflows and exploit`em > > ___________________________________________ > > Contact me atirc.gatinho.com on #sadikuzzi / #linux / #FLEXYnet> > ------------------------------------------------------------- > > Computers are just like air conditioners: > > They stop working properly when you open windows > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >8????!?N
Shorten the share name to less than 12 char's Win9x can't handle them 12 char's or > see: Share Names Greater Than 12 Characters Cause Errors on Clients [Q145949] on the Ms site. Jim> -----Original Message----- > From: Neil Aggarwal [mailto:neil@JAMMConsulting.com] > Sent: Wednesday, June 12, 2002 2:00 PM > To: Van Sickler, Jim; Samba mailing list > Subject: RE: [Samba] WIndows 98 asking for a password > > > Jim: > > This did not help. I created an entry for linuxServer > that points to 192.168.1.1 and rebooted the machine.> > I then went to a DOS prompt and typed: > ping linuxServer > and it resolved and pinged the linux server OK. > > I then added the network printer via \\linuxServer\brotherLaser > to no avail. > > Any other ideas? > > Thanks, > Neil. > > -- > Neil Aggarwal > JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com > Custom Internet Development Websites, Ecommerce, Java, databases > > > > -----Original Message-----> > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org]On > > Behalf Of Van Sickler, Jim > > Sent: Wednesday, June 12, 2002 3:48 PM > > To: 'Neil Aggarwal'; SaDIKuZboy; Samba mailing list > > Subject: RE: [Samba] WIndows 98 asking for a password > > > > > > Add the samba server information to the > > hosts and lmhosts files on your PCs. > > > > Jim > > > > p.s. Connect to the printer share using the > > \\hostname\sharename, not \\ip\sharename > > > > > -----Original Message-----> > > From: Neil Aggarwal [mailto:neil@JAMMConsulting.com] > > > Sent: Wednesday, June 12, 2002 1:38 PM > > > To: SaDIKuZboy; Samba mailing list > > > Subject: RE: [Samba] WIndows 98 asking for a password > > > > > > > > > Hello: > > > > > > I set the samba to use share level access. > > > Now, it does not ask for a password, but > > > > > when I try to print something, I get this > > > message on the Windows 98 machine: > > > > > > The was an error writing to \\192.168.1.1\brotherLaser> > > for printer (Brother HL-1440 Series): > > > The network name cannot be found. > > > > > > Any ideas? > > > > > > Thanks, > > > Neil. > > > > > > -- > > > Neil Aggarwal > > > JAMM Consulting, Inc. (972) 612-6056, > http://www.JAMMConsulting.com > > > Custom Internet Development Websites, Ecommerce, Java, > databases > > > > > > > > > > -----Original Message----- > > > > From: SaDIKuZboy [mailto:sadik > > uzboy@libero.it] > > > > Sent: Wednesday, June 12, 2002 3:18 PM> > > > To: Neil Aggarwal > > > > Subject: Re: [Samba] WIndows 98 asking for a password > > > > > > > > > > > > Alle 22:08, mercoled? 12 giugno 2002, Neil Aggarwal ha scritto: > > > > > > > > do you really need "security = user" into your samba.conf? > > > > put security = share and everything will work fine but you'll > > > > manage shares > > > > access; not user ones :o) > > > > > > > > > > > > -- > > > > ___________________________________________ > > > > SaDIKuZboy - Network admin> > at gatinho.com > > > > ------------------------------------------------------------- > > > > Sites that I like/work with: > > > > www.cups.org - Italian CUPS Translation > > > > www.nasa.gov - Please join and help SETI@Home > > > > www.nsa.gov - Security Enhanced Linux > > > > www.gatinho.com - A growing housemade network > > > > www.freshmeat.net - Go get your own linux mad cow! > > > > www.slackware.it - Sometimes I help people there > > > > elbalinux.gatinho.com - Server at gatinho [Elba Island]> > > > orix.gatinho.com - Serv > > er at gatinho [Pompei - IT] > > > > anaconda.gatinho.com - Server at gatinho [Napoli - IT] > > > > hub.gatinho.com - Server at gatinho [near Napoli - IT] > > > > koalino.gatinho.com - Server at gatinho [Milano - IT] > > > > ___________________________________________ > > > > Extra Projects: > > > > ConsoLovePPPD - PPPD configurator for who loves console > > > > epsc70ink - Epson C70-80 InkLevel > WebFrontend > > > > SDK-UniOverflow - Get overflows and exploit`em> > > > ___________________________________________ > > > > Contact me at > > irc.gatinho.com on #sadikuzzi / #linux / #FLEXYnet > > > > ------------------------------------------------------------- > > > > Computers are just like air conditioners: > > > > They stop working properly when you open windows > > > > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > 8???>> > ?!^N > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > >????!?N