RE: [ActiveDir] Struggling to find AD authentication code

2006-09-26 Thread Darren Mar-Elia
You actually shouldn't have to use Interop or PInvoke like that to authenticate to AD using VB.Net. I do it all the time in WinForms using the DirectoryEntry class, which allows you to pass creds to your AD connection. You just need to front those creds with a simple form and away you go. Ju

RE: [ActiveDir] SID History.

2006-09-26 Thread neil.ruston
Matt,   I went through a similar 'thought experiment' a few years ago. Whilst I didn't actually test my conclusions, I arrived at the decision that the original domain could actually be completely removed and the SID history data would still be valid and usable to access resources. i.e. there

RE: [ActiveDir] [OT] mSDS-Approx-Immed-Subordinates - How does it work?

2006-09-26 Thread Dmitri Gavrilov
Brett, correct me please. Apparently, the estimate is performed by looking at the couple top levels of the B-tree representing one of the indexes that span all records. I’ve been told by Jet guys that these estimates are correct within two orders of magnitude. On the bright side, they are

RE: [ActiveDir] Urgent DFS Configuration

2006-09-26 Thread Almeida Pinto, Jorge de
for some reason I missed this message   nope that will not work   in short: you can create the DFS root on any server and it does not need to be the server hosting the data. DFS root servers are servers that manage the DFS namespace (root, links) To create the root you need to have a shared fo

[ActiveDir] Struggling to find AD authentication code

2006-09-26 Thread Steven Wood
Hi,   Can anyone point me in the direction of some VB.Net examples of authenticating users against AD using a Windows form and not asp.net? All the examples I can find are forms based authentication for asp.net. I’ve loaded the template ‘Login Form’ included with VB 2005 unfortunately the

RE: [ActiveDir] Struggling to find AD authentication code

2006-09-26 Thread Brian Desmond
Look at the example for calling the LogonUser() API on my website – scroll down a bit www.briandesmond.com.   Thanks, Brian Desmond [EMAIL PROTECTED]   c - 312.731.3132   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Wood Sent: Tuesday, September 26

RE: [ActiveDir] Struggling to find AD authentication code

2006-09-26 Thread Steven Wood
Thanks for that. Great blog by the way.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond Sent: 26 September 2006 15:13 To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Struggling to find AD authentication code   Look at the example for ca

[ActiveDir] DNS entry won't delete

2006-09-26 Thread Clingaman, Bruce
  I have three DNS entries in my Reverse lookup zone that were for static addresses that won't go away. The problem is one of them shares the address and hostname (different domain name, domain was renamed) assigned to another  server. When I delete it, it immediately reappears. I am unable

RE: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Andrew Cace
You can run the following command to see where an update is originating.  Then, if you have auditing enabled for that operation, you can check the originating DC to see who made the change.   repadmin /showobjmeta yourdc "dc=recordname,dc=yourzone.com,cn=MicrosoftDNS,dc=DomainDNSZones,dc=you

Re: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Al Mulnick
Does WINS have a record for it?  On 9/26/06, Clingaman, Bruce <[EMAIL PROTECTED]> wrote:   I have three DNS entries in my Reverse lookup zone that were for static addresses that won't go away. The problem is one of them shares the address and hostname (different domain name, domain was rena

RE: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Clingaman, Bruce
No WINS entries for said DNS entries. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Mulnick Sent: Tuesday, September 26, 2006 8:44 AM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] DNS entry won't delete Does WINS have a record for it?

Re: [ActiveDir] Struggling to find AD authentication code

