Bug 8869 - netscape / sun DS schema not uptodate
Summary: netscape / sun DS schema not uptodate
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.6.4
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Samba QA Contact
Depends on:
Reported: 2012-04-17 11:04 UTC by Björn Jacke
Modified: 2012-05-08 12:24 UTC (History)
1 user (show)

See Also:
gd: review+


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2012-04-17 11:04:33 UTC
I notices some objectclass violations in wireshark which are cause by missing attributes in the netscape schema file:

bjacke@pell:~/SVN/master> grep ./examples/LDAP/samba-schema-netscapeds5.x
attributeTypes: ( NAME 'sambaPasswordHistory' DESC 'Concatenated MD4 hashes of the unicode passwords used on this account' EQUALITY caseIgnoreIA5Match SYNTAX{32} )
attributeTypes: ( NAME 'sambaLogonHours' DESC 'Logon Hours' EQUALITY caseIgnoreIA5Match SYNTAX{42} SINGLE-VALUE )

bjacke@pell:~/SVN/master> grep ./examples/LDAP/samba.schema
#attributetype ( NAME 'logonTime'
attributetype ( NAME 'sambaLogonHours'
attributetype ( NAME 'sambaPasswordHistory'
attributetype ( NAME 'sambaSIDList'
##attributetype ( NAME 'sambaPrivName' 
##attributetype ( NAME 'sambaPrivilegeList'
attributetype ( NAME 'sambaTrustFlags'
attributetype ( NAME 'sambaMinPwdLength'
attributetype ( NAME 'sambaPwdHistoryLength'

the missing attributes have been missing at least since Samba 3.2.
Comment 1 Björn Jacke 2012-04-17 12:32:52 UTC
the FDS schema file works fine with the netscape/sun DS and that one is uptodate. We should remove the bogous samba-schema-netscapeds5.x and place a samba-schema-netscapeds5.x.README there instead pointing to the FDS schema file. Any objections?
Comment 2 Björn Jacke 2012-04-20 11:01:32 UTC
b31f773ae1640313dc1ba86b334e9bbb9cb31bd6 in master contains the replacement of the ancient schema file with a README file. Karo, can you pick this to 3.6, 3.5, 3.4, 3.3 and 3.2? It's up to you if you inlcude the older of the mentioned branches ...
Comment 3 Karolin Seeger 2012-05-07 16:30:00 UTC
Re-assigning to Günther for review.
Comment 4 Guenther Deschner 2012-05-08 11:33:20 UTC
Yes, that looks fine.
Comment 5 Karolin Seeger 2012-05-08 12:24:50 UTC
Pushed to v3-6-test and v3-5-test.
Closing out bug report.