name is the RDN value, the RDN attribute for those objects is the CN... So for that object type, you can't have name of one thing and CN of something else. An another example, the RDN attribute of an organizationalUnit is OU. So in that case name and OU will always be the same... 
 
 
F:\Dev\BDSCPP\DSExec\Debug_Build>adfind -sc s:subnet rdnattid
 
AdFind V01.32.00cpp Joe Richards ([EMAIL PROTECTED]) October 2006
 
Using server: 2k3dc02.joe.com:389
Directory: Windows Server 2003
Base DN: CN=Schema,CN=Configuration,DC=joe,DC=com
 
dn:CN=Subnet,CN=Schema,CN=Configuration,DC=joe,DC=com
>rDNAttID: cn
 

1 Objects returned
 
 
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond
Sent: Sunday, November 05, 2006 5:03 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Subnet Object Question

As the actual representative subnet – if CN=foo and name=10.10.10.0/24 will the match occur or vice versa if CN=10.10.10.0/24 and name=foo will the match occur? In other words which of the two attributs represents the actual subnet info?

 

Thanks,

Brian Desmond

[EMAIL PROTECTED]

 

c - 312.731.3132

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laura A. Robinson
Sent: Sunday, November 05, 2006 4:43 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Subnet Object Question

 

Used for what?

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond
Sent: Sunday, November 05, 2006 4:31 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Subnet Object Question

Well yes, but I’m wondering which one is the actual value used.

 

Thanks,

Brian Desmond

[EMAIL PROTECTED]

 

c - 312.731.3132

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Almeida Pinto, Jorge de
Sent: Sunday, November 05, 2006 4:18 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Subnet Object Question

 

Hi Brian,

 

The following represents subnet 10.1.1.0/24, as you can see, it is used in the CN and NAME

 

 

Expanding base 'CN=10.1.1.0/24,CN=Subnets,CN=Sites,CN=Configuration,DC=AD,DC=LAN'...
Result <0>: (null)
Matched DNs:
Getting 1 entries:
>> Dn: CN=10.1.1.0/24,CN=Subnets,CN=Sites,CN=Configuration,DC=AD,DC=LAN
 2> objectClass: top; subnet;
 1> cn: 10.1.1.0/24;
 1> distinguishedName: CN=10.1.1.0/24,CN=Subnets,CN=Sites,CN=Configuration,DC=AD,DC=LAN;
 1> instanceType: 0x4 = ( IT_WRITE );
 1> whenCreated: 09/07/2006 21:17:43 W. Europe Standard Time W. Europe Daylight Time;
 1> whenChanged: 09/07/2006 21:17:43 W. Europe Standard Time W. Europe Daylight Time;
 1> uSNCreated: 13938;
 1> uSNChanged: 13938;
 1> showInAdvancedViewOnly: TRUE;
 1> name: 10.1.1.0/24;
 1> objectGUID: d69ed007-4556-4f85-b018-d6ff405ae2f1;
 1> systemFlags: 0x40000000 = ( FLAG_CONFIG_ALLOW_RENAME );
 1> siteObject: CN=HQ,CN=Sites,CN=Configuration,DC=AD,DC=LAN;
 1> objectCategory: CN=Subnet,CN=Schema,CN=Configuration,DC=AD,DC=LAN

 

 

 

Met vriendelijke groeten / Kind regards,

Ing. Jorge de Almeida Pinto

Senior Infrastructure Consultant

MVP Windows Server - Directory Services

 

LogicaCMG Nederland B.V. (BU RTINC Eindhoven)

(     Tel     : +31-(0)40-29.57.777

( Mobile     : +31-(0)6-26.26.62.80

* E-mail      : <see sender address>

 


From: [EMAIL PROTECTED] on behalf of Brian Desmond
Sent: Sun 2006-11-05 22:08
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Subnet Object Question

Question on Subnet Objects – It appears that there is not an actual property designated for the subnet network/mask. Does anyone know does AD use the “name” or “cn” for this information/

 

Thanks,

Brian Desmond

[EMAIL PROTECTED]

 

c - 312.731.3132

 

Reply via email to