1 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 - The PropertyValueCollection class doesn't mark its data as dirty/changed in
4 - this[int index] setter
8 The DirectoryEntry class doesn't handle the clearing of an attribute (see
10 Patch from Juraj Skripsky that fixes bug #416985.
12 2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
14 * DirectoryEntry.cs: Use typeof(LdapModification) instead of
15 Type.GetType and actually use the value afterward.
16 [Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
17 * SearchResultCollection.cs: Avoid infinite recursion in
18 Contains(SearchResult).
19 [Found using Gendarme BadRecursiveInvocationRule]
21 2007-05-21 Adar Wesley <adarw@mainsoft.com>
23 * DirectoryEntry.cs: added missing methods InvokeGet, InvokeSet.
25 2006-12-28 Jon Larimer <jlarimer@gmail.com>
27 * DirectorySearcher.cs: When using
28 System.DirectoryServices.DirectorySearcher to query a Windows
29 Active Directory Server, the results will almost always contain
30 referal nodes. These can probably be ignored, as there are also
31 non-referal responses.
33 With the below patch, the Mono DirectorySearcher can be used to
34 query Windows AD servers.
38 2005-05-12 Boris Kirzner <borisk@mainsoft.com>
39 * DirectoryEntry.cs, DirectorySearcher.cs: fix object disposing.
41 2005-06-11 Boris Kirzner <borisk@mainsoft.com>
42 * DirectoryEntry.cs: fixes for RefreshCache()
43 -Property names should be sent to server if only particular properties
45 -Refreshing all the properties should work with separate list,
46 so the original properties values are not damaged if the refresh
47 fails for some reason.
49 2005-30-10 Boris Kirzner <borisk@mainsoft.com>
50 * DirectoryEntries.cs: fix for null base dn.
51 * DirectorySearcher.cs: use server root authentication type for binding.
53 2005-28-07 Boris Kirzner <borisk@mainsoft.com>
54 * DirectoryEntry.cs: pass AuthenticationType as a parameter for
57 2005-06-19 Boris Kirzner <borisk@mainsoft.coim>
58 * DirectorySearcher.cs:
59 - Use ADsPath property (always represents an actual url)
60 instead of Path (may be null or empty string).
61 - Use PropertyNamesOnly property while perfoming search, so property
62 values retrieved only when needed.
63 - Create parent path in more clean way.
65 - Use ADsPath property (always represents an actual url)
66 instead of Path (may be null or empty string).
67 - InitEntry takes special care about rootDse entries.
68 - Path return empty string if assigned to null.
69 - Added ADsPath property. This is an "actual" entry path on the server.
70 If user does not specifies a path, it is resolved using rootDse
71 server entry properties. We need this since the user-specified Path
72 property should never change.
73 - Added GetProperties,SetProperties and LoadProperties methods
74 to handle internal properties load and assignment.
75 - Added DefaultHost and DefaultPort properties, so user can specify the
76 default LDAP server information using app config. If user does not
77 specify it, the localhost:389 is the default.
78 - Added InitToRootDse method - initializes current entry to specified
80 - CheckEntry takes special care about rootDse entries.
81 - CommitEntry rewrited to use .NET style iteration. In addition,
82 the method uses entry peroperties whout enforsing their reload.
83 - Implemented RefreshCache methods.
84 - Added method GetLdapUrlString, returns LDAP URL string representation
85 that omits default port
86 (i.e. ldap://server/dn instead of ldap://server:389/dn),
88 * PropertyValueCollection.cs: removed redundant MonoTodo attributes.
89 * SearchResult.cs: if underlined result properties collection is empty,
90 do not try to load a properties from it.
92 2005-06-14 Boris Kirzner <borisk@mainsoft.com>
93 * DirectorySearcher.cs : AdsPath property should not appear in the query, but it still should appear in the SearchResult properties (by initialization from result entry path).
95 2005-03-31 Boris Kirzner <borisk@mainsoft.com>
97 - Implemented UsePropertyCache.
98 - Refresh entry after Rename and MoveTo.
99 - CommitChanges : do not send request to server if no properties changed. Drop new flag after committing newly created entry.
100 - Disconnect only if connected in Close(). Clean up Dispose().
101 - Removed unnecessary console output.
102 * PropertyCollection.cs : Hold reference to parent DirectoryEntry.
103 * PropertyValueCollection.cs : Hold reference to parent DirectoryEntry. Call parent's CommitDeferred on collection changes.
105 2005-03-31 Boris Kirzner <borisk@mainsoft.com>
107 * DirectorySearcher.cs :
108 - Use common TimeSpan object to initialize properties default values.
109 - DoSearch uses SizeLimit and ServerTimeLimit. Do not throw if sie limit or time limit occurs on the server.
110 - Construct ADsPath property from resulting entry path.
111 - Implemented Dispose method.
113 2005-03-28 Boris Kirzner <borisk@mainsoft.com>
115 * DirectoryEntries.cs :
116 - Removed unnecessary console output.
118 - Initialize Path property in constructor.
119 - Removed unnecessary console output.
121 2005-03-22 Boris Kirzner <borisk@mainsoft.com>
123 * DirectorySearcher.cs :
124 - ClientTimeout and ServerPageTimeLimit initialized to 1 second.
125 - SizeLimit initialized to 0.
126 - Setting SizeLimit to negative value throws an exception.
127 - Added private variable for ServerTime Limit.
128 - Avoid infinite loop in CacheResults.
129 - Removed emptycol, search result lazy evaluated intead of this.
130 - If the search did not return results, FindOne() should returns null.
131 - ADsPath property always loaded, or created from DN.
133 2005-03-22 Boris Kirzner <borisk@mainsoft.com>
135 * DirectoryEntries.cs : When adding new entry, do not set "objectclass"
136 property to include schemaClassName value.
138 2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140 * DirectoryEntry.cs: username and password are now initialized to null.
141 Patch by Boris Kirzner (Mainsoft).
143 2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145 * PropertyValueCollection.cs: the Value property for an empty collection
146 is now null and setting Value to null clears the collection. Patch by
147 Boris Kirzner (Mainsoft).
149 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
151 * DirectoryEntry.cs, DirectoryEntries.cs :
152 eliminate "throw new Exception".
154 2004-09-10 Sebastien Pouliot <sebastien@ximian.com>
156 * DirectoryServicesPermission.cs: Completed TODO.
157 * DirectoryServicesPermissionAttribute.cs: Added path validation and
158 enable the creation of unrestricted permissions.
159 * DirectoryServicesPermissionEntry.cs: Add internal method to return
160 an ResourcePermissionBaseEntry instance.
161 * DirectoryServicesPermissionEntryCollection.cs: Allow synchronization
162 of elements with the base permission class (required to enable Copy).
164 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
166 * DirectoryServicesPermission.cs: renamed field to match MS.NET
167 * DirectoryServicesPermissionEntry.cs: fixed serialization
168 compatibility with MS.NET
169 * DirectoryServicesPermissionEntryCollection.cs: marked serializable,
170 added TODO for serialization compatibility
171 * ReferralChasingOption.cs: changed enum field values to match MS.NET
173 2004-06-03 Gert Driesen <drieseng@users.sourceforge.net>
175 * DirectoryEntries.cs: flagged field private to fix public API
176 * DirectoryEntry.cs: added protected override for Dispose, marked
178 * DirectoryServicesPermissionEntryCollection.cs: added stubs for
179 missing protected methods
180 * PropertyCollection.cs: flagged field private to fix public API
181 * PropertyValueCollection.cs: removed empty extra methods, added
182 stub for missing methods to fix public API
183 * SearchResult.cs: removed unused local variable
184 * SearchResultCollection.cs: flagged field private to fix public
185 API, added missing property Dispose method and finalizer
187 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
189 * DirectoryServicesPermission.cs: marked sealed, added
190 Serializable attribute
191 * SearchResultCollection: made Handle public
193 2004-05-14 Raja R Harinath <rharinath@novell.com>
195 * SearchResultCollection.cs: Add a few more stubs.
196 * SchemaNameCollection.cs: Likewise.
198 * DirectoryServicesPermission.cs: Fix typo.
199 * SchemaNameCollection.cs: Revert. Add MonoTODO attributes.
201 2004-05-14 Raja R Harinath <rharinath@novell.com>
203 * DirectoryEntries.cs (SchemaFilter): New stub.
204 * DirectoryEntry.cs: Add missing [MonoTODO] to NotImplemented
205 classes. Remove DesignerCategory attribute.
206 * DirectorySearcher.cs: Likewise.
207 * PropertyValueCollection.cs (AddRange([object[]): Don't go into
209 (AddRange(PropertyValueCollection)): New.
211 * ResultPropertyCollection.cs (ResultPropertyCollection): Make
214 * SchemaNameCollection.cs: Implement.
215 * SortOption.cs (PropertyName, Direction): Add DSDescription and
216 DefaultValue attributes.
217 * DirectoryServicesPermission.cs: New file.
218 * DirectoryServicesPermissionAttribute.cs: Likewise.
219 * DirectoryServicesPermissionEntry.cs: Likewise.
220 * DirectoryServicesPermissionEntryCollection.cs: Likewise.
221 * TODOAttribute.cs: Likewise.
223 2004-01-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
226 * AssemblyInfo.cs: Removed
227 * DirectoryEntry.cs: Added attributes, fixed warning, stubbed missing
228 * DirectorySearcher.cs: Added attributes, stubbed missing
229 * DirectoryServicesPermissionAccess.cs: Added, implemented
230 * DSDescriptionAttribute.cs: Added, implemented
231 * DSDescriptionAttribute.cs, Added implemented