On Wed, 2008-12-10 at 21:46 +0530, S P wrote:
> On Wed, Dec 10, 2008 at 12:37 PM, Andrew Bartlett <[EMAIL PROTECTED]> wrote:
> > On Tue, 2008-12-09 at 20:20 +0530, S P wrote:
> >> On Tue, Dec 9, 2008 at 6:52 PM, S P <[EMAIL PROTECTED]> wrote:
> >>
> >> This version handles CRLF/LF using python's universal newlines
> >> support, so it should work on DOS-style files as well.
> >>
> >> I've also rewritten the LDIF line-unfolding code, and it matches the
> >> spec more closely now.
> >>
> >> Let me know if it works now.
> >
> > I'm still having a few odd problems, but I've got permission to publish
> > the text-format schema, so you can find that in a current GIT checkout
> > in source4/setup/ad-schema.
> 
> Thanks! I checked out the files you were using, and they are indeed
> CR-LF files which should've worked with the last program I sent you.
> However, they also contain three types of errors that will prevent it
> from working.

I've CC'ed Richard Guthrie from Microsoft, and the mailing lists we use
to co-ordinate fixing this documentation.  I hope he can you can work to
get this file into correct shape. 

Richard, can you look into these problems with the 'text-file' schema
you sent me a few months back:

> Firstly, there are spurious blank lines -- creating a separate record
> (this gives the ldapDisplayName not found error). I fixed these.
> 
> The second error is that attribute msDS-ResultantPSO is missing the
> attributeId field
> 
> The third error is the presence of two attr: values for a single
> valued field, systemFlags, with differing values.
> 
> I've fixed the latter two of these errors by comparing to the docs, a
> patch is attached. I've not compared all of the MS files with the ones
> I extracted from the docs, though.
> 
> Applying the patch is necessary to make the code I sent you run,
> though I've added some debug statements now as well. I'll post the
> code to the list, but should I post the current patch to fix the text
> files as well?

I don't think posting the patch should be a problem.  I've re-attached
it here so Richard can see the problem. 

