Date: Mon, 21 Aug 2000 14:01:20 +0300 From: Odhiambo Washington /Inter-Connect Ltd <vedette@iconnect.co.ke> To: Doug Lee <dgl@visi.com> Cc: FreeBSD-Questions <freebsd-questions@FreeBSD.org> Subject: Re: LPRng: Printing to Samba 2.0.7 from Windows 2000 Message-ID: <20000821140120.A73946@siafu.iconnect.co.ke> In-Reply-To: <Pine.BSF.4.21.0008181616120.2914-100000@kirk.dsl.visi.com>; from Doug Lee on Fri, Aug 18, 2000 at 04:26:07PM -0500 References: <20000818212946.A64648@siafu.iconnect.co.ke> <Pine.BSF.4.21.0008181616120.2914-100000@kirk.dsl.visi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here I am again Sir ;-) Thus spake Doug Lee (dgl@visi.com): > I'm afraid I've never set up Samba as a PDC, though I've thought about > it. I don't think that process is fully documented yet. I don't think > you need that for what you're trying to do though. I added ALOUETTE to the already existing workgroup being managed by POEZA. It did give me some problem but I got out into diagnostic and started with a very basic smb.conf which had only WORKGROUP = already existing wkgrp and security = share and it was accessible. Then I added the other details until the end until I got the problem being somewher in the hosts allow line which I effectively kicked. That was the main snag. I think the message I was getting that ALOUETTE did not receive my request had something to do with it. I will contend with it this way while I still read Samba docs. > > More things to check: Can the machines which can't get to Alouette > printers ping Alouette's IP address by number--e.g., from a DOS box, ping > 192.168.2.254 (I don't remember Alouette's IP address)? Can Alouette ping > them by IP? From a DOS box, do NBTSTAT -A <ip of Alouette> and see if you > get a list of names back, or "Host not found." If you get "Host not > found," the machines are not communicating NETBIOS packets; if you get > names back, they are able to do at least that much, and you should then > try (again from a DOS box) NET VIEW \\ALOUETTE. (NOTE: The "-A" in the > NBTSTAT line above IS case sensitive; -a means something different.) If > NET VIEW \\ALOUETTE returns either a list of printers or a remark like "No > items in list," look in network neighborhood again. I have seen the > NBTSTAT/NET VIEW combination resurrect a connection so that network > neighborhood can see it. If this is the case, I believe it would mean > that you have a problem with Alouette and the Windows machines not paying > attention to the same subnet broadcast address. All this was OK . > > One verification here: Your resources on both machines are marked > "browseable no," which means they will not show up in network > neighborhood, even though they can still be used. Did you intend them to > be hidden? If you want printers to show up in network neighborhood, use > "browseable yes." I changed that to YES... > > Let me know if all this gets you anywhere. I still think I'm missing > something simple, but we'll see... Everything, the shares and the printers are now accesssible but here is the latest problem: When I configure Win9x to print to my printer on the BSD box, I get a message like 'User intervention required.. printer will be set to work offline...' from the Windows PCs. Then nothing happens. Jobs don't get printed. I am trying to get something clear. What permission do I need to hae in the printers spool directory? And this one .. alouette# cd /tmp/ alouette# ls -al total 26 drwxrwxrwt 5 root wheel 512 Aug 21 13:10 . drwxr-xr-x 18 root wheel 512 Aug 15 13:10 .. drwxrwxrwt 2 root wheel 512 Aug 21 12:43 .X11-unix drwx------ 2 admin wheel 512 Aug 17 15:23 .xf86config514 -rw-r--r-- 1 root wheel 11 Aug 21 13:10 lpq.00002b98 -rw-r--r-- 1 root wheel 74 Aug 21 12:28 lpq.0005ccb7 -rw-r--r-- 1 root wheel 74 Aug 20 14:49 lpq.0005ccd7 -rw------- 1 wash wheel 3691 Aug 12 14:30 mutt-alouette-593-119 srwxrwxrwx 1 mysql wheel 0 Aug 21 13:07 mysql.sock drwxr-xr-x 6 wash wheel 512 Aug 20 10:43 nscomm40-wash -rw------- 1 wash wheel 14118 Aug 16 19:08 nsmail399ABC5201E1BB1 alouette# cat lpq.0005ccb7 alouette.iconnect.co.ke: lpd: Your host does not have line printer access alouette# Does this one make some sense about why PC users cannot print?? And here is the printers section of smb.conf as it stands now.. [printers] comment = All Printers ; path = /var/spool/samba path = /var/spool/lpd browseable = no # Set public = yes to allow user 'guest account' to print guest ok = yes writeable = no printable = yes public = yes create mode = 0700 And I added this for the very particular printer after I turned load all printers off... [deskjet] path = /var/spool/lpd/printer1-hpdj-a4-auto-default printer name = lp writable = yes public = yes printable = yes print command = lpr -r -h -P %p %s > > -- > Doug Lee > dgl@visi.com > http://www.visi.com/~dgl > > -- Odhiambo Washington Systems Administrator Inter-Connect Ltd. 3rd Flr The Chancery Valley Rd PO Box 39519 Nairobi Tel: 254 2 711140 Fax: 254 2 718418 A diplomatic husband said to his wife, "How do you expect me to remember your birthday when you never look any older?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000821140120.A73946>