Bug 3059 - samba-schema-netscapeds4.x needs updating
Summary: samba-schema-netscapeds4.x needs updating
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.20
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-09-01 19:21 UTC by Justin Hughes
Modified: 2018-03-17 23:28 UTC (History)
0 users

See Also:

Possible patch (1019 bytes, patch)
2005-09-06 03:59 UTC, Justin Hughes
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hughes 2005-09-01 19:21:52 UTC
I just noticed/discovered that it appears the Netscape 4.x ldap schema file is
seriously(?) out of date.

Having just completed the migration of a client's NT4 server (yes I know, don't
ask) to WhiteBox EL4 the users have not been able to change their NT passwords.

Long story short....finally, I lucked out and discovered the following LDAP
attributes are not in samba-schema-netscapeds4.x. (not sure what others may also
be missing) despite.


While this is probably a 'minor issue' can someone look in to and resolve it
ASAP. Please!!!

(The client must use the Netscape 4.x DS as it can not be upgraded until a
suitable replacement for the Netscape 4.x Messaging server for linux becomes
available - hopefully there will be a Fedora Messaging server)

Comment 1 Justin Hughes 2005-09-06 03:59:42 UTC
Created attachment 1416 [details]
Possible patch

Here is a possible (ie, possibly correct) patch to update the NS4.x schema.
Comment 2 Justin Hughes 2005-09-06 04:03:29 UTC
Comment on attachment 1416 [details]
Possible patch

>--- samba-schema-netscapeds4.x.conf.orig	2005-09-06 20:40:22.000000000 +1000
>+++ samba-schema-netscapeds4.x.conf	2005-09-06 20:42:35.000000000 +1000
>@@ -25,6 +25,11 @@
> attribute	sambaNextGroupRid		int single
> attribute	sambaNextRid		int single
> attribute	sambaAlgorithmicRidBase		int single
>+attribute	sambaBadPasswordCount	int single
>+attribute	sambaBadPasswordTime	int single
>+attribute	sambaLogonHours	cis single
>+attribute	sambaMungedDial	ces
>+attribute	sambaPasswordHistory	cis
> objectclass sambaSamAccount
> 		oid
>@@ -54,7 +59,12 @@
> 				description,
> 				sambaUserWorkstations,
> 				sambaPrimaryGroupSID,
>-				sambaDomainName
>+				sambaDomainName,
>+				sambaMungedDial,
>+				sambaBadPasswordCount,
>+				sambaBadPasswordTime,
>+				sambaPasswordHistory,
>+				sambaLogonHours
> objectclass sambaGroupMapping
> 		oid
Comment 3 Simo Sorce 2018-03-17 23:28:16 UTC
This schema has been removed eons ago.