2006-09-26 Thread Joe Kaplan
Thanks for the plug on the book. Ch 12 is all about programmatic authentication. We cover the DirectoryEntry approach suggested by Darren as well as the LogonUser approach suggested by Brian. The code samples (in C# and VB.NET) are available for free from www.directoryprogramming.net. Note tha

[ActiveDir] forest disaster recovery plan.

2006-09-26 Thread Yann
Hello all,   I have to write a forest disaster reocvery plan fonr my entrerprise, and also test this plan in a test lab. We have AD 2k3 forest in FFL mode with: -> one "empty" root : no resources, only for security reason (to secure Entreprise & Ad domain admin). -> 3 childs domain. -> each D

[ActiveDir] Configuring SNMP via GPO

2006-09-26 Thread Cothern, Jeffrey D Mr CTR USSOCOM HQ
I have been looking at a way to ensure that SNMP is configured on all of our servers the same way.  Looking at the GPO's there is a shortfall.     We have a custom community name that we set with the allowed managers that you can look at on the security tab of SNMP service.   We need a Cu

RE: [ActiveDir] forest disaster recovery plan.

2006-09-26 Thread Grillenmeier, Guido
Microsoft is working on an updated Forest Recovery guide for Windows Server 2003, however, the basic procedures for full forest recovery are still the same as you’d have to do for a Windows 2000 AD forest.  And for the later a guide already exists: http://www.microsoft.com/downloads/detail

Re: [ActiveDir] forest disaster recovery plan.

2006-09-26 Thread Al Mulnick
There's a whitepaper on Microsoft's website.  I think there are several blogs out there talking about same. Things to look for?  Timing of backups. Name resolution. Time sync. DA accounts. Backups from DC's or GC's (you'll want to pay attention to that).  Role holders. Shouldn't be too bad otherwi

RE : RE: [ActiveDir] forest disaster recovery plan.

2006-09-26 Thread Yann
Wooow ! Awesome !   Thanks Guido for the links, I will study all of those. Hope that MS will soon made available the forest recovery version for AD2k3.   Thanks again,   Yann"Grillenmeier, Guido" <[EMAIL PROTECTED]> a écrit :Microsoft is working on an updated Forest Recovery g

RE: [ActiveDir] Configuring SNMP via GPO

2006-09-26 Thread Williams, Robert
Jeff,   I didn’t see a very easy way to do what you’re asking ‘out of the box’.  You could check out RegToADM which will take an exported reg file and make an ADM file for you.  It could help you with configuring your custom ADM file.  I tried it with some sample settings and it seems lik

RE: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Clingaman, Bruce
I got "object not found" error. The following script should enumerate all the zones on both my DCs: = WScript.Echo Now & vbCrLf DCs = Array("dc1","dc2") for i = 0 to UBound(DCs) strDN = "CN=MicrosoftDNS,DC=DomainDNS

RE : Re: [ActiveDir] forest disaster recovery plan.

2006-09-26 Thread Yann
Thanks Al for advices. :) Guido pointed me to some very usefull papers on recovery. Maybe my first job will be to understand the different types of AD recovery in order to master the whole procces.   Some questions i have to face are : -> What if a whole domain crashes (Root and Childs) ?  ->

RE: [ActiveDir] Configuring SNMP via GPO

2006-09-26 Thread Mark Parris
Jeff,   This should do the trick – been using it for years – servers that the GPO is applied to will need a reboot after the import.   Save as SNMP.adm   Mark   /SNIP ; ;Custom ADM Settings ;   CLASS MACHINE CATEGORY "Custom Windows Settings"     CATEGORY "Server Sett

RE: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Clingaman, Bruce
Also, on the enties in question, I cannot view security info. I can on other entries in that zone. I cannot take ownership. Bruce Clingaman Information Technology Department Pensacola Christian College 850.478.8496 ext. 2198 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED]

RE: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Andrew Cace
Check the properties of the zone in DNS management. If the zone's replication scope is forest-wide or to all domain controllers, you'll need to adjust the dn of the record to show the appropriate partition. -Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: RE : Re: [ActiveDir] forest disaster recovery plan.

2006-09-26 Thread Al Mulnick
I think that's a very good way to approach it. Guido is really the expert on such processes and I tip my hat to him on that. :)Some things to consider as you take this approach: Write down what you're thinking. Why?  Because it'll help to focus the thoughts.  This can have a lot of moving parts in

Re: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Al Mulnick
Bruce, try the command that Andrew posted and see what results you get. Other things to check: Are the domains integrated? Primary? How are the reverse and forward zones configured? I'm surprised to hear the record is not in WINS.  I assume then that it's not a Windows server then?  What type of se

RE: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Clingaman, Bruce
My two DCs are Windows 2003 servers, DNS integrated, Primary, The resiliant entries are from Mac OS X clients and one OS X server. The domain name of the entries are from a domain that was renamed. Bruce Clingaman Information Technology Department Pensacola Christian College 850.478.8496 ext.

[ActiveDir] SMTP Problem -- Unable to send mail from Treo --

2006-09-26 Thread Ravi Dogra
Hi All, Treo users are not able to send mails from treo however they are able to receive mails. While troubleshooting i found out that then i am trying to connect from Client machine to my BE using Telnet Command i am getting unrecognized command when trying to do Mail Form however if i am doing

Re: [ActiveDir] SID History.

2006-09-26 Thread Matt Hargraves
OK, I think that I pretty much had it figured out, just wanted to get some level of validation.Thanks for all the help.On 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Matt,   I went through a similar 'thought experiment' a few years ago. Whilst I didn't actually test my conclusions,

[ActiveDir] blocking OOO in the listserv?

2006-09-26 Thread [EMAIL PROTECTED]
Wouldn't it be more reliable to configure the listserv to automatically drop such e-mails? Then you're not dependent on hundreds or thousands of mail servers all being correctly configured (which seems unlikely to me). I would think that most OOO messages are flagged as such using some SMTP hea

RE: [ActiveDir] Replication Problems and Tombstoned Objects

2006-09-26 Thread Steve Linehan
This is likely going to be very difficult to get out of since you changed the schema before instantiated objects replicated end to end. This is why there are strong recommendations to do testing and use LDIF files instead of editing the schema in the schema editor for extensions like this. I h

Re: [ActiveDir] DNS entry won't delete

2006-09-26 Thread Matt Hargraves
Any chance you can edit the setting so that it points to something not in your network? (ex. you have a 10.x.x.x network, so you reset it to be a 192.168.x.x IP)On 9/26/06, Clingaman, Bruce <[EMAIL PROTECTED]> wrote: My two DCs are Windows 2003 servers, DNS integrated, Primary,The resiliant entrie