Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

O'Reilly's 'Using Samba' book included with 10.2 UNIX
While fiddling around in Terminal, I found that the entire O'Reilly "Using Samba" manual is installed with Jaguar. Just point your favorite browser to:

file://usr/share/swat/using_samba/index.html.

Neat!

[Editor's note: In Mozilla, you'll need to use this link to open the manual (it has a third forward slash after "file:"), or just use File -> Open File in any browser if the link fails ... pretty cool that the whole book is there!]
    •    
  • Currently 5.00 / 5
  You rated: 5 / 5 (3 votes cast)
 
[10,709 views]  

O'Reilly's 'Using Samba' book included with 10.2 | 34 comments | Create New Account
Click here to return to the 'O'Reilly's 'Using Samba' book included with 10.2' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not on my machine
Authored by: Anechoic on Oct 09, '02 10:41:40AM

As the title indicates, I don't seem to have it on my machine. Were you guys using a machine that was upgraded to Jaguar, or a machine that came with Jaguar preinstalled?



[ Reply to This | # ]
Not on my machine
Authored by: jolinwarren on Oct 09, '02 10:50:52AM

I also don't have it (which is disappointing!). Maybe it gets installed with the most recent developer tools? I installed the developer tools that came with 10.2, but haven't got around to downloading the latest developer tools.

Cheers,
Jolin



[ Reply to This | # ]
Not on my machine
Authored by: glockfan on Oct 09, '02 11:01:06AM

not on my machine as well. I did a full complete install or Jag, and installed all dev tools. any ideas?



[ Reply to This | # ]
STOP POSTING FINK HINTS AS OSX HINTS
Authored by: perdedor on Oct 09, '02 11:42:07AM

I'm thinking it's something fink related, which is all so often the case when I see these interesting hints here that seem to work for the submitter, and the editor, yet never seem to work on any over a 1/2 dozen machines I have to mess with, because none of them have fink.



[ Reply to This | # ]
Not fink
Authored by: hombre on Oct 09, '02 11:54:00AM

It is not fink. I have the book on my machine, but I do not have fink installed. And stop shouting.



[ Reply to This | # ]
This is not fink related...
Authored by: robg on Oct 09, '02 12:01:13PM
Also, I do NOT have fink installed on the machine I use to test every hint that's published. The only "non-standard" stuff on my machine is the Dev Tools, which I recommend that everyone install anyway.

I don't have the time, unfortunately, to test every hint on two different configurations. But rest assured, almost nothing published in the last nine months or so has been a "fink only" hint (unless it's a hint that directly mentions fink, of course), as it's been about that long since I've used it...

-rob.

[ Reply to This | # ]
STOP POSTING FINK HINTS AS OSX HINTS
Authored by: bhines on Oct 09, '02 11:41:36PM

I have no idea what made you think this hint was fink related in any way. Fink doesn't even install anything out of /sw.

Why so anti-fink anyway? It really makes everything a hell of a lot easier if you want to use unix stuff.

Most likely, this book is installed as part of the "BSD SDK" of the developer tools, which is NOT enabled by default (you have to check it). (this is different from the BSD part of the OS, that is checked by default)



[ Reply to This | # ]
STOP POSTING FINK HINTS AS OSX HINTS
Authored by: see on Oct 10, '02 06:37:21AM

stop being a retard



[ Reply to This | # ]
Not on my machine
Authored by: area51 on Oct 09, '02 08:16:01PM

It didn't work for me at first either and then I modified it like this.

file://localhost/usr/share/swat/using_samba/index.html

After adding the 'localhost', it worked.



[ Reply to This | # ]
Not on my machine
Authored by: DavidRavenMoon on Oct 09, '02 08:36:12PM

I was thinking I didn't have it either until I used the finder's Go to Folder... and went to /usr/share/swat/ and there was the using_samba folder.
I have this problem with Mozilla with most of the HTML files used in Jaguar. Unless I change them to be opened by Mozilla and not IE, Mozilla wont open them
So programs like Adobe Illustrator, that use HTML files for the help system wont open either.

[ Reply to This | # ]
Not on my machine
Authored by: DavidRavenMoon on Oct 09, '02 08:41:34PM

OK, I solved the problem on my system...it will only open if I use the name of the hard drive partition, which is "Sunking":
file:///Sunking/usr/share/swat/using_samba/index.html



[ Reply to This | # ]
Maybe upgrade vs. full install version? (N/T)
Authored by: cansas on Oct 09, '02 12:05:08PM

N/T



[ Reply to This | # ]
Not on my machine
Authored by: PeterMeeus on Oct 10, '02 05:22:47AM

In Jaguar I couldn't find the file.
BUT: I did a clean install, and the file can be found in
/Previous Systems/Previous System 1/usr/share/swat/using_samba/
(so it was installed in 1.1.5)

Peter



[ Reply to This | # ]
Neat trick from the first chapter
Authored by: mithras on Oct 09, '02 10:58:23AM
The first chapter mentions that Andrew Tidgell chose the name 'samba' by running the command:
grep -u 's.*m.*b' /usr/dict/words

In OS X, the words file is in /usr/share. So suppose we wanted to make a client that supported Apple's AFP protocol. To get some suggestions, we run:
grep -u 'a.*f.*p' /usr/share/dict/words

and learn that that we might want to use the names afterclap, leafcup, halfpenny or backflap. Fun!


[ Reply to This | # ]
read it at O'Reilly
Authored by: awk on Oct 09, '02 11:59:06AM

The text of the book is available directly from oreilly.com as well: [HTML] or [PDF].

For the record, I've got it on my drive, and I did a clean install from 10.2 in the retail box.. strange that some folks don't have it!



[ Reply to This | # ]
evidence
Authored by: mervTormel on Oct 09, '02 12:34:40PM

the evidence here is that it is installed if you elect the dev documentation package in the dev tools installer...

$ lsbom -f /Library/Receipts/DevDocumentation.pkg/Contents/Archive.bom | \
grep /usr/share/swat/include

./usr/share/swat/include/footer.html 100644 0/0 44 855912055
./usr/share/swat/include/header.html 100644 0/0 297 4256333750



[ Reply to This | # ]
evidence
Authored by: Anechoic on Oct 09, '02 01:37:30PM

That could explain it. I did install the dev tools, but not the documentation.



[ Reply to This | # ]
Netscape 7
Authored by: Jay on Oct 09, '02 02:29:46PM

Netscape 7 (as a derivative of Mozilla) also requires three slashes in the link, just to be complete.



[ Reply to This | # ]
To Open.....
Authored by: Glanz on Oct 09, '02 02:59:32PM

If you want to open this in a browser, such as Chimera, you must place three"/,s" after "file" ex: file:///usr/share/swat/using_samba/index.html



[ Reply to This | # ]
To Open.....
Authored by: sumnchai on Oct 09, '02 03:20:48PM

actually, in my version of chimera, the link with only two "/"'s works fine.



[ Reply to This | # ]
To Open.....
Authored by: Spencerian on Oct 09, '02 03:38:58PM

A better URL for browsers may be this:

file://localhost/usr/share/swat/using_samba/index.html

I installed 10.2 from a retail copy, with Developer Tools.



[ Reply to This | # ]
Works great here
Authored by: silverghost on Oct 09, '02 03:55:20PM

Thanks for the tip, it works on my pismo w/ 10.2.1, and my dp 1gig w/10.2.1.
Does anyone know anymore full books included?

aloha



[ Reply to This | # ]
CUPS for one...
Authored by: adolph on Oct 09, '02 04:38:08PM

I guess it is more documentation than a book, but;
/usr/share/doc/cups/index.html

Why is Apple hiding all this stuff in there where nobody can find it?



[ Reply to This | # ]
CUPS for one...
Authored by: silverghost on Oct 09, '02 09:28:21PM

Thanks ill be looking at that one ill dig up more and post them.


aloha



[ Reply to This | # ]
No Gots
Authored by: hembeck on Oct 09, '02 05:19:49PM

Freshly install Jagaur today - with developer tools - and no dice. Funny thing, this hint, huh?

-Fernando



[ Reply to This | # ]
I've got...
Authored by: balthisar on Oct 09, '02 07:41:28PM

...it. Jaguar full installation, clean install, developer tools with all options but WebObjects. On both my Quicksilver and Bronze.



[ Reply to This | # ]
No Gots
Authored by: BraindeadMac on Oct 10, '02 10:22:49AM

using_samba showed up fine on all my installs--and on my TiBook G4 each of the 4 times I 've installed OS X 10.2 on it (long story, suffice it to say the Applecare box is here).



[ Reply to This | # ]
Section 5.1.4.1 - multiple subnets
Authored by: mccabem on Oct 10, '02 12:04:11AM

I think this probably explains why we can only browse local ssubnets by default in OS X 10.2.

Anyone have a suitably configured LAN who can test the SAMBA config options suggested there?



[ Reply to This | # ]
'Using Samba' book is there indeed.
Authored by: mjones1040 on Jan 19, '03 08:01:11PM

I could not get this hint to work until I added a third "/" after "file://". I also had to add my computer's name after that third slash rather than "localhost". This worked very nicely in a web browser.

file:///mycomputername/usr/share/swat/using_samba/index.html

I don't know when it was installed, but this works if it is on your system.



[ Reply to This | # ]
It's part of the source tarball from Samba.org
Authored by: rsnyder on Feb 22, '03 10:57:04PM
To some of the comments about how O'Reily's "Using Samba" got included, I found this on the The Unoffical Samba HOWTO, by David Lechnyr in Section 2.7 "Examining the Samba Package"

Also, you'll kick yourself if you haven't yet realized that the full, unabridged version of Using Samba 1st Ed. by O'Reilly is included in the source tarball for free. It's located in docs/htmldocs/using_samba/.

This site is linked from the www.samba.org site. So the mystery isn't why some have the book, which is part of the source tarball, but rather, why some don't (or why some cannot find it).

[ Reply to This | # ]

O'Reilly's 'Using Samba' book included with 10.2
Authored by: sfuller on Nov 11, '03 08:17:47PM

Update to this hint for 10.3...

The new URL for the index page should be:

file:///usr/share/swat/using_samba/inx.html



[ Reply to This | # ]
O'Reilly's 'Using Samba' book included with 10.2
Authored by: Mac Dose on Mar 08, '04 10:41:14AM
and mine in 10.3 can be found here:
file:///usr/share/swat/using_samba/toc.html


[ Reply to This | # ]
O'Reilly's 'Using Samba' book included with 10.2
Authored by: NeutronMonk on Mar 08, '04 02:50:34PM

Nice!
file:///usr/share/swat/using_samba/toc.html
Yeah, this worked in Safari (v1.2, Panther). Makes you wonder what else is tucked away...



[ Reply to This | # ]
Panther
Authored by: JohnnyMnemonic on Apr 20, '04 09:19:00AM

In Panther, the path appears to be :file:///usr/share/swat/using_samba/toc.html. I do have the Developer Tools and Fink both installed, but I don't know if that's relevant.



[ Reply to This | # ]