LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-11-2003, 06:48 PM   #1
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Rep: Reputation: 15
Question Linux Password Server?


Hello, I am interested in building a linux server for my network, I want this server to act as a router, serve a couple printers and files, and what my question is, act as a logon server, at my school , they have is setup so there is a windows logon prompt, with username, password and where to loginto, you cannot use the computer unless you connect to the the network, everyone has there own user name and password, once you connect to the network you are allowed to use the internet and run programs, and you also have your own little amount of space on the servers Hard drive no one else can access, is there anyway to use samba or another program to achieve this? At school I know they use windoze NT server, but can linux be used since i want to run an older box and i also don't want to be plagued with all Micrsoft's problems, Thanks in advance
bluedude2288
 
Old 11-12-2003, 01:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at this howto:
http://tldp.org/HOWTO/Samba-Authenti...way-HOWTO.html

The scripts are a bit basic and you may want to make them a bit more advanced.
 
Old 11-12-2003, 11:23 PM   #3
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
OK, I tired what that document said and many other documents, and I changed the registry keys in windows xp, but in XP it keeps saying "A domain controller for HOME could not be connected." but I have samba running and its setup for the domain HOME, why can't i get it to work?
 
Old 11-13-2003, 08:22 PM   #4
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
heres my config File, I have tried many differnt options on the windows xp machine but still no luck, same problem, please any suggetions,


[global]
netbios name = LINUX
workgroup = HOME
passdb backend = tdbsam
os level = 64
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%N\profiles\%u
logon drive = H:
logon home = \\homeserver\%u\winprofile
logon script = logon.cmd
[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin
[profiles]
path = /var/lib/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
 
Old 11-13-2003, 11:11 PM   #5
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
when i run tcpdump i see this ALOT!

00:11:23.573640 192.168.0.176 > 192.168.0.103: icmp: 192.168.0.176 udp port netbios-ns unreachable [tos 0xc0]

tome that looks bad, is it?
 
Old 11-14-2003, 07:35 AM   #6
sidmark-2850
Member
 
Registered: Aug 2003
Posts: 133

Rep: Reputation: 15
Are you running windows XP clients only? What version of samba are you running. I have modified your smb.conf slightly. The changes I have made are bolded.

-----------------------------------------------------------

[global]
netbios name = LINUX
workgroup = HOME
passdb backend = tdbsam
os level = 64

preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
encrypt passwords = yes

wins support = yes

logon path = \\LINUX\profiles\%u
logon drive = H:
logon home = \\LINUX\%u\winprofile
logon script = logon.bat

[Homes]
path = %H
valid users = %S
read only = no
create mask = 0600
directory mask = 0700



[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin

[profiles]
path = /var/lib/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

-----------------------------------------------------------

The wins support = yes will make samba a wins server. You should then set the clients wins address to that of the samba server either statically or using dhcp. If you already have a wins server on your network, you should omit the wins support = yes and add wins server = xxx.xxx.xxx.xxx with the xxx..... being the ip address of a machine on your network running wins. Wins will definitely help with resolving issues. The [Homes] share dynamically shares user home directories. Just make sure when you create accounts, you put the client's home directory path.

Make sure both smbd and nmbd is running.

Hope this helps.
 
Old 11-14-2003, 02:06 PM   #7
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
I tried this, still no luck same message, what else could be the problem?

OH, and I am using only windows XP Professional clients and Samba 3.0.0

Last edited by bluedude2288; 11-14-2003 at 02:11 PM.
 
Old 11-14-2003, 04:14 PM   #8
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Do you have a firewall running on the Linux box? If you do, disable it and try again.
 
Old 11-14-2003, 05:09 PM   #9
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
I'm pretty sure i don't, how do i check, I'm still kinda a newbie
 
Old 11-14-2003, 05:26 PM   #10
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Original Poster
Rep: Reputation: 15
thank you so much! The firewall was the problem, but now I have another question, when i type in my username, and I type in my password, it pops up and says the username or password is bad, why? I added a machine trust account.
 
  


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
Convert Windows2003 ftp server to linux platform with user and password hitesh187 Linux - Networking 1 03-07-2005 06:50 AM
linux password server/roaming profiles paul_mat Linux - Newbie 1 02-28-2005 09:16 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
password sync. - linux server <-> linux workstation KRunch Linux - Networking 0 03-31-2004 01:37 AM
root password of the server jolly Linux - General 4 03-23-2001 09:44 AM

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

All times are GMT -5. The time now is 10:43 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