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