LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2004, 11:24 AM   #1
SeanNation
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Domain Logon


Hi

I have a test suse standard server PDC setup and a suse desktop client and I was wondering how i get the client to logon to the domain ?

Thanks

Sean
 
Old 01-02-2004, 07:12 PM   #2
ash4stuff
Member
 
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139

Rep: Reputation: 15
have you created username and passwords with smbpasswd?
 
Old 01-03-2004, 02:00 AM   #3
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Here is how I have done it in Redhat 8.0:

In order for a Samba-2 server to join an NT domain, you must add the NetBIOS name of the Samba server to the NT domain on the PDC using Server Manager for Domains. This creates the computer account in the domain. Only add the Samba server as a member server, not as a PDC or BDC.

Let's assume you have a Samba-2 server with a NetBIOS name of SERV1 and are joining an NT domain called DOM, which has a PDC with a NetBIOS name of DOMPDC and two backup domain controllers with NetBIOS names DOMBDC1 and DOMBDC2.

For you to join the domain, you will first have to stop all Samba (SMB) daemons and then run the following command:

smbpasswd -j DOM -r DOMPDC

....as we are joining the domain DOM and the PDC for that domain (the only machine that has write access to the domain SAM database) is DOMPDC. If this is successful you will see the message:

smbpasswd: Joined domain DOM.


Hope this helps

OH.........and Welcome to LinuxQuestions.org

Peace,
Whitehat

Last edited by Whitehat; 01-03-2004 at 02:03 AM.
 
Old 01-03-2004, 07:17 AM   #4
SeanNation
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I think I explained myself wrong. I have a lunix test server setup running samba as a PDC with a central directory of usernames and passwords. I want to connect linux / windows clients to it. On the windows clients i just join them to the domain and when the pc comes on it pops up with a username / password box and i logon to the domain and my login script runs. How do i get a similar effect in linux.

Thanks

Sean
 
Old 01-03-2004, 10:56 AM   #5
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
There is a spot in the smb.conf file for you to "emulate" a PDC. I assume you have this set already?

So is your question really that you want your login script to run and it's not? What do you have done so far so I'm not telling you to do what you've already done?

Peace,
Whitehat
 
Old 01-03-2004, 12:06 PM   #6
SeanNation
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
What I want is for my suse linux desktop clients to logon to the domain

Thanks

Sean
 
  


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
domain logon problem uzairkhan Linux - Newbie 3 04-23-2005 07:48 PM
How to logon to win domain jayprakash Linux - Networking 0 09-05-2004 05:02 PM
domain logon question Menestrel Linux - Networking 1 07-22-2004 11:05 AM
SAMBA & logon NT domain sqn Linux - Networking 19 03-22-2003 08:15 AM
Can wine logon to windows2000 domain? snowglobe Linux - General 2 02-20-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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