LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-03-2003, 11:22 AM   #1
MRMO
LQ Newbie
 
Registered: Mar 2003
Location: New Lenox, Ill. USA
Posts: 1

Rep: Reputation: 0
Linux and Microsoft AD


Does anyone know if there is a way to sync user accounts like AD and NDS do?

I was hoping to have 1 AD logon account and access Linux files, much the same way an NT user logs on and accesses Novell files.
 
Old 03-03-2003, 01:01 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Auth back to the AD server...

see the 'password server =' parameter in smb.conf
man smb.conf for more info
 
Old 03-03-2003, 05:53 PM   #3
turnip
Member
 
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
You can also have a look at pam_ldap from www.padl.com and see if it supports MSAD as well
 
Old 03-03-2003, 09:06 PM   #4
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
These commands should work:

security = domain
password server = xxxxx


The first line tells Samba that a domain controller will authenticate users.

The second line tells Samba which machine is the domain controller.

I have them working on NT 4.0. Should work on Windows 2000.

Note that the users need to exist in the passwd file on the Linux server. There is a way to let Samba add the users once they have been authenticated by the domain controller.

add user script = useradd %u -c "Account from PDC" -s /bin/false \ -d /home/%u -m -n -g accounts

Modify the script to fit your distro. Basically it says:

add a user to the Linux machine
useradd %u -c "Account from PDC"

don't allow him to logon locally
-s /bin/false \

create a home directory under /home using the user name
-d /home/%u -m -n

add them to the accounts group
-g accounts


Do me a favour. Set up a Windows machine that is configured as a peer. That is, the user won't log into the domain. Try and get access to the Linux machine. See if it creates an account. I haven't had a chance to test this. I want to be sure that users will only be created if authenticated by the domain controller.
 
  


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
Microsoft Linux Squall General 12 09-08-2004 03:25 PM
Microsoft Linux robby737 Linux - Software 3 07-11-2004 10:12 AM
Microsoft is better then Linux j00e General 38 06-30-2004 09:07 AM
Microsoft released Longhorn to the public, well not exactly Microsoft did but .... neo77777 General 4 03-06-2003 12:57 AM
Microsoft Linux??!!! RacerD Linux - Distributions 6 08-27-2002 12:44 PM

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

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