LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-22-2006, 04:12 AM   #1
yoron
Member
 
Registered: Nov 2005
Posts: 120

Rep: Reputation: 15
Intra_net consisting of W2000/linux workstations help


Hi, i have some questions
I'm going to try to make a intranet consisting of 32 workstations
connected to a linuxserver (Slackware?), which,
in its own turn is conected via an ADSL (10 MB) to the internet.
The workstations will be a blend of W_2000 and linux (older workstations).


1.Can anybody reccomend a linux distro (GUI) for the older workstations.
The people using it wont be geeks so it should be simple with a nice GUI.

2.How do i 'ghost' them (the workstations linux/w_2000) from my Server.

The other workstations will consist of Windows 2000 as i said.
I suppose that Samba is the right choice there.

3. But where should i look for a really comprehensive mannual for Samba.

Then i also would like to create an enviorment where the people/workstations would have to log in (user_name etc)to the server before being able to connect to the internet.

Remember that hopefully (that is) it should work for both the linux and w_2000 workstations.


4. How would/should i do that with w_2000 / Linux?

Fom the Modem (internet) there will first be a router with an inbuilt firewall, but, i'm suspecting that i should make an firewall on the server to?

In that case.

5. Would it then be sufficient with two net_cards? With one configured as firewall, and OnceAgain, where should i look fo areally good manual.

The Server will either be an 1 Ghz with 384 Ram, and a 14 Gig HD.

Or a newer 2,4 Ghz. I would prefere the later, ofcourse.

6. Still, will this work (Server/32 workstations) on the first 1_Ghz_machine???

As you probably already guessed this is a lowbudget solution/project.
I would like to make it as simple as possible so if any of
you have any experience from some Hopefully Allready Working Intranet
Please tell me what i should think of.

There wont be any internetserver.
Only a Server for the intranet with people having to log on from the workstations, before they can move out on the Information_HiWay .

7. Probably i will ask for a lot more info in the future, and i'm shure i'm missing out on some questions, but, it's a beginning.

Don't hesitate to tell me what i', missing for it to work, and please, keep it as informative as posible...

Thanks Yoron.
 
Old 02-27-2006, 01:55 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
1. You can try gnome. If it won't be suitable, then xfce or enlightenment.
2. For file sharing. Another possibility nfs, but samba i think will suit you better.
For accessing machines you can install openssh (linux) and freesshd (windows). This lets you access workstations remotely and even do some tunelling from the main workstation so that your workstations could be accessed from the net.
3. http://us1.samba.org/samba/ There a lots of links.
4. On linux you can also use ip tables and tcp wrappers.
5-7. There are some tutorials in this site. Maybe they will help you.
 
Old 02-28-2006, 02:53 AM   #3
yoron
Member
 
Registered: Nov 2005
Posts: 120

Original Poster
Rep: Reputation: 15
Thanks Alien_Hominid
 
Old 03-09-2006, 05:22 AM   #4
yoron
Member
 
Registered: Nov 2005
Posts: 120

Original Poster
Rep: Reputation: 15
Ok guys, here is a Q.
I've configured Samba to connect to my W2000_machines and it's working.
But what i would like to have is a way for the W2000/linux clients to automaticly log in to the samba account when i start my client_machine.

As it is now i first have to create the accounts in linux and samba,and after that i also have to to create the same user in the client_cmptas. Is this the way to do it???

1. What i would like is a way for the user to log in directly to Samba from the workstation, by just writing his Linux/Samba password at the W2000_loginGUI.

That is, without me having to make 'users' locally/manually on every workstation in my way, kind of..


So that's my question..

Last edited by yoron; 03-09-2006 at 05:25 AM.
 
Old 03-09-2006, 07:44 AM   #5
heltreko
Member
 
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
Hi Yoron

If I understand it correctly you want the linux server to be a domain controller keeping all files etc for the windows users?

If thats the case take a look here:
http://us2.samba.org/samba/docs/man/...html#id2524167

The following is cut'n paste from that site:
Code:
[global]
workgroup = MIDEARTH
netbios name = FRODO
passdb backend = tdbsam
printcap name = cups
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/groupmod -A %u %g
delete user from group script = /usr/sbin/groupmod -R %u %g
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u
# Note: The following specifies the default logon script.
# Per user logon scripts can be specified in the user account using pdbedit
logon script = scripts\logon.bat
# This sets the default profile path. Set per user paths with pdbedit
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000
printing = cups
You also have to config the windows machines to be part of a domain (obviously...:-)).
 
Old 03-13-2006, 05:48 AM   #6
yoron
Member
 
Registered: Nov 2005
Posts: 120

Original Poster
Rep: Reputation: 15
Lightbulb

