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