[cifs-protocol] How do we know what attributes are OIDs, classes and attributes

John Dunning johndun at microsoft.com
Thu Jan 7 08:28:28 MST 2010


Hello Andrew,
  Thanks for your question. Someone on my team will be contacting you soon to assist with this matter.

Thanks
John Dunning
Senior Escalation Engineer Microsoft Corporation US-CSS DSC PROTOCOL TEAM
Email: johndun at microsoft.com


-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at samba.org] 
Sent: Thursday, January 07, 2010 12:31 AM
To: Interoperability Documentation Help
Cc: pfif at tridgell.net; cifs-protocol at samba.org; Andrew Tridgell
Subject: How do we know what attributes are OIDs, classes and attributes

G'day

In LDAP, it is convention to display attribute names and classes as strings, except of course for governsID and attributeID.  

In DRS, these attribute and class names are transformed (using the prefix map) into 32 bit integers.  

What we need to know is, how should we tell if an attribute should be displayed in LDAP as an OID (dotted decimal), or as an attribute or class name. 

My worry is that this can't be handled as just 'schema only' and 'hardcoded list', because it is clearly possible to add OID syntax
(2.5.5.2)  attributes to objects in the general directory.  For example:

dn: CN=IP,CN=Inter-Site
Transports,CN=Sites,CN=Configuration,DC=my,DC=domain
transportAddressAttribute: dNSHostName

How should I know that transportAddressAttribute must be displayed as a text string, and not an OID?  How should I know that I display governsID as an OID?

Are all attributes of syntax OID (2.5.5.2) transported over DRS as integers, or is there a hardcoded list?  

Thanks,

Andrew Bartlett
--
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.




More information about the cifs-protocol mailing list