LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Domain Logon (https://www.linuxquestions.org/questions/linux-newbie-8/domain-logon-130869/)

SeanNation 01-02-2004 11:24 AM

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

ash4stuff 01-02-2004 07:12 PM

have you created username and passwords with smbpasswd?

Whitehat 01-03-2004 02:00 AM

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 :D

Peace,
Whitehat

SeanNation 01-03-2004 07:17 AM

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

Whitehat 01-03-2004 10:56 AM

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? :D

Peace,
Whitehat

SeanNation 01-03-2004 12:06 PM

What I want is for my suse linux desktop clients to logon to the domain

Thanks

Sean


All times are GMT -5. The time now is 07:35 AM.