> > What I now need is a clear copyright statement from you, including any
> > statement from minschema (if you copied code from that),
> 
> Neither minschema.js nor minschema.py contains any statement :(
> However my code clearly contains code copied from minschema.py. I'll
> note this in the message to the mailing list. Will follow other
> instructions as well.

I'll get that fixed.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
=== modified file 'MS-AD_Schema_Attributes_v20080618.txt'
--- MS-AD_Schema_Attributes_v20080618.txt	2008-12-10 15:30:56 +0000
+++ MS-AD_Schema_Attributes_v20080618.txt	2008-12-10 16:05:16 +0000
@@ -1654,7 +1654,6 @@
 rangeLower: 1
 rangeUpper: 512
 mapiID: 35943
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: Employee-Type
@@ -1669,7 +1668,6 @@
 rangeLower: 1
 rangeUpper: 256
 mapiID: 35945
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: Enabled
@@ -1756,7 +1754,6 @@
 mapiID: 32935
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
-
 systemOnly: TRUE
 
 cn: Extended-Class-Info
@@ -2722,8 +2719,6 @@
 isMemberOfPartialAttributeSet: TRUE
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
-systemFlags: 0
-
 cn: Address-Home
 ldapDisplayName: homePostalAddress
 attributeId: 1.2.840.113556.1.2.617
@@ -2737,7 +2732,6 @@
 rangeUpper: 4096
 attributeSecurityGuid: 77b5b886-944a-11d1-aebd-0000f80367c1
 mapiID: 14941
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: host
@@ -2978,8 +2972,6 @@
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
 
-searchFlags: 0
-
 cn: IpHostNumber
 ldapDisplayName: ipHostNumber
 attributeId: 1.3.6.1.1.1.1.19
@@ -7032,6 +7024,7 @@
 
 cn: ms-DS-Resultant-PSO
 ldapDisplayName: msDS-ResultantPSO
+attributeId: 1.2.840.113556.1.4.2022
 attributeSyntax: 2.5.5.1
 omSyntax: 127
 isSingleValued: TRUE
@@ -8425,8 +8418,6 @@
 isMemberOfPartialAttributeSet: TRUE
 systemFlags: FLAG_SCHEMA_BASE_OBJECT |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER
 
-systemFlags: FLAG_SCHEMA_BASE_OBJECT
-
 cn: MSMQ-Version
 ldapDisplayName: mSMQVersion
 attributeId: 1.2.840.113556.1.4.942
@@ -12196,7 +12187,6 @@
 searchFlags: 0
 linkID: 101
 systemFlags: FLAG_SCHEMA_BASE_OBJECT | FLAG_ATTR_NOT_REPLICATED
-
 isSingleValued: TRUE
 
 cn: Repl-Interval
@@ -12224,8 +12214,6 @@
 systemFlags: FLAG_SCHEMA_BASE_OBJECT | FLAG_ATTR_IS_OPERATIONAL |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER | FLAG_ATTR_NOT_REPLICATED
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
 
-systemFlags: FLAG_SCHEMA_BASE_OBJECT |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER | FLAG_ATTR_NOT_REPLICATED
-
 cn: Repl-Topology-Stay-Of-Execution
 ldapDisplayName: replTopologyStayOfExecution
 attributeId: 1.2.840.113556.1.4.677
@@ -12872,7 +12860,6 @@
 rangeLower: 1
 rangeUpper: 64
 mapiID: 33072
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: Next-Level-Store
@@ -12929,7 +12916,6 @@
 linkID: 95
 systemFlags: FLAG_SCHEMA_BASE_OBJECT | FLAG_ATTR_NOT_REPLICATED
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
-
 isSingleValued: TRUE
 
 cn: Server-Role
@@ -12942,7 +12928,6 @@
 systemOnly: FALSE
 searchFlags: 0
 attributeSecurityGuid: b8119fd0-04f6-4762-ab7a-4986c76b3f9a
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: Server-State
@@ -13235,7 +13220,6 @@
 isMemberOfPartialAttributeSet: TRUE
 systemFlags: FLAG_SCHEMA_BASE_OBJECT |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
-
 systemOnly: TRUE
 
 cn: Signature-Algorithms
@@ -13339,7 +13323,6 @@
 schemaIdGuid: 1be8f17c-a9ff-11d0-afe2-00c04fd930c9
 systemOnly: FALSE
 searchFlags: 0
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: Surname
@@ -14442,7 +14425,6 @@
 attributeSecurityGuid: 77b5b886-944a-11d1-aebd-0000f80367c1
 mapiID: 14960
 isMemberOfPartialAttributeSet: TRUE
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: User-Workstations
@@ -14580,8 +14562,6 @@
 systemFlags: FLAG_SCHEMA_BASE_OBJECT | FLAG_ATTR_IS_OPERATIONAL |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
 
-systemFlags: FLAG_SCHEMA_BASE_OBJECT |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER
-
 cn: Version-Number
 ldapDisplayName: versionNumber
 attributeId: 1.2.840.113556.1.4.141
@@ -14708,8 +14688,6 @@
 systemFlags: FLAG_SCHEMA_BASE_OBJECT |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
 
-systemFlags: FLAG_SCHEMA_BASE_OBJECT
-
 cn: Organization-Name
 ldapDisplayName: o
 attributeId: 2.5.4.10
@@ -14892,7 +14870,6 @@
 isMemberOfPartialAttributeSet: TRUE
 systemFlags: FLAG_SCHEMA_BASE_OBJECT |FLAG_ATTR_REQ_PARTIAL_SET_MEMBER
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL
-
 systemOnly: FALSE
 
 cn: Object-Version
@@ -14971,7 +14948,6 @@
 schemaIdGuid: 07383076-91df-11d1-aebc-0000f80367c1
 systemOnly: FALSE
 searchFlags: 0
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: OMT-Indx-Guid
@@ -15099,7 +15075,6 @@
 schemaIdGuid: 0738307b-91df-11d1-aebc-0000f80367c1
 systemOnly: FALSE
 searchFlags: 0
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: organizationalStatus
@@ -15244,7 +15219,6 @@
 schemaIdGuid: 0738307a-91df-11d1-aebc-0000f80367c1
 systemOnly: FALSE
 searchFlags: 0
-
 systemFlags: FLAG_SCHEMA_BASE_OBJECT
 
 cn: Phone-Office-Other

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
cifs-protocol mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/cifs-protocol

Reply via email to