Click to See Complete Forum and Search --> : Connecting Linux to NT/95 Networks?
Ok, this one will be easy for some of you. I'm on an MS based network. NT 4.0 PDC at the heart of it with a bunch of 9x boxes connected to it. I know my domain name, I know my workgroup name. I know the IP of the PDC and it's machine name. I've replaced my 9x PC with a Mandrake 8.0 box, which I want to connect to the rest of the network. So far I've gotten it to connect to the gateway, so as you can see, I have internet access just fine. So here's my questions:
1. Anybody have a couple of good links to resources on hooking this kind of connection up? This is a common hook up I'm guessing so there has to be some docs out there on this.
2. Once I've gotten connected to the rest of the workgroup in my building, how can I browse that workgroup graphically like I did in 9x (aka. Network Neighbourhood). There's gotta be an equivalent right?
MaxWave
09-27-2001, 10:04 AM
The means of joining a Windows NT/2000 Domain is found in a program called Samba www.samba.org. (http://www.samba.org.) Take a look at the site. Linuxnewbie has an old NHF on installing it. http://www.linuxnewbie.org/nhf/intel/network/samba/samba1.html
The latest version is 2.2.1a. That is what I am using.
I almost do everything at the command line but I have seen GUIs like Network Neighborhood but I don't know where you can find it.
Samba.org has an RPM for Mandrake 7.2 but not for 8.0. I would suggest you compile from the tar.gz file.
There are a lot of postings about Samba on Linuxnewbie.org.
redline
09-27-2001, 10:05 AM
Try http://www.linuxnewbie.org/nhf/intel/network/samba/samba1.html.
It worked for me.
redline
In that document, it talks about disabling logons for the smbuser account. How do I do that? I don't see anything in LinuxConf for that, or am I missing it?
deadlock
09-27-2001, 05:21 PM
I'd recommend not bothering with the Samba tabs in LinuxConf and trying SWAT - open a browser and connect to http:\\localhost:901 (substitute 'localhost' with the hostname or IP address of your box - normally the second part of your prompt, e.g. root@locahost). You'll get the Web-Interface for Samba - it's a lot more intuitive than the Linuxconf one and it has links to on-line help beside most of the options and fields.
If SWAT doesn't work for you, then try connecting to http:\\localhost:10000 - this is the Webmin interface, it'll let you configure samba, as well as many other services on your box.
wonk
flamethrower hates my country...
MaxWave
09-27-2001, 05:34 PM
someone correct me if I'm wrong.
Disabling logons for smbusers:
Open the file /etc/passwd. Find the line
smbuser:x:501:502:Samba User:/home/public:/bin/bash
change /bin/bash to /bin/false and the x to *
smbuser:*:501:502:Samba User:/home/public:/bin/false
Tell us if it works. Good luck!
MaxWave
09-27-2001, 05:36 PM
BTW, SWAT is WAY better than LinuxConf. I personally just edit the smb.conf file but I started out using SWAT.
:)
Yes Max, you were absolutely right. Found that out in a copy of Running Linux (go fig - big suprise). I notice "smbuser" is still showing up during the KDE graphical login right beside my non-root user account (I guess root doesn't get a penguin :( ). I think the login is still disabled though, cause I can't logon to smbuser from that menu. Either that or I've forgotten the smbuser password already, hehe.
And yes, SWAT rules. My only complaint about it is that I got kinda confused by the Status screen that listed Active Shares. I couldn't figure out why no shares were being listed under that area, yes testparm was turning up valid shares I'd created. Took me a bit to figure out Active meant shares actively being used. If that's the case, I'm not even sure that SWAT allows you the testing options testparm does, which is a shame, cause it rocks.
Uh oh, I became a "grasshopper" somewhere in the last few posts. I guess it's official - the geek must flow.
Here's another question. Why is my Samba version so old if I'm running Mandrake 8? Is it because SWAT is always a bit behind the current version and they wanted to have a version on that SWAT supported? Or are they just butt-assed lazy?