Ok, first of all netizens of the over and under ground
I'm only on the net intermitently so pease dont feel slighted if you dont see any response for a while.
Secondly, Thanks heltreko, but i'm still feeling kind of lost in the woods..
(There are so many trees, and branches, so i just can't see the wood)

For example i've made a machine acoount using pdbedit and smbpasswd
If my understanding is right, that should be sufficient for me to log on a W_2000 client, change to the domain and and pass my machine account/password when i get the response from the Linux PDC.

...SOLVED.....
(But my client says that it can't connect when i try that.
And i loged in with Admin rights locally, without any shares connected. And yes both smbd / nmbd are running.) SOLVED.....

But now when i try to log in from w_2000 with the machine account i made with pdbedit and smbpasswd, it doesn't recognice/accept it?

1....Do i need to make a 'netmap' to a group with my
machine_account, and if so ...how?

2...And then there is Win server, do i need that ?
Is that only when you have two nets and want to connect/route them?
And how would the syntax be/look for giving it a IP number on
my Linux_server, should it f.e be in the smb.cfg to with ip_nmbr ???

If i sound cofused, well, it's my normal state of mind, right
So if you have some advice, don't hesitate..

Even if you don't get a response for a while.

Last edited by yoron; 03-13-2006 at 08:50 AM.
 
Old 03-14-2006, 12:32 AM   #7
heltreko
Member
 
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
Hi Yoron

Quote:
For example i've made a machine acoount using pdbedit and smbpasswd
If my understanding is right, that should be sufficient for me to log on a W_2000 client, change to the domain and and pass my machine account/password when i get the response from the Linux PDC.
I don't think this is enough. Have you enabled domain logons in the config file (domain logons = Yes)?

Could you mabye post your current /etc/smb.conf? Mabye someone around here could spot the obvious if we have something to look at.

Another other question: Have you tried enabling some shares from the Linux server and seen if you cand find them in the "Network Places" of the windows boxes?

BTW. I'm not a SAMBA Guru. I've just played with it and read the manual so just take my suggestions for what it is and not as the absolute truth...
 
Old 03-14-2006, 03:49 AM   #8
yoron
Member
 
Registered: Nov 2005
Posts: 120

Original Poster
Rep: Reputation: 15
update2 of the Question.

I'm changing this 'section' of the thread just to keep it small. .
I'll try to make a documentation that will make sense 2all after i made it work for me . Hopefully, that is

samba as a PDC with w_2000_clients.

I've created a machine account in slackware 10.2 for the user root using samba 3.0.20.
The story goes like this.

----solved-------------------
I try to log in to my domain fom the W_200_client
And i do get a 'password_Q' from the PDC,
whereupon i give it my machine account/root password.
Then my PDC starts to check and my W_2000_client hangs for some time, finaly it ends with an RPC compaint
(Remote Procedure Call complaint).
-----------solved--------------

It was just a missing 'userscript'for 'machines' in the smb.conf...
'add user script = ...machine...´

The funny thing is that i could'nt find any referrals to that in the mannuals/books that followed the Samba installation ???

Q_1.
Anybody know why, did i just miss it or was it something that you only was supossed to be needing for earlier versions of samba ???

The machine park will be 32 W_2000_clients with static IP,
the same goes for the PDC. There are no subnets.

I wont need any printer configurating from the PDC
as the W_2000_clents all connect locally
via a static ip_nmbr that belongs to the printer.

Ahh btw, the idea is like this, after i've made the connection via my machineaccount, then users will be able to log in directly 'on the fly' from any client/workstation that i've installed via the machine account, and, if i got it right, dynamiccly create users 'home' etc.

At least that's the idea


---ok--solved----
Q_2.
I really would like to avoid the [printers] section totally, but i don't seem to have any choice there. As far as i've understood it?
.
---don't need to have it ---
-------------------------------new----------

So ok, now i got it working as it should with W_2000
But then i want it to work with 'poledit?' so i can manage policyfiles for Windows from the server.

And i think that the slower machines should connect thru
Slackware instead of W_2000.

But i still don't really understand how i should configure
Slackware_Linux Workstations to work as seamlessly as my
W-2000 against the PDC ( that is, thru Samba )
'on the fly accounts' etc.
So anyone with experience of this ?
Feel free to suggest.

So any and all suggestions are of value...
Thanks Yoron.

Last edited by yoron; 03-28-2006 at 05:58 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS, trying to export filesystem consisting of different harddrive. Possible? eruantalon Linux - Networking 7 07-01-2005 08:43 PM
server runs redhat , workstations win 2k ,workstations cannot connect to internet snkambule Linux - Networking 7 04-27-2005 10:08 AM
Linux/samba with XP workstations Dogface1SG Linux - Networking 1 11-10-2003 11:46 PM
linux client - DDNS w2000 server swatzy Linux - Networking 1 09-27-2003 01:11 AM
Mount a new HDD(consisting Win98) SecretLinuxGeek Linux - Newbie 30 06-19-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration