Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!gumby! andrews-cc!gillham From: gill...@andrews.edu (Andrew Gillham) Newsgroups: comp.protocols.ibm,comp.unix.bsd,comp.os.386bsd.development, comp.protocols.tcp-ip.ibmpc Subject: [NETBIOS] Anyone with NetBIOS Unix code? Or SMB? Date: 17 Nov 1993 01:15:06 GMT Organization: Andrews University Lines: 26 Message-ID: <2cbtuq$sj@orion.cc.andrews.edu> NNTP-Posting-Host: edmund.cs.andrews.edu Ok, I *know* I'll get some replies to this... :-) :-) I'm looking for a free/pd NetBIOS implementation for Unix. i.e. user level calls, etc.. NOT the rfc's!! Better yet, does anyone have any free/pd SMB (server message block) code/servers available? I have spec's on SMB, but nothing really on NetBIOS. Why you ask? Because I have several PC's (windows for workgroups) connected to an NT machine and would like access to my Unix filesystems without buying NFS clients or having to load TCP/IP on the PC's. A way to mount NFS exports on NT and then share then would work, but I don't think it would be free. What I would like to do is turn my Unix machine (NetBSD) into a big WFW server. The SMB specs don't seem that complicated, so if Appleshare can be impletemented via CAP, why not SMB? Thanks for any help, pointers, etc.. -Andrew -- #!/bin/sh - ============================================== echo "Andrew Gillham gill...@andrews.edu" echo "Winix Hacker usrvn...@ibmmail.com" #=========================================================
Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!pcproj.datastream.co.uk! pcproj.datastream.co.uk!not-for-mail From: pa...@pcproj.datastream.co.uk (Paul Rossington) Newsgroups: comp.protocols.ibm,comp.unix.bsd,comp.os.386bsd.development, comp.protocols.tcp-ip.ibmpc Subject: Re: [NETBIOS] Anyone with NetBIOS Unix code? Or SMB? Followup-To: comp.protocols.ibm,comp.unix.bsd,comp.os.386bsd.development, comp.protocols.tcp-ip.ibmpc Date: 18 Nov 1993 09:24:06 -0000 Organization: Datastream International Ltd, London Lines: 39 Message-ID: <2cfevm$qkf@pcproj.datastream.co.uk> References: <2cbtuq$sj@orion.cc.andrews.edu> NNTP-Posting-Host: pcproj.datastream.co.uk X-Newsreader: TIN [version 1.2 PL0] Andrew Gillham (gill...@andrews.edu) wrote: : Ok, I *know* I'll get some replies to this... :-) :-) : I'm looking for a free/pd NetBIOS implementation for Unix. i.e. : user level calls, etc.. NOT the rfc's!! : Better yet, does anyone have any free/pd SMB (server message block) : code/servers available? I have spec's on SMB, but nothing really : on NetBIOS. : Why you ask? Because I have several PC's (windows for workgroups) : connected to an NT machine and would like access to my Unix filesystems : without buying NFS clients or having to load TCP/IP on the PC's. : A way to mount NFS exports on NT and then share then would work, but : I don't think it would be free. What I would like to do is turn : my Unix machine (NetBSD) into a big WFW server. The SMB specs don't : seem that complicated, so if Appleshare can be impletemented via CAP, : why not SMB? : Thanks for any help, pointers, etc.. Andrew, my company has a similar problem to yours - we have some MSDOS based SNA gateways which advertise there services over NetBIOS. We are looking to write a UNIX client but didn't want to reimplement the server. So, NetBIOS on UNIX then. Well we came across one commercial vendor called MCS (I think) based on your side of the pond. If you require further details Email me. BTW, from the people I've spoken to in the Unix community about this the response has generally been of the form - "NetBIOS? That's a dodgy IBM protocol for DOS machines isn't it? It's not coming anywhere near my machine... What's wrong with sockets anyway?" :-) Hope this helps, Paul. -- Paul Rossington, | "Sometimes I think the surest sign that Datastream International, London | intelligent life exists elsewhere in the pa...@pcproj.datastream.co.uk | Universe is that fact that none of it has pa...@dspcproj.demon.co.uk | tried to contact us" - Calvin to Hobbes
Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com! gatech!comlab.gtri.gatech.edu!bob From: b...@comlab.gtri.gatech.edu (Bob Baggerman) Newsgroups: comp.protocols.ibm,comp.unix.bsd,comp.os.386bsd.development, comp.protocols.tcp-ip.ibmpc Subject: Re: [NETBIOS] Anyone with NetBIOS Unix code? Or SMB? Date: 19 Nov 1993 18:29:36 GMT Organization: GTRI Communications Lab Lines: 29 Message-ID: <2cj3ag$7cv@news.gatech.edu> References: <2cbtuq$sj@orion.cc.andrews.edu> <2cfevm$qkf@pcproj.datastream.co.uk> NNTP-Posting-Host: comlab.gtri.gatech.edu Andrew Gillham (gill...@andrews.edu) wrote: > I'm looking for a free/pd NetBIOS implementation for Unix. ^^^^^^^^^ and Paul Rossington writes: > BTW, from the people I've spoken to in the Unix community about this the > response has generally been of the form - "NetBIOS? That's a dodgy IBM > protocol for DOS machines isn't it? It's not coming anywhere near my > machine... Since Mr. Gillham specifically asked for a *free* NetBIOS and/or SMB implementation I didn't reply. However, there are at least two commercial vendors of Unix SMB servers, Syntax and Performance Technology. Syntax (isn't that what Clinton wants to put on cigarettes?) even has a general purpose Unix NetBIOS implementation product. I believe protocols that the Syntax currently supports with their NetBIOS are TCP/IP, OSI, and NetBEUI. Since NetBIOS isn't a protocol per se but rather a programming interface, I believe your Unix community contacts may have mispoken. Might I suggest better answers could be found from better informed sources. Bob -- Bob Baggerman ! bob.bagger...@gtri.gatech.edu Communications Laboratory ! b...@comlab.gtri.gatech.edu Georgia Tech Research Institute ! qsec...@prism.gatech.edu Atlanta, GA 30332 USA ! 404-894-3525
Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!usenet.ins.cwru.edu! nigel.msen.com!yale.edu!yale!gumby!andrews-cc!gillham From: gill...@andrews.edu (Andrew Gillham) Newsgroups: comp.protocols.ibm,comp.unix.bsd,comp.os.386bsd.development, comp.protocols.tcp-ip.ibmpc Subject: Re: [NETBIOS] Anyone with NetBIOS Unix code? Or SMB? Date: 20 Nov 1993 02:36:30 GMT Organization: Andrews University Lines: 52 Message-ID: <2cjvre$s5@orion.cc.andrews.edu> References: <2cbtuq$sj@orion.cc.andrews.edu> <2cfevm$qkf@pcproj.datastream.co.uk> <2cj3ag$7cv@news.gatech.edu> NNTP-Posting-Host: edmund.cs.andrews.edu In article <2cj3ag$...@news.gatech.edu> b...@comlab.gtri.gatech.edu (Bob Baggerman) writes: > >Since Mr. Gillham specifically asked for a *free* NetBIOS and/or SMB >implementation I didn't reply. Yep, Mr. Gillham (me!!) specifically *DOESN'T* like NetBIOS, so the only way he'll run it on his NetBSD (free!) is if it's free.. :-) I'm just interested in a quick and dirty way to get access to my unix filesystems without running NFS on my PC's. Yes, NFS is great on UNIX machines with caching (I like NFS), but it doesn't perform well when crammed onto a MS-DOS machine.. Something like 100K reads and 10K writes was what I was seeing.. As Windows is so finicky about network drivers, I wanted something that used protocols that it already understands fairly well. (i.e. I want to use the Microsoft clients..) Some helpful fellow from Belgium was able to point me to a program in Australia that emulates pathworks enough to work with my stuff. I'm pleased! Now diehards would ask why I use Windows if I have NetBSD.. Good question! I have to support it at work... and I like Word/Excel.. Well, thanks for all the help and comments!! > >However, there are at least two commercial vendors of Unix SMB servers, >Syntax and Performance Technology. Syntax (isn't that what Clinton wants >to put on cigarettes?) even has a general purpose Unix NetBIOS implementation >product. I believe protocols that the Syntax currently supports with their >NetBIOS are TCP/IP, OSI, and NetBEUI. I don't like the idea of paying for something that sucks... :-) (but for free, it'll work..) :-) :-) > >Since NetBIOS isn't a protocol per se but rather a programming interface, >I believe your Unix community contacts may have mispoken. Might I suggest >better answers could be found from better informed sources. > Yeah, and the sky is *NOT* blue, it's *DAMP*, as anyone.. :-) -Andrew -- #!/bin/sh - ============================================== echo "Andrew Gillham gill...@andrews.edu" echo "Winix Hacker usrvn...@ibmmail.com" #=========================================================
Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!munnari.oz.au! foxhound.dsto.gov.au!fang.dsto.gov.au!vail.levels.unisa.edu.au!levels.unisa.edu.au!ccdps From: c...@levels.unisa.edu.au Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: [NETBIOS] Anyone with NetBIOS Unix code? Or SMB? Message-ID: <1993Nov25.091856.21468@levels.unisa.edu.au> Date: 25 Nov 93 09:18:56 +0930 Organization: University of South Australia Lines: 96 So, I'm not the only one to want a free Unix SMB/Netbios implementation! I was involved in trying to revive this project earlier this year, on the Linux net channel and other places. I have a long list of interested people and some background information from the original author, Andrew Tridgell < tri...@nimbus.anu.edu.au>. I don't have time to massage it all into a nice summary but here's part of a message that Andrew sent me early in the piece. The real problem with taking this any further was that nobody would champion the project due to lack of time. Now, if someone were to set up a mailing list or a Linux channel or something, and actively persue it... I did manage to chase us the SMB specification, which is what Andrew lacked (also the NetBIOS spec) when he wrote the package originally. Its quite an impressive job considering the lack of information. From memory all he did was write a packet-capturing program that spied on the communications of a Pathworks server and client, which he assumed used some proprietry protocol (fair enough assumption too, given Dec's history :-) Could people please contact me if they think they might be able to get this project going again. I'd love to have a solution where a box running Unix (preferrably free unix) was running this package and cap and could thus do print/file sharing for Macs and PCs... which is what most Pathworks, Lanman, LM/X and WIndows NT AS spend most of their time doing. It makes even more sense to do this now than 12 months ago, since all the Lanman variants seem to be becoming identical. Pathworks v5 is the same as Lan Manager, for instance. -- Dan Shearer email: Dan.Shea...@UniSA.edu.au Information Technology Unit Phone: +61 8 302 3479 University of South Australia Fax : +61 8 302 3385 edited copy of message from Andrew Tridgell follows > Andrew, > > What you write is most interesting. I have a few questions: > > 1. Did you not have a spec because no-one would give you one or because > you couldn't find one easy enough? (ie, if someone wanted to make sure > it really was legal to put on, say, a Decnet network, would it be possible > to say "yes, because it conforms to XYZ.") The real problem was that I didn't know there was a spec! I had assumed that it was a proprietry DEC protocol and only after I released it did someone say "hey! you've implemented netbios!". I dealt only with the bytes I saw in the dec server, not knowing it was copying a microsoft spec. I have checked with dec and they said what I did was legal - because there was a published spec (even if I didn't have it). > > 2. What lots and *lots* of people want is a way of doing printer/file > sharing for PCs, most commonly Macs and IBM clones. How do you see your > efforts fitting in with this aim? In particular people/institutions > would like to have royalty-free servers accessible with their existing > workstations. We already have a free, reliable Unix working on cheap > hardware (Linux) and its ethernet interface is coming together. The > concept of putting Lan Manager (=Pathworks) on top of this is > very attractive indeed. I've no idea about print serving, but it wouldn't be hard to write a dos client for this for file sharing. All you need is a socket library and a few dos type changes (\ for / etc). The NCSA socket lib would probably do the trick. I have used my server for quite a while on a Sun, using the DEC PC client and mounting serveral remote disks. My server should certainly work with mininal changes (if any) on almost any unix implementation that has sockets. The headache with writing a dos client would be the memory resident stuff, as it needs to reliably access the disk. Of course this wouldn't be a problem with Linux. > 3. I understand (from Alan Cox in the UK, who has run your server) that > you have implemented NetBIOS, what other protocols can/do you implement > in your code? How do they interface with Unix? > If only I knew it was netbios when I wrote it! I might have been able to get a spec. I suspect that I'm missing many calls of the spec - I only implemented the ones I saw the dec server using. Adding new calls is pretty easy though. I use sockets as the communication method. This allows decnet to be used as it uses basically the same syntax (for simple things like I do). I've no idea about other transports or protocols. One problem is that I know next to nothing about networking, I just know that a socket is like a file and write to it like a file. > However I'd like to know which is the best ftp site. Once I understand > a little bit more about it I will let other potential developers/users know. > We'll see what happens. If it catches the imagination of enough people > some development may well take place. Andrew
Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!munnari.oz.au!newshost.anu.edu.au! newshost!tridge From: tri...@nimbus.anu.edu.au (Andrew Tridgell) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: [NETBIOS] Anyone with NetBIOS Unix code? Or SMB? Date: 25 Nov 1993 01:08:47 GMT Organization: CSLab, ANU Lines: 58 Message-ID: < TRIDGE.93Nov25120847@nimbus.anu.edu.au> References: <1993Nov25.091856.21468@levels.unisa.edu.au> NNTP-Posting-Host: 150.203.15.21 In-reply-to: ccdps@levels.unisa.edu.au's message of 25 Nov 93 09:18:56 +0930 In article <1993Nov25.091856.21...@levels.unisa.edu.au> c...@levels.unisa.edu.au writes: I was involved in trying to revive this project earlier this year, on the Linux net channel and other places. I have a long list of interested people and some background information from the original author, Andrew Tridgell < tri...@nimbus.anu.edu.au>. I'm amazed that this old beast of mine is still around :-) The funny thing is, that after all this time I may be interested in using this server again myself. This time I've got a 286 PC at home that my wife uses for word processing (under DOS) and a Linux box, and I want to do file serving from the Linux box to the 286. So I've got to poke around and see if I can get something setup. Other potential users may be interested in an e-mail I got from DEC a few months back about this server. I was contacted by one of the people working on the "contributed" CD-ROM for the Alpha, asking if it was OK to distribute my server on the CD-ROM! I said it was OK but haven't heard back from them. Does anyone have a copy of this CD-ROM that can tell me if my server made it on? Oh yes, if anyone has an electronic copy of the Netbios spec, particularly the part dealing with file serving I would be most interested in getting a copy. I'd love to see what I implemented! I'm afraid I didn't have a spec (I didn't know there was one) and I just setup a simple system to "trap" all packets going between a PC and a DEC server, then stared at them under emacs until I thought I'd worked it out. I probably got some bits wrong :-) I know there are some bugs in the system, I think there's at least one to do with seeks. The funny thing is that I put a similar bug (unintentionally!) in the Net redirector code of the Linux Dos-emulator. Thanks to Tim Bird and James MacLean for fixing this up and also adding a whole lots more functionality. I also still haven't heard from anyone who successfully got it to work under Decnet. I'm puzzled by this as I looked at some sample decnet code in the Ultrix distribution and I thought I'd done it right. So if anyone has got it to work with Decnet, and not just TCP/IP, then I'd like to hear from them. Finally, if you want to get a copy then it's probably best to use nimbus.anu.edu.au in the directory pub/tridge/server/. The copy on yaouk was put there courtesy of Mark Courbold, because I didn't have access to a ftp server at the time. If there's ever any update to the server (only a slight possability, probably) then it will appear on nimbus. Cheers, Andrew -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Andrew Tridgell (Tridge on ICS) CSLab, Research School of Physical Sciences Andrew.Tridg...@anu.edu.au Australian National University (x3064) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-