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