?
Solved

Using windows account to log in on Linux terminal server

Posted on 2006-07-03
7
Medium Priority
?
456 Views
Last Modified: 2013-12-06
I am trying to set up a Linux terminal server(LTSP, red hat based)
And I wan't to use the user accounts allready made in my domain.
I am running W2000 server, with AD.

I am a Linux newbie, and off course I am looking for the simplest way to do this ;-)

The terminal server is just a supplement to the existing installation, just want to run a couple of thn clients in our warehouse.

Any help is strongly appreciated.
0
Comment
Question by:magickea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 750 total points
ID: 17034093
I never cease to be amazed at what some people would like to do! This is not exactly a simple task, and I've never quite done this, although I have synchronised samba passwords with an AD before. Key points from memory:

1.    You must have Samba 3.0 or above to support this to the extent that you are wishing to do so.
2.    Passwords for Samba are in the smbpasswd file.. Remember to enable synchronisation with the /etc/passwd file:

unix password sync = yes    (in smb.conf)

3.    Remeber to include the 'chat' for password change in the smb.conf - If I remember correctly it is in the Samba 3.0 by default - I had to add it when I was messing with Samba 2.2.

I eventually added the Samba server as a member of the AD by following these 2 links from my bookmarks:

http://us1.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#ads-member

The LTSP bit was easy - loads of people have done it! The combining of the authentication was a little more tricky!....The documentation is there and I've managed it with a Win 2000 Server, but I remember it being a complete pain. Hopefully some of the code has been improved now.

Let us know how you get on:)

(   (()
(`-' _\
 ''  ''
0
 

Author Comment

by:magickea
ID: 17036701
Still cant make it work.

More or less given up. Maybe I should wait untill running W2003 server.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 22

Expert Comment

by:pjedmond
ID: 17036727
I remember that it ws a right pain! - How far have you got?

I presume that you have LTSP up and running?
Have you joined the server into the domain yet?

(   (()
(`-' _\
 ''  ''


0
 

Author Comment

by:magickea
ID: 17045437
I have the LTSP up and running, I have joined it to the domain.
I can make the test 'net ads testjoin' comes out fine.

I have set up winbind separator as +
When I run 'wbinfo -u' or 'wbinfo -g' I get a list with only the domain name, should be domain and user or group corresponding.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17045770
Seem to have reasonably progress.

I presume that you've checked that the wins server is properly integrated (from /etc/samba/smb.conf or equivalent):

wins server = myserver.mydomain.com

and ensured that both 'myserver' and the FQDN are detailed in /etc/hosts?

(   (()
(`-' _\
 ''  ''
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17045810
A working smb.conf file for AD integration:

http://www.experts-exchange.com/Networking/Unix_Networking/Q_21492200.html

if that helps?

(   (()
(`-' _\
 ''  ''
0

Featured Post

Quick Start: DOCKER

Sometimes you just need a Quick Start on a topic in order to begin using it.. this is just what you need to know to get up and running with Docker!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question