[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.

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


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
(  attributes to objects in the general directory.  For example:

dn: CN=IP,CN=Inter-Site
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 ( transported over DRS as integers, or is there a hardcoded list?  


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

More information about the cifs-protocol mailing list