.
   
register for an account    --    


Go Back   GupShup Forums > Science & Technology > Computer & Information Technology


Reply
 
Thread Tools Display Modes
Old Oct 4th, 2006, 03:34 PM   #1 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


I'm going through the CBT training videos for Active directory these days and I've managed to setup a domain controller on a Win3K server (read as "next next next and finish" ) The DNS server has been configured appropriately and it seems to work when i ping the DNS entry for the domain controller and other PCs on the network. The problem is that I'm unable to join my XP pro laptop to the domain. I get an error saying that "A domain controller for the domain mar-labs.com could not be contacted. Ensure that the domain name is typed correctly". When I click on details, the following is what I get:

DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain mar-labs.com:

The query was for the SRV record for _ldap._tcp.dc._msdcs.mar-labs.com

The following domain controllers were identified by the query:

debunk.mar-labs.com

Then it just lists the possible causes for the error etc.

My miniture network is setup as follows:
I've got three systems interconnected via a wireless ADSL router - The first system is a laptop and the second system is the Win3K AD/DNS server that is running on the laptop via VirtualPC (yes, its free now). The third system is a desktop, which is basically doing nothing at the moment. I've got a firewall running on the laptop and i've allowed it to permit all traffic headed for the Win3K system. Same is the case with the Win3K system, I've allowed incoming DNS traffic on TCP and UDP port 53. Is there any other traffic that I have to permit?

Any idea any I'm unable to connect to the domain? yelp me !







