r16792: minor (but critical fixes) from Jeremy, Volker, & Guenther
[Samba.git] / WHATSNEW.txt
blob77cf3af46df0392debedb6d521ef2c9f8c6c3252
1                    ==============================
2                    Release Notes for Samba 3.0.23
3                               Jun XX, 2006
4                    ==============================
6 This is the latest stable release of Samba. This is the version 
7 that production Samba servers should be running for all current 
8 bug-fixes.  Please read the changes in this section for details on 
9 new features and difference in behavior from previous releases.
11 There has been a substantial amount of cleanup work done during 
12 this development cycle.  We would like to thank both Coverity 
13 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
14 for anaylzing the Sambs source code. As a result, this release 
15 includes fixes for over 400 defects.  The coverage was approximately 
16 even with over 200 defects reported by each tool.
18 Thanks very much to those people who spent time testing the 
19 release candidates and reported their findings.  We would like to 
20 especially thank Thomas Bork <tombork@web.de> for his numerous 
21 reports.  We believe that the final release is in much better shape 
22 in a large part due to his efforts.
24 New features in 3.0.23 include:
26    o Improved 'make test'
27    o New offline mode in winbindd.
28    o New Kerberos support for pam_winbind.so.
29    o New handling of unmapped users and groups. 
30    o New non-root share management tools.
31    o Improved support for local and BUILTIN groups.
32    o Winbind IDMAP integration with RFC2307 schema objects supported 
33      by Windows 2003 R2.
34    o Rewritten 'net ads join' to mimic Windows XP without requiring 
35      administrative rights to join a domain.
38 User and Group changes
39 ======================
41 The user and group internal management routines have been 
42 rewritten to prevent overlaps of assigned Relative Identifiers 
43 (RIDs).  In the past the has been a potential problem when either 
44 manually mapping Unix groups with the 'net groupmap' command or 
45 when migrating a Windows domain to a Samba domain using 'net rpc 
46 vampire'.
48 Unmapped users are now assigned a SID in the S-1-22-1 domain and 
49 unmapped groups are assigned a SID in the S-1-22-2 domain. 
50 Previously they were assign a RID within the SAM on the Samba 
51 server.  For a DC this would have been under the authority of the 
52 domain SID where as on a member server or standalone host, this 
53 would have been under the authority of the local SAM (hint: net 
54 getlocalsid).
56 The result is that any unmapped users or groups on an upgraded 
57 Samba domain controller may be assigned a new SID.  Because the 
58 SID rather than a name is stored in Windows security descriptors, 
59 this can cause a user to no longer have access to a resource for 
60 example if a file was copied from a Samba file server to a local 
61 NTFS partition.  Any files stored on the Samba server itself will 
62 continue to be accessible because Unix stores the Unix gid and not 
63 the SID for authorization checks.
65 A further example will help illustrate the change.  Assume that a 
66 group named 'developers' exists with a Unix gid of 782 but this 
67 user does not exist in Samba's group mapping table. it would be 
68 perfectly normal for this group to be appear in an ACL editor.  
69 Prior to 3.0.23, the group SID might appear as 
70 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the 
71 group SID would be reported as S-1-22-2-782. Any security 
72 descriptors associated with files stored on an NTFS disk partition 
73 would not allow access based on the group permissions if the user 
74 was not a member of the 
75 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this 
76 group SID not reported in a user's token is S-1-22-2-782, Windows 
77 would fail the authorization check even though both SIDs in some 
78 respect referred to the same Unix group.
80 The current workaround is to create a manual domain group mapping 
81 entry for the group 'developers' to point at the 
82 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
85 Passdb Changes
86 ==============
88 The "passdb backend" parameter no long accepts multiple backends 
89 in a chaining configuration.  Also be aware that the SQL and XML 
90 based passdb modules have been removed in this release.  More 
91 information of external support for a SQL passdb module can be 
92 found at http://pdbsql.sourceforge.net/.
95 Group Mapping Changes
96 =====================
98 The default mapping entries for groups such as "Domain Admins" are 
99 no longer created when using an smbpasswd file or a tdbsam passdb 
100 backend.  This means that it is necessary to use 'net groupmap 
101 add' rather than 'net groupmap modify' to set these entries.  
102 This change has no effect on winbindd's IDmap functionality for 
103 domain groups.
106 LDAP Changes
107 ============
109 There has also been a minor update the Samba LDAP schema file. A 
110 substring matching rule has been added to the sambaSID attribute 
111 definition.  For OpenLDAP servers, this will require the addition 
112 of 'index sambaSID sub' to the slapd.conf configuration file.  It 
113 will be necessary to run slapindex after making this change. There 
114 has been no change to actual data storage schema.
117 ######################################################################
118 Changes
119 #######
121 smb.conf changes
122 ----------------
124     Parameter Name                      Description       Default
125     --------------                      -----------       -------
126     acl group control                   Deprecated        No
127     add port command                    New               ""
128     change notify timeout               Changed Scope
129     dmapi support                       New               No
130     dos filemode                        Modified          No
131     enable asu support                  Changed default   No
132     enable core files                   New               Yes
133     enable privileges                   Changed default   Yes
134     enable rid algorithm                Removed
135     fam change notify                   New               Yes
136     hosts equiv                         Removed
137     host msdfs                          Changed default   Yes
138     msdfs root                          Changed default   Yes
139     open files database hash size       New               10007
140     passdb expand explicit              Changed default   No
141     strict locking                      Changed default   auto
142     usershare allow guests              New               No
143     usershare max shares                New               0
144     usershare owner only                New               Yes
145     usershare path                      New               ${lockdir}
146     usershare prefix allow list         New               ""
147     usershare prefix deny list          New               ""
148     usershare template share            New               ""
149     winbind enum users                  Changed default   No
150     winbind enum groups                 Changed default   No
151     winbind nested groups               Changed default   Yes
152     winbind offline logon               New               No
153     winbind refresh tickets             New               No
154     winbind max idle children           Removed
155     wins partners                       Removed
158 Changes since 3.0.23rc3
159 -----------------------
161 commits
162 -------
163 o   Jeremy Allison <jra@samba.org>
164     * BUG 3858: Ensure that all files are removed by a wildcard 
165       delete when 'hide unreadable = yes'.
166     * Fix various issues raised by the Klocwork code analyzer.
167     * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b> 
168       query reply ("enhanced browsing = yes").
169     * Fix SMB signing failures in client tools.
170     * BUG 3909: Avoid EA lookups on MS-DFS links.
173 o   Nicholas Brealey <nick@brealey.org>
174     * Compile fix for pam_winbind.
177 o   Gerald (Jerry) Carter <jerry@samba.org>
178     * Use system provided killproc() in RedHat init scripts for 
179       more robust shutdown.
180     * Fix a crash in the printer publishing code when adding a 
181       new printer via the APW.
182     * Fix broken compile of unsupported smbwrapper utility.
183     * BUG 3905: Fix smbd startup failure caused by a failure to
184       create an NT token for the guest account.
185     * BUG 3908: Fix RPC bind authentication failure which broke
186       user password changes.
189 o   Guenther Deschner <gd@samba.org>
190     * Fix different extended_dn handling in adssearch.pl
191       (Thanks to Frederic Brin at Novell).
192     * Fix a memleak in winbindd's credentials cache.
195 o   Volker Lendecke <vl@samba.org>
196     * Fix a memleak in the server registry code for enumeration 
197       shares.
198     * Fix an niavlid munlock call in winbindd's credentials cache.
201 o   Jason Mader <jason@ncac.gwu.edu>
202     * Compiler warning fixes.
205 Changes since 3.0.22
206 --------------------
207 o   Jeremy Allison <jra@samba.org>
208     * Fixes for various Klocwork defect reports.
209     * Cleanup pdb_get_XXX() methods and ensure that a failure
210       to allocate memory for a samu user structure is reported 
211       as a failure to the calling function.
212     * Fix memleak in printing gencache contents.
213     * Fix warnings reported by gcc4 -O6 on 64-bit systems 
214     * Fix naming conflicts with 'net usershare' structures and 
215       Solaris header files.
216     * Fix memleaks on error paths from the ASN.1 parsing code.
217     * Add uid to share_mode_entry structure so we can report who 
218       opened the file.
219     * Ensure we use sys_write in password chats so we're not 
220       interrupted.
221     * Ensure all new rid allocation goes through the same pdb_ldap 
222       interface.
223     * BUG 3308: Stop us returning duplicate mid replies on path 
224       based set-EOF trans2 calls.
225     * Pass RAW-OPLOCK with kernel oplocks off.
226     * Fix bug in OS/2 Warp - it doesn't set the ff_last offset 
227       correctly when doing info level 1 directory scans.
228     * Add Samba4 replacement for timegm() to work on Solaris.
229     * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
230     * BUG 3592: Ignore a file in the tar output from smbclient if the 
231       read failed (e.g. due to ACCESS_DENIED).  (Based on ideas from
232       Justin Best <justinb@pdxmission.org>).
233     * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
234     * Push/Pull Kerberos principal and realm names to/from UTF-8.
235     * Fix incorrect boolean in assert to make POSIX lock tests
236       pass with CIFSFS.
237     * Don't ever set O_SYNC on open unless "strict sync = yes".
238     * Remove dead printing code.
239     * Allow configurable guest access to Samba's usershare functionality.
240     * BUG 3587: Make byte-range locking tdb self-cleaning.
241     * Ensure every exit error path in the session setup code calls 
242       nt_status_squash().
243     * Use portable wrapper functions instead of seteuid directly in 
244       winbindd.
245     * Make "change notify timeout" a per-share parameter.
246     * Fix regression in SAMBA_4_0's smbtorture DENY tests.
247     * Fix valgrind-spotted issue in BASE-DELETE test.
248     * Fix early termination condition in winbindd when trying to 
249       connect to a remote DC.
250     * Instruct winbindd to ignore fd_set when select() returns -1.
251     * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
252       with select returning true but no data being available.
253     * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by 
254       Andrew Tridgell).
255     * BUG 3467: Fix delete on close semantics needed by WinXP Media 
256       Center Ed. for simultaneous recording and playback (thanks to 
257       Jason Qian for the debugging assistance).
258     * BUG 3347: Save the Unix user token used to set the 
259       delete-on-close flag.
260     * Fix parsing of SAMR_Q_CONNECT_ANON.
261     * Add in support for userinfo26 structure and re-enable 
262       userinfo25 
263     * Schannel server fixes.  Fix the credentials chaining across 
264       \netlogon pipe disconnects.
265     * Replace ubqix code in nmbd with an internal tdb.
266     * Fix struct timespec checks in configure.in.
267     * Add in server support for the NetSamLogonEx().
268     * Add support for LsaLookupSids2() and LsaLookupSids3().
269     * Add LsaLookupNames[2-4]().
270     * Add support for 'net usershare'.
271     * BUG 3522: Fix error code return on SMBmkdir(foo) when foo 
272       already exists (thanks to Sandeep Tamhankar).
273     * BUG 3510: Fix 'net rpc join' against a server when 
274       schannel is disabled.
275     * Get rid of poor errno mapping table. Bounce through NTSTATUS 
276       instead.
277     * Check for SeMachineAccountPrivilege when deleting machine 
278       accounts.
279     * Fix a logic bug with multiple oplock contention.
280     * Add the replacements for opendir/readdir etc from SAMBA_4_0.
281       Attempt to fix the broken directory handling in the *BSD.
282     * Allow run time tuning of the locking tdb hash size for
283       very busy servers.
284     * BUG 3642: Ensure we don't call FD_SET on read with 
285       fd == -1.
286     * BUG 3569: Work around linear posix locking issue on AIX
287       which was causing high loads due to the tdb CLEAR_IF_FIRST
288       flag (based on work from William JoJo).
289     * Fix OS/2 directory delete bug found by kukks.
290     * Match the Windows 2003 NTLMSSP signature.
291     * Performance tuning work in core read & write file serving 
292       paths.
293     * Change default to 'strict locking' to better reflect 
294       real world clients.
295     * Fix error return on session setup. Ensure no data blob is 
296       added if the logon call failed so that Windows clients 
297       interpret the NT_STATUS code correctly.
298     * Teach Samba the difference between exclusive and batch 
299       oplocks.
300     * BUG 3592: Ignore a file in a smbtar output if the first 
301       read fails (inspired by Justin Best).
302     * BUG 3668: Workaround Windows bug with LARGE_READX where if 
303       you ask for exactly 64k bytes it returns 0.
306 o   Andrew Bartlett <abartlet@samba.org>
307     * Work around abort() in the OpenLDAP client libs caused by a NULL 
308       msg pointer.
311 o   Timur Bakeyev <timur@com.bat.ru>
312     * BUG 2961: Fix compile warnings for pam_smbpass.
313     * BUG 2746, 3763: Fix compile warnings in pam_winbind.
316 o   Alexander Bokovoy <ab@samba.org>
317     * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
318     * Fix absolute symlinks in the installbin.sh script.
321 o   Max N. Boyarov <m.boyarov@sam-solutions.net>
322     * Fix crash bug in perfmon daemon example code.
325 o   Gerald (Jerry) Carter <jerry@samba.org>
326     * Fix 'make install' problem when building outside source/.
327     * Fix 'net ads join' when the workgroup is set incorrectly in 
328       smb.conf.
329     * Re-add code to include the BUILTIN\Administrators SID when
330       winbindd is not running, but the user's token includes the 
331       Domain Admin SID.  Fixes access problem for managing Services.
332     * Only call the printer publishing calls if 'security = ads'.
333     * Normalize printing keys when deleting.
334     * Only store LANMAN passwords on a change if 'lanman auth = yes'.
335     * Look at the NT password (not lanman one) when determining if 'smbpasswd 
336       -e' should probably for a password.
337     * Default eventlog tdbs to mode 0660 to allow easier access by 
338       BUILTIN\Administrators.
339     * Remove extra call to create_user on member servers without winbindd.
340     * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating 
341       AD DC's with out own DNS SRV queries.
342     * Fix compile error on HP-UX reported by Ryan Novosielski.
343     * Rewrite 'net ads join' to share common code with 'net rpc join' 
344       and behave more like a Windows XP client.
345     * Remove --with-ldapsam option from configure (only used for 
346       backwards compatibility for 2.2 smb.conf files).
347     * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
348     * Remove rhosts authentication module.
349     * Reimplement 'net ads leave' to disable the machine account in the 
350       domain rather than removing it.
351     * Rewrite of tdbsam file descriptor handling.
352     * Add server affinity support when selecting a remote 
353       domain controller.
354     * Remove chaining of passdb modules.
355     * Generate a local users primary group SID based on his 
356       or her primary Unix group rather than storing the attribute 
357       in the passdb entry.
358     * Default primary group SID to 'Domain Users' if the real Unix 
359       primary group maps to the S-1-22-2 domain.
360     * Refactor memory management in passdb user objects.
361     * RHEL and Fedora packaging fixes.
362     * Implement XcvDataPort() spooler call and supporting 'add 
363       port command'.
364     * BUG 3534: Ignore lines in the username map file with no right 
365       hand list.
366     * Add support for the experimental %(DomainSID) smb.conf 
367       variable.
368     * Add support for parsing SIDs in smb.conf value lists.
369     * Fix vuid allocation in Kerberos SMBsessetup reply. 
370     * Ensure that local group membership is included in the 
371       getgroups() NSS reply.
372     * Automatically create a BUILTIN\{Administrators,Users} if
373       winbindd is running.
374     * Automatically grant all privileges to members of the local 
375       Administrators group.
376     * Protect against NULL cli_state* pointers in 
377       cli_rpc_pipe_open().
378     * Add a SUBSTR matching rule the the Samba LDAP schema 
379       file for the sambaSID attribute.  This will allow for 
380       Searching group mapping entries within a given domain
381       without reorganizing the directory namespace.  Also 
382       requires 'index sambaSID sub' in slapd.conf.
383     * Fix parsing of 'idmap uid/gid' values that broke when
384       the range included any whitespace.
385     * Support renaming local groups (protect against renaming 
386       BUILTIN groups).
387     * Do not allow the root account to be deleted via MS-RPC.
388     * Fix RID allocation to skip over RIDs that resolve in our
389       own domain (work around upgraded users and groups).
390     * Store the name/ip address combination when we do a reverse 
391       look up in case future forward lookups would fail.
392       Fixes cases where a DC name could not be resolved via 
393       NetBIOS queries,
394     * Allow winbindd to run on standalone servers in order to
395       provide support for local groups.
396     * Deprecate 'acl group control' and replace it with added 
397       functionality to 'dos filemode'.
398     * Ensure that all global memory is freed from pam_winbind 
399       when unloading the shared library (based on work from Arkady 
400       Glabek).
401     * Fix 32-bit/64-bit portability issues between PAM & NSS winbind 
402       libraries and winbindd.
403     * Add defensive checks about create local accounts (i.e. calling
404       'add user script') on domain member servers when winbindd
405       is running but having problems.
408 o   Mathias Dietz <MDIETZ@de.ibm.com>
409     * EPERM can be a valid return from getting an xattr. 
410       Don't disable if we get it.
413 o   Guenther Deschner <gd@samba.org>
414     * Fix memleaks in winbindd ads searches.
415     * Fix timestamp bug in pam_winbindd which forced users to change
416       passwords prematurely.
417     * Small debug message cleanups.
418     * Small fixes for 'net ads password'.
419     * BUG 3843: Allow to set passwords directly when creating users 
420       via "net rpc user add" 
421     * Add "rpc shell" to the usage text for the net command.
422     * Winbindd user aliases lookup fixes for large domains.
423     * Fix memleak in the CLDAP processing code.
424     * Enable AD features in winbindd's PAM support only when 
425       communicating with an AD domain controller.
426     * Set our internal domains to "online" by default in winbindd.
427     * BUG 3800: Fill the password_policy method in winbindd for 
428       winbindd_passdb.
429     * Fix memory leak when LDAP POSIX attribute queries fail.
430     * Honor the krb5 principal name change (of the new ads join code) 
431       in the kerberized winbind pam_auth.
432     * Correctly handle the case when there is no configuration file 
433       for pam_winbind.
434     * Adding "own-domain" switch to wbinfo which is handy from time 
435       to time.
436     * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
437     * Fix winbindd group enumeration for groups with no members.
438     * Correct "net ads changetrustpw" to use the sAMAccountName.
439     * Fix winbindd in ADS domains by removing code using the 
440       UPN and rely upon the sAMAccountName.
441     * Fix a eDir related memory leak.
442     * Don't try to add the sn attribute twice to an LDAP 
443       inetOrgPerson + samSamAccount entry.
444     * Fix winbind function table typo.
445     * Attempt to send the correct warning from pam_winbind when a password 
446       change was attempted too early.
447     * Don't use cached credentials when changing passwords.
448     * Correctly disallow unauthorized access when logging on with the
449       kerberized pam_winbind and workstation restrictions are in effect.
450     * Save useless round trips in pam_winbind's auth calls.
451     * Make the existence of the /etc/security/pam_winbind.conf file
452       non-critical and fallback to only parse the argv options in that 
453       case.
454     * Add winbind debug class to the main winbindd process.
455     * Be consistent between rpc and ads winbind backend: let the 
456       ads backend query the samlogon cache first as well.
457     * Ignore BUILTIN groups when searching AD for group memberships.
458     * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
459     * Cleanup credential caches from winbind's linked list.
460     * Fix 'winbindd -n' for new persistent caches.
461     * Fix searching by SID in winbindd.
462     * Add "smbcontrol winbind onlinestatus" for debugging purpose.
463     * Prefer to use the indexed objectCategory attribute (instead of
464       objectClass which is not indexed on AD) in LDAP queries.
465     * Free LDAP result in ads_get_attrname_by_oid().
466     * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
467     * Prevent passwords of winbindd's list of credential caches from 
468       being swapped to disk using mlock().
469     * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to 
470       support the plain posix attributes LDAP schema from win2k3-r2
471       (based on patches from Howard Wilkinson and Bob Gautier).
472     * Add more robust code for fallback when lookup_usergroups() fails.
473     * Fix 'net rpc join' for winbindd running on a Samba DC.
474     * Add help text for new 'net rpc audit' utility.
475     * Add net ads search SID.
476     * samrQueryDomainInfo level 5 should return the domain name, not our 
477       netbios name when we are a DC.
478     * Add some more client rpc for the querydominfo calls (from samba4 idl).
479     * Process all the supported info levels in the samr_query_domain_info2 
480       call.
481     * Wrap the samr_query_domain_info2() call around 
482       samr_query_domain_info().
483     * Fix segv in smbctool.
484     * Honour the time_offset also when verifying Kerberos tickets.
485     * Prevent unnecessary longstanding LDAP connection to eDirectory.
486     * Fix segv in smbspool.
487     * BUG 1914: Allow to store 24 password history entries in ldapsam.
488     * Enhancements to various commands in rpcclient 
489     * Don't force 'Administrator' to change an expired password on 
490       logon.
491     * Add support for offline mode in winbindd.
492     * Provide support in pam_winbind for initializing a user's 
493       ticket cache.
494     * Implement samr_chgpasswd_user3 server-side.
495     * Make pam_winbind more robust when detecting domain users.
496     * Add client side support for SAMR_GET_USRDOM_PWINFO.
497     * Re-enable strict checking on C++ reserved keywords since Heimdal 
498       0.7.2 has been released.
499     * Allow renaming of machine accounts in a Samba domain.
500     * BUG 3539: Let winbindd try to obtain the gecos field from 
501       the msSFU30Gecos attribute when "winbind nss info = sfu" is 
502       set. 
503     * Correctly handle acb_info/acct_flags as uint32 not as uint16.
504     * Return the real ACB-flags in the SamLogon() reply.
505     * Some client side cleanup for the samr set security object 
506       functions.
507     * Make sure we always reset the userAccountControl bits when 
508       re-joining (net ads join) with an existing account.
509     * Document some more MSV1_0 bits and their behavior.
510     * Only set the last rebind timestamp when we did rebind 
511       after a update LDAP operation to avoid the ldap replication 
512       sleep period.
513     * Fix incorrect error checking in winbindd for domains with 
514       no trusts.
515     * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3 
516       structure.
517     * Work around crash bug in MIT krb5 libs when reading a 
518       keytab file.  Stop trying to decrypt a ticket as soon as 
519       we have a clear indication that the ticket is bad.
520     * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
521     * Adding client side samr querygroup infolevels 2 & 5.
522     * Make smbpasswd -a root work for eDirectory where there 
523       is no "account" structural objectclass.
524     * Make sure we only send out a CLDAP request (net ads) to 
525       an connected AD server.
526     * Fix a broken LDAP search filter when looking for groups.
527     * Add in-tree version of iniparser library from 
528       http://ndevilla.free.fr/iniparser/ for use by pam_winbind
529       (rather than linking in loadparm.c).  Settings are now stored
530       in /etc/security/pam_winbind.conf.
533 o   Aleksey Fedoseev <fedoseev@ru.ibm.com>
534     * Fix parameter type for 'acl compatibility'.
535     * Fixes for msgtest torture tool.
536     * Fix crash bug in the file locking code.
539 o   Arek Glabek <aglabek@centeris.com>
540     *  Fix parsing error on input parameters in eventlogadm.
543 o   Paul Green <paulg@samba.org>
544     * Properly rebuild time limit on systems with executable extensions.
545     * Fix build on platforms that do not support shared libs.
546     * Remove dead code in the auth_script module. 
549 o   Bjoern Jacke <samba@j3e.de>.
550     * Fix DMAPI compile failures on AIX and True64.
551     * Fix AIX PIC suffix (use .o instead of .po).
552     * Fall back to less-preferred clocks until we find one that we 
553       can use if clock_gmtime() is not available at run-time.
554     * Fix EA support on AIX platforms.
555     * Automatically disable file shares with no explicit path set.
556     * Remove the local hack to set the RO bit on directories in 
557       user profiles when profile acls = yes.  Rely on EAs instead.
558     * Compile fixes for Solaris LDAP client libs.
559     * Add DMAPI/XDSM support for AIX.
560     * Find JFS DMAPI libs on Linux when only they are available.
563 o   William Jojo <jojowil@hvcc.edu>
564     * Fixes for the winbind NSS library on AIX.
565     * Fix VFS builds on AIX platforms.
566     * Fixes for the AIX version of libnss_winbind.so
569 o   Leonid Kabanov <lkabanov@mail.ru> 
570     * BUG 3711: Shell portability fixes for 'make test'.
573 o   Volker Lendecke <vl@samba.org>
574     * Fixes for various Klocwork defect reports.
575     * Fixes for various Coverity defect reports.
576     * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
577     * Fix more potential seg-faults when something on our way to a 
578       DC connection fails.
579     * Never fall back to using the IP address for a DC's name in RPC 
580       connections.
581     * Implement recycle:subdir_mode.
582     * Activate RPC-AUTHCONTEXT in "make test".
583     * Portability fixes for 'make test'.
584     * Correctly set the group RID in init_sam_from_buffer.
585     * Fix missing prompt in smbclient.
586     * Return correct error code upon success from _net_srv_pwset().
587     * Fix Windows XP joins to a Samba domain.
588     * Fix 'valid users = +unixgroup' which was failing with smbpasswd
589       when mapped to a non-algorithmic rid.
590     * Fix regression which upper-cased machine names passed to the
591       'add machine script'.
592     * Correct parsing error in parse_net.c for user's with no group
593       membership.
594     * Fix off by one error in client SPNEGO code and other klocwork
595       bug fixes.
596     * Memory leak fixes in 'net sam'.
597     * BUG 3720: Fix uninitialized error return variable.
598     * Default "passdb expand explicit" to no.
599     * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
600     * Fix user NT token creation when utilizing a username map.
601     * More coverity fixes.
602     * Fix a VUID bug in 'security = share'.
603     * Correctly fill in the gid for local users.
604     * Fix some warnings on True64.
605     * Add special close handling for fake files.
606     * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
607     * BUG 3435: Fix 'msdfs root = yes' in [homes].
608     * Instruct winbindd to find a trusted DC on its own when running on 
609       a Samba DC.
610     * Fix segv in child winbindd processes caused by a failed tconX 
611       to the DC.
612     * Dynamically compute the maximum password age based no the 
613       last change time rather than reading the must change time 
614       from the passdb record.
615     * Rewrite mechanisms for handling lookup_{name,sid} resolution.
616     * Assign unmapped users to the S-1-22-1 domain and unmapped 
617       groups to the S-1-22-2 domain
618     * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
619     * Remove sql passdb backends.
620     * Implement rpccli_samr_set_domain_info()
621     * Add initial support for 'net sam' command.
622     * BUG 2413: Remove anonymous connections in 'net rpc info'.
623     * Implement asynchronous support for trans2 calls.
624     * Make smbclient -L use RPC to list shares, fall back to RAP.
625     * Ensure that the global SAM SID is initialized before any
626       dependent routines are called.
627     * Enhance consistency checks on local configuration when joining
628       a domain.
631 o   Derrell Lipman <derrell@samba.org>
632     [libsmbclient]
633     * BUG 3814: Only set the DFS capability flag in client requests
634       if the share is a DFS root.
635     * Fix bug causing previous settings to be re-initialized 
636       when parsing new configuration files.
637     * BUG 3446: Don't ignore the authentication domain when parsing 
638       the SMB URI.
639     * Fix cli_setpathinfo() to actually do what it's supposed to.
640     * Fix libsmbclient to make correct use of the new "one connection
641       per server feature".
644 o   Jason Mader <jason@ncac.gwu.edu>
645     * Numerous compiler warning fixes.
648 o   John E. Malmberg <wb8tyw@qsl.net>
649     * Make smbldap obey config tests.
652 o   Jim McDonough <jmcd@us.ibm.com>
653     * Fixes for 'make test' on AIX.
654     * Ensure we do a wildcard search for SID's starting with the global SAM 
655       sid, not an exact search (from John Janosik).
656     * Adapt smbclient fix to smbtree to enable long share names.
657     * Prevent machines and users with no home directory from 
658       getting the previous entries home path when migrating via 
659       'net rpc vampire' (based on a patch from Richard Renard).
660     * Remove hard-coded LDIF names when dumping a migrated 
661       domain's users and groups.
662     * BUG 1374: Can't join an OU with name that contains '#'.
665 o   Stefan Metzmacher <metze@samba.org>
666     * Add more tests to 'make test'.
667     * Try to make timelimit.c more portable.
668     * Fix linking of smbmount tools with --enable-socket-wrapper.
669     * Pass 'target:samba3=yes' to samba4's smbtorture when running 
670       samba3's make test.
671     * Miscellaneous fixes for 'make test'.
672     * Add improved support for 'make test' including making 
673       use of smbtorture from SAMBA_4_0.
674     * Add --no-process-group to all server programs 
675       (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
676     * Add configure tests --with-selftest-prefix=/tmp/samba-test
679 o   Lars Müller <lmuelle@samba.org>
680     * Fix lock calls in the python tdb bindings.
681     * Add -k switch to tdbdump for accessing a single key.
682     * Debian packaging fixes.
683     * Add -t|--password-from-stdin option to pdbedit as we had 
684       with Samba 2.2.
685     * Various minor fixes to install scripts used by 'make install'.
688 o   James Peach <jpeach@sgi.com>
689     * Ensure smbclient always prompts on standard output when in
690       interactive mode.
691     * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
692     * Introduce command line options to set the remainder of the 
693       parameters in dynconfig.c.
694     * Avoid pulling in -lpthreads caused by -lrt.
695     * Fix build failures on IRIX 6.4 due to DMAPI support.
696     * Isolate the slow CLOCK_REALTIME message in the profiling code.
697     * Correct comparison logic so that libunwind can be correctly detected.
698     * Implement a "stacktrace" smbcontrol option using libunwind's remote
699       stack tracing support (ia64 only).
700     * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
701       of long group lists.
702     * New autoconf macro to test for sysconf variables.
703     * Change profiling data macros to use stack variables rather than
704       globals. This catches mismatched start/end calls and removes
705       the need for special nested profiling calls.
706     * Rewrite AC_LIBTESTFUNC so that it works like the callers
707       of it expect.
708     * Use clock_gettime for profiling timstamps if it is available. Use
709       the fastest clock available on uniprocessors.
710     * Preserve errno in fcntl lock wrappers.
711     * Initialize our saved uid and gid so that we can tell when we 
712       created the profiling shmem segment and don't bogusly refuse to 
713       look at it.
714     * Add a new option "enable core files" which can be used to disable 
715       automatic core file dumping. 
716     * Update our internal copy of popt to that distributed with the RPM 
717       4.2 source code.
718     * Add support for FAM for file change notification.
719     * Disable sendfile if the 'write cache;' has been enabled.
720     * Refactor capability interface from being IRIX-specific to 
721       using only the POSIX interface.
722     * Consolidate core dumping code to aid in debugging.
723     * Add support for libunwind to generating a backtrace.
724     * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
725       and --without-ads are specified.
726     * Allow the user to set winbind nss timeouts in seconds on IRIX.
727     * Set the FILE_STATUS_OFFLINE bit by observing the events 
728       a DMAPI-based HSM is interested in.
731 o   Tim Potter <tpot@samba.org>
732     * Build janitorial duties.
733     * BUG 3725: Put references to $PICFLAGS in quotes.
736 o   Aruna Prabakar <aruna.prabakar@hp.com>
737     * Show -W option in smbpasswd usage text.
740 o   ISHIKAWA Tomonori <toishika@fsi.co.jp>
741     * BUG 2715: Fix nmbd datagram comment buffer size for multibyte 
742       character strings
745 o   Andreas Schwab
746     * Correct syntax error in aclocal.m4.
749 o   Simo Sorce <idra@samba.org>
750     * Pam modules install fix.
751     * Allow "net changesecretpw" to accept a password via stdin.
752     * Implement 'net setdomainsid' command.
753     * Ensure that sid -> group conversion are done as root.
754     * BUG 3413: Sanity check for existence of 'ldap admin 
755       dn' before setting a password in secrets.tdb (based on
756       work by William Jojo).
757     * New revision of the snprintf replace code.
760 o   Todd Stecher <tstecher@isilon.com>
761     * Add TCP fallback for our implementation of the CHANGEPW 
762       kpasswd calls.
765 o   Ronan Waide <waider@waider.ie>
766     * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam() 
767       functionality.
770 o   Shlomi Yaakobovich <Shlomi@exanet.com>
771     * Fix for machine password time_t overflow.
774 Release Notes for older release follow:
776       --------------------------------------------------
777                    ==============================
778                    Release Notes for Samba 3.0.22
779                             Mar 30, 2006
780                    ==============================
782 This is a security release of Samba. The Samba 3.0.21 release 
783 series (including the patch releases a through c) has been 
784 discovered to expose the clear text of the server's machine 
785 account credentials in the winbind log files when the log 
786 level is set to 5 or higher.  This defect has been assigned 
787 the CVE number CAN-2006-1059.
789 Summary
790 =======
792 The machine trust account password is the secret shared
793 between a domain controller and a specific member server.
794 Access to the member server machine credentials allows
795 an attacker to impersonate the server in the domain and 
796 gain access to additional information regarding domain 
797 users and groups.
799 The winbindd daemon included in Samba 3.0.21 and subsequent
800 patch releases (3.0.21a-c) writes the clear text of server's
801 machine credentials to its log file at level 5.  The winbindd
802 log files are world readable by default and often log files
803 are requested on open mailing lists as tools used to debug
804 server misconfigurations.
806 This affects servers configured to use domain or ads security
807 and possibly Samba domain controllers as well (if configured
808 to use winbindd).
810 =======
812       --------------------------------------------------
814                    ===============================
815                    Release Notes for Samba 3.0.21c
816                               Feb 24, 2006
817                    ===============================
819 Common bugs fixed in 3.0.21c include:
821   o Access checks when deleting printer driver meta-data.
822   o Several non-default combinations schannel and SPNEGO support.
823   o Password changes with NT4 and Win2k pre-SP4 clients.
824   o High load issues on IRIX caused by a bug when interfacing 
825     with kernel oplocks.
828 ######################################################################
829 Changes
830 #######
832 Changes since 3.0.21b
833 ---------------------
835 commits
836 -------
837 o   Michael Adam <ma@SerNet.DE>
838     * Add popt to the include path for examples/VFS.
841 o   Jeremy Allison <jra@samba.org>
842     * Fix bug in the USC2 macros on big-endian CPUs.
843     * Filter deleted oplocks from the output of smbstatus.
844     * Remove invalid test check_for_pipe().
845     * BUG 3515: Fix kernel oplock support on IRIX.
846     * BUG 3522: Fix return value for mkdir request when the directory
847       already exists.
848     * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna 
849       Vinschen).
850     * BUG 3330: Fix username parsing in Kerberos PAC (based on work 
851       by Guenther).
852     * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto" 
853       resulting in a client disconnect after negprot.
854     * BUG 3510: Fix 'net join' against a server with client schannel 
855       disabled.
856     * Fix negprot bug causing a 2k client with cached domain 
857       credentials to refuse to connect to a standalone Samba host.
858     * Ensure that the correct error is checked when encountering a 
859       socket error (fixes crashes in winbindd).
862 o   Andrew Bartlett <abartlet@samba.org>
863     * Fix domain joins from NT4 clients and password changes.
866 o   Richard Bollinger <rabollinger@gmail.com>.
867     * Compile fix in pdbedit.
870 o   Gerald (Jerry) Carter <jerry@samba.org>
871     * Break RHEL/Fedora packaging out to include a samba-docs rpm.
872     * Remove use of /var/cache/samba from RHEL/Fedora packaging.
873     * Fix bug in loadparm.c that caused builtin services to be also
874       listed as external services (e.g. Spooler, NETLOGON, etc..).
875     * Fix bug in the samr dispinfo enumeration code.
876     * Add earlier checks to deny deleting a printer driver meta-data.
879 o   Guenther Deschner <gd@samba.org>
880     * Add Account Policy LDAP attributes for eDirectory schema.
883 o   William JoJo <jojowil@hvcc.edu>
884     * BUG 1870: Make nmblookup do a node status on all IP's when 
885       requested.
886     * BUG 2353: Fix clitar -F processing.
889 o   Volker Lendecke <vl@samba.org>
890     * Fix the build for --with-aio-support.
891     * Fix remote password changing if password must change is set.
892     * Fix rpcclient to obey the -W parameter.
893     * Fix segv in smbmount and the profiles tool.
894     * Fix typo in pdbedit help text (reported by Karolin Seeger).
897 o   Vladimir Lettiev
898     * Honour the $(DESTDIR) Makefile variable when installing 
899       Python extensions.
902 o   Jason Mader <jason@ncac.gwu.edu>
903     * Compiler warning fixes.
906 o   Lars Müller <lmuelle@samba.org>
907     * Fix python build with older python versions.
908     * Update dhcp.conf files in Debian packaging
909     * SWAT welcome file updates
910     * Compiler warning fixes.
911     * Add .2 to the SONAME as version suffix if we link the nss 
912       modules on linux.
913     * Add -t|--password-from-stdin option to pdbedit.
916 o   James Peach <jpeach@sgi.com>
917     * Continue not enabling valgrind on 64-bit Linux.
920 o   Tim Potter <tpot@samba.org>
921     * Remove unused #defines.
924 o   Simo Sorce <idra@samba.org>
925     * Debian packaging updates.
928 o   Qiao Yang <qyang@stbernard.com>
929     * Make sure to refresh the timestamp on entries in the failed 
930       connection code in winbindd.
933       --------------------------------------------------
934                    ===============================
935                    Release Notes for Samba 3.0.21b
936                               Jan 30, 2006
937                    ===============================
939 Common bugs fixed in 3.0.21b include:
941   o Server crashes in smbd.
942   o Compile issues on 64-bit platforms.
943   o Crash bugs on big-endian systems.
944   o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
945   o Over 30 bugzilla reports closed.
948 ######################################################################
949 Changes
950 #######
952 Changes since 3.0.21a
953 ---------------------
955 commits
956 -------
957 o   Jeremy Allison <jra@samba.org>
958     * Fix the SAMR cache across handles opens and closes.
959     * Re-add the talloc_describe_all() function for reporting pool 
960       usage.
961     * Merge talloc license change from Samba 4.
962     * Fix 64-bit compile warnings reported by gcc.
963     * Add the share path into the sharemode db. 
964     * Consistency fixes: Remove use of uint8_t -> uint8.
965     * BUG 3346: Fix crash bug in big-endian boxes by linearizing 
966       structure when passing through the messaging API.
967     * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to 
968       Luke Deller).
969     * Force smbd to exit if the guest account internal setup fails.
970     * BUG 3419: vfs_full_audit fixes for multiple connections.
971     * Ensure SWAT lists running processes.
972     * Fix NTLMv2 interoperability bug between Samba servers.
973     * Oplock break logic fixes.
976 o   Andrew Bartlett <abartlet@samba.org>
977     * BUG 3401: Fix crash bug caused by incorrect handling of weak 
978       session keys.  Based on original patch from Yau Lam Yiu.
981 o   Alexander Bokovoy <ab@samba.org>
982     * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from 
983       Samba TNG code).
986 o   Stefan Burkei <stefan@burkei.de>
987     * BUG 3248: When doing auth_crap authentication use the client 
988       given workstation name not our own.
991 o   Gerald (Jerry) Carter <jerry@samba.org>
992     * Fixing net rpc registry enumerate from overwriting the open 
993       subkey handle.
994     * BUG 3380: fix crash when changing printer drivers.
995     * BUG 3391: ensure we can lookup account policies for failed 
996       logons.
997     * Adding query/set ops for security descriptors on services.
998     * BUG 3329: Solaris packaging fixes.
999     * Better formatting for smbstatus output (based on patch from
1000       Adam Neilson).
1001     * Hook the max connections spin box in the share properties 
1002       MMC plug-in dialog to the 'max connections' smb.conf parameter
1003       and the 'modify share command' option.
1004     * Work around building libnss_winbind.so on Solaris when 
1005       --enable-developer is specified.
1006     * Add vendor patch level string to VERSION.
1007     * Consolidate packaging for RHEL4 and Fedora based on initial
1008       work by jht.  
1011 o   Albert Chin <@thewrittenword.com>
1012     * BUG 3374: Build failures on True64.
1015 o   Guenther Deschner <gd@samba.org>
1016     * Fill in samr_get_dom_pwinfo based on Samba4.
1017     * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
1018     * Fixes for adssearch.pl example script.
1019     * Prevent 'net rpc' from dumping clear text password at high log 
1020       levels unless built with DEBUG_PASSWORD.
1021     * Fix 'net ads user add' with a Windows 2003 SP1 DC.
1022     * Fix python build.
1023     * Fix segfault in pdb_nds.c.
1024     * Don't write null sid mappings into the winbindd_cache.tdb.
1025     * Save sid_to_name lookup result in winbindd already after doing 
1026       a successful name_to_sid.
1027     * BUG 3390: Fix segfault in "net rpc vampire|samdump".
1028     * BUG 1524, 3205: Support changing expired passwords in 
1029       pam_winbindd.
1030     * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
1031     * BUG 3264: Allow idmap_ad to load as 'ad'.  Cleanup the way 
1032       idmap modules are build and loaded, idmap_rid now will have 
1033       to be loaded without prefix, just "rid".
1034     * Prevent cli_krb5_get_ticket of getting into an infinite loop. 
1037 o   Andrew Esh <Andrew_Esh@adaptec.com>
1038     * BUG 1061: Fix nmbd to correctly the path to an lmhosts files 
1039       specified on the command line with -H.
1042 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
1043     * End profile fixes.
1044     * BUG 3348: Don't assume owning sticky bit directory means 
1045       write access allowed.
1046     * Fix double free in on failure path in POSIX acl code.
1049 o   Andriy Gapon <avg@icyb.net.ua>
1050     * BUG 3458: Fix crash bug in smbd and winbindd caused by 
1051       accessing freed memory.
1054 o   Björn Jacke <bj@sernet.de>
1055     * Configure check for Tru64 EA functions (not yet implemented).
1056     * Find Tru64 AIO lib in configure.
1057     * Cut-n-paste fixes in configure.in.
1060 o   John Janosik <jpjanosi@us.ibm.com>
1061     * IBM Tivoli Directory Server schema updates.
1064 o   Michael James <michael@james.st>
1065     * sid2string fix in adssearch.pl.
1068 o   William JoJo <jojowil@hvcc.edu>
1069     * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
1070     * BUG 3389: Failures on AIX in linking smbd when the symbol 
1071       table for ld exceeds 65536 bytes.
1072     * Add -W to smbpassword so that the ldap admin dn password does
1073       not have to be specified on the command line.
1074     * BUG 3408: Fix for external password change programs on AIX.
1075     * BUG 1779: 64-bit compile fixes.
1078 o   Martin Koeppe <mkoeppe@gmx.de>
1079     * BUG 3287: Match SFU behavior for dev/inode numbers.
1082 o   Volker Lendecke <vl@samba.org>
1083     * BUG 3291: Fix valgrind error in client connection code.
1084     * BUG 3292: Prevent smbclient from spinning if server terminates
1085       connection.
1086     * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient 
1087       connection alive smbclient.
1088     * Add lookupname to rpcclient query_user as a fallback, we now 
1089       accept both rid and username.
1090     * Introduce yet another copy of the string_sub function: 
1091       talloc_string_sub use by AFS token code in winbindd.
1092     * BUG 3351: pdb_mysql again overwrites password fields.
1093     * BUG 3384: Fix segv in tdbtool.
1094     * Use the same CFLAGS for generating the pch as we use to 
1095       actually compile.
1096     * Correct typo when compiling the vfs_catia module.
1097     * Fix automatic recreation of a new tdb sam file.
1100 o   Derrell Lipman <derrell@samba.org>
1101     [libsmbclient]
1102     * Fix parsing of file times (w_time and m_time were reversed).
1103     * Add additional libsmbclient test programs.
1104     * BUG 3336: Load networks interfaces in libsmbcliebt after parsing 
1105       the configuration files.
1106     * Avoid doing a NetBIOS name query for each server and workgroup 
1107       enumeration call.
1108     * Do not open connection when only looking for cached connection.
1109     * BUG 2651: Add option to log debug messages to stderr instead 
1110       of stdout.
1111     * Added flag to not request authentication information.
1112     * Enhancements to smbwrapper example code.
1113     * Replace smbwrapper call to dlopen(/lib/libc...) with direct 
1114       use of RTLD_NEXT.
1117 o   David May <mayd@cygnus.uwa.edu.au>
1118     * BUG 3329: Shell scripting portability fixes on 'make test'.
1121 o   Tony Mountifield <tony@softins.co.uk>
1122     * BUG 3327: fix bad access to gencache.tdb after fork() in 
1123       smbmount.
1126 o   Lars Müller <lmuelle@samba.org>
1127     * BUG 3264: Support backwards compatible setups using 
1128       'idmap backend = idmap_rid'.
1129     * Add %w macro for the winbind separator.
1130     * Convert net command to use stderr for error messages rather 
1131       than stdout.
1134 o   James Peach <jpeach@sgi.com>
1135     * Portability fixes in LDAP code.  Don't use non-static array 
1136       initializers.
1137     * Support the TCP_FASTACK socket option if it is available. 
1138     * Tell the MIPSPro compiler to push DEBUG calls out of line.
1141 o   Makr Proehl <m.proehl@science-computing.de>
1142     * BUG 1336: Print the server role when calling testparm in 
1143       non-verbose mode.
1146 o   Simo Sorce <idra@samba.org>
1147     * Crackcheck utility enhancement based on patch sent by 
1148       Tom Geissler.
1149     * BUG 3405: Fix segv in vfs_recycle module on platforms wither 
1150       mode_t is not 32-bits.
1153 o   John Terpstra <jht@samba.org>
1154     * RHEL/Fedora spec file patches.
1157       --------------------------------------------------
1158                    ===============================
1159                    Release Notes for Samba 3.0.21a
1160                               Dec 30, 2005
1161                    ===============================
1163 Common bugs fixed in 3.0.21a include:
1165   o Deadlocks when multiple users access an oplocked file 
1166     concurrently
1169 ######################################################################
1170 Changes
1171 #######
1173 Changes since 3.0.21
1174 --------------------
1176 commits
1177 -------
1178 o   Gerald (Jerry) Carter <jerry@samba.org>
1179     * RedHat 9 packaging Fixes.
1182 o   Guenther Deschner <gd@samba.org>
1183     * eDirectory schema syntax fixes.
1186 o   Volker Lendecke <vl@samba.org>
1187     * BUG 3349: Deadlock caused logic error in oplock code.
1189       --------------------------------------------------
1190                    ==============================
1191                    Release Notes for Samba 3.0.21
1192                             Dec 20, 2005
1193                    ==============================
1195 Common bugs fixed in 3.0.21 include:
1197   o Missing groups in a user's token when logging in via Kerberos
1198   o Incompatibilities with newer MS Windows hotfixes and 
1199     embedded OS platforms
1200   o Portability and crash bugs.
1201   o Performance issues in winbindd.
1203 New features introduced in Samba 3.0.21 include:
1205   o Complete NTLMv2 support by consolidating authentication
1206     mechanism used at the CIFS and RPC layers.
1207   o The capability to manage Unix services using the Win32 
1208     Service Control API.
1209   o The capability to view external Unix log files via the
1210     Microsoft Event Viewer.
1211   o New libmsrpc share library for application developers.
1212   o Rewrite of CIFS oplock implementation.
1213   o Performance Counter external daemon.
1214   o Winbindd auto-detection query methods when communicating with
1215     a domain controller.
1216   o The ability to enumerate long share names in libsmbclient 
1217     applications.
1220 ######################################################################
1221 Changes
1222 #######
1224 smb.conf changes
1225 ----------------
1227     Parameter Name                      Action
1228     --------------                      ------
1229     dfree cache time                    New
1230     dfree command                       Per share
1231     eventlog list                       New
1232     iprint server                       New
1233     map read only                       New
1234     passdb expand explicit              New
1235     rename user script                  New
1236     reset on zero vc                    New
1237     svcctl list                         Renamed from 'enable svcctl'
1241 Changes since 3.0.20b
1242 ---------------------
1244 o   Jeremy Allison <jra@samba.org>
1245     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
1246     * Added 'map readonly' parameter.
1247     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
1248       not defined.
1249     * Maintain schannel client session keys in volatile 
1250       $(privatedir)/schannel_store.tdb.
1251     * BUG 2769: Ensure we mangle filenames ending in a space
1252     * Catch corner case of renaming a symlinked directory into 
1253       itself
1254     * Ensure that smb.conf requests for hidden files are honored, 
1255       even when DOS attributes are stored in EA's
1256     * Add new auth method "auth_script" for calling an external 
1257       program
1258     * BUG 2152: Fix for mangled filenames when the client does 
1259       support long filenames
1260     * Rewritten implementation of client and server DCE/RPC infrastructure 
1261     * BUG 3192: Adds a "dfree cache time" parameter.
1262     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
1263       the S_IWGRP mask in the absence of a POSIX ACL.
1264     * Remove use of 'long long' in libsmbclient code.
1265     * Ensure the new canonicalize_servicename() in name/snum hash 
1266       is multi-byte safe.
1267     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
1268       Bakeyev.
1269     * BUG 3216: Put directory opens into the share mode db so we 
1270       can treat them similarly to file opens (delete on close, 
1271       share mode violations etc.).
1272     * Fix bug in name mangling code when case sensitivity is enabled.
1273     * Remove external dependencies from the sharemodes library.
1274     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
1275     * Don't misinterpret wild card characters in file names on disk
1276       as they are actually valid characters.
1277     * BUG 3223: Fix bug in account policy management when 
1278       account_pol.tdb settings have been migrating to an LDAP 
1279       backend.
1280     * Allow the hash size of the tdb open (locking) database to be 
1281       set in local.h.
1282     * Fix error code returns on client spoolss code.
1283     * Remove unneeded strncpy use.
1284     * Fix uninitialized variables warnings.
1285     * Cleanup smbcacls security descriptor parsing and error codes.
1286     * BUG 3224: Correctly use machine_account_name and client_name 
1287       when doing netlogon credential setup.  Fixes winbindd running 
1288       on a Samba PDC.
1289     * Backport Samba 4 time zone handling.
1290     * Fix core dump if setmntent() returns NULL.
1291     * Replace old crc32 code with one from the FreeBSD tree.
1292     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
1293     * Remove #define of close -> close_fn macro in libsmbclient.
1294     * Return early if -1 returned from *BSD EA call (reported by 
1295       Timur).
1296     * Name space cleanup by marking local functions static.
1297     * Move samr enumeration cache from per handle basis to a shared 
1298       cache.
1299     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
1300       OS/2 servers (based on patch from Guenter Kukkukk).
1301     * Ensure default applies to new files (reported by Thomas 
1302       Neumann).
1303     * BUG 3293: Use SMBecho to testing the server in client rather 
1304       than SMBchkpath.
1305     * Merge talloc fixes from Samba 4 branch.
1306     * Add support DCE/RPC cancel operation.
1307     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
1308       when using EA for DOS attributes.
1309     * Fix bug in returning remote time (reported by Thomas Bork).
1310     * No users or groups to return in BUILTIN domain.
1311     * Removed separate "builtin" search enumeration.
1312     * Added count_sam_aliases to return the correct alias count.
1313     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
1314       eDirectory when accessing the universal password.
1315     * Fix deadlock condition in share mode locking code.
1316     * Fix logic bug in unix_mask_match().
1317     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
1321 o   Rashid N. Achilov <shelton@granch.ru>
1322     * Add better service description names to the svcctl code.
1325 o   Timur Bakeyev <timur@com.bat.ru>
1326     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
1329 o   Andrew Bartlett <abartlet@samba.org>
1330     * Remove another ancient NTLMSSP implementation.
1331     * Allow machine account logons work if the client gives the 
1332       appropriate flags. 
1335 o   Alexander Bokovoy <ab@samba.org>
1336     * Add POSIX statvfs() to VFS api.
1339 o   Gerald (Jerry) Carter <jerry@samba.org>
1340     * Eventlog and ServiceControl support.
1341     * BUG 1051: store the directory path so we can send the full 
1342       name in the unlink call from smbclient.
1343     * Use reference count strategy for keeping the registry tdb 
1344       open.
1345     * Convert internal registry objects to new hierarchical talloc
1346     * Allow the root user a free pass for access checks in the
1347       registry and service control checks.
1348     * Sanity checks in the privilege code to prevent empty SID 
1349       entries
1350     * Add basic infrastructure for 'make test' when the socket 
1351       wrapper library is configured at compile time
1352     * Convert profiles utility to use the current regfio interface 
1353       for reading and writing user profiles
1354     * Remove netsamlogon_cache interface
1355     * Ensure that print jobs are removed even when the cancel 
1356       command is received before the print cache has been updated
1357     * Fix linking problem on Solaris when including ACL support.
1358     * Give root a free pass to open the eventlog tdb files.
1359     * Fix segfault in addprinter due to mixing talloc() and 
1360       malloc()'d memory.
1361     * fix invalid read reported by valgrind in the spoolss 
1362       backchannel connection.
1363     * Remove use of 'long long' in perfcounter registry code.
1364     * BUG 3201: make sure request structure is cleared prior to 
1365       sending the request to winbindd.
1366     * Don't count open pipes in the num_files_open on a connection
1367       (regression from Samba 2.2).
1368     * Ensure servername hashing code normalizes the name.
1369     * Fix checks for connect() in -lnsl[_s].
1370     * Convert eventlog API to use NTSTATUS return codes rather 
1371       than WERROR.
1372     * Fix segv in winbindd caused by an uninitialized variable 
1373       in winbindd_dual_getsidaliases().
1374     * Allow winbindd to select the appropriate backend methods
1375       based on the DC attributes and not the security parameter.
1376     * Re-add the netsamlogon_cache tdb and ensure that user entries
1377       are updated from the PAC data during Kerberos ticket 
1378       validation.
1379     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
1380       by mangling machine names in sub_set_smb_name().
1381     * Add smbget to the list of tools built by default.
1382     * Fix clearing of eventlog tdb files.
1383     * Fix sequential reads in eventlog support.
1384     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
1385       is Win9x.
1386     * Fix build issues with the Sun compiler.
1387     * BUG 3156: Don't use find_service() when explicitly looking 
1388       for a printer.
1389     * Fix nss_winbind_solaris.c build breakage on HP-UX.
1390     * Initialize the local group description.
1391     * Disable WINS and NetLogon services in the MMC services
1392       plugin when the associated smb.conf features are not enabled.
1393     * Add checks for invalid characters in new share names on the 
1394       srvsvc pipe.
1395     * Fix SWAT installation issues with 'make install'.
1396     * Always add the BUILTIN\Administrators SID to a Domain 
1397       Admins token.
1400 o   Alex Deiter <tiamat@komi.mts.ru>
1401     * BUG 3196: Patch to compile against the Sun LDAP client libs.
1402       (not for AD support; just ldap support).
1405 o   Guenther Deschner <gd@samba.org>
1406     * Fixed compile problems and warnings with newer OpenLDAP 
1407       and OpenSSL libs
1408     * Fix bug when enumerating trusted domains via 'wbinfo -m'
1409     * Parse the MS Kerberos PAC to obtain the user group 
1410       membership during logon.
1411     * Add support for SeRestorePrivilege to allow a process to 
1412       change the ownership of a file to any arbitrary account
1413     * Fix password history storage when using Novell eDirectory for 
1414       ldapsam storage
1415     * Backport Kerberos PAC parsing from Samba 4 branch in order to
1416       correctly create the NT User Token when logging into a Samba 
1417       member server
1418     * Add small helper function to return a PAC_LOGON_INFO.
1419     * Use LDAP bitwise matching rule when searching for groups 
1420       in ADS.
1421     * Avoid an infinite loop when retrying to connect in smbspool.
1422     * Memory leak fixes in the Kerberos PAC parsing code.
1423     * Improve NT_STATUS error messages returned from pam_winbind.
1424     * Rename unknown samr group fields in samr structures with 
1425       the correct name.removed separate "builtin" search enumeration.
1426     * Cleanup redundant StartTLS code.
1427     * Allow StartTLS support when connecting to Windows 2003 by
1428       setting 'ldap ssl = start_tls'.
1429     * Support raw NTLMSSP session setups in smbspool.
1430     * Add rpccli_samr_chgpasswd3().
1431     * Add 'wbinfo --separator'.
1432     * Uninitialized warnings fixes.
1433     * Fix return value in client spooler code.
1434     * Require forced migration of account policies.  
1437 o   Steve French <sfrench@us.ibm.com>
1438     * Fix cifs to handle non-numeric uid and gid parameters.
1439     * Merge trunk and SAMBA_3_0 mount.cifs code.
1440     * Cleanup cifs cfs help message.
1443 o   Paul Green <paulg@samba.org>
1444     * Update to the latest config.guess and config.sub files.
1447 o   Deryck Hodge <deryck@samba.org>
1448     * Allow control of syslog facility and level in audit vfs modules.
1451 o   S Murthy Kambhampaty <smk_va@yahoo.com>
1452     * Patches for Fedora RPM specfile and init script
1455 o   Krishna Ganugapati <krishnag@centeris.com>
1456     * Use the subtree delete ldap control when running 'net ads 
1457       leave'.
1460 o   Volker Lendecke <vl@samba.org>
1461     * New oplock implementation.
1462     * Add assert() call if winbindd cannot locate the domain SID in 
1463       secrets.tdb on startup
1464     * Fix an annoying timeout in winbindd when nmbd is not running.
1465     * Speed up loading smb.conf for large numbers of share 
1466       definitions by adding an internal hashing of names to snums. 
1467       Thanks to Michael Adam.
1468     * Fix potential segv in rpcclient's lsarpc calls.
1469     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
1470     * Fix alignment in getdc response.
1471     * Allow pdbedit to set the domain for a user account.
1472     * Fix fallback logic in rpc binds.
1473     * Fix memleak in message handling code.
1474     * Fix connection bug to port 445 and 139 after a successful 
1475       getdcname response.
1476     * Add additional calls to initialize_krb5_error_table() for 
1477       Kerberos client code.
1478     * Implement the possibility to have AFS users as SIDs in pts.
1479     * Removed unused alternative_name code from winbindd.
1480     * Protect against NULL alternative_name strings in winbindd.
1481     * Define a default panic action with -DEVELOPER is defined.
1482     * Add the capability to reset smbd connections on a zero VC id.
1483     * Allow smb.conf variable expansion to be disabled in passdb 
1484       backends.
1485     * Add lookupname to rpcclient query_user as a fallback.
1486     * BUG 3292: Prevent smbclient from spinning when the server 
1487       disconnects.
1488     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
1489     * Add samr_lookup_rids for the builtin domain.
1490     * Memory allocation cleanups in passdb.
1491     * Restrict samr_open_domain() to our domain only.
1492     * Change local_lookup_sid() to local_lookup_rid() since it 
1493       is responsible for our domain only.
1494     * Fix some uninitialized variable warnings.
1495     * Fix winbind_lookup_name for the local domain, 
1498 o   Derrell Lipman <derrell@samba.org>
1499     * Cleanup libmsrpc version numbers.
1500     * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.    
1501     * Fix crash bug in libsmbclient.
1502     * Add long share name support to libsmbclient when enumerating 
1503       shares.
1506 o   Jason Mader <jason@ncac.gwu.edu>
1507     * Removed compiler various warnings.
1510 o   Alex Masterov <alex@infobit.ru>
1511     * BUG 3218: Fix XATTR calls on *BSD systems.
1514 o   Jim McDonough <jmcd@us.ibm.com>
1515     * Speed up string_to_sid by removing next_token calls and 
1516       unneeded strncmp() calls.
1517     * Implement user rename for smbpasswd and LDAP backends.
1518     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
1519     * BUG 3187: Fix time zone offset in logon hours restrictions.
1522 o   Stefan Metzmacher <metze@samba.org>
1523     * Fix setting of quotas on linux kernel with the struct 
1524       if_dqblk interface
1525     * Enable sysquota interface on Linux by default
1526     * Use lp_socket_address() when binding to port 138/udp in nmbd.
1529 o   Brian Moran <bmoran@centeris.com>
1530     * Eventlog and ServiceControl support.
1531     * Added eventlogadm tool for writing Eventlog records.
1532     * Fix typo when creating Eventlog source DLL registry paths.
1533     * Add simple script to tail syslog and write records to 
1534       eventlog tdb.
1535     * Fix segv in eventlogadm when not event logs are listed in 
1536       smb.conf.
1539 o   Lars Müller <lmuelle@samba.org>
1540     * Only install smbsh manpage if smbwrapper has been successfully
1541       built.
1542     * Ensure setmntent() returns with != NULL in the disk_quotas() 
1543       Linux version.
1544     * Add configure switch to disable libmsrpc build.
1545     * Add a soname to libmsrpc.
1548 o   Ricky Nance <ricky.nance@gmail.com>
1549     * Updates for the mklogon perl scripts.
1552 o   Chris Nicholls <skel@samba.org>
1553     * New libmsrpc library (Google SoC Project).
1554     * Fix libmsrpc build of on the Sun compiler by removing empty 
1555       structure declarations.
1558 o   James Peach <jpeach@sgi.com>
1559     * Fix parsing error for smb ports parameter.
1562 o   Tim Potter <tpot@samba.org>
1563     * BUG 3260: Fix DYNEXP flags on HPUX.
1566 o   Marcin Porwit <mporwit@centeris.com>
1567     * Eventlog and ServiceControl support.
1568     * Added basic Performance Counter daemon which can feed data
1569       for the Windows perfmon.exe tool.
1570     * Fix directory permissions in the perfcounter daemon.
1571     * Add the 'File' registry value for the eventlog keys.
1574 o   Aruna Prabakar <aruna.prabakar@hp.com.
1575     * Add checks to verify that the spooler is running on HP-UX when
1576       reloading the printer name cache.
1579 o   Joel Smith <joel.j.smith@novell.com>
1580     * Add iPrint printing backend support.
1583 o   Toomas Soome <Toomas.Soome@mls.ee>
1584     * Implement host lookups in nss_winbind.so.1 on Solaris
1587 o   Simo Sorce <idra@samba.org>
1588     * Update Debian packaging.
1591 o   John Terpstra <jht@samba.org>
1592     * Add 'net idmap' usage help text.
1595 o   Andrew Tridgell <tridge@samba.org>
1596     * Change license notice of standalone talloc library to LGPL.
1599 o   Darren Tucker <dtucker@zip.com.au>
1600     o Crash fix for snprintf() code.
1603 o   Rainer Weikusat <rainer.weikusat@sncag.com>
1604     * Fix function name typo in skeleton VFS code.
1608 Release Notes for older release follow:
1610       --------------------------------------------------
1611                    ===============================
1612                    Release Notes for Samba 3.0.20b
1613                              Oct 12, 2005
1614                    ===============================
1616 Common bugs fixed in 3.0.20b include:
1618   o A crash bug in winbindd
1619   o Reporting files as read-only instead of returning the 
1620     correct error code of "access denied"
1621   o File system quota support defects
1622   
1624 ######################################################################
1625 Changes
1626 #######
1629 Changes since 3.0.20a
1630 ---------------------
1632 commits
1633 -------
1635 o   Jeremy Allison <jra@samba.org>
1636     * BUG 3088: Fix error condition for files on a read-write share 
1637       which cannot be read due to permissions.
1640 o   Gerald (Jerry) Carter <jerry@samba.org>
1641     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
1642       details.
1643     * BUG 1473, 3090: Quota detection and compilation problems on 
1644       Solaris.
1647 o   Marc Balmer <marc@msys.ch>
1648     * Build fixes when builddir != srcdir
1651 o   Alex Deiter <tiamat@komi.mts.ru>
1652     * BUG 3145: Fix build issue regarding quota support on Solaris.
1655 o   Volker Lendecke <vl@samba.org>
1656     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
1657       name.
1660       --------------------------------------------------
1661                    ===============================
1662                    Release Notes for Samba 3.0.20a
1663                              Sept 30, 2005
1664                    ===============================
1666 Common bugs fixed in 3.0.20a include:
1668   o Stability problems with winbindd.
1669   o Crash bugs caused by incompatibilities on 64-bit systems.
1670   o Missing files from directory listings on AIX servers
1671   o User Manager interoperability problems.
1672   o Minor build difficulties on various platforms such as 
1673     Solaris and OpenBSD, 
1676 Winbind, security = domain, and Active Directory
1677 ================================================
1679 Recent security updates for Windows 2000 and Windows 2003 have 
1680 changed the fashion in which user and group lists can be obtained 
1681 from domain controllers.  In short, the RPC mechanisms used by 
1682 "security = domain" to retrieve users and groups is not compatible 
1683 with these changes.   The "security = ads" configuration is not 
1684 affected by the Windows protocol changes.
1686 Samba developers are actively working to correct this problem in 
1687 the 3.0.21 release.  In the meantime, Administrators who are unable 
1688 to migrate to "security = ads" and must continue using "security = 
1689 domain", can define credentials to be used by winbindd for account
1690 enumeration by executing the following command as root.
1692         wbinfo --set-auth-user='DOMAIN\username%password'
1696 ######################################################################
1697 Changes
1698 #######
1701 Changes since 3.0.20
1702 --------------------
1704 commits
1705 -------
1707 o   Jeremy Allison <jra@samba.org>
1708     * BUG 3065: Fix for legacy clients retrieving a listing of 
1709       an empty directory.
1710     * Added external library for accessing Samba's share mode 
1711       database.
1712     * Fix winbindd credentials chain which caused logon failures 
1713       after attempting to authenticate an unknown user.
1714     * Fix recursive looping bug in winbindd.
1715     * Fix build errors on 64-bit systems.
1716     * Posix ACL memory leak and crash bug fixes.
1717     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
1718     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
1719     * Hide dot files and directory logic fixes.
1720     * Correct display of open file modes by smbstatus.
1721     * BUG 3010: Fix missing files bug on AIX systems.
1724 o   Gerald (Jerry) Carter <jerry@samba.org>
1725     * Allow the root user to automatically pass se_access_checks()
1726       in the registry and service control server code.
1727     * Ensure that winbindd uses the correct name in the net_auth2()
1728       request when running on a Samba PDC.
1729     * Fix linking problem with tdb utilities.
1730     * BUG 3080: Fix regression in 'net rpc shutdown' command.
1731     * Fix segv in 'net rpc' when the pipe open fails.
1732     * Fix upload bug when installing 64-bit Windows printer drivers.
1733     * Fix regression in the smburi syntax used by smbspool.
1734     * Fix sorting of subkey hash records in registry files.
1735     * Correct REG_CREATE_KEY_EX parsing error.
1736     * Interoperability issues with usrmgr.exe and Samba groups.
1737     * Use the display names and not the Unix names when enumerating
1738       groups in the ldapsam passdb backend.
1739     * Ensure that Windows domain user names are converted to lower case.
1742 o   Guenther Deschner <gd@samba.org>
1743     * Prevent BUILTIN sids returned in the user's token from 
1744       a Windows DC from being applied to any local group mappings
1745       on the Samba host.
1746     * Plug memory leaks in the Kerberos keytab code.
1747     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
1748       backend when 'winbind nested groups' is enabled.
1749     * Fix crash bug in winbindd caused by 64-bit build issues.
1750     * Improve debug messages in smbspool.
1751     * Give better error-message when "NDS Universal Password" change fails.
1752     * Fix password history error in the eDirectory schema file.
1753     * Ensure that Windows domain group names are converted to lower case.
1756 o   Steve French <sfrench@us.ibm.com>
1757     * Allow disabling mandatory byte range lock mount flag, and fix 
1758       corresponding entry in mtab.
1761 o   Volker Lendecke <vl@samba.org>
1762     * Fix race condition in the NTcreate&X open code when the 
1763       disposition is NTCREATEX_DISP_CREATE.
1764     * Correct logic error when checking the pid for pending print 
1765       change notify messages.
1766     * Ensure that winbindd child process complete startup even when
1767       the parent is receiving authentication requests.
1768     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
1769       when authentication fails.
1772 o   Jason Mader <jason@ncac.gwu.edu>
1773     * Compile warning fixes.
1776 o   Uli Meis <a.sporto@gmail.com>
1777     * Patches for pdb_*sql.c
1780 o   Luke Mewburn <lukem@NetBSD.org>
1781     * Autoconf syntax fixes.
1784 o   James Peach <jpeach@sgi.com>
1785     * Correct problem with creating a core file in Linux.
1788 o   Stefan Metzmacher <metze@samba.org>    
1789     * Quota fixes in smbd.
1792 o   Peter Rindfuss <rindfuss@wz-berlin.de>
1793     * Patches for pdb_*sql.c
1796 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
1797     * Solaris toolchain patches for autoconf scripts.
1800 o   Andrew Tridgell <tridge@samba.org>
1801     * Fix for tdb clear-if-first race condition.
1804 o   Leo Weppelman <leo@wau.mis.ah.nl>
1805     * BUG 3104: Don't allow time updates to files on read-only shares.
1808 o   Steve Williams <steve@celineandsteve.com>
1809     * BUG 3052: Fix compile issues on OpenBSD.
1812       --------------------------------------------------
1813                    ==============================
1814                    Release Notes for Samba 3.0.20
1815                              Aug 19, 2005
1816                    ==============================
1818 Additional features introduced in Samba 3.0.20 include:
1820   o Support for several new Win32 rpc pipes.
1821   o Improved support for OS/2 clients.
1822   o New 'net rpc service' tool for managing Win32 services.
1823   o Capability to set the owner on new files and directory
1824     based on the parent's ownership.
1825   o Experimental, asynchronous IO file serving support.
1826   o Completed Support for Microsoft Print Migrator.
1827   o New Winbind IDmap plugin (ad) for retrieving uid and gid
1828     from AD servers which maintain the SFU user and group 
1829     attributes.
1830   o Rewritten support for POSIX pathnames when utilizing 
1831     the Linux CIFS fs client.
1832   o New asynchronous winbindd.
1833   o Support for Microsoft Print Migrator.
1834   o New Windows NT registry file I/O library.
1835   o New user right (SeTakeOwnershipPrivilege) added.
1836   o New "net share migrate" options.
1839 What happened to 3.0.15 - 3.0.19?
1840 ==================================
1842 After some discussion it was deemed that the amount of changes 
1843 going into the next Samba 3.0 release needed something to catch
1844 people's attention.  Skipping several releases was chosen as 
1845 the best solution with the least overhead.  There will be no
1846 3.0.15 - 3.0.19 ever released.  The next production release
1847 following 3.0.20 should be 3.0.21.
1849 The original announcement about the version number change can 
1850 be found in the samba mailing list archives:
1852 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
1855 Asynchronous Winbind Implementation
1856 ===================================
1858 Winbindd has been completely rewritten in this release to support
1859 an almost completely non-blocking, asynchronous request/reply
1860 model.  This means that winbindd will scale much better in 
1861 large domain environments and on high latency networks.  Neither 
1862 the client interface nor the command line tools (i.e. wbinfo) have 
1863 changed in their calling conventions or syntax.  However, due to 
1864 internal structure changes, it is required (more so than normal) 
1865 that you install the nss_winbind.so library included in this release.
1868 Support for Microsoft Print Migrator
1869 ====================================
1871 Samba 3.0.20 includes full support for migrating printers from 
1872 Windows servers or other Samba servers via the Microsoft Print 
1873 Migrator tool.  Restoring printers requires a working "add printer 
1874 command" defined in smb.conf.  Current support also allows
1875 administrators to create a master list of printer drivers which
1876 can be restored in bulk on new (or existing) Samba installations.
1879 Asynchronous IO Support
1880 =======================
1882 Experimental support for async IO has been added to smbd for 
1883 certain platforms.  To enable this new feature, Samba must be 
1884 compiled to include the --with-aio-support configure option.
1885 In addition, the "aio read size" and "aio write size" to non-zero
1886 values.  See the smb.conf(5) man page for more details on these 
1887 settings.
1890 ######################################################################
1891 Changes
1892 #######
1894 smb.conf changes
1895 ----------------
1897     Parameter Name                      Action
1898     --------------                      ------
1899     acl check permissions               New
1900     acl group control                   New
1901     acl map full control                New
1902     aio read size                       New
1903     aio write size                      New
1904     enable asu support                  New
1905     inherit owner                       New
1906     ldap filter                         Removed
1907     map to guest                        Modified (new value added)
1908     max stat cache size                 New
1909     min password length                 Removed
1910     printer admin                       Deprecated
1911     username map script                 New
1912     winbind enable local accounts       Removed
1913     winbindd nss info                   New
1916 Changes since 3.0.14a
1917 ---------------------
1920 commits
1921 -------
1923 o   Jeremy Allison <jra@samba.org>
1924     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
1925     * Ensure the old SMB search calls always ask mask_match() to 
1926       translate patterns like ????????.???.
1927     * Split out the check_path_syntax() into a findfirst, findnext,
1928       & wildcard versions.
1929     * Fix checks for matching groups in an file ACL against the
1930       user's primary and supplementary group list.
1931     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
1932       LANMAN2 protocol, ensure the EA size is always correctly 
1933       set on a query for a file with no EA's.
1934     * BUG 2551: Look at the incoming flags2 flag 
1935       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
1936       uppercased on a SMBsearch request, not the protocol level.
1937     * Added "volume" command to smbclient that prints out the 
1938       volume name and serial number.
1939     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
1940     * Add support for OS/2 Extended Attributes.
1941     * Correctly check OpenX open modes.
1942     * Ensure allocation size is correctly returned for OpenX. 
1943     * Only set allocation on create/truncate for nttrans.
1944     * Fix oplock bug in trans2open() code.
1945     * Remove unix_ERR_XXX global nastiness.
1946     * Only do the strange DOS error for openX, not trans2open.
1947     * Ensure SMBopen replies includes the share modes as well as 
1948       open modes.
1949     * BUG 2581: Add size limit (in kb) to stat cache.
1950     * Fix bug in the trans2 secondary processing.
1951     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
1952     * Add an SMB counter per connection struct for gathering
1953       profiling data.
1954     * BUG 2605: Ensure smbclient doesn't perform commands if 
1955       the "chdir" fails in a scripted set.
1956     * Ensure a 'forced group' is added to the list of effective
1957       gids when processing ACLs.
1958     * Refactor rpc_bind structures for better future work.
1959     * BUG 2942: Add missing value in debug message.
1960     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
1961       by 'mangling method = hash'.
1962     * Fix memory leaks in the msdfs trans2 server code.
1963     * Convert msdfs server to be talloc'd based.
1964     * Fix up stackable vfs interface.
1965     * Fix rpc fault when encountering an unknown rpc_bind auth 
1966       type.
1967     * BUG 2954: More AIX 5.1 AIO compile fixes.
1968     * Fix valgrind bug in interaction with new aio buffer (found
1969       by Volker).
1970     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
1971     * Cleanup SAMR user info structure naming.
1972     * BUG 2889:  Fix directly listings from OS/2 clients.
1973     * Added "acl group control" parameter.
1974     * Add debug warning if AddPrinterEx() is called without having
1975       an 'add printer command'  defined.
1976     * Add better log messages when modifying ldap entries.
1977     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
1978       when string is unaligned.
1979     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
1980       message buffer is nor reused.
1981     * Add support for client setting capabilities to select posix 
1982       pathnames on the wire.
1983     * Stop using C++ reserved words so that Samba can be compiled 
1984       using g++.  Also allows VFS modules in C++.
1985     * More fixes to allow better large directory scaling.
1986     * BUG 2827: Ensure we call the vfs connection hook before 
1987       doing a vfs stat.  Allows database vfs backends to initialize 
1988       with a working connection.
1989     * BUG 2826: Ensure the correct return value for symlink and 
1990       readlink in the VFS.
1991     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
1992     * Added AIO support to smbd.
1993     * Add "acl map full control", true by default, to allow people 
1994       to change mapping of rwx to full control or not.
1995     * Transition smbd to use NTcreate&X for internal file opens.
1996     * Add checks against the current effective group id (e.g. force 
1997       user) when testing write permissions one ACLs.
1998     * Fix FindFirst/FindNext server code when parsing directories
1999       on old IRIX XFS file systems (thanks to Cale Fairchild
2000       for the debugging help).
2001     * BUG 2644: Test for special files to be ignored was reversed.
2002     * Ensure yield_connection() is called on all appropriate error
2003       conditions.
2004     * Fix EDEADLCK problem with deferred open calls.
2005     * BUG 2622: Remove DPTR_MASK as it makes no sense.
2006     * Fix the write cache based on some VERY good detective work
2007       from Ingo Kilian.
2008     * BUG 2346: Fix read-only excel file bugs.
2009     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
2010       return ENOSYS if not implemented.
2011     * Add new CAP for POSIX pathnames.
2012     * BUG 2703: Add NULL guard for disp_fields[0].
2013     * BUG 2681: With "strict allocate = yes" we now zero fill when 
2014       a file is extended. Should catch disk full errors on write
2015       from MS-Office.
2016     * Add "acl check permissions" to turn on/off the new 
2017       behavior of checking for write access in a directory 
2018       before delete. 
2019     * Refactor printing interface to take offset into job. 
2020     * Allow mapping of POSIX ACLs to NT perms to differentiate 
2021       between directories and files.
2022     * Added encrypt/decrypt function for LSA secrets and trusted
2023       domain passwords on the wire.
2024     * BUG 2729: Resume keys are *mandatory* for a search when 
2025       listing a W2K and above server from a FATxx filesystem only.
2026     * BUG 2735: Ensure that smbd mangles control characters in file 
2027       and directory names.
2028     * Refactor small pieces of socket handling code (in conjunction 
2029       with Derrell).
2030     * BUG 2698: Fix infinite listing loop in smbclient caused by
2031       an invalid character set conversion.
2032     * Add client code that will abort a directory listing if we 
2033       see the same name twice between packets.
2034     * Performance improvements in trans2 qfilepathinfo code by 
2035       removing unnecessary memset() calls.
2036     * Rewrite the RPC bind parsing functions to follow the 
2037       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
2038     * BUG 2774: Set sparse flag if needed when returning 
2039       file attributes.
2040     * Fix errors listing directories from Windows NT clients 
2041       which caused "." and ".." to show up in explorer.exe.
2042     * Merge of error code fixes from SAMBA_4_0 branch.
2043     * BUG 2801: Fix regression in the "delete veto files" option.
2044     * Fix based on work from  Shlomi Yaakobovich to catch loops 
2045       in corrupted tdb files.
2046     * Allow someone with SeTakeOwnershipPrivilege to chown the 
2047       user of a file to herself.
2048     * Fix minor compiler warnings in printing/printing.c.
2049     * Merge new DOS error code from SAMBA_4.
2050     * Fix issue when non-English characters in filenames and 
2051       directories.
2052     * Fix bogus error message in smbstatus about unknown share modes.
2055 o   Andrew Bartlett <abartlet@samba.org>
2056     * Support raw NTLMSSP authentication for Windows Vista 
2057       clients.
2058     * Fix parallel NTLMSSP processing by removing global state.
2059     * BUG 2684: Add per service hosts allow/deny checks for 
2060       printers when  connecting via MS-RPC.
2061     * BUG 2391: Fix segv caused by free a static pointer returned 
2062       from getpwnam().
2063     * Support Kerberos authentication in smbd when using a keytab
2064       and participating in a non-Microsoft Kerberos realm.
2067 o   Timur Bakeyev <timur@com.bat.ru>
2068     * BUG 2546: Add support for FreeBSD EA API
2069     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
2070     * BUG 2908: Fix string length logic error in msdfs code.
2071     * BUG 2909: Fix typo that caused smbd to call the wrong 
2072       aio_fsync function.
2075 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
2076     * Added Linux per-socket TCP settings.
2079 o   Gerald (Jerry) Carter <jerry@samba.org>
2080     * Added support for \svcctl pipe rpcs.
2081     * Added 'net rpc service' subcommand for managing Win32 
2082       services.
2083     * Refactoring work on the rpc [un]marshalling layer and 
2084       structures.
2085     * Verify privilege name in 'net rpc rights privileges' in 
2086       order to provide better error messages.
2087     * Cleanup rpc structures in rpc_spoolss.h.
2088     * Cleanups and fixes for the \winreg server code.
2089     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
2090     * Fix bugs in client spoolss code after refactoring work.
2091     * Fix Valgrind warnings of invalid reads in the spoolss 
2092       server code.
2093     * Fixed a segv when enumerating services on a Samba host.
2094     * Fix segv in the service control server code.
2095     * Fix crashes in client spoolss calls caused by not checking 
2096       for a valid pointer from the caller.
2097     * Fix regression in DeleteDriver() server routines.
2098     * Fix dup_a_regval() when size is 0.
2099     * Fix usrmgr.exe crash when viewing user properties at 
2100       debuglevel 10.
2101     * Do not enumerate any privileges when 'enable privileges = no'
2102       and log a message if a client tries.
2103     * BUG 2872: Fix cut-n-paste error when checking pointer value 
2104       in ntlmssp_set_workstation().
2105     * Fix upgrade path from earlier nt*tdb files.
2106     * Removed print handle object cache.
2107     * BUG 2853: Don't strip out characters like '$' from printer 
2108       names when substituting for the lpq command.
2109     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
2110     * Fix build issues on x86_64-linux systems caused by valgrind 
2111       headers.  Thanks to Bent Vangli to the suggestions.
2112     * Refactor spoolss client calls.
2113     * Adding 'username map script'.
2114     * Disable schannel on the LSA and SAMR pipes in winbindd client 
2115       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
2116     * Cleanup of winreg API functions.
2117     * Add server stubs for RegSetKeySec() and RegGetKeySec().
2118     * Map generic bits to specific bits in reg_open_entry() 
2119       requests.
2120     * Add write support to registry tdb and printing backends.
2121     * Use tdb lookups rather than hard-coding certain registry 
2122       value names and data.
2123     * BUG 2808: don't try to install man pages if they are not 
2124       present.
2125     * Fix initialized variables reported by valgrind.
2126     * Normalize key lookups in ntprinters.tdb.
2127     * Mark "enumports command" as deprecated.
2128     * Add missing class file for python share command example.
2129     * Fix smbclient build issue on Solaris.
2130     * BUG 2626: ensure that the calling_name is set to something 
2131       after parsing smb.conf (if not set via -n).
2132     * Use "add machine script" when creating a user (ACB_NORMAL)
2133       who has a name ending in '$' (e.g. usrmgr.exe creating
2134       domain trust accounts).
2135     * Add 'rid' synonym for idmap_rid IDMap module.
2136     * Ensure that we set full access on the handle returned 
2137       from _samr_create_dom_{alias,group}() so that future 
2138       set_{alias,group}() commands succeed.
2139     * Fix bug when looking for internal domains in winbindd
2140       (caused winbindd_getgrgid() for local groups to fail).
2141     * Fix query and set alias info calls (level 1 from the MMC 
2142       manage computer plug-in.
2143     * Remove bogus log messages about unknown specversions.
2144     * BUG 2680: copy files from an MS-DFS win2k root share
2145     * BUG 2688: re-implement support for the -P (--port) option
2146     * Support connecting to an 'msdfs proxy' share on a Samba
2147       server.
2148     * Strip the directory path from cups command line printing 
2149       defaults.
2150     * Fix bug that prevented smbclient from creating directories 
2151       on non-dfs paths.
2152     * Deprecate the "printer admin" parameter in favor of the 
2153       SePrintOperatorPrivilege.
2154     * Add the capability to read and write WinNT regf registry 
2155       files.
2156     * Implement access checks for RegOpenXXX() server calls.
2157     * Extend registry client rpc calls.
2158     * Add "net rpc registry" set of commands.
2159     * Remove testprns tool.
2160     * Ensure that printer ACLs use the specific bits as well as 
2161       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
2162       records.
2163     * Add server support for RegSaveKey() for dumping registry 
2164       trees to a regf file.
2165     * Add "enable asu support" smb.conf parameter.
2166     * Merge various small file changes from trunk.
2167     * Remove "winbind enable local accounts" support.
2168     * Remove "ldap filter" smb.conf option.
2169     * Remove editreg utility (needs to be rewritten using regfio.c).
2170     * Fix build failure when running 'make torture' without first 
2171       running 'make all' first.
2172     * BUG 1261: Remove unusable libbiconv from iconv detection 
2173       in configure.
2174     * Add new option for "map to guest".  "Bad Uid" re-enables the
2175       Samba 2.2 behavior of mapping authenticated users to the
2176       guest account if there does not exist a valid Unix account 
2177       for the Windows domain user (based on patch from 
2178       aruna.prabakar@hp.com).
2179     * Fix a couple of regressions after introduction of new winbindd.
2180     * Fix smbpasswd user password change (still worked by bad error
2181       messages) due to trying to strdup a NULL pointer.
2182     * Implement default security descriptors for the
2183       OpenService[Manager]() calls and check requested access mask 
2184       at connect time.
2185     * Include access checks on handle mask for \svcctl operations
2186       such as ControlService() and StartService().
2187     * Implement simulated start and stop service control for 
2188       the spooler service as a per smbd service state value.
2189     * Add interface structure for controlling service via rc.init
2190       scripts (incomplete).
2191     * Convert move_driver_to_download_area() to use copy_file()
2192       rather than moving the files.
2193     * Add version number to registry.tdb file since it can be 
2194       modified now.
2195     * Remove over-paranoid assert() call when checking spoolss 
2196       buffer pointers
2197     * Fix error in EnumPrinterData() reported by valgrind.
2198     * Fix broken help links in SWAT editor caused by new doc layout.
2199     * Ensure that a domain structure in winbind is initialized prior
2200       to assigning the methods for communicating to a DC.
2201     * BUG 3000: Remove background updates of winbind cache and allow
2202       child processes to immediately update and expired cache entry.
2205 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
2206     * Added panic action script for Solaris.
2209 o   Jeremy Cooper <jeremy@ncircle.com>
2210     * Added support for several new \winreg client rpcs.
2213 o   <core@road-star.jp>
2214     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
2215       telldir, rewinddir to match updated large directory code.
2218 o   Guenther Deschner <gd@samba.org>
2219     * Close handles on group creation in rpcclient to better 
2220       support mass group account creation.
2221     * Fix account policy key lookup for minimum and maximum
2222       password lengths.
2223     * Fix some compiler warnings and add missing exclude-block 
2224       in 'net rpc share migrate'.
2225     * Allow use of a non-default smb.conf by rpcclient.
2226     * Fix querydispinfo search semantics in rpcclient test code.
2227     * Fix querydispinfo server semantics to allow to list more 
2228       then 511 users.
2229     * Fix server crash bug in ancient OpenPrinter() call.
2230     * Fix a crash bug when enumerating privileges via the LSA 
2231       calls.
2232     * Fix crash in EnumPrinterKey() client calls caused by previous 
2233       refactoring work.
2234     * Various compiler warning fixes.
2235     * Fix segfault in the client AddPrinterEx-call of 'net 
2236       rpc printer'.
2237     * Fix build issues when --with-aio-support is enabled.
2238     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
2239     * Honour the CC environment variable in python build.
2240     * Fix searches in pdb_ldap for inter-domain trust accounts.
2241     * Don't expand the %L in %LOGONSERVER% from user attributes.
2242     * Fix bug in 'net rpc vampire' that caused accounts to be created 
2243       with no assigned ACB flags.
2244     * Fix enumeration of builtin-aliases.
2245     * Avoid unset rids for builtin-aliases.
2246     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
2247     * More "net rpc share migrate" fixes.
2248     * Merge PADL's idmap_ad plugin (taken from the latest 
2249       xad_oss_plugins-tarball).
2250     * Add support for "idmap backend = ad" when "security = ads".
2251     * Add home directory and shell support from AD via "winbindd nss 
2252       support = sfu" and "security = ads".
2253     * Provide better feedback when we fail share-manipulation 
2254       due to missing scripts.
2255     * Correctly substitute "\" as default winbind separator in 
2256       generate_parm_table.py example share command script.
2257     * Document pam_winbind.c to clarify the working status of
2258       require-membership-of option.
2259     * Added client-support for various lsa_query_trust_dom_info()
2260       calls and a rpcclient-tester for some info-levels.
2261     * Add "net rpc trustdom vampire" tool (in conjunction with 
2262       Lars Mueller).
2263     * Add missing cli_srvsvc_net_share_set_info-function and
2264       rpcclient-testers (in preparation for net share acl migration).
2265     * Print trusted domain passwords returned via rpcclient in 
2266       display charset.
2267     * Error code fixes when attempting to manipulating 
2268       non-existent shares.
2269     * Cleanup "net share migrate" code. 
2270     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
2271       = true".
2272     * Allow admins to uncheck the "User must change Password at 
2273       next Logon" checkbox in User manager (merge from trunk).
2276 o   Renaud Duhaut <rd@duhaut.com> 
2277     * BUG 1040: Add directory_mode parameter when creating recycle
2278       directories.
2281 o   Steven Edwards <steven_ed4153@yahoo.com>.
2282     * Use chsize() if we don't have ftruncate().
2285 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
2286     * BUG 1780: Add Kerberos (file based ticket cache) support 
2287       to smbspool.
2290 o   Steve French <sfrench@us.ibm.com>
2291     * Update list of mount options for mount.cifs.
2292     * Add more defines for POSIX extensions to match the newly 
2293       added client implementation.
2294     * Add initial support for cifs umount utility.
2295     * Fix cifs mounts to handle commas embedded in prompted 
2296       password, and password and credential files.
2297     * Fix cifs mounts to handle domain name and user name in 
2298       username field (in form domain\user).
2299     * Add missing error code mappings when a client unsuccessfully 
2300       tries to create a hard-link.
2301     * Add support so umount.cifs can update mtab.
2302     * Add two newer mount options to syntax help for mount.cifs.
2303     * Add missing remount flag handling.
2304     * Allow domain= to be specified in credentials file. 
2305     * Fix umount.cifs help, allow root to unmount someone else's
2306       mount.
2307     * Lock mtab when updating it during umount.cifs, also delete
2308       only one matching entry at a time.
2309     * Fix minor compiler warnings in the mount.cifs helper.
2312 o   Deryck Hodge <deryck@samba.org>
2313     * BUG 2137: Encode quotes for display in HTML (original patch 
2314       from Jay Fenlason).
2317 o   Olaf Imig <Olaf.Imig@bifab.de>
2318     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
2319       print job ids.
2320     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
2323 o   Björn Jacke <bj@sernet.de>
2324     * Added ioctl constants reported by msbackup.exe and filemon.exe.
2327 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
2328     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
2331 o   John Janosik <jpjanosi@us.ibm.com>
2332     * BUG 2077: Correctly fill in the correct server name when 
2333       processing trusted domain logins.
2334     * BUG 2976: Mark logons for unknown domains with a 
2335       non-authoritative response.
2338 o   William Jojo <jojowil@hvcc.edu>
2339     * AIX AIO fixes.
2342 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2343     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
2344       local drive.
2347 o   Tom Lackemann <cessnatomny@yahoo.com>
2348     * BUG 2242: Patch to ensure that we only set the security 
2349       descriptor on an NTtransact create if we created the file.
2352 o   Volker Lendecke <vl@samba.org>
2353     * Port some of the non-critical changes from HEAD to 3_0. 
2354       The main one is the change in pdb_enum_alias_memberships 
2355       to match samr.idl a bit closer.
2356     * Close handles on user creation in rpcclient to better 
2357       support mass user account creation.
2358     * Implement client RAP calls for enumusers/enumgroups level 0.
2359     * Implement a new caching API for enumerating the pdb elements.
2360     * Convert the RAP user and group enumeration functions to the 
2361       utilized the pdb_search API. 
2362     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
2363       RestrictAnonymous environments.
2364     * Internal passdb API changes for better search capabilities
2365       (based on original work by Guenther Deschner).
2366     * Fix various compiler warnings.
2367     * Add chain length statistics to tdbtool.
2368     * Fix set afs ACL calls on files and directories in the root of 
2369       a share.
2370     * Refactoring work on internal open code
2371     * Correctly initialize the version in a new set of nt*tdb files.
2372     * Remove smb_run_idle_events() from main process loop in smbd 
2373       and instead rely upon the timeout processing to handle 
2374       dropping idle LDAP connections.
2375     * Fix the bug where users show up as trusting domains.
2376     * Fix an assertion failure in winbindd.
2377     * Fix a memleak in vfs_afsacl.
2378     * Various compiler warning fixes.
2379     * Fix compile when --enable-socket-wrapper is defined.
2380     * Fixes for top level acls in vfs_acl.c.
2381     * Refactor passdb interface functions.
2382     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
2383     * Correct 2 segv's in "net rpc printer migrate".
2384     * Return correct group type from smbd for BUILTIN groups.
2385     * Backport the talloc() layer from Samba 4.
2386     * BUG 2701: Fix segv in ldap reconnection code.
2387     * BUG 2705: Fix segv when connecting from usrmgr.exe.
2388     * Use the SID in the user token for the %s expansion in 'afs 
2389       username map'.
2390     * Memory leak fixes in passdb code.
2391     * BUG 2720: Fixes for "net usersidlist".
2392     * BUG 2725: Fix segv in "net ads user".
2393     * Only allow schannel connections if a successful Auth2 
2394       has been previously performed.
2395     * Don't look at gencache.tdb for the trusted domains if 
2396       winbind is present.
2397     * Rewrite winbindd using an asynchronous process model.
2400 o   Herb Lewis <herb@samba.org>
2401     * Compiler warning cleanups.
2402     * smbwrapper Makefile and compile time check cleanups.
2403     * Adding robustness checks for tdbdump and tdbtool.
2404     * Extend tdb command line parsing to arbitrary hex characters.
2405     * Add LOCKING debug class.
2406     * Fix more compiler warnings.
2409 o   Derrell Lipman <derrell@samba.org>
2410     * add support for opening a file for write with O_APPEND 
2411       in libsmbclient.
2412     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
2413       tree.
2414     * Fix smbc_stat() from returning incorrect timestamps IFF 
2415       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
2416       and not if it used cli-getatr() to retrieve the timestamps 
2417       (Win98). 
2418     * Fix handful of compiler warnings.
2419     * BUG 2498, 2484: smbc_getxattr() fixes.
2420     * BUG 1133: Added provision for overloading some global 
2421       configuration options via the new, per-user file 
2422       ~/.smb/smb.conf.append.
2423     * BUG 2543: Properly cache anonymous username when reverting 
2424       to anonymous login, in libsmbclient.
2425     * BUG 2505: Fix large file support in libsmbclient.
2426     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
2427       with a file rather than a directory.
2428     * Correct deprecated lvalue casts in testsuite/libsmbclient.
2429     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
2430       formatting or parsing the timestamp values correctly.
2431     * Correctly detect AF_LOCAL support in configure.
2432     * Fix problem updating file times on Windows 98 hosts using 
2433       libsmbclient.
2434     * Fix compile breakage on Solaris by eliminating the use of 
2435       ctime_r() in libsmbclient DEBUG statement.
2438 o   Jason Mader <jason@ncac.gwu.edu>
2439     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
2440     * Various compiler warning fixes about mistyped variables.
2441     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
2442       and code  cleanups.
2443     * BUG 2527, 2538: Removed unused variables.
2446 o   Marcel <samba.10.maazl@spamgourmet.com>
2447     * Fix regression in OS/2 trans2 open code.
2450 o   Jim McDonough <jmcd@us.ibm.com>
2451     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
2452       (in conjunction with Volker).
2453     * BUG 2953: Prevent the credentials chain on DC gets out 
2454       of sync with client when NT_STATUS_NO_USER is returned.
2455     * Added subcommands to "net rpc vampire" (mostly done by Don 
2456       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
2457       ldif file instead of actually writing to the passdb.  
2458     * BUG 2736: Add retries to workaround winbind race condition 
2459       with detecting idle clients.
2460     * BUG 2953: Additional fixes for domain trusts.  Also clears
2461       up the "bad stub" error when attempting to logon to a Samba
2462       domain with a bad username.
2465 o   Luke Mewburn <lukem@NetBSD.org>
2466     * Compiler warning fixes.
2469 o   Kalim Moghul <kalim@samba.org>
2470     * Removed unused printmode command from smbclient.
2473 o   Lars Müller <lmuelle@samba.org>
2474     * Re-enable the VERSION_REVISION option in case of another 
2475       letter release.
2476     * Fix spoolss python bindings after C++ compiler changes and 
2477       other python fixes.
2478     * BUG 2659: Don't trump on memory in smbtorture.
2479     * BUG 2060: Add -fPIC which is the case for all other Samba 
2480       shared libs.
2481     * Fix argv parsing in "net rpc".
2482     * Add support to create position independent executable (PIE) 
2483       code if the compiler supports it.
2484     * BUG 2767: Add new options to testparm (--show-all-parameters,
2485       --parameter-name, and --section-name).
2486     * Fix net share migrate files to also migrate the ACLs of 
2487       the top level dir of a share.
2490 o   Marcel Muller <mueller@maazl.de>
2491     * Patch to fix the OS/2 EA_FROM_LIST info level call.
2492     * Mangled names fix for OS/2 clients.
2493     * Ensure we correctly set the return packet size to include the 
2494       pad bytes in reply_readbmpx().
2495     * Fix for bug in SMBwriteBraw that incorrectly returned the 
2496       number of bytes written. 
2499 o   Ricky Nance <ricky.nance@gmail.com>
2500     * Implemented mklogon script generator for domain logon scripts.
2503 o   James Peach <jpeach@sgi.com>
2504     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
2505     * BUG 2285: Patch for hires timestamps and efficient notify code.
2506     * MS-DFS tidyup patches.
2507     * Build fixes on IRIX.
2508     * IRIX compiler warning fixes.
2509     * BUG 2596: Fix become_root link issues and one IRIX stack 
2510       backtrace bug.
2511     * Fix for null pointer ACL free.
2512     * BUG 2314: Fix const compiler warnings in the quota code.
2515 o   Ed Plese <ed@edplese.com>
2516     * Fix faulty logic which caused winbindd to return failure 
2517       when a user possessed no supplementary groups.
2520 o   Marcin Porwit <mporwit@centeris.com>
2521     * Initial support for the \eventlog pipe.
2522     * Fix a memleak in the eventlog code.
2523     * Miscellaneous fixes for Samba's experimental event log support.
2524     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
2525       calls.
2528 o   Tim Potter <tpot@samba.org>
2529     * BUG 2940, 2943: Fixed various compiler warnings regarding 
2530       mismatched types and unused variables.
2531     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
2532     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
2533       configure script on HPUX IA.
2534     * Remove unused autoconf #define's.
2535     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
2536     * Removed unused function declarations in tdb.h.
2537     * BUG 2895: Don't wrap non-existent functions in the python 
2538       tdb bindings.
2539     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
2540       according to POSIX.
2541     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
2542       defined.
2543     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
2544     * BUG 2611: Add fflush(stdout) after displaying username prompt 
2545       in smbsh if username not specified on command line.
2546     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
2547     * BUG 2808: Update install swat message to reflect the fact 
2548       that swat/README no longer exists.
2551 o   Denis Sbragion <d.sbragion@infotecna.it>
2552     * BUG 2196: Allow absolute path (system wide) recycle bin.
2555 o   Fernando Schapachnik <fernando@mecon.gov.ar>
2556     * Add logon hours support for the Postgres backend.
2559 o   Richard Sharpe <rsharpe@samba.org>
2560     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
2562 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
2563     * BUG 2362: Quota support fix for DragonFly.
2564     * Fix dragonfly detection in configure.
2567 o   Simo Sorce <idra@samba.org>
2568     * Allow Domain Admins to force user sessions to close via the 
2569       Windows Server Manager.
2570     * Add support to 'net rpc right privileges <name>' to enumerate 
2571       accounts which possess a specific privilege.
2572     * Fix memory issues issues in vfstest (reported by Rainer Link).
2573     * Randomize reloading as to not overload cupsd.
2576 o   Smitty <smitty@plainjoe.org>
2577     * Compile fixes for smbget when using --enable-developer.
2578     * Include LUID values to match Windows privileges since 
2579       apparently this matters to printmig.exe
2582 o   John Terpstra <jht@samba.org>
2583     * Solaris packaging fixes.
2584     * Clean up usage help text in "net rpc user"
2587 o   Andrew Tridgell <tridge@samba.org>
2588     * Merge socket wrapper library fixes from Samba 4.
2591 o   Brett Trotter <blt@iastate.edu>
2592     * Fix definition of global_sid_* in vfs_acl.c.
2595 o   Mark Weaver <mark-clist@npsl.co.uk>
2596     * Patch to fix sys_select so it can't drop signals if another 
2597       fd is ready to read. 
2600 o   Jelmer Vernooij <jelmer@samba.org>
2601     * Remove --with-manpage-languages configure option.
2602     * Merge socket wrapper fixes for IRIX systems from the 
2603       Samba 4 branch.
2604     * Add socket_wrapper library to 3.0. Can be enabled by passing
2605       --enable-socket-wrapper to configure.
2606     * Fix build of the various sql pdb backends after new talloc.
2609 o   Qiao Yang <qyang@stbernard.com>
2610     * Use our own DC when getting the SID for a domain.
2614 Release Notes for older release follow:
2616       --------------------------------------------------
2617                    ===============================
2618                    Release Notes for Samba 3.0.14a
2619                               Apr 14, 2005
2620                    ===============================
2622 Common bugs fixed in 3.0.14a include:
2624   o Compatibility issues between Winbind and Windows 2003 SP1
2625     domain controllers (*2k3sp1*).
2626   o MS-DFS errors with Windows XP SP2 clients.
2627   o High CPU loads caused by infinite loops in the FindNext()
2628     server code.
2629   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
2630     files.
2632     
2633 ######################################################################
2634 Changes
2635 #######
2637 Changes since 3.0.14
2638 --------------------
2640 commits
2641 -------
2642 o   Jeremy Allison <jra@samba.org>
2643     * Fixed invalid SMB_ASSERT() triggered by checking access on
2644        ACL'd files.
2647 Changes since 3.0.13
2648 --------------------
2650 smb.conf changes
2651 ----------------
2653     Parameter Name                      Action
2654     --------------                      ------
2655     dos filetimes                       Enabled by default
2658 commits
2659 -------
2660 o   Jeremy Allison <jra@samba.org>
2661     * Prevent nt_status code support when negotiating protocols
2662       earlier than NT1.
2663     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
2664       as this SMB is DOS codepage only.
2665     * BUG 2585: Fix printf() issues in smbpasswd which caused
2666       seg faults.
2667     * BUG 2563: Fix infinite loop on non-existent file with 
2668       FindNext().
2669     * BUG 2581 (partial): Ensure if realloc fails on an internal 
2670       tdb we fail gracefully.
2671     * Ensure that 'dos filetimes' works with ACLs.
2672     * Set 'dos filetimes = yes' as the default for smb.conf.
2674       
2675 o   Gerald (Jerry) Carter <jerry@samba.org>
2676     * Workaround autoconf issue to prevent debug symbols from 
2677       being included in the default build.
2678     * Disable schannel on the \lsarpc pipe in order to successfully 
2679       enumerate users and groups (*2k3sp1*)
2680     * Fix parsing error in rpc binds which broke NTLMSSP 
2681       authentication.   And as a result broke CTL+ALT+DEL password 
2682       changes from a Windows 2003 SP1 member of a Samba domain 
2683       (*2k3sp1*).
2684     * Revert change to FindFirst() server code that broke WinXP
2685       SP2 clients from launching *.exe files from a dfs target 
2686       share.
2687     * BUG 2588: Force smbclient to send netbios messages to port 
2688       139 unless otherwise instructed (based on patch from Thomas 
2689       Bork).
2690       
2692 o   Volker Lendecke <vl@samba.org>
2693     * Fix build on FreeBSD 4 where Winbind is not supported.
2694     * Fix 'wbinfo --user-sids' when using domain local groups.
2695     * Restrict domain local groups reported by 'wbinfo -r' to
2696       the Samba server domain and not the users domain.
2699 o   Lin Li <linl@xandros.com>
2700     * Ensure that winbind initializes internal trusted domain 
2701       structures when enumerating users and groups.
2702       
2704 o   Tim Potter <tpot@samba.org>
2705     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
2706       test.
2707     * Fix compiler warnings.
2710 o   <psz@maths.usyd.edu.au>
2711     * Fix for possible root squash NFS bugs.
2712     
2713     
2714 o   Simo Sorce <irda@samba.org>
2715     * Debian packaging fixes.
2716     
2718       --------------------------------------------------
2719                    ==============================
2720                    Release Notes for Samba 3.0.13
2721                             Mar 24, 2005
2722                    ==============================
2724 Common bugs fixed in 3.0.13 include:
2726   o Infinite FindNext() loop from Windows 9x client when
2727     copying or deleting files on a Samba file share using 
2728     explorer.exe.
2729   o Numerous smbclient bugs when listing directories.
2730   o Failures in smbclient when connecting to a Windows 9x 
2731     file server.
2733     
2734 ######################################################################
2735 Changes
2736 #######
2738 Changes since 3.0.12
2739 --------------------
2741 o   Jeremy Allison <jra@samba.org>
2742     * Fix typo bug in smbclient where flags overwrote info level
2743       in the cli_list_new().
2744     * Fix old smbclient bug where ff_searchcount was being compared 
2745       to -1 resulting in processing a filename twice.
2746     * Fix segv in smbclient caused by overwriting the last 2 bytes 
2747       in cli_list_new().
2748     * BUG 2530: Fix potential segv in smbclient when talking to a 
2749       Windows 9x file server.
2750     * Fix last entry offset in cli_list_new() when using a 
2751       FindFirst/FindNext info level of 0x104.
2752     * BUG 2501: Stop Win98 from looping doing FindNext on a 
2753       singleton directory. 
2754     * BUG 2521: Fix error in access checks when user group ACLs.
2755       
2756       
2757 o   Gerald (Jerry) Carter <jerry@samba.org>
2758     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
2759       to delete all versions of a driver.
2760     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
2761       'disable netbios = yes'.
2762     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
2763       shares.  
2764     * Update RedHat packaging files to require cups support.  Also
2765       remove requirement for 'idmap {uid,gid}' settings in smb.conf
2766       from winbindd init script.
2767     * BUG 2516: fix compile issue on True64.
2768     
2769       
2770       
2771 o   Guenther Deschner <gd@samba.org>
2772     * Check for the correct cli-struct when copying files in 'net 
2773       rpc printer' routines.
2776 o   Herb Lewis <herb@samba.org>
2777     * Fix incorrect test in 'net rpc user' when the user is not
2778       a member of any groups.
2779       
2780       
2781 o   Jim McDonough <jmcd@us.ibm.com>
2782     * Make sure that enum_group_members() searches the correct suffix.
2783     
2785       --------------------------------------------------
2786                    ==============================
2787                    Release Notes for Samba 3.0.12
2788                             Mar 18, 2005
2789                    ==============================
2791 Common bugs fixed in 3.0.12 include:
2793   o Winbind failures when using 'disable netbios = yes'
2794   o Failure to establish a trust relationship via 'net rpc trust 
2795     establish'
2796   o Various portability & compiler issues.
2797   o Read only file deletion failure caused by new delete semantics 
2798     in Windows XP SP2 and the MS 04-044 security hotfix.
2799   o Error messages from shared Excel workbooks residing on Samba 
2800     file shares.
2801   o Missing files in the output of smbclient -c 'dir' when run 
2802     against Windows file servers.
2803   o Inability for Print Administrators to pause/resume/purge print 
2804     queues.
2806 Additional features introduced in Samba 3.0.12:
2808   o Performance enhancements when serving directories containing 
2809     large number of files.
2810   o MS-DFS support added to smbclient.
2811   o More performance improvements when using Samba/OpenLDAP based 
2812     DC's via the 'ldapsam:trusted=yes' option.
2813   o Support for the Novell NDS universal password when using the
2814     ldapsam passdb backend.
2815   o New 'net rpc trustdom {add,del}' functionality to eventually 
2816     replace 'smbpasswd {-a,-x} -i'.
2817   o New libsmbclient functionality.
2821 =======================
2822 Large Directory Support
2823 =======================
2825 Samba 3.0.12pre1 introduces a specific mechanism for dealing
2826 with file services that frequently contain a large number of files
2827 per directory.  Historically Samba's performance has suffered 
2828 in such environments due to the translation from case 
2829 insensitive lookups by Windows client to the case sensitive
2830 storage mechanisms used by UNIX filesystems.
2832 Configuration details along with a short HOWTO can be found at:
2834 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
2837 ==================================
2838 libsmbclient Binary Compatibility
2839 ==================================
2841 Please note that a change has been made to the _SMBCCTX structure 
2842 in source/include/libsmbclient.h.  This change is not backwards
2843 compatible with applications linked against the libsmbclient.so
2844 library from Samba 3.0.11.  However, it is compatible with all 
2845 other Samba 3.0.x releases.  This means that it will be most likely
2846 be necessary to recompile any applications linked against the 
2847 3.0.11 version of the library.
2850 ######################################################################
2851 Changes
2852 #######
2854 smb.conf changes
2855 ----------------
2857     Parameter Name                      Action
2858     --------------                      ------
2859     allocation roundup size             New
2860     log nt token command                New
2861     write cache                         Deprecated
2865 Changes since 3.0.11
2866 --------------------
2868 commits
2869 -------
2870 o   Jeremy Allison <jra@samba.org>
2871     * BUG 2146: Return correct allocation sizes so as not to crash 
2872       the VC++ compiler.
2873     * BUG 962: Ensure that parsing of service names in smb.conf is 
2874       multibyte safe.
2875     * BUG 2201, 2227: Support new delete semantics used by MS04-044
2876       and XP SP2.
2877     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
2878       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
2879     * Add special hooks when serving directories containing large
2880       numbers of files.
2881     * Ensure that WINS negative name query responses and WACK 
2882       packets use the correct RR type of 0xA instead of reflecting 
2883       back what the query RR type was (0x20).
2884     * BUG 2310: Only do 16-bit normalization on small dfree request.
2885     * BUG 2323: Correct authentication failure when using plaintext 
2886       passwords from Windows XP clients.
2887     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
2888       work around issues building MS Visual Studio 6.0 project 
2889       on a Samba file share while restoring the pre-3.0.21pre1 
2890       behavior by default.
2891     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
2892       stat when checking for existence of a pathname.
2893     * Check the sticky bit on the parent directory for supporting
2894       the new WinXP SP2 file deletion semantics.
2895     * Various oplock, share mode, and byte range locking fixes
2896       found by Connectathon tests.
2897     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
2898       code (inspired by patch from Satwik Hebbar).
2899     * BUG 2382, 2045: More pending modtime and delayed write fixes
2900       for MS Excel (incorporates partial patches from 
2901       ke_miyata@itg.hitachi.co.jp).
2902     * Debug log message cleanups.
2903     * Add case insensitive search for a principal match on logon 
2904       verification in the system keytab (based on patch by 
2905       Michael Brown <mbrown@fensystems.co.uk>).
2906     * Revert the previous SMB signing change from Nalin Dahyabhai
2907       when using DES keys.
2908     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
2909     * Fix FindFirst() server code to deal with resume names of ".."
2910       and "." (found by Jim McDonough).
2911     * BUG 2451: Fix missing functions in full audit VFS module.
2912     * Ensure that smbd logs failures reported by DISK_FREE()
2913       (reported by Ying Li <ying.li2@hp.com>).
2914     * Ensure that smbclient obeys the max protocol argument again.
2915     * BUG 2335: Return correct error code for OS/2 clients (based on
2916       negotiated protocol level).
2917     * BUG 2460, 2464: remove dead code and unused variables 
2918       (reported by Jason Mader).
2921 o   Andrew Bartlett <abartlet@samba.org>
2922     * Avoid length-limited intermediate copy of NT and LM responses 
2923       in NETLOGON client.
2924     * Debug message cleanups in the NTLMSSP implementation.
2927 o   Manuel Baena <mbaena@lcc.uma.es>
2928     * Print actual error message in smbmnt.c:fullpath().
2931 o   Vince Brimhall <vbrimhall@novell.com>
2932     * Add support for Novell NDS universal password.
2933     * BUG 2424: Ensure that uidNumber and gidNumber use match 
2934       the RFC2307 schema.
2935     * BUG 2453: Change the way pdb_nds.c handles users with no 
2936       Universal or Simple Password.
2937     * NDS schema file corrections.
2940 o   Gerald (Jerry) Carter <jerry@samba.org>
2941     * Add trans2 client call for checking dfs referrals
2942     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
2943       when checking directories on modern CIFS servers.
2944     * Add MS-DFS support to smbclient.
2945     * Code cleanup of adt_tree.[ch].
2946     * Add missing checks to allow root to manage user rights.
2947     * Allow domain admins to manage rights assignments on domain members
2948       servers.
2949     * BUG 2333: Use the lpq command to pass in the correct printer name 
2950       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
2951       the default.
2952     * BUG 1439: make sure to initialize pointer to prevent invalid 
2953       free()'s on exit.
2954     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
2955       netbios = yes'.
2956     * Add cups-devel to BuidlRequires directive in Fedora spec file.
2957     * BUG 858: Fix order of popt args evaluation so we don't crash 
2958       when given no command line args.
2959     * Remove dependency on bash for source/autogen.sh.
2960     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
2961     * Implement MS-DFS for recursive directory listings in smbclient.
2962     * BUG 2394: Fix nmbd linking issue on IRIX.
2963     * Only display the publish check box in the client's printer 
2964       properties dialog if we are a member of an AD domain.
2965     * BUG 2363: allow 'in use' driver to be removed as long as 
2966       one 'Windows NT x86' driver remains.
2967     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
2968       porting purposes.
2969     * Enforce better printer.tdb cache consistency when removing 
2970       jobs from a print queue via SMB.
2971     * Ensure that pause/resume/purge print queue commands are run
2972       with the appropriate level of privilege necessary to actually
2973       work.
2974     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
2975       for 'printing = cups' installations that do not actually have 
2976       libcups.
2977     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
2978     * BUG 2215: Rewrite questionable code that was causing gcc to 
2979       choke.
2980     * Add server support for LsaLookupPrivValue().
2981     * Various small compile fixes and cleanup warnings.
2982     * BUG 2456: Fix compile failure on non-gcc platforms due to
2983       non-standard pragma.
2986 o   Kevin Dalley <kevin@kelphead.org>
2987     * BUG 2398: Don't force smbclient to assume a dry run if the 
2988       target tarfile is /dev/null.
2991 o   Guenther Deschner <gd@samba.org>
2992     * Fix crash bug in the client-spoolss enumdataex-call.
2993     * Expand the valid-workstation-scheme by expanding names 
2994       beginning with a plus (+) as a unix group.
2995     * Allow own netbios name to be set in smbclient's session setup.
2996     * Better handling of LDAP over IPC connections that have expired 
2997       on the LDAP-Server.
2998     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
2999     * Add examples/misc/adssearch.pl.
3000     * BUG 2343: Build fixes.
3001     * Support get_user_info_7 in SAMR server RPC.
3002     * Fix server_role in the samr_query_dom_info calls.
3003     * Add example perl script to check for multiple LDAP entries
3004       after running 'net rpc vampire'.
3005     * Add more output when listing printer forms via rpcclient.
3006     * Debug log message cleanup.
3009 o   Steve French <sfrench@us.ibm.com>
3010     * On failed mount (ENXIO) retry share name in uppercase (fix
3011       mount to FastConnect AIX SMB server).
3012     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
3013     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
3014       it with a user name.
3015     * Update for new CIFS POSIX info levels.
3016     * Ignore users mount parm in mount.cifs.
3018 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
3019     * BUG 1549: Don't truncate service names in smbstatus.
3022 o   William Jojo <jojowil@hvcc.edu>
3023     * BUG 2445: Patch to avoid default ACLs on AIX.
3026 o   S Murthy Kambhampaty <smk_va@yahoo.com>
3027     * Add idmap_rid module to Fedora and RedHat spec files.      
3030 o   Volker Lendecke <vl@samba.org>
3031     * BUG 2401: Flush internal getpwnam() cache after deleting a 
3032       user.
3033     * BUG 1604: Make winbind work with more than 10 trusted domains.
3034     * Cleanup various compiler warnings.
3035     * Fix a memory leaks in privileges code and passdb backends.
3036     * Fixes for samr_lookup_sids() client call.
3037     * Optimize _samr_query_groupmem with LDAP backend for large 
3038       domains.
3039     * Support SIDs as %s replacements in the afs username map 
3040       parameter.
3041     * Add 'log nt token command' parameter. If set, %s is replaced 
3042       with the user sid, and %t takes all the group sids.
3043     * Do not use the "Local Unix Group"-default description for 
3044       all kinds of group-mappings. 
3045     * Fix uninitialized variable in Linux nss_winbind library.
3046     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
3047     * Implement 'net afs impersonate'.
3048     
3050 o   Herb Lewis <herb@samba.org>
3051     * Fix build problem when HAVE_POSIX_ACL is not defined.
3052     * BUG 2417: Add help lines for net rpc group addmem and 
3053       delmem commands.
3054     
3056 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
3057     * Add support to libsmbclient for getting and setting DOS 
3058       attributes using EA functions.
3059     * Fix libsmbclient's URL encoding/decoding.
3060     * Replace browse listing URI queries with an internal options 
3061       structure (previous method violated the SMB URI syntax).
3062     * Allow tree connects to be multiplexed over a single CIFS server 
3063       connection context.
3064     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
3065       can determine a dead tree connection.
3066     * Implement better solution for backwards binary compatibility
3067       in libsmbclient while adding new fields to struct _SMBCCTX.
3070 o   Mark Loeser <halcy0n@gentoo.org>
3071     * BUG 2443: Compile fix for gcc4.
3074 o   Jim McDonough <jmcd@us.ibm.com>
3075     * BUG 2338: Fix coredump when OS/2 checks for long file name 
3076       support (with .+,;=[].) (thanks to Guenter Kukkukk).
3079 o   Jason Mader <jason@ncac.gwu.edu>
3080     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
3081       2341, 2342)
3084 o   Jim McDonough <jmcd@us.ibm.com>
3085     * Fixes for server schannel implementation when 'restrict 
3086       anonymous = 1' is set in smb.conf.
3087     * Fix bug in server side lookupsids reply that crashed lsass.exe 
3088       on Windows clients.
3089     * Fix 'net rpc trustdom establish'.
3090     * BUG 2062: Turn off broadcast for all 390 NICs.
3091     * Fix 'net rpc trustdom add' to correctly add new domain trust 
3092       accounts.  This will eventually replace 'smbpasswd -a -i'.
3093     * Implement 'net rpc trustdom del', including client side of 
3094       samr_remove_sid_from_foreign_domain.
3095     * Bring IBM Directory Server schema up to date with openldap 
3096       schema.
3097     * Allow for better protection of sensitive attributes in IBM
3098       Directory Server.
3101 o   Stefan Metzmacher <metze@samba.org>    
3102     * Fix memleaks in the nttrans code.
3105 o   Mike Nix <mnix@wanm.com.au>
3106     * Add SMBsplopen and SMBsplclose client calls.
3109 o   Justin Ossevoort <justin@snt.utwente.nl>
3110     * BUG 2316: Fix crashes in pdb_pgsql.
3113 o   James Peach <jpeach@sgi.com>
3114     * Fixes in string handling code.
3115     * Fix oplock2 test in client smbtorture.
3118 o   Tim Potter <tpot@samba.org>
3119     * Fix up example pdb modules after prototype change for 
3120       setsampwent.
3121     * BUG 2058: Fix for shared object creation in examples.
3122     * BUG 2315: Fix segv in LSA privileges server code.
3123     * Build fixes for python wrapper libraries.
3126 o   Richard Sharpe <rsharpe@samba.org>
3127     * BUG 2044: Fix segv in profiles tool.
3128     * Fix bogus error messages when enumerating user group 
3129       membership via 'net rpc'.
3132 o   Simo Sorce <idra@samba.org>
3133     * Debian packaging fixes.
3136 o   John Terpstra <jht@samba.org>
3137     * Add the capability to set account description using pdbedit.
3140 o   Doug VanLeuven <roamdad@sonic.net> 
3141     * Add more case/realm/name permutations to the Kerberos keytab.
3142     * AIX compile fixes.
3145 o   Jelmer Vernooij <jelmer@samba.org>
3146     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
3147     * BUG 1957: Implement minimal update of fields in mySQL pdb 
3148       module.
3149     
3151 o   Torsten Werner <torsten.werner@assyst-intl.com>
3152     * BUG 2405: Define 'lpstat' printcap output on HPUX.
3153     
3155 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
3156     * Detect infinite loops when traversing tdbs.
3159       --------------------------------------------------
3160                    ==============================
3161                    Release Notes for Samba 3.0.11
3162                              Feb 5, 2005
3163                    ==============================
3165 Common bugs fixed in 3.0.11 include:
3167   o Crash in smbd when using CUPS printing.
3168   o Parsing error of other SIDs included in the user_info_3
3169     structure returned from domain controllers.
3170   o Inefficiencies when searching non-AD LDAP directories.
3171   o Failure to expand variables in user domain attributes
3172     in tdbsam and ldapsam.
3173   o Memory leaks.
3174   o Failure to retrieve certain attribute when migrating from 
3175     a Windows DC to a Samba DC via 'net rpc vampire'.
3176   o Numerous printing bugs bugs including memory 
3177     bloating on large/busy print servers.
3178   o Compatibility issues with Exchange 5.5 SP4.
3179   o sendfile fixes.
3181 Additional features introduced in Samba 3.0.11:
3183   o Winbindd performance improvements.
3184   o More 'net rpc vampire' functionality.
3185   o Support for the Windows privilege model to assign rights
3186     to specific SIDs.
3187   o New administrative options to the 'net rpc' command.
3190 ============
3191 LDAP Changes
3192 ============
3194 If "ldap user suffix" or "ldap machine suffix" are defined in
3195 smb.conf, all user-accounts must reside below the user suffix,
3196 and all machine and inter-domain trust-accounts must be located 
3197 below the machine suffix.  Previous Samba releases would fall 
3198 back to searching the 'ldap suffix' in some cases.
3201 ===============
3202 Privilege Model
3203 ===============
3205 Samba 3.0.11 supports the following assignable rights
3207 SeMachineAccountPrivilege  Add machines to domain
3208 SePrintOperatorPrivilege   Manage printers
3209 SeAddUsersPrivilege        Add users and groups to the domain
3210 SeRemoteShutdownPrivilege  Force shutdown from a remote system
3211 SeDiskOperatorPrivilege    Manage disk shares
3213 These rights can be assigned to arbitrary users or groups
3214 via the 'net rpc rights grant/revoke' command.  More details
3215 of Samba's privilege implementation can be found in the 
3216 Samba-HOWTO-Collection.
3217     
3219 ######################################################################
3220 Changes
3221 #######
3223 Changes since 3.0.10
3224 --------------------
3226 smb.conf changes
3227 ----------------
3229     Parameter Name                      Action
3230     --------------                      ------
3231     afs token lifetime                  New
3232     enable privileges                   New
3233     ldap password sync                  Alias
3234     min password length                 Deprecated
3235     winbind enable local accounts       Deprecated
3238 commits
3239 -------
3240 o   Jeremy Allison <jra@samba.org>
3241     * Extend vfs to add seekdir/telldir/rewinddir.
3242     * Fix dirent return.
3243     * Fix bugs when handling secondary trans2 requests.
3244     * Implementation of get posix acls in UNIX extensions.
3245     * Added set posix acl functionality into the UNIX extensions code.
3246     * Updated config.guess/config.sub .
3247     * Fix error reply when 'follow symlinks = no'.
3248     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
3249       not already zero.
3250     * Fixes for LARGE_READX support.
3251     * Fix the problem we get on Linux where sendfile fails, but we've
3252       already sent the header using send().
3253     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
3254       inherit = no'.
3255     * BUG 2088: Ensure inherit permissions is only applied on a new 
3256       file, not an existing one.
3257     * Don't go fishing for the krb5 authorization data unless we know
3258       it's there.
3259     * Fixes for libsmbclient to ensure that interrupted system calls
3260       are restarted minus the already expired portion of the timeout
3261       (based on work by Derrell Lipman).
3262     * More Unicode string parsing fixes.
3263     * Convert the winreg pipe to use WERROR returns.
3264     * Make all LDAP timeouts consistent (input from Joe Meadows 
3265       <jameadows@webopolis.com>).
3266     * BUG 2231: Remove double "\\" from client findfirst.
3267     * BUG 2238: Fix memory leak in shadow copy vfs.
3268     * Return correct DOS/NT error code on transact named pipe on 
3269       closed pipe handle.
3270     * BUG 2211: Fix security descriptor parsing bug (based on work by 
3271       Mrinal Kalakrishnan <mail@mrinal.net>).
3272     * BUG 2270: Fix memory leaks in cups printing backend support 
3273       (based on work by Lars Mueller).
3274     * BUG 2255: Fix debug level in Kerberos error messages.
3275     * BUG 2110: Ensure we convert to ucs2 correctly after the 
3276       CAN-2004-0930 patch.
3277     * Make strict locking an enum. Auto means use oplock optimization.
3278     * Fix client  & server to allow 127k READX calls.
3279     * More *alloc fixes (includes additional fixes by Albert Chin.
3280     * Catch sendfile errors correctly and return the correct values 
3281       we want the caller to return.
3282     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
3283       for better use by desktop environments such as GNOME.
3284     * Ensure we can't remove a level II oplock without having the
3285       shared memory area locked.
3286             
3288 o   Timur Bakeyev <timur@com.bat.ru>
3289     * BUG 2100: change the way we check for errors after a dlopen().
3290     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
3291     
3292     
3293 o   Andrew Bartlett <abartlet@samba.org>
3294     * Clarify error message when 'lanman auth = no'.
3295     * Remove the unnecessary UTF-8 conversion calls in the calls to
3296       auth_winbind from smbd.
3297     * Don't store the auth-user credentials with the cli_state* as 
3298       this can cause the schannel setup to fail when the auth-user
3299       domain is not our primary domain.
3302 o   Grigory Batalov <bga@altlinux.org>
3303     * Fix encoding while receiving of a message which was actually 
3304       sent using STR_ASCII.
3307 o   Daniel Beschorner <db@unit-netz.de>
3308     * BUG 603: Correct access mask check for _samr_lookup_domain()
3309       to work with Windows RAS server
3312 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
3313     * Fix missing printer_tdb reference decrement.
3314     
3316 o   Gerald (Jerry) Carter <jerry@samba.org>
3317     * BUG 2073: fall back to smb_name if current_user_info is not
3318       available in lp_file_list_changed().
3319     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
3320       errors.
3321     * Don't run the background LPQ daemon when we are running in
3322       interactive mode.
3323     * prevent the background LPQ daemon from updating the print queue
3324       cache just because multiple smbd processes sent a message that
3325       it was out of date.
3326     * consolidate printer searches to use find_service rather than 
3327       for(...) loops.
3328     * BUG 2091: don't remove statically defined printers in 
3329       remove_stale_printers().
3330     * Fix logic error in add_a_form() that only compared N characters 
3331       instead of the entire form name.
3332     * BUG 2107: fix memory bloating caused by large numbers of 
3333       print_queue_updates() requests sent via messages.tdb.
3334     * Check the setprinter(3) based on the access permissions on 
3335       the handle and avoid the call to print_access_check().
3336     * Re-instantiate previous semantics for calling init_unistr2() 
3337       with a NULL source buffer.
3338     * Support Windows privilege model for assigning rights
3339       to specific SIDs.  Based on work by Simo Sorce in the trunk 
3340       svn branch.  This feature is controlled by the 'enable 
3341       privileges = [yes|no]' smb.conf(5) option.
3342     * Add some smb.conf scripts for add/delete/change shares and 
3343       deleting cups printers.
3344     * Expand variables in the profile path, logon home and logon script 
3345       values when using either tdbsam or ldapsam.
3346     * Add Domain Admins (Full Control) to the default printer security 
3347       descriptor if we are a DC.
3348     * RedHat and Fedora Packaging fixes for perl dependencies.
3349     * Remove unused schema items from OpenLDAP schema file.
3350     * Remove duplicate enumeration of "Windows x86" architecture
3351       when listing printer drivers via rpcclient.
3352     * Fail set_privileges() if 'enable privileges = no' to prevent 
3353       confused admins.
3354     * Fix segfault in cups_queue_get().
3355     * Tighten restrictions on changing user passwords when 
3356       the connected user possesses the SeMachineAccountPrivilege.
3357     * Ensure we set NETBIOSNAME.domainname for the long machine name
3358       when publishing printers in AD (based on input from Rob Foehl).
3359     * Mark 'winbind enable local accounts' as deprecated.
3360     * Mark testprns tool as deprecated.
3361     * Allow root to grant/revoke privilege assignments.
3362     * Correct interaction between user rights and se_access_check() on
3363       SAMR objects.
3364     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
3365       class.
3366     * BUG 2262: Add support in configure.in for *freebsd6*.
3367     * BUG 2266: Portability fixes for quota code on FreeBSD4.
3368     * BUG 2264: Remove shutdown and abortshutdown commands from 
3369       rpcclient in favor of using the same functions in 'net'.
3370     * BUG 2295: Prevent smbd from returning an empty server name
3371       in certain lanman api calls.
3372     * BUG 2290: Fix autogen.sh script in examples (based on original
3373       patch from Lars Mueller).
3374     * Fix bug enumerating domain trusts in security = ads.
3375     * Fix segv in rpcclient's dsenumdomtrusts.
3376     * Fix bug in expansion of %U and %G in included filenames.
3377     * BUG 2291: Restrict creation of server trust and domain trust
3378       accounts to members of the "Domain Admins" group.
3380 o   Nadav Danieli <nadavd@exanet.com>
3381     * Short circuit some is_locked() tests if we are oplocked.
3382     
3383     
3384 o   Guenther Deschner <gd@samba.org>
3385     * Allow 'localhost' as a valid server name in the smbd for the
3386       spoolss calls.
3387     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
3388       Mewburn for the input).
3389     * BUG 2059: Add additional checks needed after logic change to the
3390       HAVE_WRFILE_KEYTAB detection test.
3391     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
3392       Samba DC.  Allow us to lookup at least our own SID.
3393     * More fixes to have proper German in swat (Thanks to Reiner 
3394       Klaproth and Björn Jacke.
3395     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
3396       setting security descriptors with smbcacls and using with 
3397       the -S or -M switch. 
3398     * Include the munged_dial, bad_password_count, logon_count, and 
3399       logon_hours attributes when running 'net rpc vampire'.
3400     * Fix segfault in idmap_rid.
3401     * When winbindd is operating in the multi-mapping mode of 
3402       idmap_rid, allow BUILTIN domain-mapping.
3403     * Display infolevel 12 in query_dom_info in rpcclient.
3404     * Fix bug in winbindd's lowercasing of usernames.
3405     * Allow -v or -l for displaying verbose groupmap-listing 
3406       as well as "verbose".
3407     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
3408       vampire'.
3409     * Close LDAP-Connection before retrying to open a new connection 
3410       in the retry-loop.
3411     * Marking "min password length" as depreciated.  
3412     * Implement SAMR query_dom_info-call info-level 8 server- and 
3413       client-side, based on samba4-idl.
3414     * Allow rpcclient to define a port to use when connecting 
3415       to a remote server.
3416     * Allow Account Lockout with Lockout Duration "forever" (until 
3417       admin unlocks) to be set and displayed in User Manager.
3418     * Allow to set acb_mask in rpcclient's enumdomusers.
3419     * Add more generic rootDSE inspection function to check 
3420       for given controls or extensions and remember these on a 
3421       per server basis.
3422     * Improve LDAP search efficiency by passing the acb_mask to 
3423       pdb_setsampwent().
3424     * Fixes for ldapsam_enum_group_memberships().
3425     * Add createdomgroup to rpcclient.
3426     * Add "net rpc user RENAME"-command.
3427     * Display sam_user_info_7 in rpcclient.
3428     * Make multi-domain-mode in idmap_rid accessible from outside 
3429       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
3430     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
3431       "Lockout Duration: Forever".
3432     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
3433       config utility.
3434     * Require assignment of Administrator SID in the passdb 
3435       backend.  Fall back to the default name of 'Administrator' if
3436       the lookup fails rather than using the first name in the
3437       default 'admin users' list.
3438     * Enhance LDAP failure debug messages.
3439     * BUG 2291: Call the 'add machine script' for server trust and 
3440       domain trust accounts as well as workstation accounts.
3441     
3442     
3443 o   Levente Farkas <lfarkas@lfarkas.org>
3444     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
3445       packages.
3448 o   Jay Fenlason <fenlason@redhat.com>
3449     * Fix crash in 'net join' due to calling free on 
3450       static buffers.
3451     * Several patches from RedHat's Fedora Core RPMS.
3454 o   Rob Foehl <rwf@loonybin.net>.
3455     * Compiler warnings.
3456     * Try modifying printer published attributes before adding it a
3457       new entry in AD.
3458     * Solaris packaging fixes.
3459     * Don't force the cups printer-make-and-model tag as the comment
3460       for autoloaded printers.
3461     * Implement caching of names from printcap to support a true
3462       'printcap cache time'.
3465 o   Johann Hanne <jhml@gmx.net>
3466     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
3469 o   Jeff Hardy <hardyjm@potsdam.edu>
3470     * Example script for 'add print command' when using CUPS.
3473 o   Deryck Hodge <deryck@samba.org>
3474     * Add -P (--password-only-menu) to SWAT for displaying only the
3475       password change page to non-root users.
3478 o   David Hu <david.hu@hp.com>
3479     * Copy structure from print_queue_update() message rather than 
3480       referencing it.  Fixes seg fault on HP-UX.
3481       
3482       
3483 o   Buck Huppmann <buckh@pobox.com>
3484     * BUG 2186: Don't free uninitialized credentials.
3485     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
3486       dnsDomainName != realm.
3487    
3489 o   Björn Jacke <bjoern@j3e.de>
3490     * BUG 2040: Ensure the locale is reset to C to get ASCII-
3491       compatible toupper/lower functions.
3494 o   William Jojo <jojowil@hvcc.edu>
3495     * Fix HPUX sendfile and add configure.in tests and code for
3496       sendfile on AIX.
3497     * AIX 5.3 compile fixes.
3500 o   Volker Lendecke <vl@samba.org>
3501     * Optimize anonymous session setups by workstations in a 
3502       Samba domain.
3503     * Reimplment the QueryUserAliases() server RPC reply.
3504     * Re-add the getpwnam-cache for performance.
3505     * Cache the result of a pdb_getsampwnam for later SID lookup 
3506       queries.
3507     * Unify the means of localtaing a user's global groups on a 
3508       Samba DC.
3509     * Fix bug when serving the 'Start Menu' in a roaming user profile..
3510     * Map more pre-defined NT security descriptors to AFS acls.
3511     * Add timeout to AD search requests.
3512     * If a connection to a DC is requested (in winbindd), open
3513       connections simultaneously to all DCs found.
3514     * Memleak fixes.
3515     * Fix logic error in handling of 'printcap name' parameter.
3516     * Prevent winbindd from SPAM'ing the log files with 'user root 
3517       does not exist'.
3518     * Backport samr_DomInfo2 IDL specification from Samba 4.
3519     * Implement smbstatus -n, don't lookup users and groups.
3520     * Implement simple mapping that maps the space to another character 
3521       defined by afsacl:space.
3522     * Add support for 'net idmap delete <idmap-file> <SID>'.
3523     * Add new parameter 'afs token lifetime' tells the AFS client 
3524       when to throw away a token (patch from kllin@it.su.se).
3525     * Initial work to allow support for multiple pipe opens on a 
3526       single cli_state*.
3527     * Ensure that we still retrieve the netbios name of any DC 
3528       listed as a 'password server' to work around cases where the 
3529       DC was defined using an IP address or fqdn.
3530     * Fix memleak in winbindd connection code.
3531     * Fix cli_samr_queryuseraliases.
3532     * Allow wbinfo --user-sids to expand expand domain local groups.
3533     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
3534     * Fix parsing of other_sids in net_user_info3.
3535     * Correct bad failure logic when user was not a member of any 
3536       domain local groups.
3537     
3539 o   Jason Mader <jason@ncac.gwu.edu>
3540     * BUG 2113, 2289: Remove dead code.
3543 o   Jim McDonough <jmcd@us.ibm.com>
3544     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
3545       clients.  If it fails, fall back to WINREG.
3546     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
3547     * BUG 2198: Set password last change time when running 'net rpc 
3548       vampire'.
3549     * Add "refuse machine password change" policy field.
3552 o   Luke Mewburn <lukem@NetBSD.org>
3553     * BUG 2150: shmget() - Use POSIX definitions instead of non-
3554       standard SHM_.
3555       
3557 o   Stefan Metzmacher <metze@samba.org>    
3558     * autogen.sh fixes.
3561 o   Buchan Milne <bgmilne@mandrake.org>
3562     * Mandrake packaging fixes.
3565 o   Lars Mueller <lmuelle@samba.org>
3566     * Fix build of libsmbclient on x86_64.
3567     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
3568       is installed in a non-default location.
3569     * BUG 2050: Calculate max_fd for select correctly.
3570     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
3571       script.
3574 o   Jason Mader <jason@ncac.gwu.edu>
3575     * BUG 2069: Remove unused variables.
3576     * BUG 2075: Remove dead code paths.
3577     * BUG 2083: Fix compiler warnings caused by bad type casts.
3580 o   James Peach <jpeach@sgi.com>
3581     * Fix rewinddir -> rewind_dir when using VFS macros.
3582     
3584 o   Gavrie Philipson <gavrie@disksites.com>
3585     * BUG 1838: Remove stale printers imeeddiately when 
3586       processing a SIGHUP and during smb.conf reload.
3588       
3589 o   Tim Potter <tpot@samba.org>
3590     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
3591     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
3592     * Change the license for the winbindd external interface 
3593       more liberal.
3594     * HP-UX compile fixes.
3595     * Compile fixes after new setsampwent() API.
3598 o   Richard Renard <rrenard@idealx.com>
3599     * Update Netscape DS 5.2 LDAP schema.
3602 o   Simo Sorce <idra@samba.org>
3603     * Backport pdbedit changes from trunk.
3604     * Allows the add/change share command to create the shared 
3605       directory directory on disk.
3606     * Log a warning in testparm if a print command is defined for
3607       a print service using 'printing = cups'.
3608      
3609 o   Jelmer Vernooij <jelmer@samba.org>
3610     * Bug fixes for pdb_{xml,pqsql,xml}
3611     * Fixes for pdb_mysql.
3614 o   Andrew Tridgell <tridge@samba.org>
3615     * Bring Samba3 into line with the Samba4 password change code.
3616     
3618 o   Shiro Yamada <shiro@miraclelinux.com>
3619     * BUG 2190: Force SWAT to display parameters in unix charset and 
3620       not UTF-8.
3623       --------------------------------------------------
3624                    ==============================
3625                    Release Notes for Samba 3.0.10
3626                              Dec 16, 2004
3627                    ==============================
3629 Common bugs fixed in 3.0.10 include:
3631   o Fix for security issues described in CAN-2004-1154.
3634 Changes since 3.0.9
3635 -------------------
3637 commits
3638 -------
3640 o   Jeremy Allison <jra@samba.org>
3641     * Added checks surrounding all *alloc() calls to fix
3642       CAN-2004-1154.
3643     * Fix long standing memory size bug in bitmap_allocate().
3644     * Remove bogus error check in deferred open file serving 
3645       code.
3648 o   Thomas Bork <tombork@web.de>
3649     * Fix autoconf script on platforms using a version of GNU ld
3650       that does not include a date stamp in the output of --version.
3653 o   Luke Mewburn <lukem@NetBSD.org>
3654     * Fix the swat install script to deal with the new image
3655       destination directory used by the docs.
3656      
3659       --------------------------------------------------
3661                    =============================
3662                    Release Notes for Samba 3.0.9
3663                              Nov 15, 2004
3664                    =============================
3666 Common bugs fixed in 3.0.9 include:
3668   o Problem updating roaming user profiles.
3669   o Crash in smbd when printing from a Windows 9x client.
3670   o Unresolved symbols in libsmbclient which caused
3671     applications such as KDE's konqueror to fail when
3672     accessing smb:// URLs.
3675 Changes since 3.0.8
3676 -------------------
3679 commits
3680 -------
3682 o   Jeremy Allison <jra@samba.org>
3683     * Correctly detect errno for no acl/ea support.
3684     * BUG 2036: Fix seg fault in 'net ads join'.
3686     
3687 o   Gerald (Jerry) Carter <jerry@samba.org>
3688     * Solaris packaging fixes.
3689     * Fix seg fault in lanman printing code.
3690     * BUG 2017: fix testparm reporting for the passwd program 
3691       string.
3692     * Fix output of smbstatus to match the man page.
3693     * BUG 2027: fix conflict with declaration MD5_CTX in system 
3694       headers.
3695     * 2028: Avoid false error messages when copying a long 
3696       printer name to the device mode.
3699 o   Guenther Deschner <gd@samba.org> 
3700     * Allow deldriverex in rpcclient to delete drivers for a 
3701       specific architecture and a specific version.
3702     * Fix a couple of rpcclient spoolss commands (setprinter, 
3703       setprintername, getdriver) w.r.t to printer-naming scheme.
3704       Allow 'localhost' in the server string for certain server-side
3705       spoolss functions.
3706     * BUG 2015: Do not fail on setting file attributes with 
3707       acl support enabled.
3710 o   Michel Gravey <michel.gravey@optogone.com>
3711     * Fix build when using gcc 3.0.
3714 o   Volker Lendecke <vl@samba.org>
3715     * Fix tdb open logic when checking our local_pid after 
3716       the fork().
3719 o   Jim McDonough <jmcd@us.ibm.com>
3720     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
3721       non-root user.
3724 o   Luke Mewburn <lukem@NetBSD.org>
3725     BUG 1661: Fix KRB5_SETPW-defines
3728 o   Buchan Milne <bgmilne@mandrake.org> 
3729     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
3732 o   Lars Mueller <lmuelle@samba.org>
3733     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
3736 o   Martin Zielinski <mz@seh.de>
3737     * Add DeletePrinterDriverEx() functionality to rpcclient.
3738     
3740       --------------------------------------------------
3742                    =============================
3743                    Release Notes for Samba 3.0.8
3744                              Nov 7, 2004
3745                    =============================
3747 Common bugs fixed in 3.0.8 include:
3749   o Compile fixes for HP-UX
3750   o Fixes for the printer publishing code used when joined to 
3751     an AD domain.
3752   o Incompatibilities with file system quotas.
3753   o Several bugs in the spoolss printing code and print system 
3754     backends.
3755   o Inconsistencies in the username map functionality when 
3756     configured on domain member servers.
3757   o Various compile warnings and errors on various platforms.
3758   o Fixes for Kerberos interoperability with Windows 200x 
3759     domains when using DES keys.
3760   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
3761   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
3763     
3764 New features included in the 3.0.8 release are:
3766   o New migration functionality added the the net tool
3767     for files/directories, printers, and shares.
3768   o New experimental idmap backend for assigning uids/gids
3769     directly based on the user/group RID when acting as a
3770     member of single domain without any trusts.
3771   o Additional printer migration support for XP/2003 platforms.
3774 ===========================
3775 Change in Winbindd Behavior
3776 ===========================
3778 All usernames returned by winbindd are now converted to lower 
3779 case for better consistency.  This means any winbind installation
3780 relying on the winbind username will need to rename existing 
3781 directories and/or files based on the username (%u and %U) to lower 
3782 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
3783 include mail spool files, home directories, valid user lines in 
3784 smb.conf, etc....
3787 ======================
3788 Change in Username Map
3789 ======================
3791 Previous Samba releases would only support reading the fully qualified 
3792 username (e.g. DOMAIN\user) from the username map when performing a 
3793 Kerberos login from a client.  However, when looking up a map 
3794 entry for a user authenticated by NTLM[SSP], only the login name would be
3795 used for matches.  This resulted in inconsistent behavior sometimes
3796 even on the same server.
3798 Samba 3.0.8 obeys the following rules when applying the username
3799 map functionality:
3801   * When performing local authentication, the username map is 
3802     applied to the login name before attempting to authenticate 
3803     the connection.
3804   * When relying upon a external domain controller for validating
3805     authentication requests, smbd will apply the username map 
3806     to the fully qualified username (i.e. DOMAIN\user) only
3807     after the user has been successfully authenticated.
3810 ######################################################################
3811 Changes
3812 #######
3814 Changes since 3.0.7
3815 -------------------
3817 smb.conf changes
3818 ----------------
3819     Parameter Name                      Action
3820     --------------                      ------
3821     force printername                   New
3822     sendfile                            disabled by default
3825 commits
3826 -------
3828 o   Jeremy Allison <jra@samba.org>
3829     * Ensure extended security bit is on only if we negotiated 
3830       extended security.
3831     * Simplify statcache to use an in-memory tdb. 
3832     * If you're selecting a hash algorithm for tdb, you need 
3833       to do it at open time.
3834     * Removed old dir caching code - not being used now we 
3835       have the statcache anyway.
3836     * Simplify the mangle hash code to use an in-memory tdb.
3837     * Merge iconv changes from Samba 4 branch.
3838     * Fix parsing of names ending in dot and a few other error 
3839       returns.
3840     * BUG 1667: Smbpasswd file could be left locked on some 
3841       error exits.
3842     * Fixes for smbclient tar functionality.
3843     * BUG 1743: Fix logic bug the deferred open code.
3844     * Don't try to set security descriptors on shares where 
3845       this has been turned off.
3846     * Return correct error codes on old SEARCH call.
3847     * Ensure we set errno = E2BIG when we overflow in the 
3848       fast-path character conversion code.
3849     * Fix the roundup problem (returning 1mb roundup) for 
3850       non-Windows clients.
3851     * Added 'stat' command to smbclient to exercise the 
3852       UNIX_FILE_BASIC info level.
3853     * Fix bug where we could incorrectly set sparse attribute.
3854     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
3855       (reported by Taj Khattra <taj.khattra@gmail.com>).
3856     * Remove locked keys tdb code.
3857     * BUG 1886: Prevent delete on close being set for readonly files 
3858       (and return the correct error code).
3859     * Ensure we pass most of the new lock tests except for the cancel 
3860       lock which is yet to be added (merged from Samba 4 branch).
3861     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
3862     * BUG 1956: Ensure errno is saved and restored consistently on a 
3863       normal_close.
3864     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
3865       that all of the appropriate service principal names are set 
3866       upon joining an AD domain.
3867     * Fix the correct use of resume name in the trans2 code.
3868     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
3869       correct salt used when generated the DES key after joining an 
3870       AD domain.
3871     * Enhanced krb5 detection routines in the autoconf scripts.
3872   
3874 o   Andrew Bartlett <abartlet@samba.org>
3875     * Avoid changing the machine account password in the passdb 
3876       backend, when it has 'already been changed'.  This occurs 
3877       in situations where the secure channel between the workstation 
3878       and the DC breaks down, such as occurred in the MS04-11 
3879       security patch.
3880     * Fix utility name in error message in ntlm_auth.
3881     * Fix NTLMv2 for use with pam_winbind.
3882     * Remove conversion to and from UTF8 on the winbind pipe.
3883     * Allow 'require_membership_of' and 'require-membership-of'.
3884     * Fix the error code for 'you didn't specify a domain' in 
3885       ntlm_auth.
3886     * Use sys_getgroups() rather than scanning all groups 
3887       when generating SAMR replies.
3890 o   Igor Belyi <sambauser@katehok.ac93.org>
3891     * Ensure pdb user is deleted first before deleting UNIX 
3892       user (LDAP backend needs this ordering).
3895 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
3896     * Fix core dump in 'net rpc vampire'.
3897     
3899 o   Vince Brimhall <vbrimhall@novell.com>
3900     * Make ldapsam_compat robust against NULL attributes.
3903 o   Gerald Carter <jerry@samba.org>
3904     * Don't limit the number of groups returned by winbindd_getgroups()
3905       by NGROUPS_MAX.
3906     * BUG 1519: Match Windows 2000 behavior when opening a 
3907       printer using a servername in the form of an IP address or 
3908       DNS name.
3909     * BUG 1907: remove extra slashes from the printer name in 
3910       getprinterdriverdir_1().  
3911     * Fix standard_sub_snum() to use the current user's gid.
3912     * Fix background queue update bug (based on Volker's initial work 
3913       in 3.1.0).
3914     * Add 'force printername' service parameter for people that want 
3915       to enforce printername == sharename for spoolss printing.
3916     * Ensure consistent usage of the username map.  Use the fully 
3917       qualified DOMAIN\user format for 'security = domain|ads' and 
3918       apply after authentication has succeeded.
3919     * Cosmetic fix for getent output -- lowercase the username only 
3920       and not the complete domain\username string.
3921     * Packaging fixes for Solaris, Redhat, & Fedora.
3923     
3924 o   Sean Chandler <sean.chandler@verizon.net>
3925     * Fix memlieak in cliconnect.c.
3928 o   Darren Chew <darrenc@vicscouts.asn.au>
3929     * Solaris packaging fixes.
3930     
3932 o   Nalin Dahyabhai <nalin@redhat.com>
3933     * SMB signing fix for 56-bit DES session keys.
3936 o   Guenther Deschner <gd@samba.org> 
3937     * add IA64 to the architecture table of printer-drivers.
3938     * Add file/share/printer migration functionality to 
3939       the net command.
3940     * Show correct help for net groupmap commands.
3941     * Fix deadlock loop in winbind's required_membership_sid
3942       verification.
3943     * Bring the same level of "required_membership"-functionality 
3944       that ntlm_auth uses, to pam_winbindd as well.
3945     * Prevent "net lookup kdc" from seg-faulting when
3946       using our own implementation of krb5_lookup_kdc with 
3947       heimdal.
3948     * Adding getprinter level 7 to rpcclient.
3949     * Support migrating printers|shares|files from Server A 
3950       to Server B while running the net-command on client C.
3951     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
3952       failure of this call non-critical (Thanks to Love @ Heimdal
3953       for the explanation and patch).
3954     * Fix typos in net's usage-output.
3955     * Fix the paranoia-check to ensure the ldap-attribute and the
3956       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
3957       are identical.
3958     * Fix several bugs in the _samr_query_useraliases() rpc reply.
3959     * Check correct string length when verifying password-policies 
3960       and using extended characters (Thanks to Uwe Morgenroth from CC 
3961       Compunet and Volker).
3962     * Make 'password history'-behavior in ldapsam more consistent. 
3963     * Adding "Windows x64" as architecture string and driverdir "x64" 
3964       for the 64bit AMD platform.
3965     * BUG 1343: Readd WKGUID-binding to match the correct default-
3966       locations of new User-, Group- and Machine-Accounts in Active 
3967       Directory (this got lost during the last trunk-merge).
3968     * Fix printer-migration w.r.t. to new naming-convention for
3969       policy-handles.
3970     * Allow to migrate win2k3/xp-drivers as well. 
3971     * Add client-side support of triggering ads printer publishing 
3972       over msrpc setprinter calls inside the net-tool. 
3973     * Add the idmap_rid module (written in conjunction with 
3974       Sumit Bose <sbose@suse.de>).
3975     * BUG 1661: Fix build with recent heimdal releases.
3976     * Prevent idmap_rid from making unnecessary calls to domain 
3977       controllers for trusted domains.
3980 o   Arthur van Dongen <avdongen@xs4all.nl>
3981     * Fix typos in pam_winbind log messages and SuSE 
3982       packaging files.
3985 o   Rob Foehl <rwf@loonybin.net>
3986     * Typo fixes for log messages in printer publishing code.
3987     * Fix memory leak in printer publishing code.
3988     * Ensure print_backend_init() only gets called once.
3989     * Have smbd check the published status of all printers 
3990       at startup.
3991     * Cleanup up the XXX_a_printer() API for consistency.
3992     * Refactored the printer publishing code and include better 
3993       error handling.
3996 o   Steve French <sfrench@us.ibm.com>
3997     * Fix IP address override in mount.cifs mount helper and clean 
3998       up warning messages from the sparse tool and expand syntax help.
3999     * Strip guest mount option off before sending to kernel mount 
4000       routine to avoid logging spurious message.
4003 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
4004     * BUG 1732: Limit share names returned by RAP based on windows 
4005       character width, not unix character width.
4006     * BUG 1498: Ensure that acl entries are stored in the correct 
4007       order.
4010 o   Brett Funderburg <brett@deepfile.com>
4011     * Pass create options parameter to nt_create_andx() function
4012       from the python bindings.
4013     * BUG 1864: Add sd->type field to security descriptor Python 
4014       representation.
4015     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
4016       when trying to return the security descriptor for a file.
4017     * BUG 1884: Fixes for the Python bindings to use the value
4018       of the desired_access filed passed into the lsa_open_policy()
4019       routines.
4022 o   Michael Gravey <michel.gravey@optogone.com>
4023     * BUG 1776: Fix warnings when building modules caused by 
4024       certain versions of GNU ld not using the the default 
4025       --allow-shlib-undefined flag.
4028 o   Chris Hertel <crh@samba.org>
4029     * Fix logic bug in splay tree data structure when finding 
4030       a leaf node.
4031     * Fix bug where an invalid MAC address would be printed by 
4032       a node status lookup from nmblookup.
4034       
4035 o   Uli Iske <iske@elkb.de>
4036     * Update the DNS/eDirectory LDAP schema file.
4039 o   Björn Jacke <bjacke@sernet.de>
4040     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
4041       UTF-8.  Reformat msgstr in msg-files to UTF-8.
4042     * Do not use display charset for swat output.
4043     * Convert the share names correctly from unix encoding to web 
4044       encoding and vice versa. 
4045     * Convert files from status page from unix charset to UTF-8.
4048 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
4049     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
4052 o   Tom Lackemann <cessnatomny@yahoo.com>
4053     * BUG 1954: Fix memory leak in posix acl code.
4056 o   Volker Lendecke <vl@samba.org>
4057     * Robustnss fix for winbindd when sending multiple requests 
4058       at a high rate for a slow operation.  
4059     * Solve the problem of user sids ending up with gid's 
4060       and vice versa.
4061     * Use sys_fork instead of fork for the dual daemon so that 
4062       we get the correct debug pid in the logfiles.
4063     * Based on patch from jmcd, implement special lists for the LDAP 
4064       user attributes to delete.
4065     * Fix creation of aliases via usrmgr. Winbind was too strict 
4066       checking the type of sids.
4067     * Lowercase all usernames returned by winbind.
4068     * BUG 1545, 1823: Only issue the ldap extended password change 
4069       operation if the ldap server supports it.  Also ignore object 
4070       class violation errors from the extended operation.
4071     * Optimization for 'idmap backend = ldap': When asking sid2id 
4072       for the wrong type, don't ask ldap when we have the opposite mapping 
4073       in the local tdb.
4074     * Fix ldapsam_compat homeDrive.
4075     * Add usersidlist and allowedusers subcommands to the net tool
4076       in order to support scanning a file server's share and list 
4077       all users who have permission to connect there.
4078     * Allow for multiple DC's to be named as #1c names in lmhosts.
4079     * Memory leak fixes.
4080     * Fix checks for the local pid of an smbd process after 
4081       reopening tdbs.
4084 o   Herb Lewis <herb@samba.org>
4085     * Added tdbtool to be built by default.
4088 o   Love <lha@stacken.kth.se>
4089     * BUG 1955: Inconsistent error return.
4092 o   Sorin Manolache <sorinm@gmail.com>
4093     * Memory leak fix.
4096 o   Jim McDonough <jmcd@us.ibm.com>
4097     * Allow 'net ads lookup' to rely on command line arguments 
4098       if contacting an ADS server fails; utilize cldap for lookups.
4099     * Fixup formatting errors in TDB_LOG calls; add printf attribute
4100       support to tdb log functions.
4103 o   Bill McGonigle <bill+samba@bfccomputing.com>
4104     * BUG 1926: Type in debug message.
4107 o   Sean McGrath
4108     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
4109       for libsmbclient.
4112 o   Luke Mewburn <lukem@NetBSD.org>
4113     * BUG 1782: Prevent testparm from displaying parameter synonyms.
4116 o   Stefan Metzmacher <metze@samba.org>    
4117     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
4118     * Fix client quota support.
4119     * Fix opening of system quota file.
4122 o   Lars Mueller <lmuelle@samba.org>
4123     * Small fixes for autogen.sh to deal with version detection 
4124       of autoconf and autoheader; fixes for examples using 
4125       libtool to adhere to stricter syntax of newer version.
4128 o   Henrik Nordstrom <hno@squid-cache.org>
4129     * Allow winbindd to return the correct number of groups 
4130       when the groups array must be enlarged.
4133 o   Narayana Pattipati <narayana.pattipati@wipro.com>
4134     * Solaris autoconf detection fixes.
4137 o   Tim Potter <tpot@samba.org>
4138     * BUG 1360: (correct fix) Use -Wl when passing flags to 
4139       the linker.
4140     * HP-UX compile fixes (from JBravo on #samba-technical).
4141     * BUG 1731: More HP-UX compiles fixes.
4142     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
4143       spits the dummy otherwise.
4144     * Fix bug in Python printerdata wrapper.
4145     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
4146       <bugzilla-samba@thewrittenword.com>).
4147     * Fix parameter confusion in priming of name-to-sid cache
4148       (Found by Qiao Yang).
4149     * BUG 1888: Remove '..' from all pre-processor commands.
4150     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
4151       DEBUG_PASSWORD.
4154 o   Matt Selsky <selsky@columbia.edu>
4155     * BUG 350: use autoconf 2.57 feature for checking header file
4156       preprocessing (fixes configure warnings on Solaris).
4159 o   Richard Renard <rrenard@idealx.com>
4160     * Fix usermgr.exe and trust relationships.
4163 o   Paul Szabo <psz@maths.usyd.edu.au>
4164     * Fix to make find_workgroup use the same 
4165       truncation as create_workgroup.
4168 o   Richard Sharpe <rsharpe@samba.org>
4169     * Ensure cli_write() can support writes >= 65536 bytes.
4172 o   Simo Sorce <idra@samba.org>
4173     * Added check password script code in examples/auth/crackcheck/
4174     * Fix memory corruption bug caused in freeing static memory.
4177 o   Andrew Tridgell <tridge@samba.org>
4178     * Remove lp_use_mmap() from map_file() since the latter 
4179       is for read only and does not require coherence.
4180     * Ensure that the uuid pack/unpack routines do not go past 
4181       the end of the structure.
4182     * Converted Samba 3 tree to use the new utf-16 aware iconv 
4183       code. 
4184     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
4185     * Ensure configure only uses '=' instead of the bashism '=='.
4186     * Reduces the number of tdb locking calls made on file IO.
4187     
4189 o   Jelmer Vernooij <jelmer@samba.org>
4190     * Convert internal data to UTF-8 before calling libxml2.
4191     * Complain if 'password chat' doesn't contain the %u variable
4192       (based on a patch by Ronan Waide).
4193     
4195 o   Josef Zlomek
4196     * BUG 1541:  Fix recursive ls in smbclient. 
4198     
4199 o   Igor Zhbanov <bsg@uniyar.ac.ru>
4200     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
4201       option.
4203       --------------------------------------------------
4205                   =============================
4206                   Release Notes for Samba 3.0.7
4207                            Sept 13, 2004
4208                   =============================
4210 Common bugs fixed in 3.0.7 include:
4212   o Fixes for two Denial of Service vulnerabilities
4213     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
4214   o Winbind failure to return user entries under certain
4215     conditions.
4216   o Syntax errors in the OpenLDAP schema file (samba.schema).
4217   o Printing errors caused by not setting default values
4218     for the various printing commands.
4221 Changes since 3.0.6
4222 -------------------
4224 smb.conf changes
4225 ----------------
4227     Parameter Name                      Action
4228     --------------                      ------
4229     winbind enable local accounts       disabled by default
4231     
4232 commits
4233 -------
4234 o   Jeremy Allison <jra@samba.org>
4235     * Fix parsing of names ending in dot and a few other error 
4236       returns.
4237     * BUG 1674: Move the symlinks checks into reduce_name().
4238     * Fix memleak when checking the valid names smb.conf option.
4239     * Fix memleak on error return path in the file open code.
4240     * More paranoia checks in the hash2 mangling code.
4241     * Fix syntax error in configure.in.
4242     * Match Win2k3's behavior for pathname parsing error returns.
4243     * Make nmbd more robust against bad netbios packets 
4244       (CAN-2004-0808).
4245     * Add more checks for invalid ASN.1 packets for SPNEGO packets
4246       (CAN-2004-0807).
4248   
4249 o   Andrew Bartlett <abartlet@samba.org>  
4250     * Janitor work in loadparm.c -- remove unused parameters.
4253 o   Gerald Carter <jerry@samba.org>
4254     * BUG 1464: Ensure that printing commands are initialized even
4255       if the 'printing' parameter is not explicitly set.
4256     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
4257       Adharsh Praveen <rprav@india.hp.com>)
4258     * Work around parsing error in the print change notify code.
4259     * remove duplicate declaration of getprintprocdir from 
4260       rpcclient.
4261     * Only use sAMAccountName and not userPrincipalName when looking
4262       up a username in AD since the breaks winbindd (lookup_name() 
4263       only works with the sAMAccountName).
4264     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
4265       filling in the username in the user_info3.
4266     * Fix logic bug in the check for creating a user's home directory 
4267       in register_vuid(); caused home directory to be mismatched to 
4268       the first share in smb.conf under certain conditions.
4269     * BUG 1656: rename auto.a to auto.smb.
4270     * Ensure that we assign our pid to print jobs (and not our 
4271       parent's pid); ensures that spooling jobs from dead smbds 
4272       are removed from the tdb.
4273     * Disable 'winbind enable local accounts' by default.
4274     * Adding some initial checks for DragonFly (same as 
4275       FreeBSD 4.1).
4276     
4278 o   Guenther Deschner <gd@samba.org> 
4279     * Use SMB_ASSERT() to track down NULL printer names in 
4280       the tdb open code.
4281     * Revert fix for BUG 1474 to avoid unnecessary packaging 
4282       dependencies.
4285 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
4286     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
4287       and 5.1.
4288     * BUG 1626: More compile fixes.
4291 o   Rob Foehl <rwf@loonybin.net>
4292     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
4293       by attempts to sanitize the defined attributes.
4296 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
4297     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
4300 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
4301     * BUG 1657: Remove used initialized variable, 
4302     * BUG 1658: Add a little bit of const.
4305 o   Volker Lendecke <vl@samba.org>
4306     * If there's garbage in the pidfile, we should not panic 
4307       but assume that no one else is around. We can't find the 
4308       other guy anyway.
4311 o   Jim McDonough <jmcd@us.ibm.com>
4312     * Fixup format string in the tdb error messages.
4315 o   Jonas Olsson <lexicon@lysator.liu.se>
4316     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
4317       reporting the list in usrmgr.exe.
4320 o   Tim Potter <tpot@samba.org>
4321     * Fix out-of-tree builds (problem with the script to generate 
4322       the svn version number).
4323     * BUG 1360:  Need to use -Wl when passing flags to the linker.
4324     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
4325       doesn't have one of its own.
4327 o   Simo Sorce <idra@samba.org>
4328     * Fixup compile issues on AIX caused by broken strlen() and 
4329       strdup().
4330     * Update debian packaging files.
4333 o   Dimitri van der Spek <dwspek@aboveit.nl>
4334     * Use the correct counter when copying group rids from the 
4335       user_info3 struct in pam_winbind.
4336       
4338 o   Qiao Yang <qyang@stbernard.com>
4339     * BUG 1622: Only cache the user
4342       --------------------------------------------------
4343       
4344                   =============================
4345                   Release Notes for Samba 3.0.6
4346                            Aug 19, 2004
4347                   =============================
4349 Common bugs fixed in 3.0.6 include:
4351   o Schannel failure in winbindd.
4352   o Numerous memory leaks.
4353   o Incompatibilities between the 'write list' and 'force user'
4354     smb.conf options.
4355   o Premature optimization of the open_directory() internal 
4356     function that broke tools such as the ArcServe backup 
4357     agent, Macromedia HomeSite, and Robocopy.
4358   o Corrupt workgroup names in nmbd's browse.dat.
4359   o Sharing violation errors commonly seen when opening
4360     when serving Microsoft Office documents from a Samba 
4361     file share.
4362   o Browsing problems caused by an apostrophe (') in the 
4363     computer's description field.
4364   o Problems creating special file types from UNIX CIFS 
4365     clients and enabling 'unix extensions'.
4366   o Fix stalls in smbd caused by inaccessible LDAP servers.
4367   o Remove various memory leaks.
4368   o Fix issues in the password lockout feature.
4370 New features introduced in this release include:
4372   O Support symlinks created by CIFS clients which 
4373     can be followed on the server.
4374   o Using a cups server other than localhost.
4375   o Maintaining the service principal entry in the system 
4376     keytab for integration with other kerberized services.
4377     Please refer to the 'use Kerberos keytab' entry in 
4378     smb.conf(5).  When using the heimdal Kerberos libraries,
4379     you must also specify the following in /etc/krb5.conf:
4380     [libdefaults]
4381        default_keytab_name = FILE:/etc/krb5.keytab
4382   o Support for maintaining individual printer names
4383     stored separately from the printer's sharename.
4384   o Support for maintaining user password history.
4385   o Support for honoring the logon times for user in a 
4386     Samba domain.
4389 ============================================
4390 unix extensions = yes (default) and symlinks
4391 ============================================
4393 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
4394 clients supporting the UNIX extensions to the CIFS protocol 
4395 can create symlinks to absolute paths which will be **followed** 
4396 by the server.  This functionality has been requested in order 
4397 to correctly support certain applications when the user's home 
4398 directory is mounted using some type of CIFS client (e.g. the 
4399 cifsvfs in the Linux 2.6 kernel).
4401 If this behavior is not acceptable for your production environment
4402 you can set 'wide links = no' in the specific share declaration in 
4403 the server's smb.conf.  Be aware that disabling wide link support 
4404 out of a share in Samba may impact the server's performance due 
4405 to the fact that smbd will now have to check each path additional 
4406 times before traversing it.
4407   
4409 ========================
4410 Password History Support 
4411 ========================
4413 The new password history feature allows smbd to check the new 
4414 password in password change requests against a list of the user's
4415 previous passwords.  The number of previous passwords to save can 
4416 be set using pdbedit (4 in this example):
4418    root# pdbedit -P "password history" -C 4
4420 When using the ldapsam passdb backend, it is vital to secure the 
4421 following attributes from access by non-administrative users:
4423    * sambaNTPassword
4424    * sambaLMPassword
4425    * sambaPasswordHistory
4427 You should refer to your directory server's documentation on how 
4428 to implement this restriction.
4431 Changes since 3.0.5
4432 -------------------
4434 smb.conf changes
4435 ----------------
4437     Parameter Name              Action
4438     --------------              ------
4439     cups server                 New
4440     defer sharing violations    New
4441     force unknown acl user      New
4442     ldap timeout                New
4443     printcap cache time         New
4444     use Kerberos keytab         New
4445     
4446 commits
4447 -------
4448 o   Jeremy Allison <jra@samba.org> 
4449     * Correct path parsing bug that broke DeletePrinterDriverEx().
4450     * Fix bugs in check_path_syntax() caught by asserts.
4451     * Internal change - rearrange internal global case setting 
4452       variables to a per connection basis.
4453     * BUG 1345: Fix premature optimization in unix_convert(). 
4454     * Allow clients to truncate a locked file.
4455     * BUG 1319: Always check to see if a user as write access
4456       to a share, even when 'force user' is set.
4457     * Fix specific case of open that doesn't cause oplock break, 
4458       or share mode check.
4459     * Correct sid type is WKN_GROUP, not alias. Added some 
4460       more known types (inspired by patch from Jianliang Lu).
4461     * Allow creation of absolute symlink paths via CIFS clients.
4462     * Fix charset bug in when invoking send_mailslot().
4463     * When using widelinks = no, use realpath to canonicalize 
4464       the connection path on connection create for the user. 
4465     * Enhance stat open code.
4466     * Fix unix extensions mknod code path.
4467     * Allow unix domain socket creation via unix extensions.
4468     * Auto disable the 'store dos attribute' parameter if the 
4469       underlying filesystem doesn't support EAs.
4470     * Implement deferred open code to fix a bug with Excel files 
4471       on Samba shares.
4472     * BUG 1427: Catch bad path errors at the right point.  Ensure 
4473       all our pathname parsing is consistent.
4474     * Fix SMB signing error introduced by the new deferred open 
4475       code.
4476     * Change default setting for case sensitivity to "auto". (see 
4477       commit message -- r1154 -- for details).
4478     * Add new remote client arch -- CIFSFS.
4479     * Allow smbd to maintain the service principal entry in the 
4480       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
4481       Guenther Deschner, et. al.).
4482     * Fix longstanding memleak bug with logfile name.
4483     * Fix incorrect type in printer publishing (struct uuid, 
4484       not UUID_FLAT).
4485     * Heimdal compile fixes after introduction of the new ketyab 
4486       feature.
4487     * Ensure we check attributes correctly on rename request.
4488     * Ensure we defer a sharing violation on rename correctly.
4489     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
4490       on timeout.
4491     * Fix bogus error message when using "mangling method = hash" 
4492       rather than hash2.
4493     * Turn on sendfile by default for non-Win9x clients.
4494     * Handle non-io opens that cause oplock breaks correctly.
4495     * Ensure ldap replication sleep time is not more than 5 seconds.
4496     * Add support for storing a user's password history.
4497       LDAP portion of the code was based on a patch from 
4498       Jianliang Lu <j.lu@tiesse.com>.
4499     * Correct memory leaks found in the password change code.
4500     * Fix support for the mknod command with the Linux CIFS client.
4501     * Remove support for passing the new password to smbpasswd 
4502       on the command line without using the -s option.
4503     * Ensure home directory service number is correctly reused
4504       (inspired by patches from Michael Collin Nielsen 
4505       <michael@hum.aau.dk>).
4506     * Fix to stop printing accounts from resetting the bas 
4507       password and account lockout flags.
4508     * If a account was locked out by an admin (and has a bad 
4509       password count of zero) leave it locked out until an admin 
4510       unlocks it (but log a message).
4511     * Ensure we return the same ACL revision on the wire that 
4512       W2K3 does.
4513     * BUG 1578: Hardcode replacement for invalid characters as '_'
4514       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
4515     * Fix hashed password history for LDAP backends.
4516     * Enforce logon hours restrictions if confiogured (based on code 
4517       from Richard Renard <rrenard@idealx.com>).
4518     * BUG 1606: Force smbd to disable sendfile with DOS clients 
4519       and ensure that the chained header is filled in for ...&X 
4520       commands.
4521     * BUG 1602: Fix access to shares when all symlink support 
4522       has been disabled.
4526 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
4527     * Allow pdbedit to export a single user from a passdb backend.
4528     
4530 o   Andrew Bartlett <abartlet@samba.org>  
4531     * Fix parsing bug in GetDomPwInfo().
4532     * Fix segfault in 'ntlm_auth --diagnostics'.
4533     * Re-enable code to allow sid_to_gid() to perform a group 
4534       mapping lookup before checking with winbindd.
4535     * Fix memory leak in the trans2 signing code.
4536     * Allow more flexible GSS-SPENGO client and server operation 
4537       in ntlm_auth.
4538     * Improve smbd's internal random number generation.
4539     * Fix a few outstanding long password changes in smbd.
4540     * Fix LANMAN2 session setup code.
4543 o   Eric Boehm <boehm@nortelnetworks.com>
4544     BUG 703: Final touches on netgroup case lookups.
4545     
4546     
4547 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
4548     * Ensure error status codes don't get overwritten in 
4549       lsa_lookup_sids() server code.
4550     * Correct bug that caused smbd to overwrite certain error 
4551       codes when returning up the call stack.
4552     * Ensure the correct sid type returned for builtin sids.
4555 o   Gerald Carter <jerry@samba.org>
4556     * Fix a few bugs in the Fedora Packaging files.
4557     * Fix for setting the called name to by our IP if the 
4558       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
4559       with connecting to printers via \\ip.ad.dr.ess\printer 
4560       UNC path.
4561     * BUG 1315: fix for schannel client connections to servers
4562       when we haven't specifically negotiated AUTH_PIPE_SEAL.
4563     * Allow PrinterDriverData valuenames with embedded backslashes
4564       (Fixes bug with one of the Konica Fiery drivers).
4565     * Fixed string length miscalculation in netbios names that 
4566       resulted in corrupt workgroup names in browse.dat.
4567     * When running smbd as a daemon, launch child smbd to update 
4568       the lpq cache listing in the background.
4569     * Allow printers "Printers..." folder to be renamed to a string 
4570       other than the share name.
4571     * Allow winbindd to use domain trust account passwords when 
4572       running on a Samba DC to establish an schannel to remote 
4573       domains.
4574     * Fix bad merge and ensure that we always use tdb_open_log() 
4575       instead of tdb_open_ex() (the former call enforce the 'use 
4576       mmap' parameter).
4577     * BUG 1221: revert old change that used single and double 
4578       quotes as delimeters in next_token(), and change 
4579       print_parameter() to print out parm values surrounded by 
4580       double quotes (instead of single quotes).
4581     * Prevent home directories added during the SMBsesssetup&X from 
4582       being removed as unused services.
4583     * Invalidate the print object cache for open printer handles when
4584       smbd receives a message that an attribute on a given printer 
4585       has been changed.
4586     * Cause the configure script to exit if --enable-cups[=yes] is 
4587       defined and the system does not have the cups devel files 
4588       installed.
4589     * BUG 1297: Prevent map_username() from being called twice 
4590       during logon.
4591     * Ensure that we use the userPrincipalName AD attribute 
4592       value for LDAP SASL binds.
4593     * Ensure we remove the tdb entry when deleting a job that 
4594       is being spooled.
4595     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
4596       client sends a FindNextPrintChangeNotify() request without 
4597       previously sending a FindFirstPrintChangeNotify().  Return 
4598       the same error code as Windows 2000 SP4.
4599     * BUG 1516: Manually declare ldap_open_with_timeout() to 
4600       workaround compiler errors on IRIX (or other systems without 
4601       LDAP headers).
4602     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
4603       3.0.5.
4604     * Corrected syntax error in the OID for sambaUnixIdPool, 
4605       sambaSidEntry, & sambaIdmapEntry object classes.
4606     * Tighten the cache consistency with the ntprinters.tdb entry 
4607       an the in memory cache associated with open printer handles.
4608     * Make sure that register_messages_flags() doesn't overwrite 
4609       the originally registered flags.
4612 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
4613     * Debian BUG 252591: Ensure that the return value from the 
4614       number of available interfaces is initialized in case no 
4615       interfaces are actually available.
4618 o   Guenther Deschner <gd@sernet.de> 
4619     * Implement 'rpcclient setprintername'.
4620     * Add local groups to the user's NT_TOKEN since they are 
4621       actually supported now.
4622     * Heimdal compile fixes after introduction of the new keytab 
4623       feature.
4624     * Correctly honor the info level parameter in 'rpcclient 
4625       enumprinters'.
4626     * Reintroduce 'force unknown acl user' parameter.  When getting a 
4627       security descriptor for a file, if the owner sid is not known, 
4628       the owner uid is set to the current uid. Same for group sid.
4629     * Ensure that REG_SZ values in the SetPrinterData actually 
4630       get written in UNICODE strings rather than ASCII.
4631     * Ensure that the last Kerberos error return is not invalid.
4632     * Display share ACL entries from rpcclient.
4633     * Correct infinite loop in pam_winbind's verification of 
4634       group membership in the 'other sids' field in the user_info3 
4635       struct.
4638 o   Fabian Franz <FabianFranz@gmx.de>
4639     * Support specifying a port in the device URL passed to smbspool.
4640     
4641     
4642 o   Steve French <sfrench@us.ibm.com>
4643     * Handle -S and user mount parms in mount.cifs.
4644     * Fix user unmount of shares mount with suid mount.cifs.
4645     * prevent infinite recusion in reopen_logs() when expanding 
4646       the smb.conf variable %I.
4649 o   Bjoern Jacke <bj@sernet.de>
4650     * Install libsmbclient into $(LIBDIR), not into hard coded 
4651       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
4652       and an explicit configure --libdir setting.
4655 o   <kawasa_r@itg.hitachi.co.jp>
4656     * Correct more memory leaks and initialization bugs.
4657     * Fix bug that prevented core dumps from being generated 
4658       even if you tried.
4659     * Connect to the winbind pipe in non-blocking mode to 
4660       prevent processes from hanging.
4661     * Memory leak fixes.
4664 o   Stephan Kulow <coolo@suse.de>
4665     * Fix crash bug in libsmbclient.
4668 o   Volker Lendecke <vl@samba.org>
4669     * Added vfs_full_audit module.
4670     * Add vfs_afsacl.c which can display & set AFS acls via 
4671       the NT security editor.
4672     * Fix crash bug caused by trying to Base64 encode a NULL string.
4673     * Fix DOS error code bug in reply_chkpath().
4674     * Correct misunderstanding of the max_size field in 
4675       cli_samr_enum_als_groups;  it is more like an account_control 
4676       field with individual bits what to retrieve.
4677     * Implement 'net rpc group rename' -- rename domain groups.
4678     * Implement the 'cups server' option. This makes it possible 
4679       to have virtual smbd's connect to different cups daemons.
4680     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
4681     * Fix sid_to_gid() calls in winbindd to prevent loops.
4682     * Ensure that local_sid_to_gid() sets the type of the group on 
4683       return.
4684     * Make sure that the clients are given back the IP address to 
4685       which they connected in the case of a multi-homed host. Only 
4686       affects strings the spoolss printing replies.
4687     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
4688       did not ask for the modifyTimestamp attribute, so it could 
4689       not find it.   Try not to regress by not putting that attrib 
4690       in the main list but append it manually for the relevant searches.
4691     * Fix two memleaks in login_cache.c.
4692     * fixes memory bloat when unmarshalling strings.
4693     * Fix compile errors using gcc 3.2 on SuSE 8.2.
4694     * Fix the build for systems without Kerberos headers.
4695     * Allow winbindd to handle authentication requests only when 
4696       started without either an 'idmap uid' or 'idmap gid' range.
4697     * Fix the build for systems without ldap headers.
4698     * Fix interaction between share security descriptor and the 
4699       'read only' smb.conf option.
4700     * Fix bug that caused _samr_lookupsids() with more than 32 (
4701       MAX_REF_DOMAINS) SIDs to fail.
4702     * Allow the 'idmap backend' parameter to accept a list of 
4703       LDAP servers for failover purposes.
4704     * Revert code in smbd to remove a tdb when it has become 
4705       corrupted.
4706     * Add paranoid checks when mapping SIDs to a uid/gid to 
4707       ensure that the type is correct.
4708     * Initial work on getting client support for sending mailslot 
4709       datagrams.
4710     * Add 'ldap timeout' parameter.
4711     * Dont always uppercase 'afs username map'.
4712     * Expand aliases for getusersids as well.
4713     * Improved NT->AFS ACL mapping VFS module.
4716 o   Herb Lewis <herb@samba.org>
4717     * Add the acls debug class.
4718     * Fix logic bug in netbios name truncate routine.
4719     * Fix smbd crash caused by smbtorture IOCTL test.
4720     * Fix errno tromping before calling iconv to reset the 
4721       conversion state.
4722     * need to leave empty dacl so we can remove last ACE.
4725 o   Jianliang Lu <Jianliang.Lu@getronics.com>
4726     * Fix to stop smbd hanging on missing group member in 
4727       get_memberuids().
4728     * Make sure Samba returns the correct group types.
4729      * Reset the bad password count password counts upon a successful login.
4730      
4731      
4732 o   Jason Mader <jason@ncac.gwu.edu>
4733     * BUG 1385: Don't use non-consts in a structure initialization.
4734     
4736 o   Jim McDonough <jmcd@us.ibm.com>
4737     * BUG 1279: SMBjobid fix for Samba print servers running on 
4738       Big-Endian platforms.
4741 o   Joe Meadows <jameadows@webopolis.com>
4742     * Add optional timeout parameter to ldap open calls.
4743     * Allow get_dc_list() to check the negative cache.
4746 o   Stefan Metzmacher <metze@samba.org>    
4747     * fix a configure logic bug for linux/XFS quotas when 
4748       using --with-sys-quotas.
4749     * Use quota debug class in quota code.
4750     * print out the SVN revision by configure,
4751     
4753 o   Buchan Milne <bgmilne@mandrake.org>
4754     * Mandrake packaging fixes.
4755     
4756     
4757 o   Lars Mueller <lmuelle@samba.org>
4758     * BUG 1279: Added 'printcap cache time' parameter.
4759     * Fix afs related build issues on SuSE.
4760     * Fix compiler warnings in the Kerberos client code.
4763 o   James Peach <jpeach@sgi.com>
4764     * More iconv detection fixes for IRIX.
4765     * Compile fixed for systems that do not have C99/UNIX98 compliant 
4766       vsnprintf by default.
4767     * Prevent smbd from attempting to use sendfile at all if it is 
4768       not supported by the server's OS.
4769     * Allow SWAT to search for index.html when serving html files 
4770       in a directory.
4773 o   Dan Peterson
4774     * Implement NFS quota support on FreeBSD.
4777 o   Tim Potter <tpot@samba.org>
4778     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
4779       avoid conflicts with identical symbols in the global namespace 
4780       when loading libnss_wins.so.
4783 o   Richard Renard <rrenard@idealx.com>
4784     * Save the current password as it is being changed into the 
4785       password history list.
4788 o   Richard Sharpe <rsharpe@samba.org>
4789     * Fix error return codes on some lock messages.
4790     * BUG 1178: Make the libsmbclient routines callable 
4791       by C++ programs.
4792     * BUG 1333: Make sure we return an error code when 
4793       things go wrong.
4794     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
4795       share mode locking requests fail.
4798 o   Simo Sorce <idra@samba.org>
4799     * Update Debian stable & unstable packaging.
4800     * Tidy up parametric options in testparm output.
4803 o   Richard Sharpe <rsharpe@samba.org>
4804     * Add sigchild handling to winbindd to restart the child 
4805       daemon if necessary.
4808 o   Tom Shaw <tomisfaraway@gmail.com>
4809     * Use winbindd_fill_pwent() consistently.
4812 o   Nick Thompson <nickthompson@agere.com>
4813     * Protect smbd against broken filesystems which return zero 
4814       blocksize.
4817 o   Andrew Tridgell <tridge@samba.org>
4818     * Fixed bug in handling of timeout in socket connections.
4819      
4821 o   Nick Wellnhofer <wellnhofer@aevum.de>    
4822     * Prevent lp_interfaces() list from being corrupted.  Fixes
4823       bug where nmbd would lose the list of network interfaces 
4824       on the system and consequently shutdown.
4826       
4827 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
4828     * Fix ntlm_auth memory leaks.
4831 o   Jelmer Vernooij <jelmer@samba.org>
4832     * Additional NT status to unix error mappings.
4833     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
4834       get duplicate symbol errors.
4835     * Return an error when the last command read from stdin 
4836       fails in smbclient.
4837     * Prepare for better error checking in tar.
4838     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
4839       
4841       --------------------------------------------------
4842       
4843                  =============================
4844                  Release Notes for Samba 3.0.5
4845                          July 20, 2004
4846                  =============================
4848 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
4849 the exception of correcting the two security issues outlined 
4850 below.
4852 ######################## SECURITY RELEASE ########################
4854 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
4855 CVE ID:        CAN-2004-0600, CAN-2004-0686
4856                (http://cve.mitre.org/)
4859 This is the latest stable release of Samba. This is the version
4860 that production Samba servers should be running for all current
4861 bug-fixes.
4863 It has been confirmed that versions of Samba 3 prior to v3.0.4
4864 are vulnerable to two potential buffer overruns.  The individual
4865 details are given below.
4867 =============
4868 CAN-2004-0600
4869 =============
4871 Affected Versions:      Samba 3.0.2 and later
4873 The internal routine used by the Samba Web Administration
4874 Tool (SWAT v3.0.2 and later) to decode the base64 data
4875 during HTTP basic authentication is subject to a buffer
4876 overrun caused by an invalid base64 character.  It is
4877 recommended that all Samba v3.0.2 or later installations
4878 running SWAT either (a) upgrade to v3.0.5, or (b) disable
4879 the swat administration service as a temporary workaround.
4881 This same code is used internally to decode the
4882 sambaMungedDial attribute value when using the ldapsam
4883 passdb backend. While we do not believe that the base64
4884 decoding routines used by the ldapsam passdb backend can
4885 be exploited, sites using an LDAP directory service with
4886 Samba are strongly encouraged to verify that the DIT only
4887 allows write access to sambaSamAccount attributes by a
4888 sufficiently authorized user.
4890 The Samba Team would like to heartily thank Evgeny Demidov
4891 for analyzing and reporting this bug.
4893 -------------
4894 CAN-2004-0686
4895 -------------
4897 Affected Versions:      Samba 3.0.0 and later
4899 A buffer overrun has been located in the code used to support
4900 the 'mangling method = hash' smb.conf option.  Please be aware
4901 that the default setting for this parameter is 'mangling method
4902 = hash2' and therefore not vulnerable.
4904 Affected Samba 3 installations can avoid this possible security
4905 bug by using the default hash2 mangling method.  Server
4906 installations requiring the hash mangling method are encouraged
4907 to upgrade to Samba 3.0.5.
4910 ##################################################################
4912     --------------------------------------------------
4913                  
4914                  =============================
4915                  Release Notes for Samba 3.0.4
4916                           May 8, 2004
4917                  =============================
4919 Common bugs fixed in Samba 3.0.4 include:
4921   o Password changing after applying the patch described in 
4922     the Microsoft KB828741 article to Windows clients.
4923   o Crashes in smbd.
4924   o Managing print jobs via Windows on Big-Endian servers.
4925   o Several memory leaks in winbindd and smbd.
4926   o Compile issues on AIX and *BSD.
4928 Changes since 3.0.3
4929 --------------------
4931 commits
4932 -------
4934 o   Jeremy Allison <jra@samba.org>
4935     * Fix path processing for DeletePrinterDriverEx().
4936     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
4937       breakage.
4940 o   Andrew Bartlett <abartlet@samba.org>
4941     * Fix alignment bug in GetDomPwInfo().
4944 o   Alexander Bokovoy <ab@samba.org>
4945     * Fix utime[s]() issues in smbwrapper on systems 
4946       that can boot both the 2.4 and 2.6 Linux kernels.
4949 o   Gerald Carter <jerry@samba.org>
4950     * Fedora packaging fixes.
4951     * BUG 1302: Fix seg fault by not trying to optimize a list of 
4952       invalid gids using the wrong array size.
4953     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
4954       seen when 'security = share'.
4955     * Fix problems when using IBM's compiler on AIX.
4956     * Link Developer's Guide, Example Guide, and multi-page HOWTO
4957       into SWAT's welcome page.
4958     * BUG 1293: fix double free in printer publishing code.
4960     
4961 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
4962     * Fix for handling timeouts in socket connections.
4965 o   Michel Gravey <michel.gravey@optogone.com>
4966     * BUG 483: patch from  to fix password hash creation in SWAT.
4967     
4969 o   Volker Lendecke <vl@samba.org>
4970     * Close the open NT pipes before the tdis.
4971     * Fix AFS related build issues.
4972     * Handle error conditions when base64 encoding a blob of 0 bytes.
4974     
4975 o   Herb Lewis <herb@samba.org>
4976     * Added 'acls' debug class.
4978 o   kawasa_r@itg.hitachi.co.jp
4979     * Multiple variable initialization and memory leak fixes.
4980     
4981     
4982 o   Stephan Kulow <coolo@suse.de>
4983     * Fix string length bug in libsmbclient that caused KDE's 
4984       Konqueror to crash.
4985     * BUG 429: More libsmbclient fixes.
4988 o   Jim McDonough <jmcd@us.ibm.com>
4989     * BUG 1007, 1279: Store the print job using a little-endian key.
4992 o   Eric Mertens
4993     o Compile fix for OpenBSD (ENOTSUP not supported).
4995     
4996 o   Stefan Metzmacher <metze@samba.org>
4997     * Correct bug in disks quota views from explorer.
4999     
5000 o   Tim Potter <tpot@samba.org>
5001     BUG 1305: Correct debug output.
5004 o   Richard Sharpe <rsharpe@samba.org>
5005     * Fix incorrect error code mapping.
5008 o   Jelmer Vernooij <jelmer@samba.org>
5009     * Add additional NT_STATUS errorm mappings.
5010     
5012     --------------------------------------------------
5014                  =============================
5015                  Release Notes for Samba 3.0.3
5016                         April 29, 2004
5017                  =============================
5020 Common bugs fixed in Samba 3.0.3 include:
5022   o Crash bugs and change notify issues in Samba's printing code.
5023   o Honoring secondary group membership on domain member servers.
5024   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
5025   o Substitution errors for %[UuGg] in smb.conf.
5026   o winbindd crashes when using ADS security mode.
5027   o SMB signing errors.
5028   o Delays in winbindd startup caused by unnecessary 
5029     connections to trusted domain controllers.
5030   o Various small memory leaks.
5031   o Winbindd failing due to expired Kerberos tickets.
5033 New features introduced in Samba 3.0.3 include:
5035   o Improved support for i18n character sets.
5036   o Support for account lockout policy based on
5037     bad password attempts.
5038   o Improved support for long password changes (>14
5039     characters) and strong password enforcement.
5040   o Support for Windows aliases (i.e. nested groups).
5041   o Experimental support for storing DOS attribute on files
5042     and folders in Extended Attributes.
5043   o Support for local nested groups via winbindd.
5044   o Specifying options to be passed directly to the CUPS libraries.
5046 Please be aware that the Samba source code repository was 
5047 migrated from CVS to Subversion on April 4, 2004.  Details on 
5048 accessing the Samba source tree via anonymous svn can be found 
5049 at http://svn.samba.org/samba/subversion.html.
5052 Changes since 3.0.2a
5053 --------------------
5054 smb.conf changes
5055 ----------------
5057     Parameter Name              Action
5058     --------------              ------
5059     cups options                New
5060     ea support                  New
5061     only user                   Deprecated
5062     store dos attributes        New
5063     unicode                     Removed
5064     winbind nested groups       New
5066     
5067 commits
5068 -------
5070 o   Jeremy Allison <jra@samba.org>
5071     * Ensure that Kerberos mutex is always properly unlocked.
5072     * Removed Heimdal "in-memory keytab" support.
5073     * Fixup the 'multiple-vuids' bugs in our server code.
5074     * Correct return code from lsa_lookup_sids() on unmapped
5075       sids (based on work by vl@samba.org).
5076     * Fix the "too many fcntl locks" scalability problem 
5077       raised by tridge.
5078     * Fixup correct (as per W2K3) returns for lookupsids 
5079       as well as lookupnames.
5080     * Fixups for delete-on-close semantics as per Win2k3 behavior.
5081     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
5082     * Fix "unable to initialize" bug when smbd hasn't been run with 
5083       new system and a user is being added via pdbedit/smbpasswd.
5084     * Added NTrename SMB (0xA5).
5085     * Fixup correct timeout values for blocking lock timeouts.
5086     * Fix various bugs reported by 'gentest'.
5087     * More locking fixes in the case where we own the lock.
5088     * Fix up regression in IS_NAME_VALID and renames.
5089     * Don't set allocation size on directories.
5090     * Return correct error code on fail if file exists and target 
5091       is a directory.
5092     * Added client "hardlink" comment to test doing NT rename with 
5093       hard links.  Added hardlink_internals() code - UNIX extensions 
5094       now use this as well.
5095     * Use a common function to parse all pathnames from the wire for 
5096       much closer emulation of Win2k3 error return codes.
5097     * Implement check_path_syntax() and rewrite string sub 
5098       functions for better multibyte support.
5099     * Ensure msdfs referrals are multibyte safe.
5100     * Allow msdfs symlink syntax to be more forgiving.
5101       eg. sym_link -> msdfs://server/share/path/in/share 
5102       or  sym_link -> msdfs:\\server\share\path\in\share.
5103     * Cleanup multibyte netbios name support in nmbd ( based on patch
5104       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
5105     * Fix check_path_syntax() for multibyte encodings which have 
5106       no '\' as second byte (based on work by ab@samba.org.
5107     * Fix the "dfs self-referrals as anonymous user" problem
5108       (based on patch from vl@samba.org).
5109     * BUG 1064: Ensure truncate attribute checking is done correctly 
5110       on "hidden" dot files.
5111     * Fix bug in anonymous dfs self-referrals again.
5112     * Fix get/set of EA's in client library
5113     * Added support for OS/2 EA's in smbd server.
5114     * Added 'ea support' parameter to smb.conf.
5115     * Added 'store dos attributes' parameter to smb.conf.
5116     * Fix wildcard identical rename.
5117     * Fix reply_ctemp - make compatible with w2k3.
5118     * Fix wildcard unlink.
5119     * Fix wildcard src with wildcard dest renames.      
5120     * BUG 1139: Fix based on suggestion by jdev@panix.com.
5121       swap lookups for user and group - group will do an
5122       algorithmic lookup if it fails, user won't.
5123     * Make EA's lookups case independent.
5124     * Fix SETPATHINFO in 'unix extensions' support.
5125     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
5126       the UNIX info levels, and the short case preserve names.
5129 o   Timur Bakeyev <timur@com.bat.ru>
5130     * BUG 1144: only set --with-fhs when the argument is 'yes'
5131     * BUG 1152: Allow python modules to build despite libraries added 
5132       to LDFLAGS instead of LDPATH.
5133     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
5136 o   Craig Barratt <cbarratt@users.sourceforge.net>
5137     * BUG 389: Allow multiple exclude arguments with smbclient 
5138       tar -Xr options (better support for Amanda backup client).
5141 o   Andrew Bartlett <abartlet@samba.org>
5142     * Include support for linking with cracklib for enforcing strong 
5143       password changes.
5144     * Add support for >14 character password changes from Windows 
5145       clients.
5146     * Add 'admin set password' capability to 'net rpc'.
5147     * Allow 'net rpc samdump' to work with any joined domain 
5148       regardless of smb.conf settings.
5149     * Use an allocated buffer for count_chars.
5150     * Add sanity checks for changes in the domain SID in an 
5151       LDAP DIT.
5152     * Implement python unit tests for Samba's multibyte string 
5153       support.
5154     * Remove 'unicode' smb.conf option.
5155     * BUG 1138: Fix support for 'optional' SMB signing and other 
5156       signing bugs.
5157     * BUG 169: Fix NTLMv2-only behavior.
5158     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
5159       default.
5160     * Support SMB signing on connections using only the LANMAN 
5161       password and generate the correct the 'session key' for these 
5162       connections.
5163     * Implement --required-membership-of=, an ntlm_auth option 
5164       that restricts all authentication to members of this particular 
5165       group.
5166     * Improve our fall back code for password changes.
5167     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
5168       after the server had said something (such as an error).
5169     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
5171       
5172 o   Alexander Bokovoy <ab@samba.org>
5173     * Fix incorrect size calculation of the directory name 
5174       in recycle.so.
5175     * Fix problems with very long filenames in both smbd and smbclient
5176       caused by truncating paths during character conversions.
5177     * Fix smbfs problem with Tree Disconnect issued before smbfs 
5178       starts its work.
5181 o   Gerald Carter <jerry@samba.org>
5182     * BUG 850: Fix 'make installmodules' bug on True64.
5183     * BUG 66: mark 'only user' deprecated.
5184     * Remove corrupt tdb and shutdown (only for printing tdbs, 
5185       connections, sessionid & locking).
5186     * decrement smbd counter in connections.tdb in smb_panic().
5187     * RedHat specfile updates.
5188     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
5189     * BUG 1147; bad pointer case in get_stored_queue_info() 
5190       causing seg fault.
5191     * BUG 761: read the config file before initialized default 
5192       values for printing options; don't default to bsd printing 
5193       Linux.
5194     * Allow the 'printing' parameter to be set on a per share basis.
5195     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
5196     * BUG 848: don't create winbind local users/groups that already 
5197       exist in the tdb.
5198     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
5199       LynxOS/ppc).
5200     * BUG 488: fix the 'show client in col 1' button and correctly 
5201       enumerate active connections.
5202     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
5203       problem when storing the updating pid for the lpq cache.
5204     * BUG 1007 (partial): Fix print change notify bugs.
5205     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
5206       and winbind use default domain = yes.  Also ensures that 
5207     * BUG 1151: Ensure that winbindd users are passed through 
5208       the username map.
5209     * Fix client rpc binds for ASU derived servers (pc netlink, 
5210       etc...).
5211     * BUG 417, 1128: Ensure that the current_user_info is set
5212       consistently so that %[UuGg] is expanded correctly.
5213     * BUG 1195: Fix crash in winbindd when the ADS server is 
5214       unavailable.
5215     * BUG 1185: Set reconnect time to be the same as the 
5216       'winbind cache time'.
5217     * Ensure that we return the sec_desc in smb_io_printer_info_2.
5218     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
5219     * BUG 1095: Honor the '-l' option in smbclient.
5220     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
5221       block.
5222     * Ensure server schannel uses the auth level requested by the 
5223       client.
5224     * Removed --with-cracklib option due to potential crash issue.
5225     * Fix -lcrypto linking problem with wbinfo.
5226     * BUG 761: allow printing parameter to set defaults on a per 
5227       share basis.
5228     * Add 'cups options' parameter to allow raw printing without 
5229       changing /etc/cups/cupsd.conf.
5230     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
5231       winbindd.
5232     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
5233     * BUG 1288: resolve any machine netbios name (0x00) and not just 
5234       servers (0x20).
5235     * BUG 1199: Fix potential symlink issue in 
5236       examples/printing/smbprint.
5239 o   Robert Dahlem <Robert.Dahlem@gmx.net>
5240     * BUG 1048:  Don't return short names when when 'mangled names = no'
5243 o   Guenther Deschner <gd@suse.com>
5244     * Remove hard coded attribute name in the ads ranged retrieval
5245       code.
5246     * Add --with-libdir and --with-mandir to autoconf script.
5249 o   Bostjan Golob <golob@gimb.org>
5250     * BUG 1046: Fix  getpwent_list() so that the username is not 
5251       overwritten by other fields.
5254 o   Landon Fuller <landonf@opendarwin.org>
5255     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
5256       to fix user/group enumeration on systems whose libc does not 
5257       call setgrent() before trying to enumerate users (i.e. 
5258       FreeBSD 5.2).
5261 o   Steve French <sfrench@us.ibm.com>
5262     * Update mount.cifs to version 1.1.
5263     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
5264     * Fixes to minor security bug in the mount helper.
5265     * Fix credential file mounting for cifs vfs.
5266     * Fix free of incremented pointer in cifsvfs mount helper.
5267     * Fix path canonicalization of the mount target path and help 
5268       text display in the cifs mount helper.
5269     * Add missing guest mount option for mount.cifs.
5272 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
5273     * BUG 1055; formatting fixes for 'net share'.
5274     * BUG 692: correct truncation of share names and workgroup 
5275       names in smbclient.
5276     * BUG 1088: use strchr_m() for query_host (smbclient -L).
5277     * Patch from to internally count characters correctly.
5280 o   Paul Green <paulg@samba.org>
5281     * Update VOS _POSIX_C_SOURCE macro to 200112L.
5282     * Fix bug in configure.ion by moving the first use of 
5283       AC_CHECK_HEADERS so it is always executed.
5284     * Fix configure.in to only use $BLDSHARED to select whether to 
5285       build static or shared libraries.
5288 o   Pat Haywarrd <Pat.Hayward@propero.net>
5289     * Make the session_users list dynamic (max of 128K).
5290     
5291     
5292 o   Cal Heldenbrand <calzplace@yahoo.com> 
5293     * Fix for for 'pam_smbpass migrate' functionality.
5296 o   Chris Hertel <crh@samba.org>
5297     * fix enumeration of shares 12 characters in length via 
5298       smbclient.
5301 o   Ulrich Holeschak <ulrich@holeschak.de>
5302     * BUG 932: fix local password change using pam_smbpass
5305 o   Krischan Jodies <kj@sernet.de>
5306     * Implement 'net rpc group delete'
5309 o   John Klinger <john.klinger@lmco.com>
5310     * Return NSS_SUCCESS once the max number of gids possible 
5311        has been found in initgroups() on Solaris.
5312     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
5315 o   Volker Lendecke <vl@samba.org>
5316     * Fix success message for net groupmap modify.
5317     * Fix errors when enumerating members of groups in 'net rpc'.
5318     * Match Windows behavior in samr_lookup_names() by returning
5319       ALIAS(4) when you search in BUILTIN. 
5320     * Fix server SAMR code to be able to set alias info for 
5321       builtin as well. 
5322     * Fix duplication of logic when creating groups via smbd.
5323     * Ensure that the HWM values are set correctly after running 
5324       'net idmap'.
5325     * Add 'net rpc group add'.
5326     * Implement 'net groupmap set' and 'net groupmap cleanup'.
5327     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
5328     * Fix wb_delgrpmem (wbinfo -o).
5329     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
5330     * Fix sambaUserWorkstations on a Samba DC.
5331     * Implement wbinfo -k: Have winbind generate an AFS token after
5332       authenticating the user.
5333     * Add expand_msdfs VFS module for providing referrals based on the
5334       the client's IP address.
5335     * Implement client side NETLOGON GetDCName function.
5336     * Fix caching of name->sid lookups.
5337     * Add support in winbindd for expanding nested local groups.
5338     * Fix memleak in winbindd.
5339     * Fix msdfs proxy.
5340     * Don't list domain groups from BUILTIN.
5341     * Fix memleak in policy handle utility functions.
5342     * Decrease winbindd startup time by only contacting trusted 
5343       domains as necessary.
5344     * Allow winbindd to ask the DC for its domain for a trusted 
5345       DC.
5346     * Fix Netscape DS schema based on comments from 
5347       <thomas.mueller@christ-wasser.de>.
5348     * Correct case where adding a domain user to a XP local group 
5349       did a lsalookupname on the user without domain prefix, and 
5350       failed.
5351     * Fix segfault in winbindd caused by 'wbinfo -a'.
5352     
5354 o   Herb Lewis <herb@samba.org>
5355     * Fix typo for tag in proto file.
5356     * Add missing #ifdef HAVE_BICONV stuff.
5357     * Truncate Samba's netbios name at the first '.' (not 
5358       right to left).
5361 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
5362     * Bug fixes and enhancements to libsmbclient library.
5364     
5365 o   Jianliang Lu <j.lu@tiesse.com>
5366     * Enforce the 'user must change password at next login' flag.
5367     * Decode meaning of 'fields present' flags (improves support 
5368       for usrmgr.exe).
5369     * NTLMv2 fixes.
5370     * Don't force an upper case domain name in the ntlmssp code.
5371     
5373 o   L. Lucius <ib@digicron.com>.
5374     * type fixes.
5377 o   Jim McDonough <jmcd@us.ibm.com>
5378     * Add versioning support to tdbsam.
5379     * Update the IBM Directory Server schema with the OpenLDAP 
5380       file.
5381     * Various decoding fixes to improve usrmgr.exe support.
5382     * Fix statfs redeclaration of statfs struct on ppc
5383     * Implement support for password lockout of Samba domain 
5384       controllers and standalone servers.
5385     * Get MungedDial attribute actually working with full TS 
5386       strings in it for pdb_ldap.
5387     * BUG 1208 (partial): Improvements for working with expired krb5 
5388       tickets in winbindd.
5389     * Use timegm, or our already existing replacement instead of 
5390       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
5391     * Remove modifyTimestamp from list of our attributes.  
5392     * Fix lsalookupnames to check for domain users as well as local 
5393       users. 
5394     * Merge struct uuid replacement for GUID from trunk.
5395     * BUG 1208: Finish support for handling expired tickets in 
5396       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
5399 o   Stefan Metzmacher <metze@samba.org>
5400     * Implement new VERSION schema based on subversion revision 
5401       numbers.
5402     * Add shadow_copy vfs module.
5403     * Fix segault in login_cache support.
5406 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
5407      o BUG 979 -- Fix quota display on AIX.
5410 o   James Peach <jpeach@sgi.com>
5411     * Correct check for printf() format when using the SGI MIPSPro 
5412       compiler.
5413     * BUG 1038: support backtrace for 'panic action' on IRIX.
5414     * BUG 768: Accept profileing arg to IRIX init script.
5415     * BUG 748: Relax arg parsing to sambalp script (IRIX).
5416     * BUG 758: Fix pdma build.
5417     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
5418       Jason Mader.
5419       
5421 o   Kurt Pfeifle <kpfeifle@danka.de>
5422     * Add example shell script for migrating drivers and printers 
5423       from a Windows print server to a Samba print server using 
5424       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
5427 o   Tim Potter <tpot@samba.org>
5428     * Fix logic bug in tdb non-blocking lock routines when 
5429       errno == EAGAIN.
5430     * BUG 1025: Include sys/acl.h in check for broken nisplus 
5431       include files.      
5432     * BUG 1066: s/printf/d_printf/g in SWAT.
5433     * BUG 1098: rename internal msleep() function to fix build 
5434       problems on AIX.
5435     * BUG 1112: Fix for writable printerdata problem in python bindings.
5436     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
5437     * BUG 1155: enclose use of fchown() with guards.
5438     * Relicense tdb python module as LGPL.
5441 o   Richard Sharpe <rsharpe@samba.org>
5442     * Add support to smbclient for multiple logins on the same 
5443       session (based on work by abartlet@samba.org).
5444     * Correct blocking condition in smbd's use of accept() on IRIX.
5445     * Add support for printing out the MAC address on nmblookup.
5448 o   Simo Sorce <idra@samba.org>
5449     * Replace unknown_3 with fields_present in SAMR code.
5450     * More length checks in strlcat().
5453 o   Andrew Tridgell <tridge@samba.org>
5454     * Rewrote the AIX UESS backend for winbindd.
5455     * Fixed compilation with --enable-dmalloc.
5456     * Change tdb license to LGPL (see source/tdb/tdb.c).
5457     * Force winbindd to use schannel in clients connections to 
5458       DC's if possible.
5461 o   Jelmer Vernooij <jelmer@samba.org>
5462    * Fix ETA Calculation when resuming downloads in smbget.
5463    * Add -O (for writing downloaded files to standard out) 
5464      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
5465     * Fix syntax error in example mysql table
5467            
5468 o   TAKEDA yasuma <yasuma@miraclelinux.com>
5469     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
5470       cmd_chown, cmd_chmod smbclient functions.
5473 o   Shiro Yamada <shiro@miraclelinux.com>
5474     * BUG 1129: install image files for SWAT.
5476       
5477     --------------------------------------------------
5479                   ==============================
5480                   Release Notes for Samba 3.0.2a
5481                         February 13, 2004
5482                   ==============================
5484 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
5485 to address, in particular, a problem when using pdbedit to 
5486 sanitize (--force-initialized-passwords) Samba's tdbsam 
5487 backend.   This is the latest stable release of Samba. This 
5488 is the version that all production Samba servers should be 
5489 running for all current bug-fixes.  
5491 ******************* Attention! Achtung! Kree! *********************
5493 Beginning with Samba 3.0.2, passwords for accounts with a last 
5494 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
5495 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
5496 strings.  This will cause authentication to fail for such
5497 accounts.  If you have valid passwords that meet this criteria, 
5498 you must update the last change time to a non-zero value.  If you 
5499 do not, then  'pdbedit --force-initialized-passwords' will disable 
5500 these accounts and reset the password hashes to a string of X's.
5502 ******************* Attention! Achtung! Kree! *********************
5505 Changes since 3.0.2
5506 -------------------
5508 commits
5509 -------
5511 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5512 details.  The list of changes per contributor are as follows:
5515 o   Jeremy Allison <jra@samba.org>
5516     * Added paranoia checks in parsing code.
5517     
5519 o   Andrew Bartlett <abartlet@samba.org>
5520     * Ensure that changes to uninitialized passwords in ldapsam 
5521       are written to the DIT.
5524 o   Gerald (Jerry) Carter <jerry@samba.org>
5525     * Fixed iterator in tdbsam.
5526     * Fix bug that disabled accounts with a valid NT password 
5527       hash, but no LanMan hash.
5528     
5530 o   Steve French <sfrench@us.ibm.com>
5531     * Added missing nosetuid and noexec options.
5533     
5534 o   Bostjan Golob <golob@gimb.org>
5535     * BUG 1046: Don't overwrite usernames of entries returned 
5536       by getpwent_list().
5539 o   Sebastian Krahmer <krahmer@suse.de>
5540     * Fixed potential crash bug in NTLMSSP parsing code.
5543 o   Tim Potter <tpot@samba.org>
5544     * Fixed logic in tdb_brlock error checking.
5546     
5547 o   Urban Widmark <urban@teststation.com>
5548     * Set nosuid,nodev flags in smbmnt by default.
5549     
5550     
5551         --------------------------------------------------
5552                   
5553                   =============================
5554                   Release Notes for Samba 3.0.2
5555                         February 9, 2004
5556                   =============================
5558 It has been confirmed that previous versions of Samba 3.0 are
5559 susceptible to a password initialization bug that could grant an 
5560 attacker unauthorized access to a user account created by the
5561 mksmbpasswd.sh shell script.
5563 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
5564 has assigned the name CAN-2004-0082 to this issue.
5566 Samba administrators not wishing to upgrade to the current 
5567 version should download the 3.0.2 release, build the pdbedit 
5568 tool, and run 
5570    root# pdbedit-3.0.2 --force-initialized-passwords
5571       
5572 This will disable all accounts not possessing a valid password
5573 (e.g. the password field has been set a string of X's).
5575 Samba servers running 3.0.2 are not vulnerable to this bug 
5576 regardless of whether or not pdbedit has been used to sanitize
5577 the passdb backend.
5579 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
5580 release include:
5582   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
5583   o Logging onto a Samba domain from Windows XP clients.
5584   o Problems with the %U and %u smb.conf variables in relation to 
5585     Windows 9x/ME clients.
5586   o Kerberos failures due to an invalid in memory keytab detection
5587     test.
5588   o Updates to the ntlm_auth tool.
5589   o Fixes for various SMB signing errors.
5590   o Better separation of WINS and DNS queries for domain controllers.
5591   o Issues with nss_winbind FreeBSD and Solaris.
5592   o Several crash bugs in smbd and winbindd.
5593   o Output formatting fixes for smbclient for better compatibility
5594     with scripts based on the 2.2 version.
5597 Changes since 3.0.1
5598 -------------------
5600 smb.conf changes
5601 ----------------
5603     Parameter Name              Action
5604     --------------              ------
5605     ldap replication sleep      New
5606     read size                   removed (unused)
5607     source environment          removed (unused)
5610 commits
5611 -------
5613 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5614 details.  The list of changes per contributor are as follows:
5616 o   Jeremy Allison <jra@samba.org>
5617     * Revert change that broke Exchange clear text samlogons.
5618     * Fix gcc 3.4 warning in MS-DFS code.
5619     * Tidy up of NTLMSSP code.
5620     * Fixes for SMB signing errors
5621     * BUG 815: Workaround NT4 bug to support plaintext
5622       password logins and UNICODE.
5623     * Fix SMB signing bug when copying large files.
5624     * Correct error logic in mkdir_internals() (caused a panic
5625       when combined with --enable-developer).
5626     * BUG 830: Protect against crashes due to bad character 
5627       conversions.
5629       
5630 o   Petri Asikainen <paca@sci.fi>
5631     * BUG 330, 387:Fix single valued attribute updates when 
5632       working with Novell NDS.
5635 o   Andrew Bartlett <abartlet@samba.org>
5636     * Correctly handle per-pipe NTLMSSP inside a NULL session.
5637     * Fix segfault in gencache 
5638     * Fix early free() of encrypted_session_key.
5639     * Change DC lookup routines to more carefully separate
5640       DNS names (realms) from NetBIOS domain names.
5641     * Add new sid_to_dn() function for internal winbindd use.
5642     * Refactor cli_ds_enum_domain_trusts().
5643     * BUG 707: Implement range retrieval of ADS attributes (based 
5644       on work from Volker <vl@samba.org> and Guenther Deschner 
5645       <gd@suse.com>).
5646     * Automatically initialize the signing engine if a session key
5647       is available.
5648     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
5649       encoded strings, only form input in SWAT.
5650     * Resets the NTLMSSP state for new negotiate packets.
5651     * Add 2-byte alignments in net_samlogon() queries to parse 
5652       odd-length plain text passwords.
5653     * Allow Windows groups with no members in winbindd.
5654     * Allow normal authentication in the absence of a server 
5655       generated session key.
5656     * More optimizations for looking up UNIX group lists.
5657     * Clean up error codes and return values for pam_winbindd
5658       and winbindd PAM interface.
5659     * Fix string return values in ntlm_auth tool.
5660     * Fix segfault when 'security = ads' but no realm is defined.
5661     * BUG 722: Allow winbindd to map machine accounts to uids.
5662     * More cleanups for winbindd's find_our_domain().
5663     * More clearly detect whether a domain controller is an NT4
5664       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
5665     * Increase separation between DNS queries for hosts and queries
5666       for AD domain controllers.
5667     * Include additional NT_STATUS to PAM error mappings.
5668     * Password initialization fixes.
5670     
5671 o   Justin Baugh <justin.baugh@request.com>
5672     * BUG 948: Implement missing functions required for FreeBSD 
5673       nss_winbind support. 
5676 o   Alexander Bokovoy <ab@samba.org>
5677     * BUG 922: Make sure enable fast path for strlower_m() and 
5678       strupper_m().
5681 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
5682     * Fix crash when using 'security = server' and 'encrypt 
5683       passwords = no' by always initializing the session key.
5685       
5686 o   Dmitry Butskoj <buc@odusz.elektra.ru>
5687     * Fix for special files being hidden from admins.
5690 o   Gerald (Jerry) Carter <jerry@samba.org>
5691     * Fix bug in the lanman session key generation.  Caused 
5692       "decode_pw: incorrect password length" error messages.
5693     * Save the right case for the located user name in 
5694       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
5695     * BUG 897: Add well known rid for pre win2k compatible access
5696       group.
5697     * BUG 887: Correct typo in delete user script example.
5698     * Use short lived TALLOC_CTX* for allocating printer objects 
5699       from the print handle cache.
5700     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
5701     * Fix several warnings reported by the SUN Forte C compiler.
5702     * Fully control DNS queries for AD DC's using 'name resolve order'.
5703     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
5704     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
5705     * BUG 936: fix bind credentials for schannel binds in smbd.
5706     * BUG 446: Fix output of smbclient for better compatibility 
5707       with scripts based on the 2.2 version (including Amanda).
5708     * BUG 891, 949: Fedora packaging fixes.
5709     * Fix bug that caused rpcclient to incorrectly retrieve 
5710       the SID for a server (this causing all calls that required 
5711       this information to fail). 
5712     * BUG 977: Don't create a homes share for a user if a static 
5713       share already exists by the same name.
5714     * Removed unused smb.conf options.
5715     * Password initialization fixes.
5716     * Set the disable flag for template accounts created by
5717       mksmbpasswd.sh.
5718     * Disable any account has no passwords and does not have the
5719       ACB_PWNOTREQ bit set.
5722 o   Guenther Deschner <gd@suse.com>
5723     * Install smbwrapper.so should be put into the $(libdir) 
5724       and not $(bindir).
5725     * Add the capability to specify the new user password 
5726       for "net ads password" on the command line.
5727     * Correctly detect AFS headers on SuSE.
5728         
5730 o   James Flemer <jflemer@uvm.edu>
5731     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
5732       HAVE_SYS_ATTRIBUTES_H.
5735 o   Luke Howard <lukeh@PADL.COM>
5736     * Fix segfault in session setup reply caused by a early free().
5739 o   Stoian Ivanov <sdr@bultra.com>
5740     * Implement grepable output for smbclient -L.
5743 o   LaMont Jones <lamont@debian.org>
5744     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
5745       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
5746       not being defined).
5748       
5749 o   Volker Lendecke <vl@samba.org>
5750     * BUG 583: Ensure that user names always contain the short 
5751       version of the domain name.
5752     * Fix our parsing of the LDAP uri.
5753     * Don't show the 'afs username map' in the SWAT basic view.
5754     * Fix SMB signing issues in relation to failed NTLMSSP logins.
5755     * BUG 924: Fix return codes in smbtorture harness.
5756     * Always lower-case usernames before handing it to AFS code.
5757     * Add a German translation for SWAT.
5758     * Fix a segfaults in winbindd.
5759     * Fix the user's domain passed to register_vuid() from 
5760       reply_spnego_Kerberos().
5761     * Add NSS example code in nss_winbind to convert UNIX 
5762       id's <-> Windows SIDs.
5763     * Display more descriptive error messages for login via 'net'.
5764     * Fix compiler warning in the net tool.
5765     * Fix length bug when decoding base64 strings.
5766     * Ensure we don't call getpwnam() inside a loop that is iterating 
5767       over users with getpwent().  This broke on glibc 2.3.2.
5770 o   Herb Lewis <herb@samba.org>
5771     * Fix bit rot in psec.
5774 o   Jianliang Lu <j.lu@tiesse.com>
5775     * Ensure we delete the group mapping before calling the delete 
5776       group script.
5777     * Define well known RID for managing the  "Power Users" group.
5778     * BUG 381: check builtin (not local) group SID when updating 
5779       group membership.
5780     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
5781       packet.
5784 o   John Klinger <john.klinger@lmco.com>
5785     * Implement initgroups() call in nss_winbind on Solaris.
5788 o   Jim McDonough <jmcd@us.ibm.com>
5789     * Fix regression in net rpc join caused by recent changes 
5790       to cli_lsa_query_info_policy().
5791     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
5792       machine account.
5795 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
5796     * BUG 570: Ensure that configure honors the LDFLAGS variable.
5799 o   Stefan Metzmacher <metze@samba.org>
5800     * Implement LDAP rebind sleep patch.
5801     * Revert to 2.2 quota code because of so many broken quota files 
5802       out there.
5803     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
5804                       XFS_USER_QUOTA -> USRQUOTA
5805                       XFS_GROUP_QUOTA -> GRPQUOTA
5806     * Fix disk_free calculation with group quotas.
5807     * Add debug class 'quota' and a lot of DEBUG()'s 
5808       to the quota code.
5809     * Fix sys_chown() when no chown() is present.
5810     * Add SIGABRT to fault handling in order to catch got a 
5811       backtrace if an error occurs the OpenLDAP client libs.
5814 o   <ndb@theghet.to>
5815     * Allow an existing LDAP machine account to be re-used when 
5816       joining an AD domain.
5819 o   James Peach <jpeach@sgi.com>
5820     * BUG 889: Change smbd to use pread/pwrite on platforms that 
5821       support these calls. Can lead to a significant speed increase.
5824 o   Tim Potter <tpot@samba.org>
5825     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
5826     * BUG 924: Fix typo in RW2 torture test.
5827     
5828     
5829 o   Richard Sharpe <rsharpe@samba.org>
5830     * Small fixes to torture.c to cleanup the error handling 
5831       and prevent crashes.
5834 o   J. Tournier <jerome.tournier@IDEALX.com>
5835     * Small fixes for the smbldap-tool scripts.
5838 o   Andrew Tridgell <tridge@samba.org>
5839     * Fix src len check in pull_usc2().
5840     
5841     
5842 o   Jelmer Vernooij <jelmer@samba.org>
5843     * Put functions for generating SQL queries in pdb_sql.c
5844     * Add pgSQL backend (based on patch by Hamish Friedlander)
5845     * BUG 908: Fix -s option to smbcontrol.    
5846     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
5847     * Fix for libnss_wins on IRIX platforms.
5848     * Fix swatdir for --with-fhs.
5851         --------------------------------------------------
5853                   =============================
5854                   Release Notes for Samba 3.0.1
5855                         December 15, 2003
5856                   =============================
5858 Some of the more common bugs in 3.0.0 addressed in the release 
5859 include:
5861   o Substitution problems with smb.conf variables.
5862   o Errors in return codes which caused some applications
5863     to fail to open files.
5864   o General Protection Faults on Windows 2000/XP clients
5865     using Samba point-n-print features.
5866   o Several miscellaneous crash bugs.
5867   o Access problems when enumerating group mappings are
5868     stored in an LDAP Directory.
5869   o Several common SWAT bugs when writing changes to
5870     smb.conf.
5871   o Internal inconsistencies when 'winbind use default
5872     domain = yes'
5876 Changes since 3.0.0
5877 ----------------------
5879     Parameter Name              Action
5880     --------------              ------
5881     hide local users            Removed
5882     mangled map                 Deprecated
5883     mangled stack               Removed
5884     passwd chat timeout         New
5887 commits
5888 -------
5890 o   Change the interface for init_unistr2 to not take a length 
5891     but a flags field.  We were assuming that 
5892     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
5893 o   Allow d_printf() to handle strings with escaped quotation 
5894     marks since the msg file includes the escape character (bug 489).
5895 o   Fix bad html table row termination in SWAT wizard code (bug 413).
5896 o   Fix to parse the level-2 strings.
5897 o   Fix for "valid users = %S" in [homes].  Fix read/write 
5898     list as well. 
5899 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
5900     This is the same way AC_CHECK_LIB works (bug 508).
5901 o   Testparm output fixes for clarity.
5902 o   Fix broken wins hook functionality -- i18n bug (bug 528).
5903 o   Take care of condition where DOS and NT error codes must differ.
5904 o   Default to using only built-in charsets when a working iconv 
5905     implementation cannot be located.
5906 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
5907     be done unconditionally (bug 550).
5908 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
5909 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
5910     --enable-debug=[yes|no] works correctly.
5911 o   Allow ^C to interrupt smbpasswd if using our getpass 
5912     (e.g. smbpasswd command).
5913 o   Support signing only on RPC's (bug 167).
5914 o   Correct bug that prevented  Excel 2000 clients from opening 
5915     files marked as read-only.
5916 o   Portability fix bugs 546 - 549).
5917 o   Explicitly initialize the value of AR for vendor makes that don't
5918     do this (e.g. HPUX 11).  (bug 552).
5919 o   More i18n fixes for SWAT (bug 413).
5920 o   Change the cwd before the postexec script to ensure that a
5921     umount will succeed.
5922 o   Correct double free that caused winbindd to crash when a DC 
5923     is rebooted (bug 437).
5924 o   Fix incorrect mode sum (bug 562).
5925 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
5926     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
5927 o   Add script to generate *msg files.
5928 o   Add Dutch SWAT translation file.
5929 o   Make sure to call get_user_groups() with the full winbindd 
5930     name for a user if he/she has one (bug 406).
5931 o   Fix up error code returns from Samba4 tester. Ensure invalid 
5932     paths are validated the same way.  
5933 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
5934 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
5935     libraries were found for $BACKEND.
5936 o   Move sysquotas autoconf tests to a separate file.
5937 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
5938     tester
5939 o   Make sure that the files that contain the static_init_$subsystem; 
5940     macro get recompiled after configure by removing the object 
5941     files.
5942 o   Ensure canceling a blocking lock returns the correct error 
5943     message.
5944 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
5945 o   Updated Japanese welcome file in SWAT.
5946 o   Fix to  nt-time <-> unix-time functions reversible.
5947 o   Ensure that winbindd uses the the escaped DN when querying
5948     an AD ldap server.
5949 o   Fix portability issues when compiling (bug 505, 550)
5950 o   Compile fix for tdbbackup when Samba needs to override 
5951     non-C99 compliant implementations of snprintf().
5952 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
5953 o   Make sure we break out of samsync loop on error.
5954 o   Ensure error code path doesn't free unmalloc()'d memory
5955     (bug 628).
5956 o   Add configure test for krb5_keytab_entry keyblock vs key 
5957     member (bug 636).
5958 o   Fixed spinlocks.
5959 o   Modified testparm so that all output so all debug output goes 
5960     to stderr, and all file processing goes to stdout.
5961 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
5962     and smbcquotas.
5963 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
5964     we have a devmode before copying a string to the devicename.
5965 o   Support mapping REALM.COM\user to a local user account (without 
5966     running winbindd)  for compatibility with 2.2.x release.
5967 o   Ensure we don't use mmap() on blacklisted systems.
5968 o   fixed a number of bugs and memory leaks in the AIX 
5969     winbindd shim
5970 o   Call initgroups() in SWAT before becomming the user so that
5971     secondary group permissions can be used when writing to 
5972     smb.conf.
5973 o   Fix signing problems when reverse connecting back to a 
5974     client for printer notify
5975 o   Fix signing problems caused by a miss-sequence bug.
5976 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
5977     Fixes NEXUS tools running on Win9x clients (bug 64).
5978 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
5979     SID could not be mapped.
5980 o   Fix segfault in mount.cifs helper when there is no options 
5981     specified during mount.
5982 o   Change the \n after the password prompt to go to tty instead 
5983     of stdout (bug 668).
5984 o   Stop net -P from prompting for machine account password (bug 451).
5985 o   Change in behavior to Not only change the effective uid but also
5986     the real uid when becoming unprivileged.
5987 o   Cope with Exchange 5.5 cleartext pop password auth.
5988 o   New files for support of initshutdown pipe.  Win2k doesn't 
5989     respond properly to all requests on the winreg pipe, so we need 
5990     to handle this new pipe (bug 534).
5991 o   Added more va_copy() checks in configure.in.
5992 o   Include fixes for libsmbclient build problems.
5993 o   Missing UNIX -> DOS codepage conversion in lanman.c.
5994 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
5995 o   Parameterize the listen backlog in smbd and make it larger by
5996     default. A backlog of 5 is way too small these days.
5997 o   Check for an invalid fid before dereferencing the fsp pointer
5998     (bug 696).
5999 o   Remove invalid memory frees and return codes in pdb_ldap.c.
6000 o   Prompt for password when invoking --set-auth-user and no 
6001     password is given.
6002 o   Bind the nmbd sending socket to the 'socket address'.
6003 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
6004     $LDFLAGS occurs before any library specification (bug 661).
6005 o   Fix large number of printf() calls for 64-bit size_t.
6006 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
6007     keyblock in the krb5 structs.
6008 o   Remove #include <compat.h> in hopes to avoid problems with 
6009     apache header files.
6010 o   Correct winbindd build problems on HP-UX 11.
6011 o   Lowercase netgroups lookups (bug 703).
6012 o   Use the actual size of the buffer in strftime instead of a made
6013     up value which just happens to be less than sizeof(fstring).  
6014     (bug 713).
6015 o   Add ldaplibs to pdbedit link line (bug 651).
6016 o   Fix crash bug in smbclient completion (bug 659).
6017 o   Fix packet length for browse list reply (bug 771).
6018 o   Fix coredump in cli_get_backup_list().
6019 o   Make sure that we expand %N (bug 612).
6020 o   Allow rpcclient adddriver command to specify printer driver 
6021     version (bug 514).
6022 o   Compile tdbdump by default.
6023 o   Apply patches to fix iconv detection for FreeBSD.
6024 o   Do not allow the 'guest account' to be added to a passdb backend 
6025     using smbpasswd or pdbedit (bug 624).
6026 o   Save LDFLAGS during iconv detection (bug 57).
6027 o   Run krb5 logins through the username map if the winbindd 
6028     lookup fails (bug 698).
6029 o   Add const for lp_set_name_resolve_order() to avoid compiler 
6030     warnings (bug 471).
6031 o   Add support for the %i macro in smb.conf to stand in for the for
6032     the local IP address to which a client connected.
6033 o   Allow winbindd to match local accounts to domain SID when 
6034     'winbind trusted domains only = yes' (bug 680).
6035 o   Remove code in idmap_ldap that searches the user suffix and group 
6036     suffix.  It's not needed and provides inconsistent functionality 
6037     from the tdb backend.
6038 o   Patch to handle munged dial string for Windows 2000 TSE.
6039     Thanks to Gaz de France, Direction de la Recherche, Service 
6040     Informatique Métier for their supporting this work by Aurelien 
6041     Degrémont <adegremont@idealx.com>.
6042 o   Correct the "smbldap_open: cannot access when not root error"
6043     messages when looking up group information (bug 281).
6044 o   Skip over the winbind separator when looking up a user.
6045     This fixes the bug that prevented local users from
6046     matching an AD user when not running winbindd (bug 698).
6047 o   Fix a problem with configure on *BSD systems. Make sure
6048     we add -liconv etc to LDFLAGS.
6049 o   Fix core dump bug when "security = server" and the authentication
6050     server goes away.
6051 o   Correct crash bug due to an empty munged dial string.
6052 o   Show files locked by a specific user (smbstatus -u 'user') 
6053     (bug 590).
6054 o   Fix bug preventing print jobs from display in the queue
6055     monitor used by Windows NT and later clients (bug 660).
6056 o   Fix several reported problems with point-n-print from
6057     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
6058     reply (bug 338, 527 & 643).
6059 o   Fix a handful of potential memory leaks in the LDAP code used
6060     by ldapsam[_compat] and the LDAP idmap backend.
6061 o   Fix for pdbedit error code returns (bug 763).
6062 o   Make sure we only enumerate group mapping entries  (not 
6063     /etc/group) even when doing local aliases.
6064 o   Relax check on the pipe name in a dce/rpc bind response to work 
6065     around issues with establishing trusts to a Windows 2003 domain.
6066 o   Ensure we mangle names ending in '.' in hash2 mangling method.
6067 o   Correct parsing issues with munged dial string.
6068 o   Fix bugs in quota support for XFS.
6069 o   Add a cleaner method for applications that need to provide 
6070     name->SID mappings to do this via NSS rather than having to 
6071     know the winbindd pipe protocol.
6072 o   Adds a variant of the winbindd_getgroups() call called 
6073     winbindd_getusersids() that provides direct SID->SIDs listing of 
6074     a users supplementary groups. This is enough to allow non-Samba 
6075     applications to do ACL checking.
6076 o   Make sure we don't append the 'ldap suffix' when writing out the 
6077     'ldap XXX suffix' values in SWAT (bug 328).
6078 o   Fix renames across file systems.
6079 o   Ensure that items in a list of strings containing whitespace are 
6080     written out surrounded by single quotes.  This means that both 
6081     double and single quotes are now used to surround strings in 
6082     smb.conf (bug 481).
6083 o   Enable SWAT to correctly determine if winbindd is running (bug 
6084     398).
6085 o   Include WWW-Authenticate field in 401 response for bad auth 
6086     attempt (bug 629).
6087 o   Add support for NTLM2 (NTLMv2 session security).
6088 o   Add support for variable-length session keys.
6089 o   More privilege fixes for group enumeration in LDAP (bug 281).
6090 o   Use the dns name (or IP) as the originating client name when
6091     using CUPS (bug 467).
6092 o   Fix various SMB signing bugs.
6093 o   Fix ACL propagation on a DFS root (bug 263).
6094 o   Disable NTLM2 for RPC pipes.
6095 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
6096     authentication.
6097 o   Change the name of the job passed off to cups from "Test Page" 
6098     to "smbprn.00000033 Test Page" so that we can get the smb 
6099     jobid back. This allow users to delete jobs with cups printing 
6100     backend (partial work on bug 770).
6101 o   Fix build of winbindd with static pdb modules.
6102 o   Retrieve the correct ACL group bits if the file has an ACL 
6103     (bug 802).
6104 o   Implement "net rpc group members": Get members of a domain group 
6105     in human-readable format.
6106 o   Add MacOSX (Darwin) specific charset module code.
6107 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
6108     can include the full name in gecos field (bug 587).
6109 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
6110 o   Implement 'net rpc group list [global|local|builtin]*' for a 
6111     select listing of the respective user databases.
6112 o   Don't automatically set NT status code flag unless client tells 
6113     us it can cope.
6114 o   Add 'net status [sessions|shares] [parseable]'.
6115 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
6116     bug 770).
6117 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
6118    (bug 608).
6119 o   Fix inverted logic in hosts allow/deny checks caused by 
6120     s/strcmp/strequal/ (bug 846).
6121 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
6122 o   Fix typo in 'hash' mangling algorithm.
6123 o   Support munged dial for ldapsam (bug 800).
6124 o   Fix process_incoming_data() to return the number of bytes handled 
6125     this call whether we have a complete PDU or not; fixes bug 
6126     with multiple PDU request rpc's broken over SMBwriteX calls 
6127     each.
6128 o   Fix incorrect smb flags2 for connections to pre-NT servers 
6129     (causes smbclient to fail to OS2 for example) (bug 821).
6130 o   Update version string in smbldap-tools Makefile to 0.8.2.
6131 o   Correct a problem with "net rpc vampire" mis-parsing the 
6132     alias member info reply.
6133 o   Ensure the ${libdir} is created by the installclientlib script.
6134 o   Fix detection of Windows 2003 client architecture in the smb.conf
6135     %a variable.
6136 o   Ensure that smbd calls the add user script for a missing UNIX 
6137     user on Kerberos auth call (bug 445).
6138 o   Fix bugs in hosts allow/deny when using a mismatched 
6139     network/netmask pair.
6140 o   Protect alloc_sub_basic() from crashing when the source string 
6141     is NULL (partial work on bug 687).
6142 o   Fix spinlocks on IRIX.
6143 o   Corrected some bad destination paths when running "configure 
6144     --with-fhs".
6145 o   Add packaging files for Fedora Core 1.
6146 o   Correct bug in SWAT install script for non-english languages.
6147 o   Support character set ISO-8859-1 internally (bug 558).
6148 o   Fixed more LDAP access errors when looking up group mappings 
6149     (bug 281).
6150 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
6151     resolution to fail on local files on on domain members 
6152     (bug 875).
6153 o   Fix uninitialized variable in passdb.c.
6154 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
6155 o   Fix problem mounting directories when mount.cifs is installed 
6156     with the setuid bit on.
6157 o   Fix bug that prevent --mandir from overriding the defaults
6158     given in the --with-fhs macro.
6159 o   Fix bug in in-memory Kerberos keytab detection routines 
6160     in configure.in
6164 ######################################################################
6166               The original 3.0.0 release notes follow
6167               =======================================
6168                     WHATS NEW IN Samba 3.0.0
6169                         September 24, 2003
6170               =======================================
6173 Major new features:
6174 -------------------
6176 1)  Active Directory support.  Samba 3.0 is now able to  
6177     join a ADS realm as a member server and authenticate 
6178     users using LDAP/Kerberos.
6180 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
6181     and internally there is now a much better infrastructure for 
6182     multi-byte and UNICODE character sets.
6184 3)  New authentication system. The internal authentication system 
6185     has been almost completely rewritten. Most of the changes are 
6186     internal, but the new auth system is also very configurable.
6188 4)  New default filename mangling system.
6190 5)  A new "net" command has been added. It is somewhat similar to 
6191     the "net" command in windows. Eventually we plan to replace 
6192     numerous other utilities (such as smbpasswd) with subcommands 
6193     in "net".
6195 6)  Samba now negotiates NT-style status32 codes on the wire. This
6196     improves error handling a lot.
6198 7)  Better Windows 2000/XP/2003 printing support including publishing
6199     printer attributes in active directory.
6201 8)  New loadable module support for passdb backends and character 
6202     sets.
6204 9)  New default dual-daemon winbindd support for better performance.
6206 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
6207     domain and maintaining user, group and domain SIDs.
6209 11) Support for establishing trust relationships with Windows NT 4.0
6210     domain controllers.
6211   
6212 12) Initial support for a distributed Winbind architecture using
6213     an LDAP directory for storing SID to uid/gid mappings.
6214   
6215 13) Major updates to the Samba documentation tree.
6217 14) Full support for client and server SMB signing to ensure
6218     compatibility with default Windows 2003 security settings.
6220 15) Improvement of ACL mapping features based on code donated by
6221     Andreas Grünbacher.
6224 Plus lots of other improvements!
6227 Additional Documentation
6228 ------------------------
6230 Please refer to Samba documentation tree (included in the docs/ 
6231 subdirectory) for extensive explanations of installing, configuring
6232 and maintaining Samba 3.0 servers and clients.  It is advised to 
6233 begin with the Samba-HOWTO-Collection for overviews and specific 
6234 tasks (the current book is up to approximately 400 pages) and to 
6235 refer to the various man pages for information on individual options.
6237 We are very glad to be able to include the second edition of
6238 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
6239 (O'Reilly & Associates) in this release.  The book is available
6240 on-line at http://samba.org/samba/docs/ and is included with 
6241 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
6242 publisher for making "Using Samba" under the GNU Free Documentation 
6243 License.
6246 ######################################################################
6247 Upgrading from a previous Samba 3.0 beta
6248 ########################################
6250 Beginning with Samba 3.0.0beta3, the RID allocation functions
6251 have been moved into winbindd.  Previously these were handled
6252 by each passdb backend.  This means that winbindd must be running
6253 to automatically allocate RIDs for users and/or groups.  Otherwise,
6254 smbd will use the 2.2 algorithm for generating new RIDs.
6256 If you are using 'passdb backend = tdbsam' with a previous Samba 
6257 3.0 beta release (or possibly alpha), it may be necessary to 
6258 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
6259 to winbindd_idmap.tdb.  To do this:
6261 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
6262     once)
6263 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
6264     directory
6265 3)  run: (note that 'tdb>' is the tool's prompt for input)
6267        root# ./tdbtool /usr/local/samba/private/passdb.tdb
6268        tdb> show RID_COUNTER
6269        key 12 bytes
6270        RID_COUNTER
6271        data 4 bytes
6272        [000] 0A 52 00 00                                       .R.
6274        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
6275        ....
6276        record moved
6278 If you are using 'passdb backend = ldapsam', it will be necessary to 
6279 store idmap entries in the LDAP directory as well (i.e. idmap backend 
6280 = ldap).  Refer to the 'net idmap' command for more information on 
6281 migrating SID<->UNIX id mappings from one backend to another.
6283 If the RID_COUNTER record does not exist, then these instructions are
6284 unneccessary and the new RID_COUNTER record will be correctly generated
6285 if needed.  
6289 ########################
6290 Upgrading from Samba 2.2
6291 ########################
6293 This section is provided to help administrators understand the details
6294 involved with upgrading a Samba 2.2 server to Samba 3.0.
6297 Building
6298 --------
6300 Many of the options to the GNU autoconf script have been modified 
6301 in the 3.0 release.  The most noticeable are:
6303   * removal of --with-tdbsam (is now included by default; see section
6304     on passdb backends and authentication for more details)
6305     
6306   * --with-ldapsam is now on used to provided backward compatible
6307     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
6308     backend and authentication section for more details
6309   
6310   * inclusion of non-standard passdb modules may be enabled using
6311     --with-expsam.  This includes an XML backend and a mysql backend.
6312       
6313   * removal of --with-msdfs (is now enabled by default)
6314   
6315   * removal of --with-ssl (no longer supported)
6316   
6317   * --with-utmp now defaults to 'yes' on supported systems
6318   
6319   * --with-sendfile-support is now enabled by default on supported 
6320     systems
6321   
6322     
6323 Parameters
6324 ----------
6326 This section contains a brief listing of changes to smb.conf options
6327 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
6328 complete descriptions of new or modified parameters.
6330 Removed Parameters (order alphabetically):
6332   * admin log
6333   * alternate permissions
6334   * character set
6335   * client codepage
6336   * code page directory
6337   * coding system
6338   * domain admin group
6339   * domain guest group
6340   * force unknown acl user
6341   * hide local users
6342   * mangled stack
6343   * nt smb support
6344   * postscript
6345   * printer driver
6346   * printer driver file
6347   * printer driver location
6348   * read size
6349   * source environment
6350   * status
6351   * strip dot
6352   * total print jobs
6353   * use rhosts
6354   * valid chars
6355   * vfs options
6357 New Parameters (new parameters have been grouped by function):
6359   Remote management
6360   -----------------
6361   * abort shutdown script
6362   * shutdown script
6364   User and Group Account Management
6365   ---------------------------------
6366   * add group script
6367   * add machine script
6368   * add user to group script
6369   * algorithmic rid base
6370   * delete group script
6371   * delete user from group script
6372   * passdb backend
6373   * set primary group script
6375   Authentication
6376   --------------
6377   * auth methods
6378   * realm
6379   * passwd chat timeout
6381   Protocol Options
6382   ----------------
6383   * client lanman auth
6384   * client NTLMv2 auth
6385   * client schannel
6386   * client signing
6387   * client use spnego
6388   * disable netbios
6389   * ntlm auth
6390   * paranoid server security
6391   * server schannel
6392   * server signing
6393   * smb ports
6394   * use spnego
6396   File Service
6397   ------------
6398   * get quota command
6399   * hide special files
6400   * hide unwriteable files
6401   * hostname lookups
6402   * kernel change notify
6403   * mangle prefix
6404   * map acl inherit
6405   * msdfs proxy
6406   * set quota command
6407   * use sendfile
6408   * vfs objects
6409   
6410   Printing
6411   --------
6412   * max reported print jobs
6414   UNICODE and Character Sets
6415   --------------------------
6416   * display charset
6417   * dos charset
6418   * unicode
6419   * unix charset
6420   
6421   SID to uid/gid Mappings
6422   -----------------------
6423   * idmap backend
6424   * idmap gid
6425   * idmap uid
6426   * winbind enable local accounts
6427   * winbind trusted domains only
6428   * template primary group
6429   * enable rid algorithm
6431   LDAP
6432   ----
6433   * ldap delete dn
6434   * ldap group suffix
6435   * ldap idmap suffix
6436   * ldap machine suffix
6437   * ldap passwd sync
6438   * ldap replication sleep
6439   * ldap user suffix
6440   
6441   General Configuration
6442   ---------------------
6443   * preload modules
6444   * private dir
6446 Modified Parameters (changes in behavior):
6448   * encrypt passwords (enabled by default)
6449   * mangling method (set to 'hash2' by default)
6450   * passwd chat
6451   * passwd program
6452   * restrict anonymous (integer value)
6453   * security (new 'ads' value)
6454   * strict locking (enabled by default)
6455   * unix extensions (enabled by default)
6456   * winbind cache time (increased to 5 minutes)
6457   * winbind uid (deprecated in favor of 'idmap uid')
6458   * winbind gid (deprecated in favor of 'idmap gid')
6461 Databases
6462 ---------
6464 This section contains brief descriptions of any new databases 
6465 introduced in Samba 3.0.  Please remember to backup your existing 
6466 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
6467 upgrade databases as they are opened (if necessary), but downgrading 
6468 from 3.0 to 2.2 is an unsupported path.
6470 Name                    Description                             Backup?
6471 ----                    -----------                             -------
6472 account_policy          User policy settings                    yes
6473 gencache                Generic caching db                      no
6474 group_mapping           Mapping table from Windows              yes
6475                         groups/SID to unix groups        
6476 winbindd_idmap          ID map table from SIDS to UNIX          yes
6477                         uids/gids.
6478 namecache               Name resolution cache entries           no
6479 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
6480                         returned as part of a successful
6481                         net_sam_logon request 
6482 printing/*.tdb          Cached output from 'lpq                 no
6483                         command' created on a per print 
6484                         service basis
6485 registry                Read-only samba registry skeleton       no
6486                         that provides support for exporting
6487                         various db tables via the winreg RPCs
6490 Changes in Behavior
6491 -------------------
6493 The following issues are known changes in behavior between Samba 2.2 and 
6494 Samba 3.0 that may affect certain installations of Samba.
6496   1)  When operating as a member of a Windows domain, Samba 2.2 would 
6497       map any users authenticated by the remote DC to the 'guest account'
6498       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
6499       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
6500       current work around to re-establish the 2.2 behavior.
6501       
6502   2)  When adding machines to a Samba 2.2 controlled domain, the 
6503       'add user script' was used to create the UNIX identity of the 
6504       machine trust account.  Samba 3.0 introduces a new 'add machine 
6505       script' that must be specified for this purpose.  Samba 3.0 will
6506       not fall back to using the 'add user script' in the absence of 
6507       an 'add machine script'
6508   
6510 ######################################################################
6511 Passdb Backends and Authentication
6512 ##################################
6514 There have been a few new changes that Samba administrators should be
6515 aware of when moving to Samba 3.0.
6517   1) encrypted passwords have been enabled by default in order to 
6518      inter-operate better with out-of-the-box Windows client 
6519      installations.  This does mean that either (a) a samba account
6520      must be created for each user, or (b) 'encrypt passwords = no'
6521      must be explicitly defined in smb.conf.
6522     
6523   2) Inclusion of new 'security = ads' option for integration 
6524      with an Active Directory domain using the native Windows
6525      Kerberos 5 and LDAP protocols.
6527      MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
6528      type which is neccessary for servers on which the 
6529      administrator password has not been changed, or Kerberos-enabled 
6530      SMB connections to servers that require Kerberos SMB signing.
6531      Besides this one difference, either MIT or Heimdal Kerberos
6532      distributions are usable by Samba 3.0.
6533      
6535 Samba 3.0 also includes the possibility of setting up chains
6536 of authentication methods (auth methods) and account storage 
6537 backends (passdb backend).  Please refer to the smb.conf(5) 
6538 man page for details.  While both parameters assume sane default 
6539 values, it is likely that you will need to understand what the 
6540 values actually mean in order to ensure Samba operates correctly.
6542 The recommended passdb backends at this time are
6544   * smbpasswd - 2.2 compatible flat file format
6545   * tdbsam - attribute rich database intended as an smbpasswd
6546     replacement for stand alone servers
6547   * ldapsam - attribute rich account storage and retrieval 
6548     backend utilizing an LDAP directory.  
6549   * ldapsam_compat - a 2.2 backward compatible LDAP account 
6550     backend
6551     
6552 Certain functions of the smbpasswd(8) tool have been split between the 
6553 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
6554 utility.  See the respective man pages for details.
6555     
6556      
6557 ######################################################################
6558 LDAP
6559 ####
6561 This section outlines the new features affecting Samba / LDAP 
6562 integration.
6564 New Schema
6565 ----------
6566   
6567 A new object class (sambaSamAccount) has been introduced to replace 
6568 the old sambaAccount.  This change aids us in the renaming of 
6569 attributes to prevent clashes with attributes from other vendors.  
6570 There is a conversion script (examples/LDAP/convertSambaAccount) to 
6571 modify and LDIF file to the new schema.
6572   
6573 Example:
6574   
6575   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
6576   $ convertSambaAccount --sid=<Domain SID> \
6577     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
6578     --changetype=[modify|add]
6579         
6580 The <DOM SID> can be obtained by running 'net getlocalsid 
6581 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
6582 the format of the generated LDIF output--either create new entries 
6583 or modify existing entries.
6584     
6585 The old sambaAccount schema may still be used by specifying the 
6586 "ldapsam_compat" passdb backend.  However, the sambaAccount and
6587 associated attributes have been moved to the historical section of
6588 the schema file and must be uncommented before use if needed.
6589 The 2.2 object class declaration for a sambaAccount has not changed
6590 in the 3.0 samba.schema file. 
6591   
6592 Other new object classes and their uses include:
6593   
6594   * sambaDomain - domain information used to allocate rids 
6595     for users and groups as necessary.  The attributes are added
6596     in 'ldap suffix' directory entry automatically if 
6597     an idmap uid/gid range has been set and the 'ldapsam'
6598     passdb backend has been selected.
6599       
6600   * sambaGroupMapping - an object representing the 
6601     relationship between a posixGroup and a Windows
6602     group/SID.  These entries are stored in the 'ldap 
6603     group suffix' and managed by the 'net groupmap' command.
6604     
6605   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
6606     automatically and contains the next available 'idmap uid' and 
6607     'idmap gid'
6608     
6609   * sambaIdmapEntry - object storing a mapping between a 
6610     SID and a UNIX uid/gid.  These objects are created by the 
6611     idmap_ldap module as needed.
6613   * sambaSidEntry - object representing a SID alone, as a Structural
6614     class on which to build the sambaIdmapEntry.
6616     
6617 New Suffix for Searching
6618 ------------------------
6619   
6620 The following new smb.conf parameters have been added to aid in directing
6621 certain LDAP queries when 'passdb backend = ldapsam://...' has been
6622 specified.
6624   * ldap suffix         - used to search for user and computer accounts
6625   * ldap user suffix    - used to store user accounts
6626   * ldap machine suffix - used to store machine trust accounts
6627   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
6628   * ldap idmap suffix   - location of sambaIdmapEntry objects
6630 If an 'ldap suffix' is defined, it will be appended to all of the 
6631 remaining sub-suffix parameters.  In this case, the order of the suffix
6632 listings in smb.conf is important.  Always place the 'ldap suffix' first
6633 in the list.  
6635 Due to a limitation in Samba's smb.conf parsing, you should not surround 
6636 the DN's with quotation marks.
6639 IdMap LDAP support
6640 ------------------
6642 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
6643 following options would inform Samba that the idmap table should be
6644 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
6645 dc=org" partition.
6647  [global]
6648     ...
6649     idmap backend     = ldap:ldap://onterose/
6650     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
6651     idmap uid         = 40000-50000
6652     idmap gid         = 40000-50000
6654 This configuration allows winbind installations on multiple servers to
6655 share a uid/gid number space, thus avoiding the interoperability problems
6656 with NFS that were present in Samba 2.2.
6657     
6660 ######################################################################
6661 Trust Relationships and a Samba Domain
6662 ######################################
6664 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
6665 allocating uids and gids to trusted users and groups.  More
6666 information regarding Samba's support for establishing trust 
6667 relationships can be found in the Samba-HOWTO-Collection included
6668 in the docs/ directory of this release.
6670 First create your Samba PDC and ensure that everything is 
6671 working correctly before moving on the trusts.
6673 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
6674 4.0 domain named WINDOWS:
6676   1) create the trust account for SAMBA in "User Manager for Domains"
6677   2) connect the trust from the Samba domain using
6678      'net rpc trustdom establish GLASS'
6680 To create a trustlationship with SAMBA as the trusted domain:
6682   1) create the initial trust account for GLASS using
6683      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
6684      account for GLASS$ prior to this step (depending on your
6685      local configuration).
6686   2) connect the trust from a WINDOWS DC using "User Manager
6687      for Domains"
6689 Now join winbindd on the Samba PDC to the SAMBA domain using
6690 the normal steps for adding a Samba server to an NT4 domain:
6691 (note that smbd & nmbd must be running at this point)
6693    root# net rpc join -U root
6694    Password: <enter root password from smbpasswd file here>
6696 Start winbindd and test the join with 'wbinfo -t'.
6698 Now test the trust relationship by connecting to the SAMBA DC
6699 (e.g. POGO) as a user from the WINDOWS domain:
6701    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
6702    Password:
6704 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
6706    $ smbclient //crystal/netlogon -U root -W WINDOWS
6707    Password:
6709 ######################################################################
6710 Changes in Winbind
6711 ##################
6713 Beginning with Samba3.0.0beta3, winbindd has been given new account
6714 manage functionality equivalent to the 'add user script' family of
6715 smb.conf parameters.  The idmap design has also been changed to 
6716 centralize control of foreign SID lookups and matching to UNIX 
6717 uids and gids.
6720 Brief Description of Changes
6721 ----------------------------
6723 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
6724    reverted to the 2.2.x design.  This means that when resolving a 
6725    SID to a UID or similar mapping:
6727         a) First consult winbindd
6728         b) perform a local lookup only if winbindd fails to
6729            return a successful answer
6731    There are some variations to this, but these two rules generally
6732    apply.
6734 2) All idmap lookups have been moved into winbindd.  This means that
6735    a server must run winbindd (and support NSS) in order to achieve
6736    any mappings of SID to dynamically allocated UNIX ids.  This was
6737    a conscious design choice.
6739 3) (OBSOLETE) New functions have been added to winbindd to emulate 
6740    the 'add user script' family of smbd functions without requiring 
6741    that external scripts be defined.  This functionality is controlled 
6742    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
6743    by default).
6745    However, this account management functionality is only supported 
6746    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
6747    must be shared among multiple Samba servers (such as a PDC and BDCs), 
6748    it will be necessary to define your own 'add user script', et. al.
6749    programs that place the accounts/groups in some form of directory
6750    such as NIS or LDAP.  This requirement was deemed beyond the scope
6751    of winbind's account management functions.  Solutions for 
6752    distributing UNIX system information have been deployed and tested 
6753    for many years.  We saw no need to reinvent the wheel.
6755 4) A member of a Samba controlled domain running winbindd is now able 
6756    to map domain users directly onto existing UNIX accounts while still
6757    automatically creating accounts for trusted users and groups.  This
6758    behavior is controlled by the 'winbind trusted domains only' smb.conf
6759    parameter (disabled by default to provide 2.2.x winbind behavior).
6761 5) Group mapping support is wrapped in the local_XX_to_XX() functions
6762    in smbd/uid.c.  The reason that group mappings are not included
6763    in winbindd is because the purpose of Samba's group map is to
6764    match any Windows SID with an existing UNIX group.  These UNIX
6765    groups can be created by winbindd (see next section), but the
6766    SID<->gid mapping is retreived by smbd, not winbindd.
6769 Examples
6770 --------
6772 * security = server running winbindd to allocate accounts on demand
6774 * Samba PDC running winbindd to handle the automatic creation of UNIX
6775   identities for machine trust accounts
6777 * Automtically creating UNIX user and groups when migrating a Windows NT
6778   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
6779   'net rpc vampire' for this to work.
6781    
6782 ######################################################################
6783 Known Issues
6784 ############
6786 * There are several bugs currently logged against the 3.0 codebase
6787   that affect the use of NT 4.0 GUI domain management tools when run
6788   against a Samba 3.0 PDC.  This bugs should be released in an early 
6789   3.0.x release.
6791 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
6792 filed against the Samba 3.0 codebase.
6795 ######################################################################
6796 Reporting bugs & Development Discussion
6797 #######################################
6799 Please discuss this release on the samba-technical mailing list or by
6800 joining the #samba-technical IRC channel on irc.freenode.net.
6802 If you do report problems then please try to send high quality
6803 feedback. If you don't provide vital information to help us track down
6804 the problem then you will probably be ignored.  
6806 A new bugzilla installation has been established to help support the 
6807 Samba 3.0 community of users.  This server, located at 
6808 https://bugzilla.samba.org/, has replaced the older jitterbug server 
6809 previously located at http://bugs.samba.org/.