Operating System - Linux
1827875 Members
1702 Online
109969 Solutions
New Discussion

LINUX/NAS >> DOMAIN PROBLEM

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

LINUX/NAS >> DOMAIN PROBLEM

OK, Here is what happened this weekend with my Linux NAS unit.

I installed RH9 on a NAS unit, installed samba 3 because my boss said I can only do this if the Linux Nas is part of the domain.

Over the weekend, it looks like the Nas unit becam the PDC for the entire domain, making the entire network a big problem. So I am trying to see what went wrong.

I ran 'history | grep -i net'
(because I had a feeling that the join domain (net Join) command went bad. So I see 'net join -U username\password in the history file.

Syntax should have been 'net join -S PDC -U user\pass.

Question, what would this command do?
net join -U username\password,,without the -S.

Could this have caused my problem?
UNIX IS GOOD
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: LINUX/NAS >> DOMAIN PROBLEM

Robert,

The Linux unit can't become the PDC without a pretty significant amount of work on your part. It doesn't sound like you did that.

I suppose the problem could have been caused by the incorrect command, but that ignores a lot of other steps necessary.

More to the point, if you ran the command correctly it would be intersting to see the results and it might alleviate the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jerome Henry
Honored Contributor
Solution

Re: LINUX/NAS >> DOMAIN PROBLEM

Hi Robert,
-S will make Samba search for server 'PDC' in order to ask to join domain.
If -S is omitted, then it'll broadcast the request. So -S shouldn't be the issue.
But reading the over the week end makes me wonder if some of your DCs were down at that time, which depending on your samba configuration, could have conducted the samba server to take PDC role...
Check in smb.conf that domain master and preferred master are on off...

hth

Jerome henry
You can lean only on what resists you...
Nobody's Hero
Valued Contributor

Re: LINUX/NAS >> DOMAIN PROBLEM

Thanks Jerome,

Not the perfect fix, but you got me to look at some smb settings. The new 3 version of smb has a selection:

DOMAIN LOGINS? = yes

I set it to no, and all is ok. Not sure why, but it fixed the problem. Thanks All.
UNIX IS GOOD