Say: "Not equal are evil and good, even though the abundance of evil may please you." So fear Allah much, O men of understanding, in order that you may be successful. (Qur'aan, 5:100)
nos is offline   Reply With Quote
Old Oct 11th, 2006, 11:08 AM   #2 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


Hey NOS, I somehow missed this question. How is the XP machine getting its IP? Do you have DHCP setup somewhere. For the PC to be able to join the domain it should have the servers DNS IP as its primary DNS. and that should kick in. Also, if the NetBIOS name is what you are trying also try typing out the whole domain name "mar-labs.com" when you specify the domain name. Let me know if it still doesn't work.

Quote:
Originally Posted by nos
I've got a firewall running on the laptop and i've allowed it to permit all traffic headed for the Win3K system. Same is the case with the Win3K system
You are ahead of our times, dude!







It takes a big man to cry, but it takes a bigger man to laugh at that man!
TofiBaba is offline   Reply With Quote
Old Oct 11th, 2006, 11:26 AM   #3 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


oh, I forgot to update on this one. The problem was with the firewall on the AD server as I was blocking port 137. Once that was opened, along with other ports, it was working fine.

And yeh, I had specified the IP of the DNS server as the primary, which is why the basic queries for the SRV records were working. Whlie we are at this, I'll post another question that came to my mind while I was adding computers to the domain. The thing is, whenever I add a PC to a domain, I have to enter the credentials of the domain admin. While this is not a problem for a LAN with few PC, on a large network, it can cause quite a lot of distrubance in the sense that the admin has to add each PC manually. I know something is amiss here, but don't know exactly what. How do I automate the process of adding PCs to a domain without having to enter the credentials of the domain admin?

Secondly, do I have to enter a the name of a PC as well as the username in the domain? ya phir the mere user name will suffice?






nos is offline   Reply With Quote
Old Oct 11th, 2006, 11:33 AM   #4 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


oh, the questions just seem to flow now tofi For my setup, I had to enable a number of ports on the AD server, which brought up a security concern. In total, I had a number of ports opened - 88 for kerberos, TCP/UDP 53 for DNS, TCP 389 for LDAP, TCP 3268 (i think) for Global catalogue, 137 for NetBIOS ... that's just ... mad really! Is this the same for all setups? Okay, so if I separate my DNS and LDAP then i've got two ports less but why do I need NetBIOS? I'm not running a legacy clients that require WINS translation ....






nos is offline   Reply With Quote
Old Oct 11th, 2006, 12:35 PM   #5 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


1. Yeah, you have to enter the admin credentials for each machine as you enter it in the domain. I heard there was a utility or 2 available out there, but haven't used any. You can, technically, enter the PC names on the server itself, I believe, and then when you enter the domain on the PC it won't ask for user credentials.

2. You don't really use port-blocking on a LAN for security, specially not to the DC's. If you really want security use VLAN's. But this selective port opening can really be scripted, so you just run it as the initial server deployment.

Another thought, if you are opening all those ports what else is there to protect

3. No, you don't really need NetBIOS, just DNS should suffice, unless you're into LAN browsing.







Last edited by TofiBaba; Oct 11th, 2006 at 01:23 PM..
TofiBaba is offline   Reply With Quote
Old Oct 11th, 2006, 12:41 PM   #6 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


Quote:
Originally Posted by nos
do I have to enter a the name of a PC as well as the username in the domain? ya phir the mere user name will suffice?
I didn't understand this question. Do you mean do both user account and pc account have to put in the AD? If so, then yes. If the PC is a member you can still use domain resources by providing the user credentials (e.g. domain\username + password).






TofiBaba is offline   Reply With Quote
Old Oct 11th, 2006, 01:11 PM   #7 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


Here, found this article but can't make heads or tails of it:
http://www.microsoft.com/technet/pro...ep/adbulk.mspx

Maybe I need to read it with more patience.






TofiBaba is offline   Reply With Quote
Old Oct 11th, 2006, 04:31 PM   #8 (permalink)
Senior Member
 
coOoLBreeze's Avatar
 
Join Date: Aug 18, 2002
Location: South of Boston, MA
Posts: 6,334

Balanced


well,, you can go to a computer container or any OU on the DC> and right click, then select NEW COMPUTER.. you can make a new computer there, and then assign the privilige on the username who can join that computer to the domain. this username can be anything, the least privilged user as well.

then you go to the client machine ( make sure the machine name is same as the computer you created in the DC). and then just join, it will ask for a username and you put the particular uesr you gave while creating the computer in the OU.


secondly, I dont recall the exact settings, but there is security setting named as " Join computer to the domain " , that privilge cna be assigned to any user and then he can add computers. you have assign the privilege to the Computer Container I guess.
by default any user can add 10 work stations to the domain.
if you need ore details, then wait till saturday, ill be in office and guide you through more..

cheers..
and TB have you seed my reply to the Cisco Certs. I need your fedback there.






coOoLBreeze is offline   Reply With Quote
Old Oct 11th, 2006, 07:51 PM   #9 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


Quote:
Originally Posted by TofiBaba
Another thought, if you are opening all those ports what else is there to protect
My point exactly! I mean, if port 137 is open tou phir pechay kya bach gaya! lol...

Quote:
Originally Posted by TofiBaba
2. You don't really use port-blocking on a LAN for security, specially not to the DC's. If you really want security use VLAN's. But this selective port opening can really be scripted, so you just run it as the initial server deployment.
Yaar, I was just trying to implement the 'best' practices as you are most vulnerable on the inside ... as the UK DTI statistics for 2004-5 indicate.

Quote:
Originally Posted by TofiBaba
I didn't understand this question. Do you mean do both user account and pc account have to put in the AD? If so, then yes. If the PC is a member you can still use domain resources by providing the user credentials (e.g. domain\username + password).
Yes, I meant adding both a user account and pc account in the OU. But I tried this and it still requires that i enter admin credentials to enter the domain. Warna it will give me 'Access denied' message. Acha chorou, mittie pao ...

Quote:
Originally Posted by coOoLBreeze
well,, you can go to a computer container or any OU on the DC> and right click, then select NEW COMPUTER.. you can make a new computer there, and then assign the privilige on the username who can join that computer to the domain. this username can be anything, the least privilged user as well. then you go to the client machine ....
Yup, that's what I did ...

Quote:
Originally Posted by coOoLBreeze
by default any user can add 10 work stations to the domain.
Is that for Win3K server?

Quote:
Originally Posted by coOoLBreeze
there is security setting named as " Join computer to the domain " ...
yup, thats what I was looking for really ... I'll try locating it, thanks chief :--)

Thanks for the input guys, really appreciate it .... you guys are simply cudable [from cuddle, if that's a word ... lol]






nos is offline   Reply With Quote
Old Oct 11th, 2006, 07:58 PM   #10 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


Quote:
Originally Posted by TofiBaba
You are ahead of our times, dude!
haha ... nahee yaar, its just the 180 days evaluation copy that was included in an MS Press book that I bought. Warna hum tou Pakistan say "original" copies khareednay walay lougoun may say hain ...






nos is offline   Reply With Quote
Old Oct 11th, 2006, 08:16 PM   #11 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


Get with the program mang.






TofiBaba is offline   Reply With Quote
Old Oct 12th, 2006, 12:22 AM   #12 (permalink)
Senior Member
 
coOoLBreeze's Avatar
 
Join Date: Aug 18, 2002
Location: South of Boston, MA
Posts: 6,334

Balanced


read carefully,, tehre are three different ways, all answering the same questions
http://support.microsoft.com/kb/251335






coOoLBreeze is offline   Reply With Quote
Old Oct 12th, 2006, 08:40 AM   #13 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


CB, the prob is that this lazy person doesn't want to provide any credentials to add the PC to domain. And doesn't matter who has permission somebody's name has to be typed in to get that darned PC in the AD.






TofiBaba is offline   Reply With Quote
Old Oct 12th, 2006, 09:14 AM   #14 (permalink)
Senior Member
 
coOoLBreeze's Avatar
 
Join Date: Aug 18, 2002
Location: South of Boston, MA
Posts: 6,334

Balanced


Quote:
Originally Posted by TofiBaba
CB, the prob is that this lazy person doesn't want to provide any credentials to add the PC to domain. And doesn't matter who has permission somebody's name has to be typed in to get that darned PC in the AD.
if thats the case then

anyway, try using netdom.exe try u will find many options there..

waissay ask the wizard of oz, may be he has something to with it.






coOoLBreeze is offline   Reply With Quote
Old Oct 12th, 2006, 12:31 PM   #15 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


T'm talking about the problem that 'all' system admins would have to face, its not about one lazy bugger who's not happy with it. And as it is, I ain't no system admin so it you lot who have to put up with such BS .... 100 PCs hain, her aik kay liyah credentials provide kerou; What the ... eeeeet! [sensored]






nos is offline   Reply With Quote
Old Oct 12th, 2006, 03:33 PM   #16 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


^^ We as sys admins have accepted the fact. Its been like this since day 1 of NT. If you have a 100 PC deployment u just get more people to help u, that's all. Or just take that many more days to deploy.






TofiBaba is offline   Reply With Quote
Old Oct 12th, 2006, 07:27 PM   #17 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


Quote:
Originally Posted by TofiBaba
...Or just take that many more days to deploy
Lagta hai thaykay per bohat kaam kiya hai aap nay ...






nos is offline   Reply With Quote
Old Oct 12th, 2006, 07:36 PM   #18 (permalink)
Senior Geek
 
TofiBaba's Avatar
 
Join Date: Oct 3, 2003
Location: Mars
Posts: 6,595
Blogs: 1

none


Oye, don't be calling me names, its called "consulting".






TofiBaba is offline   Reply With Quote
Old Oct 13th, 2006, 03:09 AM   #19 (permalink)
Senior Member
 
coOoLBreeze's Avatar
 
Join Date: Aug 18, 2002
Location: South of Boston, MA
Posts: 6,334

Balanced


oyaay try netdom.exe make the batch file ONCE, copy it on floopy and double clicks..

try ghost or other imaging systems with SYSPREP utility for deploying domain joined machines to the network






coOoLBreeze is offline   Reply With Quote
Old Oct 13th, 2006, 03:25 AM   #20 (permalink)
nos
thug aloof
 
Join Date: Sep 28, 2002
Location: Dubai
Posts: 1,937

none


^ oh, excellento! .... GOD bless you cheif






nos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 10:49 PM.

 

» quickie
gupshup
cafetravjok arcbaz
unplugged
all img 1 2 3
khl 1 2vidvoice
audshor 1 2
society
pamsiwa p&sr&sc&a bep&e
arts & cul
cl&lpoet 1 2
rkslife 2 3 4 5 (par)
ha&ccs&n c&itauto
features
blogsgames
gs google button
a/v chat all albums
services
supportfeed
gs newsmodrf

» regional
pakistan isb khi lhe mfg
pakistan pew lyp mux uet
united states nyc chi iah lax
india bom del bng
holland / the netherlands ams rtm zyh
saudi arabia ruh jed
england lhr
canada yyz
united arab emirates dxb
other cites of the world all other




gs radio




Powered by vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0