LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2002, 04:02 PM   #1
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Rep: Reputation: 30
a network login


Here's what I am trying to do:

I have a Linux computer as my main server and connected to the internet...

I have 2 windows98 computers set as clients...

I have dhcp enabled on the linux computer and the 2 windows computers have no static ip addressing at all...just dynamically(is that correct?) addressed upon bootup.

What I want to do is to have the users I have set up to actually log in into my linux server... what do i need to do to make that happen?
 
Old 02-04-2002, 09:06 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
do you mean like when windows boots, have them use their network logon to get access to the network?

you need a Primary Domain Controller, which can be done with Samba
 
Old 02-04-2002, 09:36 PM   #3
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
exactly....

i did this at school as part of learning setting up windows 2000 scopes and the like... yes, thats what i am hoping to do...

almost like my 2 client windows computers have to login to the main server to have any access to the network at all... and if no network access then those people logging in have no access to their computers...

do you follow what im saying? i want the client computer users to be able to use their own hard drive space but if they cant login to the network then i dont want them to be able to use those computers at all... can it be done or is it just pointless anyways?
 
Old 02-04-2002, 10:03 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
There is a PDC for the later versions of samba.
 
Old 02-04-2002, 11:16 PM   #5
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
Is samba something that needs to be installed?
 
Old 02-05-2002, 12:45 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
probably so,


if you don't have /usr/sbin/smbd then it looks like you don't have it.
 
Old 02-05-2002, 08:55 AM   #7
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
i installed the samba, samba server and wizdrake...

i ran wizdrake and then ran the network configuration tool... it asked me for a default gateway device and i left it empty... was there something i should have put there?
 
Old 02-05-2002, 09:00 AM   #8
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
i ran the samba setup and configuration tool and enabled printing and file sharing but i was not able to see the shares from either of my 2 windows98 computers... how i make that happen?
 
Old 02-05-2002, 09:44 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
personally i'd seriosuly recommend writing your smb.conf file completely by hand, it's very simple to do really, and nothing nearly as scary looking as the default one....

[global]
security = user
preserve case = yes
null passwords = yes
encrypt passwords = no
workgroup = swingyourpants
server string = simon
socket options = TCP_NODELAY IPTOS_LOWDELAY
#SO_RCVBUF=8192 SO_SNDBUF=8192
log file = /var/log/samba/%m.log
mangle case = yes
default case = lower
hosts allow = 10.0.0.2 10.0.1.2 10.0.0.1 10.0.1.1
directory mask = 0777

[mp3]
path = /mp3
comment = mp3
writeable = yes
public = yes

that's all mine really saysm and you can see most of it almost reads in plain english... you really need to read some of the samba docs on your own to get somethign of a background in it.
 
Old 02-05-2002, 10:21 AM   #10
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
is this /samba/smb.conf? because mine looks totally different..

is this file automatically created totally secure?
 
Old 02-05-2002, 10:22 AM   #11
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
another thing... once i change (or in my case, PLAY with) the file do i have to start samba again or is it good to go once i save this file to disk?
 
Old 02-05-2002, 10:25 AM   #12
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
Oh and one other thing (sorry)... when i try to run samba config from the menu netscape opens a browser window and goes to netscape home page ofr reasons that are beyond me... any idea why this is happening?
 
Old 02-05-2002, 10:26 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well, you should always keep a backup, i have 5 or 6 different versions on my system, and yes you need to restart samba.. 'samba restart' and also use testparm to check if your file is valid.

your file will look totally different as it's got every option in sight listed in it, which makes it look much harder than it is
 
Old 02-05-2002, 10:28 AM   #14
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
so then the only options i need are going to be the ones in your sample file above, most likely, right?
 
Old 02-05-2002, 11:37 AM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The samba config you are talking about is swat


It is probably disabled, I don't have Mandrake, so acid may know where.

I would think /etc/services, or your form of init scripts. (inetd)


what it should do is connect to localhost:901

then swat should ask for a username and password


You don't really need it if you keep the config simple it will work fine.

Last edited by DavidPhillips; 02-05-2002 at 11:41 AM.
 
  


Reply



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
kuser how to permit only network login?? rakamaka Linux - General 1 04-21-2005 11:11 PM
Cannot login in AA:SF 2.2.1 and network freezes phinaliumz Linux - Games 0 01-04-2005 10:00 AM
SSH can not login outside of network xvaughan Linux - Networking 1 03-29-2004 07:58 PM
login by X per network rafalek Linux - Networking 1 03-26-2004 12:35 PM
ssh login on network xaphious Linux - Networking 2 06-20-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:46 PM.

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