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