1 ==============================
2 Release Notes for Samba 3.0.24
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 Important issues addressed in 3.0.24 include:
14 o Fixes for the following security advisories:
15 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
16 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
17 NSS library on Solaris)
18 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
21 ######################################################################
31 o Jeremy Allison <jra@samba.org>
32 * Fix for CVE-2007-0452 & CVE-2007-0454
35 o Olivier Gay <ouah@ouah.org>
36 * Fix for CVE-2007-0453
39 o Volker Lendecke <vl@samba.org>
40 * Fix for CVE-2007-0452
44 Release Notes for older release follow:
46 --------------------------------------------------
47 ===============================
48 Release Notes for Samba 3.0.23d
50 ===============================
52 This is the latest stable release of Samba. This is the version
53 that production Samba servers should be running for all current
54 bug-fixes. Please read the changes in this section and for the
55 original 3.0.23 release regarding new features and difference
56 in behavior from previous releases.
58 Important issues addressed in 3.0.23d include:
60 o Stability fixes for winbindd
61 o Portability fixes on FreeBSD and Solaris operating systems.
63 ######################################################################
73 o Jeremy Allison <jra@samba.org>
74 * Changes to ntlm_auth to better support Firefox's NTLM
76 * Make the "max usershares" parameter an advisory limit.
77 * BUG 4095: Cleanup bad substitution causing the username
78 to be translated to domain\user twice in spnego path.
79 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
80 [un]become_root() pairs.
81 * Ensure we always return the canonicalized name
82 * Add in fixes to mangling dir code.
83 * Do not assume that gencache can always be opened for RW access.
85 * Always initialize variables in winbindd request/response
87 * Fix libsmbclient bug with Konqueror and NetApp filers that
88 need a leading / in OpenAndX calls.
89 * Added showacls toggle in the smbclient code.
90 * Add a suffix to the pidfile's program name if this is a process
91 with a non-default configuration file name.
92 * Fix protection from invalid struct tm values.
93 * BUG 4187: Possible crash in signing on/off code.
94 * BUG 4214: Fix crash bug in find_forced_group().
95 * BUG 4224: Fix enforcement of the deadtime parameter.
98 o Timur Bakeyev <timur@com.bat.ru>
99 * BUG 3856: Set the nss soname version on FreeBSD.
100 * BUG 4109: Fix bug causing smbd to turn off winbindd and
101 fail to disable the _NO_WINBIND environment.
102 * BUG 3868: Prevent --with-aio-support from trimming the
103 $LIBS variable in configure.in.
106 o Dmitry Butskoy <dmitry@butskoy.name>
107 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
108 outside the idmap range if 'winbind trusted domains
112 o Gerald (Jerry) Carter <jerry@samba.org>
113 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
114 call to ensure it finds the Unix user first.
115 * Only grant privs to Administrators if privileges are enabled
116 to avoid bogus error messages in the logs.
119 o Alex Deiter <tiamat@komi.mts.ru>
120 * BUG 3524: Fix for quota support on Solaris.
123 o Guenther Deschner <gd@samba.org>
124 * Close socket when the CLDAP request has failed.
125 * Memory leak fixes in the libads/ldap.c code.
126 * Printer publishing fixes for "net ads".
127 * Fix error code returns in the CLDAP client code.
128 * Do not anonymously query for AD schema items in winbindd.
129 * Protect against storing null-sids in the winbind cache.
130 * Fallback to non-paging LDAP searches for anonymous bound
132 * More workarounds when nscd.
133 * Fix error code typoe in the GetDcName() netlogon call
134 (including two new error codes).
135 * Fix valgrind warnings in pam_winbind
136 * Add two missing refresh_sequence_number calls where they are
137 missing just before writing to the winbind cache tdb.
138 * Attempt to locate a valid domain controller before prompting
139 for credentials in "net ads".
140 * Set 35 second timeout in winbindd's netlogon code when sending
142 * Stop "net ads {user,group} delete" from doing funny things.
143 * Fix container handling for "net ads user" and "net ads group"
145 * Fix various memleaks and seg faults in "net ads {user,group}".
148 o Udo Eberhardt <udo.eberhardt@thesycon.de>
149 * BUG 4100: Fix crash in the server spooler code by initializing
150 values for smb_io_notify_info_data_strings.
153 o Olaf Flebbe <o.flebbe@science-computing.de>
154 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
157 o David Hu <david.hu@hp.com>
158 * BUG 4212: Fix memleak in the default_ou_string handling.
161 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
162 * BUG 4229: Compile fix for systems without kerberos.
165 o Volker Lendecke <vl@samba.org>
166 * NTLMSSP LanMan session key fixes.
167 * Various potential seg fault fixes.
168 * Extra logic in share access checks for bad smb.conf parameter
170 * Fixes to allow smbclient to connect to Vista RC1 workstations.
171 * Fix bad search filter in ldapsam when enumerating group
175 o Jim McDonough <jmcd@us.ibm.com>
176 * Correctly handle the password expiration policy on Samba DCs.
179 o Nils Nordman <nils.nordman@nordman.org>
180 * BUG 4085: Allow smbpasswd to change expired passwords on
184 o Simo Sorce <idra@samba.org>
185 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
186 * Better fqdn handling when parsing the /etc/hosts file.
187 * Fix crash bug in pam_winbind.
189 o Andrew Tridgell <tridge@samba.org>
190 * Fix string alignment problem in password change code.
194 * BUG 4211: Logic error when enforcing "acl group control"
198 Release Notes for older release follow:
200 --------------------------------------------------
201 ===============================
202 Release Notes for Samba 3.0.23c
204 ===============================
206 We would like to thank the developers of the Saturn code analysis
207 tool from Stanford University (http://glide.stanford.edu/saturn).
208 This release includes several code fixes based on its reports.
210 Common bugs fixed in 3.0.23c include:
212 o Authentication failures in pam_winbind when the AD domain
213 policy is set to not expire passwords.
214 o Authorization failures when using smb.conf options such
215 as "valid users" with the smbpasswd passdb backend.
218 RID Algorithms & Passdb
219 =======================
221 Starting with the 3.0.23c release, the officially supported passdb
222 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
223 with regards to the historical RID algorithm for unmapped users
224 and groups (i.e. accounts not in the passdb or group mapping table).
225 The resulting behavior is that all unmapped users are resolved
226 to a SID in the S-1-22-1 domain and all unmapped groups resolve
227 to a SID in the S-1-22-2 domain. Previously, when using the
228 smbpasswd passdb, such users and groups would resolve to an
229 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
230 However, the smbpasswd backend still utilizes the RID algorithm
231 when creating new user accounts or allocating a RID for a new
234 With the changes in the 3.0.23c release, it is now possible to
235 resolve a uid/gid, name, or SID in any direction and always obtain
236 a symmetric mapping. This is important so that values for smb.conf
237 parameters such as "valid users" resolve to the same SIDs as those
238 included in the local user's initial token.
240 Most installations will notice no change. However, because
241 an unmapped account's SID will now change even when using
242 smbpasswd it is possible that any security descriptors on files
243 previously copied from a Samba host to a Windows NTFS partition
244 may now fail to give access. The workaround is to either manually
245 map all affect groups (or add impacted users to the server's
246 passdb) or to manually reset the file's ACL.
249 ######################################################################
253 Changes since 3.0.23b
254 ---------------------
258 o Michael Adam <ma@sernet.de>
259 * Fix incorrect logic in internal_resolve_name() caused by if
263 o Jeremy Allison <jra@samba.org>
264 * Don't store a NULL SID in winbindd's offline cache.
265 * Ensure we store the offline password hash in the correct format.
266 * OS/2 fixes for large Extended Attributes data.
267 * Fix nmbd crashes caused by miscalculation in pushing
269 * Handle times consistently across all client utils including
271 * Fix a file descriptor leak in nmbd sync DNS lookup code.
272 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
274 * Pointer dereference fixes based on the Saturn analysis tool.
275 * Fix memory leak in the AD DC lookup code.
278 o Gerald (Jerry) Carter <jerry@samba.org>
279 * RHEL4 and Fedora packaging updates.
280 * Remove RID algorithm support for unmapped users and groups
281 when using an smbpasswd backend.
282 * Extend the NT token for local users' with the S-1-22-2
283 SID for each supplementary group
284 * BUG 3969: Fix unsigned time comparison with expiration
286 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
287 that winbindd talks to the correct DC when servicing PAM
288 authentication requests.
289 * Do not use the generic IP address sort routines for AD DCs
290 since the SRV lookup include a sorting algorithm based
291 on priority and weight.
292 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
293 * More changes to ensure that the primary group SID for
294 a local user is based on the primary Unix group and not the
295 primaryGroupSID passdb attribute.
296 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
297 to the SID<->uid/gid cache.
300 o Guenther Deschner <gd@samba.org>
301 * Fix msdfs RPC client and server management RPCs.
302 * Align idmap_ad with the current idmap_methods interface.
305 o Volker Lendecke <vl@samba.org>
306 * Re-add support for "username level" when looking up the
307 matching Unix user for an smbpasswd entry.
311 o Simo Sorce <idra@samba.org>
312 * Let innetgr() work without binding its use to a
313 NIS domain to support netgroups in local files.
316 o Ben Winslow <rain@bluecherry.net>
317 * Allow client smb signing to be turned off correctly.
320 --------------------------------------------------
321 ===============================
322 Release Notes for Samba 3.0.23b
324 ===============================
326 Common bugs fixed in 3.0.23b include:
328 o Ambiguity with unqualified names in smb.conf parameters
329 such as "force user" and "valid users".
330 o Errors in 'net ads join' caused by bad IP address in the list
331 of domain controllers.
332 o SMB signing errors in the client and server code.
333 o Domain join failures when using smbpasswd on a Samba PDC.
336 Member servers, domain accounts, and smb.conf
337 =============================================
339 Since Samba 3.0.8, it has been recommended that all domain accounts
340 listed in smb.conf on a member server be fully qualified with the
341 domain name. This is now a requirement. All unqualified names are
342 assumed to be local to the Unix host, either as part of the server's
343 local passdb or in the local system list of accounts (e.g. /etc/passwd
346 The reason for this change is that smbd has transitioned from
347 access checks based on string comparisons to token based
348 authorization. All names are resolved to a SID and then verified
349 against the logged on user's NT user token. Local names will
350 resolve to a local SID, while qualified domain names will resolve
351 to the appropriate domain SID.
353 If the member server is not running winbindd at all, domain
354 accounts will be implicitly mapped to local accounts and their
355 tokens will be modified appropriately to reflect the local
356 SID and group membership.
358 For example, the following share will restrict access to the
359 domain group "Linux Admins" and the local group srvadmin.
363 valid users = +"DOMAIN\Linux Admins" +srvadmin
365 Note that to restrict the [homes] share on a member server to the
366 owner of that directory, it is necessary to prefix the %S value
370 security = {domain,ads}
372 winbind separator = +
378 ######################################################################
382 Changes since 3.0.23a
383 ---------------------
387 o Michael Adams <ma@sernet.de>
388 * Fix memory leaks on error paths in 'net ads join'.
391 o Jeremy Allison <jra@samba.org>
392 * BUG 3962: Fix memory leak when enumerating print jobs.
393 * Fix file access flags for the Linux CIFS fs client.
394 * Fix memory leaks in the smbclient DFS code.
395 * BUG 3967: Fix SMB signing client bug in trans calls.
396 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
397 * Added lookup_name_smbconf() to be called when looking up names
398 from smb.conf. Unqualified names are assumed to be local.
399 * BUG 4003: Fix SMB signing server error in NTcancel reply.
402 o Gerald (Jerry) Carter <jerry@samba.org>
403 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
404 viewing or modifying local group membership.
405 * Make LsaLookupSids() reply include the full SID of unresolved
407 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
408 memory in the SRV hostlist in case there is not an A record for
410 * BUG 3964: normalize the case of usernames prior to getpwnam()
411 call in the smbpasswd backend.
412 * Cleanup the 'net ads help join' output and document createupn
413 and createcomputer options.
414 * Fix a regression in the ldapsam URI syntax. Allow multiple
415 LDAP URIs to be grouped by "".
418 o William Charles <william@charles.name>
419 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
423 o Guenther Deschner <gd@samba.org>
424 * Fix memory leaks in pam_winbind.
425 * Save the logon script path from the info3 in the PAM session
426 allowing other PAM modules to pick it up from there.
429 o Volker Lendecke <vl@samba.org>
430 * BUG 3991: Fix problem with user tokens on standalone systems
431 configured to use a username map.
432 * Fix bug where qualified user or group names in smb.conf
433 were assumed to use the '\' character as the winbind separator.
435 --------------------------------------------------
436 ===============================
437 Release Notes for Samba 3.0.23a
439 ===============================
441 Common bugs fixed in 3.0.23a include:
443 o Failure to strip the domain name from groups when 'winbind
444 use default domain = yes'
445 o Failure in pam_winbind to correctly parse arguments.
446 o Bad token creation of local users on member servers not
448 o Failure to add users or groups to ACLs using the Windows
450 o Failure in file serving code when 'kernel oplocks = yes'.
452 New features in 3.0.23a include:
454 o New "createupn" option to "net ads join"
455 o Rewritten Kerberos keytab generation when 'use kerberos
460 ######################################################################
469 o Jeremy Allison <jra@samba.org>
470 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
472 * Fix memory leaks in the AD schema parsing code.
473 * Fixed bug in interaction with Linux kernel oplocks.
476 o Gerald (Jerry) Carter <jerry@samba.org>
477 * Rewrite the detection of the correct DES salting principal name
478 when joining an Active Directory Domain.
479 * Rewrite the keytab generation code based on existing SPN,
480 UPN, and sAMAccountName attributes in the AD machine object.
481 * Cleanup of dead code from idmap_ad.
482 * Fix Winbind 32bit/64bit portability issues.
483 * Fail 'net ads join' and disable the machine account if we cannot
484 set any SPNs for ourselves.
485 * Make sure to lower case all usernames before calling the create,
486 delete, or rename hooks.
487 * Preserve case for usernames in passdb
488 * Flush the getpwnam cache after renaming a user
489 * Add become/unbecome root block in _samr_delete_dom_user() when
490 trying to verify the account's existence.
491 * Changed 'net ads join' syntax for specifying an alternate
492 OU. New syntax is createcomputer=<ou path top to bottom>.
493 * Add createupn=[UPN] option to 'net ads join' for setting the
494 userPrincipalName attribute.
495 * Bug 3920: Restore winbind use default domain behavior for domain
496 groups. This break local users and 'winbind nested groups' on
500 o Guenther Deschner <gd@samba.org>
501 * Don't clear the cache when starting winbindd in off line mode.
502 * Fix errno reporting in pam_winbind debug messages.
503 * BUG 3937: Fix segv in libnss_wins.so.
506 o Volker Lendecke <vl@samba.org>
507 * Fix memory leaks in the in error paths out of the CLDAP
509 * AIX portability fixes for DNS client code.
510 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
511 * BUG 3949: Fixed authorization issue on domain member
512 servers not running winbindd.
515 o Andrew Tridgell <tridge@samba.org>
516 * Fixed a bug which caused resolve_ads() to spin forever if
517 one of the DCs isn't resolvable in DNS.
520 o Simo Sorce <idra@samba.org>
521 * Debian packaging fixes.
524 o Dietrich Streifert <dietrich.streifert@visionet.de>
525 * BUG 3916: Fix error parsing pam_winbind config arguments.
528 Release Notes for older release follow:
530 --------------------------------------------------
532 ==============================
533 Release Notes for Samba 3.0.23
535 ==============================
537 There has been a substantial amount of cleanup work done during
538 this development cycle. We would like to thank both Coverity
539 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
540 for analyzing the Samba source code. As a result, this release
541 includes fixes for over 400 defects. The coverage was approximately
542 even with over 200 defects reported by each tool.
544 Thanks very much to those people who spent time testing the
545 release candidates and reported their findings. We would like to
546 especially thank Thomas Bork <tombork@web.de> for his numerous
547 reports. We believe that the final release is in much better shape
548 in large part due to his efforts.
550 New features in 3.0.23 include:
552 o Improved 'make test'
553 o New offline mode in winbindd.
554 o New Kerberos support for pam_winbind.so.
555 o New handling of unmapped users and groups.
556 o New non-root share management tools.
557 o Improved support for local and BUILTIN groups.
558 o Winbind IDMAP integration with RFC2307 schema objects supported
560 o Rewritten 'net ads join' to mimic Windows XP without requiring
561 administrative rights to join a domain.
564 User and Group changes
565 ======================
567 The user and group internal management routines have been
568 rewritten to prevent overlaps of assigned Relative Identifiers
569 (RIDs). In the past the has been a potential problem when either
570 manually mapping Unix groups with the 'net groupmap' command or
571 when migrating a Windows domain to a Samba domain using 'net rpc
574 Unmapped users are now assigned a SID in the S-1-22-1 domain and
575 unmapped groups are assigned a SID in the S-1-22-2 domain.
576 Previously they were assign a RID within the SAM on the Samba
577 server. For a DC this would have been under the authority of the
578 domain SID where as on a member server or standalone host, this
579 would have been under the authority of the local SAM (hint: net
582 The result is that any unmapped users or groups on an upgraded
583 Samba domain controller may be assigned a new SID. Because the
584 SID rather than a name is stored in Windows security descriptors,
585 this can cause a user to no longer have access to a resource for
586 example if a file was copied from a Samba file server to a local
587 NTFS partition. Any files stored on the Samba server itself will
588 continue to be accessible because Unix stores the Unix gid and not
589 the SID for authorization checks.
591 A further example will help illustrate the change. Assume that a
592 group named 'developers' exists with a Unix gid of 782 but this
593 user does not exist in Samba's group mapping table. it would be
594 perfectly normal for this group to be appear in an ACL editor.
595 Prior to 3.0.23, the group SID might appear as
596 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
597 group SID would be reported as S-1-22-2-782. Any security
598 descriptors associated with files stored on an NTFS disk partition
599 would not allow access based on the group permissions if the user
600 was not a member of the
601 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
602 group SID not reported in a user's token is S-1-22-2-782, Windows
603 would fail the authorization check even though both SIDs in some
604 respect referred to the same Unix group.
606 The current workaround is to create a manual domain group mapping
607 entry for the group 'developers' to point at the
608 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
614 The "passdb backend" parameter no long accepts multiple backends
615 in a chaining configuration. Also be aware that the SQL and XML
616 based passdb modules have been removed in this release. More
617 information of external support for a SQL passdb module can be
618 found at http://pdbsql.sourceforge.net/.
621 Group Mapping Changes
622 =====================
624 The default mapping entries for groups such as "Domain Admins" are
625 no longer created when using an smbpasswd file or a tdbsam passdb
626 backend. This means that it is necessary to use 'net groupmap
627 add' rather than 'net groupmap modify' to set these entries.
628 This change has no effect on winbindd's IDmap functionality for
635 There has also been a minor update the Samba LDAP schema file. A
636 substring matching rule has been added to the sambaSID attribute
637 definition. For OpenLDAP servers, this will require the addition
638 of 'index sambaSID sub' to the slapd.conf configuration file. It
639 will be necessary to run slapindex after making this change. There
640 has been no change to actual data storage schema.
643 ######################################################################
650 Parameter Name Description Default
651 -------------- ----------- -------
652 acl group control Deprecated No
653 add port command New ""
654 change notify timeout Changed Scope
656 dos filemode Modified No
657 enable asu support Changed default No
658 enable core files New Yes
659 enable privileges Changed default Yes
660 enable rid algorithm Removed
661 fam change notify New Yes
663 host msdfs Changed default Yes
664 msdfs root Changed default Yes
665 open files database hash size New 10007
666 passdb expand explicit Changed default No
667 strict locking Changed default auto
668 usershare allow guests New No
669 usershare max shares New 0
670 usershare owner only New Yes
671 usershare path New ${lockdir}
672 usershare prefix allow list New ""
673 usershare prefix deny list New ""
674 usershare template share New ""
675 winbind enum users Changed default No
676 winbind enum groups Changed default No
677 winbind nested groups Changed default Yes
678 winbind offline logon New No
679 winbind refresh tickets New No
680 winbind max idle children Removed
681 wins partners Removed
689 o Jeremy Allison <jra@samba.org>
690 * Fixes for various Klocwork defect reports.
691 * Cleanup pdb_get_XXX() methods and ensure that a failure
692 to allocate memory for a samu user structure is reported
693 as a failure to the calling function.
694 * Fix memleak in printing gencache contents.
695 * Fix warnings reported by gcc4 -O6 on 64-bit systems
696 * Fix naming conflicts with 'net usershare' structures and
697 Solaris header files.
698 * Fix memleaks on error paths from the ASN.1 parsing code.
699 * Add uid to share_mode_entry structure so we can report who
701 * Ensure we use sys_write in password chats so we're not
703 * Ensure all new rid allocation goes through the same pdb_ldap
705 * BUG 3308: Stop us returning duplicate mid replies on path
706 based set-EOF trans2 calls.
707 * Pass RAW-OPLOCK with kernel oplocks off.
708 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
709 correctly when doing info level 1 directory scans.
710 * Add Samba4 replacement for timegm() to work on Solaris.
711 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
712 * BUG 3592: Ignore a file in the tar output from smbclient if the
713 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
714 Justin Best <justinb@pdxmission.org>).
715 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
716 * Push/Pull Kerberos principal and realm names to/from UTF-8.
717 * Fix incorrect boolean in assert to make POSIX lock tests
719 * Don't ever set O_SYNC on open unless "strict sync = yes".
720 * Remove dead printing code.
721 * Allow configurable guest access to Samba's usershare functionality.
722 * BUG 3587: Make byte-range locking tdb self-cleaning.
723 * Ensure every exit error path in the session setup code calls
725 * Use portable wrapper functions instead of seteuid directly in
727 * Make "change notify timeout" a per-share parameter.
728 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
729 * Fix valgrind-spotted issue in BASE-DELETE test.
730 * Fix early termination condition in winbindd when trying to
731 connect to a remote DC.
732 * Instruct winbindd to ignore fd_set when select() returns -1.
733 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
734 with select returning true but no data being available.
735 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
737 * BUG 3467: Fix delete on close semantics needed by WinXP Media
738 Center Ed. for simultaneous recording and playback (thanks to
739 Jason Qian for the debugging assistance).
740 * BUG 3347: Save the Unix user token used to set the
741 delete-on-close flag.
742 * Fix parsing of SAMR_Q_CONNECT_ANON.
743 * Add in support for userinfo26 structure and re-enable
745 * Schannel server fixes. Fix the credentials chaining across
746 \netlogon pipe disconnects.
747 * Replace ubqix code in nmbd with an internal tdb.
748 * Fix struct timespec checks in configure.in.
749 * Add in server support for the NetSamLogonEx().
750 * Add support for LsaLookupSids2() and LsaLookupSids3().
751 * Add LsaLookupNames[2-4]().
752 * Add support for 'net usershare'.
753 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
754 already exists (thanks to Sandeep Tamhankar).
755 * BUG 3510: Fix 'net rpc join' against a server when
756 schannel is disabled.
757 * Get rid of poor errno mapping table. Bounce through NTSTATUS
759 * Check for SeMachineAccountPrivilege when deleting machine
761 * Fix a logic bug with multiple oplock contention.
762 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
763 Attempt to fix the broken directory handling in the *BSD.
764 * Allow run time tuning of the locking tdb hash size for
766 * BUG 3642: Ensure we don't call FD_SET on read with
768 * BUG 3569: Work around linear posix locking issue on AIX
769 which was causing high loads due to the tdb CLEAR_IF_FIRST
770 flag (based on work from William JoJo).
771 * Fix OS/2 directory delete bug found by kukks.
772 * Match the Windows 2003 NTLMSSP signature.
773 * Performance tuning work in core read & write file serving
775 * Change default to 'strict locking' to better reflect
777 * Fix error return on session setup. Ensure no data blob is
778 added if the logon call failed so that Windows clients
779 interpret the NT_STATUS code correctly.
780 * Teach Samba the difference between exclusive and batch
782 * BUG 3592: Ignore a file in a smbtar output if the first
783 read fails (inspired by Justin Best).
784 * BUG 3668: Workaround Windows bug with LARGE_READX where if
785 you ask for exactly 64k bytes it returns 0.
786 * BUG 3858: Ensure that all files are removed by a wildcard
787 delete when 'hide unreadable = yes'.
788 * Fix various issues raised by the Klocwork code analyzer.
789 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
790 query reply ("enhanced browsing = yes").
791 * Fix SMB signing failures in client tools.
792 * BUG 3909: Avoid EA lookups on MS-DFS links.
795 o Andrew Bartlett <abartlet@samba.org>
796 * Work around abort() in the OpenLDAP client libs caused by a NULL
800 o Timur Bakeyev <timur@com.bat.ru>
801 * BUG 2961: Fix compile warnings for pam_smbpass.
802 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
805 o Alexander Bokovoy <ab@samba.org>
806 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
807 * Fix absolute symlinks in the installbin.sh script.
810 o Max N. Boyarov <m.boyarov@sam-solutions.net>
811 * Fix crash bug in perfmon daemon example code.
814 o Nicholas Brealey <nick@brealey.org>
815 * Compile fix for pam_winbind.
818 o Gerald (Jerry) Carter <jerry@samba.org>
819 * Fix 'make install' problem when building outside source/.
820 * Fix 'net ads join' when the workgroup is set incorrectly in
822 * Re-add code to include the BUILTIN\Administrators SID when
823 winbindd is not running, but the user's token includes the
824 Domain Admin SID. Fixes access problem for managing Services.
825 * Only call the printer publishing calls if 'security = ads'.
826 * Normalize printing keys when deleting.
827 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
828 * Look at the NT password (not lanman one) when determining if 'smbpasswd
829 -e' should probably for a password.
830 * Default eventlog tdbs to mode 0660 to allow easier access by
831 BUILTIN\Administrators.
832 * Remove extra call to create_user on member servers without winbindd.
833 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
834 AD DC's with out own DNS SRV queries.
835 * Fix compile error on HP-UX reported by Ryan Novosielski.
836 * Rewrite 'net ads join' to share common code with 'net rpc join'
837 and behave more like a Windows XP client.
838 * Remove --with-ldapsam option from configure (only used for
839 backwards compatibility for 2.2 smb.conf files).
840 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
841 * Remove rhosts authentication module.
842 * Reimplement 'net ads leave' to disable the machine account in the
843 domain rather than removing it.
844 * Rewrite of tdbsam file descriptor handling.
845 * Add server affinity support when selecting a remote
847 * Remove chaining of passdb modules.
848 * Generate a local users primary group SID based on his
849 or her primary Unix group rather than storing the attribute
851 * Default primary group SID to 'Domain Users' if the real Unix
852 primary group maps to the S-1-22-2 domain.
853 * Refactor memory management in passdb user objects.
854 * RHEL and Fedora packaging fixes.
855 * Implement XcvDataPort() spooler call and supporting 'add
857 * BUG 3534: Ignore lines in the username map file with no right
859 * Add support for the experimental %(DomainSID) smb.conf
861 * Add support for parsing SIDs in smb.conf value lists.
862 * Fix vuid allocation in Kerberos SMBsesssetup reply.
863 * Ensure that local group membership is included in the
864 getgroups() NSS reply.
865 * Automatically create a BUILTIN\{Administrators,Users} if
867 * Automatically grant all privileges to members of the local
868 Administrators group.
869 * Protect against NULL cli_state* pointers in
871 * Add a SUBSTR matching rule the the Samba LDAP schema
872 file for the sambaSID attribute. This will allow for
873 Searching group mapping entries within a given domain
874 without reorganizing the directory namespace. Also
875 requires 'index sambaSID sub' in slapd.conf.
876 * Fix parsing of 'idmap uid/gid' values that broke when
877 the range included any whitespace.
878 * Support renaming local groups (protect against renaming
880 * Do not allow the root account to be deleted via MS-RPC.
881 * Fix RID allocation to skip over RIDs that resolve in our
882 own domain (work around upgraded users and groups).
883 * Store the name/ip address combination when we do a reverse
884 look up in case future forward lookups would fail.
885 Fixes cases where a DC name could not be resolved via
887 * Allow winbindd to run on standalone servers in order to
888 provide support for local groups.
889 * Deprecate 'acl group control' and replace it with added
890 functionality to 'dos filemode'.
891 * Ensure that all global memory is freed from pam_winbind
892 when unloading the shared library (based on work from Arkady
894 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
895 libraries and winbindd.
896 * Add defensive checks about create local accounts (i.e. calling
897 'add user script') on domain member servers when winbindd
898 is running but having problems.
899 * Use system provided killproc() in RedHat init scripts for
900 more robust shutdown.
901 * Fix a crash in the printer publishing code when adding a
902 new printer via the APW.
903 * Fix broken compile of unsupported smbwrapper utility.
904 * BUG 3905: Fix smbd startup failure caused by a failure to
905 create an NT token for the guest account.
906 * BUG 3908: Fix RPC bind authentication failure which broke
907 user password changes.
908 * Ensure that "net ads join" reports failure correctly if
909 it cannot set the machine account password.
912 o Mathias Dietz <MDIETZ@de.ibm.com>
913 * EPERM can be a valid return from getting an xattr.
914 Don't disable if we get it.
917 o Guenther Deschner <gd@samba.org>
918 * Fix memleaks in winbindd ads searches.
919 * Fix timestamp bug in pam_winbindd which forced users to change
920 passwords prematurely.
921 * Small debug message cleanups.
922 * Small fixes for 'net ads password'.
923 * BUG 3843: Allow to set passwords directly when creating users
924 via "net rpc user add"
925 * Add "rpc shell" to the usage text for the net command.
926 * Winbindd user aliases lookup fixes for large domains.
927 * Fix memleak in the CLDAP processing code.
928 * Enable AD features in winbindd's PAM support only when
929 communicating with an AD domain controller.
930 * Set our internal domains to "online" by default in winbindd.
931 * BUG 3800: Fill the password_policy method in winbindd for
933 * Fix memory leak when LDAP POSIX attribute queries fail.
934 * Honor the krb5 principal name change (of the new ads join code)
935 in the kerberized winbind pam_auth.
936 * Correctly handle the case when there is no configuration file
938 * Adding "own-domain" switch to wbinfo which is handy from time
940 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
941 * Fix winbindd group enumeration for groups with no members.
942 * Correct "net ads changetrustpw" to use the sAMAccountName.
943 * Fix winbindd in ADS domains by removing code using the
944 UPN and rely upon the sAMAccountName.
945 * Fix a eDir related memory leak.
946 * Don't try to add the sn attribute twice to an LDAP
947 inetOrgPerson + samSamAccount entry.
948 * Fix winbind function table typo.
949 * Attempt to send the correct warning from pam_winbind when a password
950 change was attempted too early.
951 * Don't use cached credentials when changing passwords.
952 * Correctly disallow unauthorized access when logging on with the
953 kerberized pam_winbind and workstation restrictions are in effect.
954 * Save useless round trips in pam_winbind's auth calls.
955 * Make the existence of the /etc/security/pam_winbind.conf file
956 non-critical and fallback to only parse the argv options in that
958 * Add winbind debug class to the main winbindd process.
959 * Be consistent between rpc and ads winbind backend: let the
960 ads backend query the samlogon cache first as well.
961 * Ignore BUILTIN groups when searching AD for group memberships.
962 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
963 * Cleanup credential caches from winbind's linked list.
964 * Fix 'winbindd -n' for new persistent caches.
965 * Fix searching by SID in winbindd.
966 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
967 * Prefer to use the indexed objectCategory attribute (instead of
968 objectClass which is not indexed on AD) in LDAP queries.
969 * Free LDAP result in ads_get_attrname_by_oid().
970 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
971 * Prevent passwords of winbindd's list of credential caches from
972 being swapped to disk using mlock().
973 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
974 support the plain posix attributes LDAP schema from win2k3-r2
975 (based on patches from Howard Wilkinson and Bob Gautier).
976 * Add more robust code for fallback when lookup_usergroups() fails.
977 * Fix 'net rpc join' for winbindd running on a Samba DC.
978 * Add help text for new 'net rpc audit' utility.
979 * Add net ads search SID.
980 * samrQueryDomainInfo level 5 should return the domain name, not our
981 NetBIOS name when we are a DC.
982 * Add some more client rpc for the querydominfo calls (from samba4 idl).
983 * Process all the supported info levels in the samr_query_domain_info2
985 * Wrap the samr_query_domain_info2() call around
986 samr_query_domain_info().
987 * Fix segv in smbctool.
988 * Honor the time_offset also when verifying Kerberos tickets.
989 * Prevent unnecessary longstanding LDAP connection to eDirectory.
990 * Fix segv in smbspool.
991 * BUG 1914: Allow to store 24 password history entries in ldapsam.
992 * Enhancements to various commands in rpcclient
993 * Don't force 'Administrator' to change an expired password on
995 * Add support for offline mode in winbindd.
996 * Provide support in pam_winbind for initializing a user's
998 * Implement samr_chgpasswd_user3 server-side.
999 * Make pam_winbind more robust when detecting domain users.
1000 * Add client side support for SAMR_GET_USRDOM_PWINFO.
1001 * Re-enable strict checking on C++ reserved keywords since Heimdal
1002 0.7.2 has been released.
1003 * Allow renaming of machine accounts in a Samba domain.
1004 * BUG 3539: Let winbindd try to obtain the gecos field from
1005 the msSFU30Gecos attribute when "winbind nss info = sfu" is
1007 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1008 * Return the real ACB-flags in the SamLogon() reply.
1009 * Some client side cleanup for the samr set security object
1011 * Make sure we always reset the userAccountControl bits when
1012 re-joining (net ads join) with an existing account.
1013 * Document some more MSV1_0 bits and their behavior.
1014 * Only set the last rebind timestamp when we did rebind
1015 after a update LDAP operation to avoid the ldap replication
1017 * Fix incorrect error checking in winbindd for domains with
1019 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
1021 * Work around crash bug in MIT krb5 libs when reading a
1022 keytab file. Stop trying to decrypt a ticket as soon as
1023 we have a clear indication that the ticket is bad.
1024 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1025 * Adding client side samr querygroup infolevels 2 & 5.
1026 * Make smbpasswd -a root work for eDirectory where there
1027 is no "account" structural objectclass.
1028 * Make sure we only send out a CLDAP request (net ads) to
1029 an connected AD server.
1030 * Fix a broken LDAP search filter when looking for groups.
1031 * Add in-tree version of iniparser library from
1032 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1033 (rather than linking in loadparm.c). Settings are now stored
1034 in /etc/security/pam_winbind.conf.
1035 * Fix different extended_dn handling in adssearch.pl
1036 (Thanks to Frederic Brin at Novell).
1037 * Fix a memleak in winbindd's credentials cache.
1038 * Protect against crashes in CLDAP request processing.
1039 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1042 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
1043 * Fix parameter type for 'acl compatibility'.
1044 * Fixes for msgtest torture tool.
1045 * Fix crash bug in the file locking code.
1048 o Arek Glabek <aglabek@centeris.com>
1049 * Fix parsing error on input parameters in eventlogadm.
1052 o Paul Green <paulg@samba.org>
1053 * Properly rebuild time limit on systems with executable extensions.
1054 * Fix build on platforms that do not support shared libs.
1055 * Remove dead code in the auth_script module.
1058 o Bjoern Jacke <samba@j3e.de>.
1059 * Fix DMAPI compile failures on AIX and True64.
1060 * Fix AIX PIC suffix (use .o instead of .po).
1061 * Fall back to less-preferred clocks until we find one that we
1062 can use if clock_gmtime() is not available at run-time.
1063 * Fix EA support on AIX platforms.
1064 * Automatically disable file shares with no explicit path set.
1065 * Remove the local hack to set the RO bit on directories in
1066 user profiles when profile acls = yes. Rely on EAs instead.
1067 * Compile fixes for Solaris LDAP client libs.
1068 * Add DMAPI/XDSM support for AIX.
1069 * Find JFS DMAPI libs on Linux when only they are available.
1072 o William Jojo <jojowil@hvcc.edu>
1073 * Fixes for the winbind NSS library on AIX.
1074 * Fix VFS builds on AIX platforms.
1075 * Fixes for the AIX version of libnss_winbind.so
1078 o Leonid Kabanov <lkabanov@mail.ru>
1079 * BUG 3711: Shell portability fixes for 'make test'.
1082 o Volker Lendecke <vl@samba.org>
1083 * Fixes for various Klocwork defect reports.
1084 * Fixes for various Coverity defect reports.
1085 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
1086 * Fix more potential seg-faults when something on our way to a
1087 DC connection fails.
1088 * Never fall back to using the IP address for a DC's name in RPC
1090 * Implement recycle:subdir_mode.
1091 * Activate RPC-AUTHCONTEXT in "make test".
1092 * Portability fixes for 'make test'.
1093 * Correctly set the group RID in init_sam_from_buffer.
1094 * Fix missing prompt in smbclient.
1095 * Return correct error code upon success from _net_srv_pwset().
1096 * Fix Windows XP joins to a Samba domain.
1097 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
1098 when mapped to a non-algorithmic rid.
1099 * Fix regression which upper-cased machine names passed to the
1100 'add machine script'.
1101 * Correct parsing error in parse_net.c for user's with no group
1103 * Fix off by one error in client SPNEGO code and other klocwork
1105 * Memory leak fixes in 'net sam'.
1106 * BUG 3720: Fix uninitialized error return variable.
1107 * Default "passdb expand explicit" to no.
1108 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
1109 * Fix user NT token creation when utilizing a username map.
1110 * More coverity fixes.
1111 * Fix a VUID bug in 'security = share'.
1112 * Correctly fill in the gid for local users.
1113 * Fix some warnings on True64.
1114 * Add special close handling for fake files.
1115 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
1116 * BUG 3435: Fix 'msdfs root = yes' in [homes].
1117 * Instruct winbindd to find a trusted DC on its own when running on
1119 * Fix segv in child winbindd processes caused by a failed tconX
1121 * Dynamically compute the maximum password age based no the
1122 last change time rather than reading the must change time
1123 from the passdb record.
1124 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
1125 * Assign unmapped users to the S-1-22-1 domain and unmapped
1126 groups to the S-1-22-2 domain
1127 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
1128 * Remove sql passdb backends.
1129 * Implement rpccli_samr_set_domain_info()
1130 * Add initial support for 'net sam' command.
1131 * BUG 2413: Remove anonymous connections in 'net rpc info'.
1132 * Implement asynchronous support for trans2 calls.
1133 * Make smbclient -L use RPC to list shares, fall back to RAP.
1134 * Ensure that the global SAM SID is initialized before any
1135 dependent routines are called.
1136 * Enhance consistency checks on local configuration when joining
1138 * Fix a memleak in the server registry code for enumeration
1140 * Fix an invalid munlock() call in winbindd's credentials cache.
1141 * Fix compile warnings when passing NULL to snprintf().
1142 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
1143 token in case anything weird is going on with the 'force user'.
1144 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
1147 o Derrell Lipman <derrell@samba.org>
1149 * BUG 3814: Only set the DFS capability flag in client requests
1150 if the share is a DFS root.
1151 * Fix bug causing previous settings to be re-initialized
1152 when parsing new configuration files.
1153 * BUG 3446: Don't ignore the authentication domain when parsing
1155 * Fix cli_setpathinfo() to actually do what it's supposed to.
1156 * Fix libsmbclient to make correct use of the new "one connection
1157 per server feature".
1160 o Jason Mader <jason@ncac.gwu.edu>
1161 * Numerous compiler warning fixes.
1164 o John E. Malmberg <wb8tyw@qsl.net>
1165 * Make smbldap obey config tests.
1168 o Jim McDonough <jmcd@us.ibm.com>
1169 * Fixes for 'make test' on AIX.
1170 * Ensure we do a wildcard search for SID's starting with the global SAM
1171 sid, not an exact search (from John Janosik).
1172 * Adapt smbclient fix to smbtree to enable long share names.
1173 * Prevent machines and users with no home directory from
1174 getting the previous entries home path when migrating via
1175 'net rpc vampire' (based on a patch from Richard Renard).
1176 * Remove hard-coded LDIF names when dumping a migrated
1177 domain's users and groups.
1178 * BUG 1374: Can't join an OU with name that contains '#'.
1181 o Stefan Metzmacher <metze@samba.org>
1182 * Add more tests to 'make test'.
1183 * Try to make timelimit.c more portable.
1184 * Fix linking of smbmount tools with --enable-socket-wrapper.
1185 * Pass 'target:samba3=yes' to samba4's smbtorture when running
1187 * Miscellaneous fixes for 'make test'.
1188 * Add improved support for 'make test' including making
1189 use of smbtorture from SAMBA_4_0.
1190 * Add --no-process-group to all server programs
1191 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
1192 * Add configure tests --with-selftest-prefix=/tmp/samba-test
1195 o Lars Müller <lmuelle@samba.org>
1196 * Fix lock calls in the python tdb bindings.
1197 * Add -k switch to tdbdump for accessing a single key.
1198 * Debian packaging fixes.
1199 * Add -t|--password-from-stdin option to pdbedit as we had
1201 * Various minor fixes to install scripts used by 'make install'.
1204 o James Peach <jpeach@sgi.com>
1205 * Ensure smbclient always prompts on standard output when in
1207 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
1208 * Introduce command line options to set the remainder of the
1209 parameters in dynconfig.c.
1210 * Avoid pulling in -lpthreads caused by -lrt.
1211 * Fix build failures on IRIX 6.4 due to DMAPI support.
1212 * Isolate the slow CLOCK_REALTIME message in the profiling code.
1213 * Correct comparison logic so that libunwind can be correctly detected.
1214 * Implement a "stacktrace" smbcontrol option using libunwind's remote
1215 stack tracing support (ia64 only).
1216 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
1217 of long group lists.
1218 * New autoconf macro to test for sysconf variables.
1219 * Change profiling data macros to use stack variables rather than
1220 globals. This catches mismatched start/end calls and removes
1221 the need for special nested profiling calls.
1222 * Rewrite AC_LIBTESTFUNC so that it works like the callers
1224 * Use clock_gettime for profiling timstamps if it is available. Use
1225 the fastest clock available on uniprocessors.
1226 * Preserve errno in fcntl lock wrappers.
1227 * Initialize our saved uid and gid so that we can tell when we
1228 created the profiling shmem segment and don't bogusly refuse to
1230 * Add a new option "enable core files" which can be used to disable
1231 automatic core file dumping.
1232 * Update our internal copy of popt to that distributed with the RPM
1234 * Add support for FAM for file change notification.
1235 * Disable sendfile if the 'write cache;' has been enabled.
1236 * Refactor capability interface from being IRIX-specific to
1237 using only the POSIX interface.
1238 * Consolidate core dumping code to aid in debugging.
1239 * Add support for libunwind to generating a backtrace.
1240 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
1241 and --without-ads are specified.
1242 * Allow the user to set winbind nss timeouts in seconds on IRIX.
1243 * Set the FILE_STATUS_OFFLINE bit by observing the events
1244 a DMAPI-based HSM is interested in.
1247 o Tim Potter <tpot@samba.org>
1248 * Build janitorial duties.
1249 * BUG 3725: Put references to $PICFLAGS in quotes.
1252 o Aruna Prabakar <aruna.prabakar@hp.com>
1253 * Show -W option in smbpasswd usage text.
1256 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
1257 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
1262 * Correct syntax error in aclocal.m4.
1265 o Simo Sorce <idra@samba.org>
1266 * Pam modules install fix.
1267 * Allow "net changesecretpw" to accept a password via stdin.
1268 * Implement 'net setdomainsid' command.
1269 * Ensure that sid -> group conversion are done as root.
1270 * BUG 3413: Sanity check for existence of 'ldap admin
1271 dn' before setting a password in secrets.tdb (based on
1272 work by William Jojo).
1273 * New revision of the snprintf replace code.
1274 * Set the correct sid type when looking up a gid.
1277 o Todd Stecher <tstecher@isilon.com>
1278 * Add TCP fallback for our implementation of the CHANGEPW
1282 o Ronan Waide <waider@waider.ie>
1283 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
1287 o Shlomi Yaakobovich <Shlomi@exanet.com>
1288 * Fix for machine password time_t overflow.
1291 --------------------------------------------------
1292 ==============================
1293 Release Notes for Samba 3.0.22
1295 ==============================
1297 This is a security release of Samba. The Samba 3.0.21 release
1298 series (including the patch releases a through c) has been
1299 discovered to expose the clear text of the server's machine
1300 account credentials in the winbind log files when the log
1301 level is set to 5 or higher. This defect has been assigned
1302 the CVE number CAN-2006-1059.
1307 The machine trust account password is the secret shared
1308 between a domain controller and a specific member server.
1309 Access to the member server machine credentials allows
1310 an attacker to impersonate the server in the domain and
1311 gain access to additional information regarding domain
1314 The winbindd daemon included in Samba 3.0.21 and subsequent
1315 patch releases (3.0.21a-c) writes the clear text of server's
1316 machine credentials to its log file at level 5. The winbindd
1317 log files are world readable by default and often log files
1318 are requested on open mailing lists as tools used to debug
1319 server misconfigurations.
1321 This affects servers configured to use domain or ads security
1322 and possibly Samba domain controllers as well (if configured
1327 --------------------------------------------------
1329 ===============================
1330 Release Notes for Samba 3.0.21c
1332 ===============================
1334 Common bugs fixed in 3.0.21c include:
1336 o Access checks when deleting printer driver meta-data.
1337 o Several non-default combinations schannel and SPNEGO support.
1338 o Password changes with NT4 and Win2k pre-SP4 clients.
1339 o High load issues on IRIX caused by a bug when interfacing
1340 with kernel oplocks.
1343 ######################################################################
1347 Changes since 3.0.21b
1348 ---------------------
1352 o Michael Adam <ma@SerNet.DE>
1353 * Add popt to the include path for examples/VFS.
1356 o Jeremy Allison <jra@samba.org>
1357 * Fix bug in the USC2 macros on big-endian CPUs.
1358 * Filter deleted oplocks from the output of smbstatus.
1359 * Remove invalid test check_for_pipe().
1360 * BUG 3515: Fix kernel oplock support on IRIX.
1361 * BUG 3522: Fix return value for mkdir request when the directory
1363 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
1365 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
1367 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
1368 resulting in a client disconnect after negprot.
1369 * BUG 3510: Fix 'net join' against a server with client schannel
1371 * Fix negprot bug causing a 2k client with cached domain
1372 credentials to refuse to connect to a standalone Samba host.
1373 * Ensure that the correct error is checked when encountering a
1374 socket error (fixes crashes in winbindd).
1377 o Andrew Bartlett <abartlet@samba.org>
1378 * Fix domain joins from NT4 clients and password changes.
1381 o Richard Bollinger <rabollinger@gmail.com>.
1382 * Compile fix in pdbedit.
1385 o Gerald (Jerry) Carter <jerry@samba.org>
1386 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
1387 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
1388 * Fix bug in loadparm.c that caused builtin services to be also
1389 listed as external services (e.g. Spooler, NETLOGON, etc..).
1390 * Fix bug in the samr dispinfo enumeration code.
1391 * Add earlier checks to deny deleting a printer driver meta-data.
1394 o Guenther Deschner <gd@samba.org>
1395 * Add Account Policy LDAP attributes for eDirectory schema.
1398 o William JoJo <jojowil@hvcc.edu>
1399 * BUG 1870: Make nmblookup do a node status on all IP's when
1401 * BUG 2353: Fix clitar -F processing.
1404 o Volker Lendecke <vl@samba.org>
1405 * Fix the build for --with-aio-support.
1406 * Fix remote password changing if password must change is set.
1407 * Fix rpcclient to obey the -W parameter.
1408 * Fix segv in smbmount and the profiles tool.
1409 * Fix typo in pdbedit help text (reported by Karolin Seeger).
1413 * Honour the $(DESTDIR) Makefile variable when installing
1417 o Jason Mader <jason@ncac.gwu.edu>
1418 * Compiler warning fixes.
1421 o Lars Müller <lmuelle@samba.org>
1422 * Fix python build with older python versions.
1423 * Update dhcp.conf files in Debian packaging
1424 * SWAT welcome file updates
1425 * Compiler warning fixes.
1426 * Add .2 to the SONAME as version suffix if we link the nss
1428 * Add -t|--password-from-stdin option to pdbedit.
1431 o James Peach <jpeach@sgi.com>
1432 * Continue not enabling valgrind on 64-bit Linux.
1435 o Tim Potter <tpot@samba.org>
1436 * Remove unused #defines.
1439 o Simo Sorce <idra@samba.org>
1440 * Debian packaging updates.
1443 o Qiao Yang <qyang@stbernard.com>
1444 * Make sure to refresh the timestamp on entries in the failed
1445 connection code in winbindd.
1448 --------------------------------------------------
1449 ===============================
1450 Release Notes for Samba 3.0.21b
1452 ===============================
1454 Common bugs fixed in 3.0.21b include:
1456 o Server crashes in smbd.
1457 o Compile issues on 64-bit platforms.
1458 o Crash bugs on big-endian systems.
1459 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
1460 o Over 30 bugzilla reports closed.
1463 ######################################################################
1467 Changes since 3.0.21a
1468 ---------------------
1472 o Jeremy Allison <jra@samba.org>
1473 * Fix the SAMR cache across handles opens and closes.
1474 * Re-add the talloc_describe_all() function for reporting pool
1476 * Merge talloc license change from Samba 4.
1477 * Fix 64-bit compile warnings reported by gcc.
1478 * Add the share path into the sharemode db.
1479 * Consistency fixes: Remove use of uint8_t -> uint8.
1480 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
1481 structure when passing through the messaging API.
1482 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
1484 * Force smbd to exit if the guest account internal setup fails.
1485 * BUG 3419: vfs_full_audit fixes for multiple connections.
1486 * Ensure SWAT lists running processes.
1487 * Fix NTLMv2 interoperability bug between Samba servers.
1488 * Oplock break logic fixes.
1491 o Andrew Bartlett <abartlet@samba.org>
1492 * BUG 3401: Fix crash bug caused by incorrect handling of weak
1493 session keys. Based on original patch from Yau Lam Yiu.
1496 o Alexander Bokovoy <ab@samba.org>
1497 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
1501 o Stefan Burkei <stefan@burkei.de>
1502 * BUG 3248: When doing auth_crap authentication use the client
1503 given workstation name not our own.
1506 o Gerald (Jerry) Carter <jerry@samba.org>
1507 * Fixing net rpc registry enumerate from overwriting the open
1509 * BUG 3380: fix crash when changing printer drivers.
1510 * BUG 3391: ensure we can lookup account policies for failed
1512 * Adding query/set ops for security descriptors on services.
1513 * BUG 3329: Solaris packaging fixes.
1514 * Better formatting for smbstatus output (based on patch from
1516 * Hook the max connections spin box in the share properties
1517 MMC plug-in dialog to the 'max connections' smb.conf parameter
1518 and the 'modify share command' option.
1519 * Work around building libnss_winbind.so on Solaris when
1520 --enable-developer is specified.
1521 * Add vendor patch level string to VERSION.
1522 * Consolidate packaging for RHEL4 and Fedora based on initial
1526 o Albert Chin <@thewrittenword.com>
1527 * BUG 3374: Build failures on True64.
1530 o Guenther Deschner <gd@samba.org>
1531 * Fill in samr_get_dom_pwinfo based on Samba4.
1532 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
1533 * Fixes for adssearch.pl example script.
1534 * Prevent 'net rpc' from dumping clear text password at high log
1535 levels unless built with DEBUG_PASSWORD.
1536 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
1538 * Fix segfault in pdb_nds.c.
1539 * Don't write null sid mappings into the winbindd_cache.tdb.
1540 * Save sid_to_name lookup result in winbindd already after doing
1541 a successful name_to_sid.
1542 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
1543 * BUG 1524, 3205: Support changing expired passwords in
1545 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
1546 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
1547 idmap modules are build and loaded, idmap_rid now will have
1548 to be loaded without prefix, just "rid".
1549 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
1552 o Andrew Esh <Andrew_Esh@adaptec.com>
1553 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
1554 specified on the command line with -H.
1557 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1558 * End profile fixes.
1559 * BUG 3348: Don't assume owning sticky bit directory means
1560 write access allowed.
1561 * Fix double free in on failure path in POSIX acl code.
1564 o Andriy Gapon <avg@icyb.net.ua>
1565 * BUG 3458: Fix crash bug in smbd and winbindd caused by
1566 accessing freed memory.
1569 o Björn Jacke <bj@sernet.de>
1570 * Configure check for Tru64 EA functions (not yet implemented).
1571 * Find Tru64 AIO lib in configure.
1572 * Cut-n-paste fixes in configure.in.
1575 o John Janosik <jpjanosi@us.ibm.com>
1576 * IBM Tivoli Directory Server schema updates.
1579 o Michael James <michael@james.st>
1580 * sid2string fix in adssearch.pl.
1583 o William JoJo <jojowil@hvcc.edu>
1584 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
1585 * BUG 3389: Failures on AIX in linking smbd when the symbol
1586 table for ld exceeds 65536 bytes.
1587 * Add -W to smbpassword so that the ldap admin dn password does
1588 not have to be specified on the command line.
1589 * BUG 3408: Fix for external password change programs on AIX.
1590 * BUG 1779: 64-bit compile fixes.
1593 o Martin Koeppe <mkoeppe@gmx.de>
1594 * BUG 3287: Match SFU behavior for dev/inode numbers.
1597 o Volker Lendecke <vl@samba.org>
1598 * BUG 3291: Fix valgrind error in client connection code.
1599 * BUG 3292: Prevent smbclient from spinning if server terminates
1601 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
1602 connection alive smbclient.
1603 * Add lookupname to rpcclient query_user as a fallback, we now
1604 accept both rid and username.
1605 * Introduce yet another copy of the string_sub function:
1606 talloc_string_sub use by AFS token code in winbindd.
1607 * BUG 3351: pdb_mysql again overwrites password fields.
1608 * BUG 3384: Fix segv in tdbtool.
1609 * Use the same CFLAGS for generating the pch as we use to
1611 * Correct typo when compiling the vfs_catia module.
1612 * Fix automatic recreation of a new tdb sam file.
1615 o Derrell Lipman <derrell@samba.org>
1617 * Fix parsing of file times (w_time and m_time were reversed).
1618 * Add additional libsmbclient test programs.
1619 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
1620 the configuration files.
1621 * Avoid doing a NetBIOS name query for each server and workgroup
1623 * Do not open connection when only looking for cached connection.
1624 * BUG 2651: Add option to log debug messages to stderr instead
1626 * Added flag to not request authentication information.
1627 * Enhancements to smbwrapper example code.
1628 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
1632 o David May <mayd@cygnus.uwa.edu.au>
1633 * BUG 3329: Shell scripting portability fixes on 'make test'.
1636 o Tony Mountifield <tony@softins.co.uk>
1637 * BUG 3327: fix bad access to gencache.tdb after fork() in
1641 o Lars Müller <lmuelle@samba.org>
1642 * BUG 3264: Support backwards compatible setups using
1643 'idmap backend = idmap_rid'.
1644 * Add %w macro for the winbind separator.
1645 * Convert net command to use stderr for error messages rather
1649 o James Peach <jpeach@sgi.com>
1650 * Portability fixes in LDAP code. Don't use non-static array
1652 * Support the TCP_FASTACK socket option if it is available.
1653 * Tell the MIPSPro compiler to push DEBUG calls out of line.
1656 o Makr Proehl <m.proehl@science-computing.de>
1657 * BUG 1336: Print the server role when calling testparm in
1661 o Simo Sorce <idra@samba.org>
1662 * Crackcheck utility enhancement based on patch sent by
1664 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
1665 mode_t is not 32-bits.
1668 o John Terpstra <jht@samba.org>
1669 * RHEL/Fedora spec file patches.
1672 --------------------------------------------------
1673 ===============================
1674 Release Notes for Samba 3.0.21a
1676 ===============================
1678 Common bugs fixed in 3.0.21a include:
1680 o Deadlocks when multiple users access an oplocked file
1684 ######################################################################
1688 Changes since 3.0.21
1689 --------------------
1693 o Gerald (Jerry) Carter <jerry@samba.org>
1694 * RedHat 9 packaging Fixes.
1697 o Guenther Deschner <gd@samba.org>
1698 * eDirectory schema syntax fixes.
1701 o Volker Lendecke <vl@samba.org>
1702 * BUG 3349: Deadlock caused logic error in oplock code.
1704 --------------------------------------------------
1705 ==============================
1706 Release Notes for Samba 3.0.21
1708 ==============================
1710 Common bugs fixed in 3.0.21 include:
1712 o Missing groups in a user's token when logging in via Kerberos
1713 o Incompatibilities with newer MS Windows hotfixes and
1714 embedded OS platforms
1715 o Portability and crash bugs.
1716 o Performance issues in winbindd.
1718 New features introduced in Samba 3.0.21 include:
1720 o Complete NTLMv2 support by consolidating authentication
1721 mechanism used at the CIFS and RPC layers.
1722 o The capability to manage Unix services using the Win32
1723 Service Control API.
1724 o The capability to view external Unix log files via the
1725 Microsoft Event Viewer.
1726 o New libmsrpc share library for application developers.
1727 o Rewrite of CIFS oplock implementation.
1728 o Performance Counter external daemon.
1729 o Winbindd auto-detection query methods when communicating with
1730 a domain controller.
1731 o The ability to enumerate long share names in libsmbclient
1735 ######################################################################
1742 Parameter Name Action
1743 -------------- ------
1744 dfree cache time New
1745 dfree command Per share
1749 passdb expand explicit New
1750 rename user script New
1751 reset on zero vc New
1752 svcctl list Renamed from 'enable svcctl'
1756 Changes since 3.0.20b
1757 ---------------------
1759 o Jeremy Allison <jra@samba.org>
1760 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
1761 * Added 'map readonly' parameter.
1762 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
1764 * Maintain schannel client session keys in volatile
1765 $(privatedir)/schannel_store.tdb.
1766 * BUG 2769: Ensure we mangle filenames ending in a space
1767 * Catch corner case of renaming a symlinked directory into
1769 * Ensure that smb.conf requests for hidden files are honored,
1770 even when DOS attributes are stored in EA's
1771 * Add new auth method "auth_script" for calling an external
1773 * BUG 2152: Fix for mangled filenames when the client does
1774 support long filenames
1775 * Rewritten implementation of client and server DCE/RPC infrastructure
1776 * BUG 3192: Adds a "dfree cache time" parameter.
1777 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
1778 the S_IWGRP mask in the absence of a POSIX ACL.
1779 * Remove use of 'long long' in libsmbclient code.
1780 * Ensure the new canonicalize_servicename() in name/snum hash
1782 * BUG 2922: Integration of FreeBSD AIO patches from Timur
1784 * BUG 3216: Put directory opens into the share mode db so we
1785 can treat them similarly to file opens (delete on close,
1786 share mode violations etc.).
1787 * Fix bug in name mangling code when case sensitivity is enabled.
1788 * Remove external dependencies from the sharemodes library.
1789 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
1790 * Don't misinterpret wild card characters in file names on disk
1791 as they are actually valid characters.
1792 * BUG 3223: Fix bug in account policy management when
1793 account_pol.tdb settings have been migrating to an LDAP
1795 * Allow the hash size of the tdb open (locking) database to be
1797 * Fix error code returns on client spoolss code.
1798 * Remove unneeded strncpy use.
1799 * Fix uninitialized variables warnings.
1800 * Cleanup smbcacls security descriptor parsing and error codes.
1801 * BUG 3224: Correctly use machine_account_name and client_name
1802 when doing netlogon credential setup. Fixes winbindd running
1804 * Backport Samba 4 time zone handling.
1805 * Fix core dump if setmntent() returns NULL.
1806 * Replace old crc32 code with one from the FreeBSD tree.
1807 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
1808 * Remove #define of close -> close_fn macro in libsmbclient.
1809 * Return early if -1 returned from *BSD EA call (reported by
1811 * Name space cleanup by marking local functions static.
1812 * Move samr enumeration cache from per handle basis to a shared
1814 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
1815 OS/2 servers (based on patch from Guenter Kukkukk).
1816 * Ensure default applies to new files (reported by Thomas
1818 * BUG 3293: Use SMBecho to testing the server in client rather
1820 * Merge talloc fixes from Samba 4 branch.
1821 * Add support DCE/RPC cancel operation.
1822 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
1823 when using EA for DOS attributes.
1824 * Fix bug in returning remote time (reported by Thomas Bork).
1825 * No users or groups to return in BUILTIN domain.
1826 * Removed separate "builtin" search enumeration.
1827 * Added count_sam_aliases to return the correct alias count.
1828 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
1829 eDirectory when accessing the universal password.
1830 * Fix deadlock condition in share mode locking code.
1831 * Fix logic bug in unix_mask_match().
1832 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
1836 o Rashid N. Achilov <shelton@granch.ru>
1837 * Add better service description names to the svcctl code.
1840 o Timur Bakeyev <timur@com.bat.ru>
1841 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
1844 o Andrew Bartlett <abartlet@samba.org>
1845 * Remove another ancient NTLMSSP implementation.
1846 * Allow machine account logons work if the client gives the
1850 o Alexander Bokovoy <ab@samba.org>
1851 * Add POSIX statvfs() to VFS api.
1854 o Gerald (Jerry) Carter <jerry@samba.org>
1855 * Eventlog and ServiceControl support.
1856 * BUG 1051: store the directory path so we can send the full
1857 name in the unlink call from smbclient.
1858 * Use reference count strategy for keeping the registry tdb
1860 * Convert internal registry objects to new hierarchical talloc
1861 * Allow the root user a free pass for access checks in the
1862 registry and service control checks.
1863 * Sanity checks in the privilege code to prevent empty SID
1865 * Add basic infrastructure for 'make test' when the socket
1866 wrapper library is configured at compile time
1867 * Convert profiles utility to use the current regfio interface
1868 for reading and writing user profiles
1869 * Remove netsamlogon_cache interface
1870 * Ensure that print jobs are removed even when the cancel
1871 command is received before the print cache has been updated
1872 * Fix linking problem on Solaris when including ACL support.
1873 * Give root a free pass to open the eventlog tdb files.
1874 * Fix segfault in addprinter due to mixing talloc() and
1876 * fix invalid read reported by valgrind in the spoolss
1877 backchannel connection.
1878 * Remove use of 'long long' in perfcounter registry code.
1879 * BUG 3201: make sure request structure is cleared prior to
1880 sending the request to winbindd.
1881 * Don't count open pipes in the num_files_open on a connection
1882 (regression from Samba 2.2).
1883 * Ensure servername hashing code normalizes the name.
1884 * Fix checks for connect() in -lnsl[_s].
1885 * Convert eventlog API to use NTSTATUS return codes rather
1887 * Fix segv in winbindd caused by an uninitialized variable
1888 in winbindd_dual_getsidaliases().
1889 * Allow winbindd to select the appropriate backend methods
1890 based on the DC attributes and not the security parameter.
1891 * Re-add the netsamlogon_cache tdb and ensure that user entries
1892 are updated from the PAC data during Kerberos ticket
1894 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
1895 by mangling machine names in sub_set_smb_name().
1896 * Add smbget to the list of tools built by default.
1897 * Fix clearing of eventlog tdb files.
1898 * Fix sequential reads in eventlog support.
1899 * BUG 2718: Don't use qpathinfo_basic() call when remote server
1901 * Fix build issues with the Sun compiler.
1902 * BUG 3156: Don't use find_service() when explicitly looking
1904 * Fix nss_winbind_solaris.c build breakage on HP-UX.
1905 * Initialize the local group description.
1906 * Disable WINS and NetLogon services in the MMC services
1907 plugin when the associated smb.conf features are not enabled.
1908 * Add checks for invalid characters in new share names on the
1910 * Fix SWAT installation issues with 'make install'.
1911 * Always add the BUILTIN\Administrators SID to a Domain
1915 o Alex Deiter <tiamat@komi.mts.ru>
1916 * BUG 3196: Patch to compile against the Sun LDAP client libs.
1917 (not for AD support; just ldap support).
1920 o Guenther Deschner <gd@samba.org>
1921 * Fixed compile problems and warnings with newer OpenLDAP
1923 * Fix bug when enumerating trusted domains via 'wbinfo -m'
1924 * Parse the MS Kerberos PAC to obtain the user group
1925 membership during logon.
1926 * Add support for SeRestorePrivilege to allow a process to
1927 change the ownership of a file to any arbitrary account
1928 * Fix password history storage when using Novell eDirectory for
1930 * Backport Kerberos PAC parsing from Samba 4 branch in order to
1931 correctly create the NT User Token when logging into a Samba
1933 * Add small helper function to return a PAC_LOGON_INFO.
1934 * Use LDAP bitwise matching rule when searching for groups
1936 * Avoid an infinite loop when retrying to connect in smbspool.
1937 * Memory leak fixes in the Kerberos PAC parsing code.
1938 * Improve NT_STATUS error messages returned from pam_winbind.
1939 * Rename unknown samr group fields in samr structures with
1940 the correct name.removed separate "builtin" search enumeration.
1941 * Cleanup redundant StartTLS code.
1942 * Allow StartTLS support when connecting to Windows 2003 by
1943 setting 'ldap ssl = start_tls'.
1944 * Support raw NTLMSSP session setups in smbspool.
1945 * Add rpccli_samr_chgpasswd3().
1946 * Add 'wbinfo --separator'.
1947 * Uninitialized warnings fixes.
1948 * Fix return value in client spooler code.
1949 * Require forced migration of account policies.
1952 o Steve French <sfrench@us.ibm.com>
1953 * Fix cifs to handle non-numeric uid and gid parameters.
1954 * Merge trunk and SAMBA_3_0 mount.cifs code.
1955 * Cleanup cifs cfs help message.
1958 o Paul Green <paulg@samba.org>
1959 * Update to the latest config.guess and config.sub files.
1962 o Deryck Hodge <deryck@samba.org>
1963 * Allow control of syslog facility and level in audit vfs modules.
1966 o S Murthy Kambhampaty <smk_va@yahoo.com>
1967 * Patches for Fedora RPM specfile and init script
1970 o Krishna Ganugapati <krishnag@centeris.com>
1971 * Use the subtree delete ldap control when running 'net ads
1975 o Volker Lendecke <vl@samba.org>
1976 * New oplock implementation.
1977 * Add assert() call if winbindd cannot locate the domain SID in
1978 secrets.tdb on startup
1979 * Fix an annoying timeout in winbindd when nmbd is not running.
1980 * Speed up loading smb.conf for large numbers of share
1981 definitions by adding an internal hashing of names to snums.
1982 Thanks to Michael Adam.
1983 * Fix potential segv in rpcclient's lsarpc calls.
1984 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
1985 * Fix alignment in getdc response.
1986 * Allow pdbedit to set the domain for a user account.
1987 * Fix fallback logic in rpc binds.
1988 * Fix memleak in message handling code.
1989 * Fix connection bug to port 445 and 139 after a successful
1991 * Add additional calls to initialize_krb5_error_table() for
1992 Kerberos client code.
1993 * Implement the possibility to have AFS users as SIDs in pts.
1994 * Removed unused alternative_name code from winbindd.
1995 * Protect against NULL alternative_name strings in winbindd.
1996 * Define a default panic action with -DEVELOPER is defined.
1997 * Add the capability to reset smbd connections on a zero VC id.
1998 * Allow smb.conf variable expansion to be disabled in passdb
2000 * Add lookupname to rpcclient query_user as a fallback.
2001 * BUG 3292: Prevent smbclient from spinning when the server
2003 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2004 * Add samr_lookup_rids for the builtin domain.
2005 * Memory allocation cleanups in passdb.
2006 * Restrict samr_open_domain() to our domain only.
2007 * Change local_lookup_sid() to local_lookup_rid() since it
2008 is responsible for our domain only.
2009 * Fix some uninitialized variable warnings.
2010 * Fix winbind_lookup_name for the local domain,
2013 o Derrell Lipman <derrell@samba.org>
2014 * Cleanup libmsrpc version numbers.
2015 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
2016 * Fix crash bug in libsmbclient.
2017 * Add long share name support to libsmbclient when enumerating
2021 o Jason Mader <jason@ncac.gwu.edu>
2022 * Removed compiler various warnings.
2025 o Alex Masterov <alex@infobit.ru>
2026 * BUG 3218: Fix XATTR calls on *BSD systems.
2029 o Jim McDonough <jmcd@us.ibm.com>
2030 * Speed up string_to_sid by removing next_token calls and
2031 unneeded strncmp() calls.
2032 * Implement user rename for smbpasswd and LDAP backends.
2033 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2034 * BUG 3187: Fix time zone offset in logon hours restrictions.
2037 o Stefan Metzmacher <metze@samba.org>
2038 * Fix setting of quotas on linux kernel with the struct
2040 * Enable sysquota interface on Linux by default
2041 * Use lp_socket_address() when binding to port 138/udp in nmbd.
2044 o Brian Moran <bmoran@centeris.com>
2045 * Eventlog and ServiceControl support.
2046 * Added eventlogadm tool for writing Eventlog records.
2047 * Fix typo when creating Eventlog source DLL registry paths.
2048 * Add simple script to tail syslog and write records to
2050 * Fix segv in eventlogadm when not event logs are listed in
2054 o Lars Müller <lmuelle@samba.org>
2055 * Only install smbsh manpage if smbwrapper has been successfully
2057 * Ensure setmntent() returns with != NULL in the disk_quotas()
2059 * Add configure switch to disable libmsrpc build.
2060 * Add a soname to libmsrpc.
2063 o Ricky Nance <ricky.nance@gmail.com>
2064 * Updates for the mklogon perl scripts.
2067 o Chris Nicholls <skel@samba.org>
2068 * New libmsrpc library (Google SoC Project).
2069 * Fix libmsrpc build of on the Sun compiler by removing empty
2070 structure declarations.
2073 o James Peach <jpeach@sgi.com>
2074 * Fix parsing error for smb ports parameter.
2077 o Tim Potter <tpot@samba.org>
2078 * BUG 3260: Fix DYNEXP flags on HPUX.
2081 o Marcin Porwit <mporwit@centeris.com>
2082 * Eventlog and ServiceControl support.
2083 * Added basic Performance Counter daemon which can feed data
2084 for the Windows perfmon.exe tool.
2085 * Fix directory permissions in the perfcounter daemon.
2086 * Add the 'File' registry value for the eventlog keys.
2089 o Aruna Prabakar <aruna.prabakar@hp.com.
2090 * Add checks to verify that the spooler is running on HP-UX when
2091 reloading the printer name cache.
2094 o Joel Smith <joel.j.smith@novell.com>
2095 * Add iPrint printing backend support.
2098 o Toomas Soome <Toomas.Soome@mls.ee>
2099 * Implement host lookups in nss_winbind.so.1 on Solaris
2102 o Simo Sorce <idra@samba.org>
2103 * Update Debian packaging.
2106 o John Terpstra <jht@samba.org>
2107 * Add 'net idmap' usage help text.
2110 o Andrew Tridgell <tridge@samba.org>
2111 * Change license notice of standalone talloc library to LGPL.
2114 o Darren Tucker <dtucker@zip.com.au>
2115 o Crash fix for snprintf() code.
2118 o Rainer Weikusat <rainer.weikusat@sncag.com>
2119 * Fix function name typo in skeleton VFS code.
2123 Release Notes for older release follow:
2125 --------------------------------------------------
2126 ===============================
2127 Release Notes for Samba 3.0.20b
2129 ===============================
2131 Common bugs fixed in 3.0.20b include:
2133 o A crash bug in winbindd
2134 o Reporting files as read-only instead of returning the
2135 correct error code of "access denied"
2136 o File system quota support defects
2139 ######################################################################
2144 Changes since 3.0.20a
2145 ---------------------
2150 o Jeremy Allison <jra@samba.org>
2151 * BUG 3088: Fix error condition for files on a read-write share
2152 which cannot be read due to permissions.
2155 o Gerald (Jerry) Carter <jerry@samba.org>
2156 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
2158 * BUG 1473, 3090: Quota detection and compilation problems on
2162 o Marc Balmer <marc@msys.ch>
2163 * Build fixes when builddir != srcdir
2166 o Alex Deiter <tiamat@komi.mts.ru>
2167 * BUG 3145: Fix build issue regarding quota support on Solaris.
2170 o Volker Lendecke <vl@samba.org>
2171 * BUG 3068: Fix for winbindd crashed by empty DC alternative
2175 --------------------------------------------------
2176 ===============================
2177 Release Notes for Samba 3.0.20a
2179 ===============================
2181 Common bugs fixed in 3.0.20a include:
2183 o Stability problems with winbindd.
2184 o Crash bugs caused by incompatibilities on 64-bit systems.
2185 o Missing files from directory listings on AIX servers
2186 o User Manager interoperability problems.
2187 o Minor build difficulties on various platforms such as
2188 Solaris and OpenBSD,
2191 Winbind, security = domain, and Active Directory
2192 ================================================
2194 Recent security updates for Windows 2000 and Windows 2003 have
2195 changed the fashion in which user and group lists can be obtained
2196 from domain controllers. In short, the RPC mechanisms used by
2197 "security = domain" to retrieve users and groups is not compatible
2198 with these changes. The "security = ads" configuration is not
2199 affected by the Windows protocol changes.
2201 Samba developers are actively working to correct this problem in
2202 the 3.0.21 release. In the meantime, Administrators who are unable
2203 to migrate to "security = ads" and must continue using "security =
2204 domain", can define credentials to be used by winbindd for account
2205 enumeration by executing the following command as root.
2207 wbinfo --set-auth-user='DOMAIN\username%password'
2211 ######################################################################
2216 Changes since 3.0.20
2217 --------------------
2222 o Jeremy Allison <jra@samba.org>
2223 * BUG 3065: Fix for legacy clients retrieving a listing of
2225 * Added external library for accessing Samba's share mode
2227 * Fix winbindd credentials chain which caused logon failures
2228 after attempting to authenticate an unknown user.
2229 * Fix recursive looping bug in winbindd.
2230 * Fix build errors on 64-bit systems.
2231 * Posix ACL memory leak and crash bug fixes.
2232 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
2233 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
2234 * Hide dot files and directory logic fixes.
2235 * Correct display of open file modes by smbstatus.
2236 * BUG 3010: Fix missing files bug on AIX systems.
2239 o Gerald (Jerry) Carter <jerry@samba.org>
2240 * Allow the root user to automatically pass se_access_checks()
2241 in the registry and service control server code.
2242 * Ensure that winbindd uses the correct name in the net_auth2()
2243 request when running on a Samba PDC.
2244 * Fix linking problem with tdb utilities.
2245 * BUG 3080: Fix regression in 'net rpc shutdown' command.
2246 * Fix segv in 'net rpc' when the pipe open fails.
2247 * Fix upload bug when installing 64-bit Windows printer drivers.
2248 * Fix regression in the smburi syntax used by smbspool.
2249 * Fix sorting of subkey hash records in registry files.
2250 * Correct REG_CREATE_KEY_EX parsing error.
2251 * Interoperability issues with usrmgr.exe and Samba groups.
2252 * Use the display names and not the Unix names when enumerating
2253 groups in the ldapsam passdb backend.
2254 * Ensure that Windows domain user names are converted to lower case.
2257 o Guenther Deschner <gd@samba.org>
2258 * Prevent BUILTIN sids returned in the user's token from
2259 a Windows DC from being applied to any local group mappings
2261 * Plug memory leaks in the Kerberos keytab code.
2262 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
2263 backend when 'winbind nested groups' is enabled.
2264 * Fix crash bug in winbindd caused by 64-bit build issues.
2265 * Improve debug messages in smbspool.
2266 * Give better error-message when "NDS Universal Password" change fails.
2267 * Fix password history error in the eDirectory schema file.
2268 * Ensure that Windows domain group names are converted to lower case.
2271 o Steve French <sfrench@us.ibm.com>
2272 * Allow disabling mandatory byte range lock mount flag, and fix
2273 corresponding entry in mtab.
2276 o Volker Lendecke <vl@samba.org>
2277 * Fix race condition in the NTcreate&X open code when the
2278 disposition is NTCREATEX_DISP_CREATE.
2279 * Correct logic error when checking the pid for pending print
2280 change notify messages.
2281 * Ensure that winbindd child process complete startup even when
2282 the parent is receiving authentication requests.
2283 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
2284 when authentication fails.
2287 o Jason Mader <jason@ncac.gwu.edu>
2288 * Compile warning fixes.
2291 o Uli Meis <a.sporto@gmail.com>
2292 * Patches for pdb_*sql.c
2295 o Luke Mewburn <lukem@NetBSD.org>
2296 * Autoconf syntax fixes.
2299 o James Peach <jpeach@sgi.com>
2300 * Correct problem with creating a core file in Linux.
2303 o Stefan Metzmacher <metze@samba.org>
2304 * Quota fixes in smbd.
2307 o Peter Rindfuss <rindfuss@wz-berlin.de>
2308 * Patches for pdb_*sql.c
2311 o Jiri Sasek <Jiri.Sasek@Sun.COM>
2312 * Solaris toolchain patches for autoconf scripts.
2315 o Andrew Tridgell <tridge@samba.org>
2316 * Fix for tdb clear-if-first race condition.
2319 o Leo Weppelman <leo@wau.mis.ah.nl>
2320 * BUG 3104: Don't allow time updates to files on read-only shares.
2323 o Steve Williams <steve@celineandsteve.com>
2324 * BUG 3052: Fix compile issues on OpenBSD.
2327 --------------------------------------------------
2328 ==============================
2329 Release Notes for Samba 3.0.20
2331 ==============================
2333 Additional features introduced in Samba 3.0.20 include:
2335 o Support for several new Win32 rpc pipes.
2336 o Improved support for OS/2 clients.
2337 o New 'net rpc service' tool for managing Win32 services.
2338 o Capability to set the owner on new files and directory
2339 based on the parent's ownership.
2340 o Experimental, asynchronous IO file serving support.
2341 o Completed Support for Microsoft Print Migrator.
2342 o New Winbind IDmap plugin (ad) for retrieving uid and gid
2343 from AD servers which maintain the SFU user and group
2345 o Rewritten support for POSIX pathnames when utilizing
2346 the Linux CIFS fs client.
2347 o New asynchronous winbindd.
2348 o Support for Microsoft Print Migrator.
2349 o New Windows NT registry file I/O library.
2350 o New user right (SeTakeOwnershipPrivilege) added.
2351 o New "net share migrate" options.
2354 What happened to 3.0.15 - 3.0.19?
2355 ==================================
2357 After some discussion it was deemed that the amount of changes
2358 going into the next Samba 3.0 release needed something to catch
2359 people's attention. Skipping several releases was chosen as
2360 the best solution with the least overhead. There will be no
2361 3.0.15 - 3.0.19 ever released. The next production release
2362 following 3.0.20 should be 3.0.21.
2364 The original announcement about the version number change can
2365 be found in the samba mailing list archives:
2367 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
2370 Asynchronous Winbind Implementation
2371 ===================================
2373 Winbindd has been completely rewritten in this release to support
2374 an almost completely non-blocking, asynchronous request/reply
2375 model. This means that winbindd will scale much better in
2376 large domain environments and on high latency networks. Neither
2377 the client interface nor the command line tools (i.e. wbinfo) have
2378 changed in their calling conventions or syntax. However, due to
2379 internal structure changes, it is required (more so than normal)
2380 that you install the nss_winbind.so library included in this release.
2383 Support for Microsoft Print Migrator
2384 ====================================
2386 Samba 3.0.20 includes full support for migrating printers from
2387 Windows servers or other Samba servers via the Microsoft Print
2388 Migrator tool. Restoring printers requires a working "add printer
2389 command" defined in smb.conf. Current support also allows
2390 administrators to create a master list of printer drivers which
2391 can be restored in bulk on new (or existing) Samba installations.
2394 Asynchronous IO Support
2395 =======================
2397 Experimental support for async IO has been added to smbd for
2398 certain platforms. To enable this new feature, Samba must be
2399 compiled to include the --with-aio-support configure option.
2400 In addition, the "aio read size" and "aio write size" to non-zero
2401 values. See the smb.conf(5) man page for more details on these
2405 ######################################################################
2412 Parameter Name Action
2413 -------------- ------
2414 acl check permissions New
2415 acl group control New
2416 acl map full control New
2419 enable asu support New
2422 map to guest Modified (new value added)
2423 max stat cache size New
2424 min password length Removed
2425 printer admin Deprecated
2426 username map script New
2427 winbind enable local accounts Removed
2428 winbindd nss info New
2431 Changes since 3.0.14a
2432 ---------------------
2438 o Jeremy Allison <jra@samba.org>
2439 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
2440 * Ensure the old SMB search calls always ask mask_match() to
2441 translate patterns like ????????.???.
2442 * Split out the check_path_syntax() into a findfirst, findnext,
2443 & wildcard versions.
2444 * Fix checks for matching groups in an file ACL against the
2445 user's primary and supplementary group list.
2446 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
2447 LANMAN2 protocol, ensure the EA size is always correctly
2448 set on a query for a file with no EA's.
2449 * BUG 2551: Look at the incoming flags2 flag
2450 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
2451 uppercased on a SMBsearch request, not the protocol level.
2452 * Added "volume" command to smbclient that prints out the
2453 volume name and serial number.
2454 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
2455 * Add support for OS/2 Extended Attributes.
2456 * Correctly check OpenX open modes.
2457 * Ensure allocation size is correctly returned for OpenX.
2458 * Only set allocation on create/truncate for nttrans.
2459 * Fix oplock bug in trans2open() code.
2460 * Remove unix_ERR_XXX global nastiness.
2461 * Only do the strange DOS error for openX, not trans2open.
2462 * Ensure SMBopen replies includes the share modes as well as
2464 * BUG 2581: Add size limit (in kb) to stat cache.
2465 * Fix bug in the trans2 secondary processing.
2466 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
2467 * Add an SMB counter per connection struct for gathering
2469 * BUG 2605: Ensure smbclient doesn't perform commands if
2470 the "chdir" fails in a scripted set.
2471 * Ensure a 'forced group' is added to the list of effective
2472 gids when processing ACLs.
2473 * Refactor rpc_bind structures for better future work.
2474 * BUG 2942: Add missing value in debug message.
2475 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
2476 by 'mangling method = hash'.
2477 * Fix memory leaks in the msdfs trans2 server code.
2478 * Convert msdfs server to be talloc'd based.
2479 * Fix up stackable vfs interface.
2480 * Fix rpc fault when encountering an unknown rpc_bind auth
2482 * BUG 2954: More AIX 5.1 AIO compile fixes.
2483 * Fix valgrind bug in interaction with new aio buffer (found
2485 * BUG 2878: Fix Norton commander not running on OS/2 clients.
2486 * Cleanup SAMR user info structure naming.
2487 * BUG 2889: Fix directly listings from OS/2 clients.
2488 * Added "acl group control" parameter.
2489 * Add debug warning if AddPrinterEx() is called without having
2490 an 'add printer command' defined.
2491 * Add better log messages when modifying ldap entries.
2492 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
2493 when string is unaligned.
2494 * BUG 2918: Fix SMB chaining by ensuring that deferred open
2495 message buffer is nor reused.
2496 * Add support for client setting capabilities to select posix
2497 pathnames on the wire.
2498 * Stop using C++ reserved words so that Samba can be compiled
2499 using g++. Also allows VFS modules in C++.
2500 * More fixes to allow better large directory scaling.
2501 * BUG 2827: Ensure we call the vfs connection hook before
2502 doing a vfs stat. Allows database vfs backends to initialize
2503 with a working connection.
2504 * BUG 2826: Ensure the correct return value for symlink and
2505 readlink in the VFS.
2506 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
2507 * Added AIO support to smbd.
2508 * Add "acl map full control", true by default, to allow people
2509 to change mapping of rwx to full control or not.
2510 * Transition smbd to use NTcreate&X for internal file opens.
2511 * Add checks against the current effective group id (e.g. force
2512 user) when testing write permissions one ACLs.
2513 * Fix FindFirst/FindNext server code when parsing directories
2514 on old IRIX XFS file systems (thanks to Cale Fairchild
2515 for the debugging help).
2516 * BUG 2644: Test for special files to be ignored was reversed.
2517 * Ensure yield_connection() is called on all appropriate error
2519 * Fix EDEADLCK problem with deferred open calls.
2520 * BUG 2622: Remove DPTR_MASK as it makes no sense.
2521 * Fix the write cache based on some VERY good detective work
2523 * BUG 2346: Fix read-only excel file bugs.
2524 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
2525 return ENOSYS if not implemented.
2526 * Add new CAP for POSIX pathnames.
2527 * BUG 2703: Add NULL guard for disp_fields[0].
2528 * BUG 2681: With "strict allocate = yes" we now zero fill when
2529 a file is extended. Should catch disk full errors on write
2531 * Add "acl check permissions" to turn on/off the new
2532 behavior of checking for write access in a directory
2534 * Refactor printing interface to take offset into job.
2535 * Allow mapping of POSIX ACLs to NT perms to differentiate
2536 between directories and files.
2537 * Added encrypt/decrypt function for LSA secrets and trusted
2538 domain passwords on the wire.
2539 * BUG 2729: Resume keys are *mandatory* for a search when
2540 listing a W2K and above server from a FATxx filesystem only.
2541 * BUG 2735: Ensure that smbd mangles control characters in file
2542 and directory names.
2543 * Refactor small pieces of socket handling code (in conjunction
2545 * BUG 2698: Fix infinite listing loop in smbclient caused by
2546 an invalid character set conversion.
2547 * Add client code that will abort a directory listing if we
2548 see the same name twice between packets.
2549 * Performance improvements in trans2 qfilepathinfo code by
2550 removing unnecessary memset() calls.
2551 * Rewrite the RPC bind parsing functions to follow the
2552 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
2553 * BUG 2774: Set sparse flag if needed when returning
2555 * Fix errors listing directories from Windows NT clients
2556 which caused "." and ".." to show up in explorer.exe.
2557 * Merge of error code fixes from SAMBA_4_0 branch.
2558 * BUG 2801: Fix regression in the "delete veto files" option.
2559 * Fix based on work from Shlomi Yaakobovich to catch loops
2560 in corrupted tdb files.
2561 * Allow someone with SeTakeOwnershipPrivilege to chown the
2562 user of a file to herself.
2563 * Fix minor compiler warnings in printing/printing.c.
2564 * Merge new DOS error code from SAMBA_4.
2565 * Fix issue when non-English characters in filenames and
2567 * Fix bogus error message in smbstatus about unknown share modes.
2570 o Andrew Bartlett <abartlet@samba.org>
2571 * Support raw NTLMSSP authentication for Windows Vista
2573 * Fix parallel NTLMSSP processing by removing global state.
2574 * BUG 2684: Add per service hosts allow/deny checks for
2575 printers when connecting via MS-RPC.
2576 * BUG 2391: Fix segv caused by free a static pointer returned
2578 * Support Kerberos authentication in smbd when using a keytab
2579 and participating in a non-Microsoft Kerberos realm.
2582 o Timur Bakeyev <timur@com.bat.ru>
2583 * BUG 2546: Add support for FreeBSD EA API
2584 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
2585 * BUG 2908: Fix string length logic error in msdfs code.
2586 * BUG 2909: Fix typo that caused smbd to call the wrong
2590 o Ed Boraas <ed.boraas@concordia.ab.ca>.
2591 * Added Linux per-socket TCP settings.
2594 o Gerald (Jerry) Carter <jerry@samba.org>
2595 * Added support for \svcctl pipe rpcs.
2596 * Added 'net rpc service' subcommand for managing Win32
2598 * Refactoring work on the rpc [un]marshalling layer and
2600 * Verify privilege name in 'net rpc rights privileges' in
2601 order to provide better error messages.
2602 * Cleanup rpc structures in rpc_spoolss.h.
2603 * Cleanups and fixes for the \winreg server code.
2604 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
2605 * Fix bugs in client spoolss code after refactoring work.
2606 * Fix Valgrind warnings of invalid reads in the spoolss
2608 * Fixed a segv when enumerating services on a Samba host.
2609 * Fix segv in the service control server code.
2610 * Fix crashes in client spoolss calls caused by not checking
2611 for a valid pointer from the caller.
2612 * Fix regression in DeleteDriver() server routines.
2613 * Fix dup_a_regval() when size is 0.
2614 * Fix usrmgr.exe crash when viewing user properties at
2616 * Do not enumerate any privileges when 'enable privileges = no'
2617 and log a message if a client tries.
2618 * BUG 2872: Fix cut-n-paste error when checking pointer value
2619 in ntlmssp_set_workstation().
2620 * Fix upgrade path from earlier nt*tdb files.
2621 * Removed print handle object cache.
2622 * BUG 2853: Don't strip out characters like '$' from printer
2623 names when substituting for the lpq command.
2624 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
2625 * Fix build issues on x86_64-linux systems caused by valgrind
2626 headers. Thanks to Bent Vangli to the suggestions.
2627 * Refactor spoolss client calls.
2628 * Adding 'username map script'.
2629 * Disable schannel on the LSA and SAMR pipes in winbindd client
2630 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
2631 * Cleanup of winreg API functions.
2632 * Add server stubs for RegSetKeySec() and RegGetKeySec().
2633 * Map generic bits to specific bits in reg_open_entry()
2635 * Add write support to registry tdb and printing backends.
2636 * Use tdb lookups rather than hard-coding certain registry
2637 value names and data.
2638 * BUG 2808: don't try to install man pages if they are not
2640 * Fix initialized variables reported by valgrind.
2641 * Normalize key lookups in ntprinters.tdb.
2642 * Mark "enumports command" as deprecated.
2643 * Add missing class file for python share command example.
2644 * Fix smbclient build issue on Solaris.
2645 * BUG 2626: ensure that the calling_name is set to something
2646 after parsing smb.conf (if not set via -n).
2647 * Use "add machine script" when creating a user (ACB_NORMAL)
2648 who has a name ending in '$' (e.g. usrmgr.exe creating
2649 domain trust accounts).
2650 * Add 'rid' synonym for idmap_rid IDMap module.
2651 * Ensure that we set full access on the handle returned
2652 from _samr_create_dom_{alias,group}() so that future
2653 set_{alias,group}() commands succeed.
2654 * Fix bug when looking for internal domains in winbindd
2655 (caused winbindd_getgrgid() for local groups to fail).
2656 * Fix query and set alias info calls (level 1 from the MMC
2657 manage computer plug-in.
2658 * Remove bogus log messages about unknown specversions.
2659 * BUG 2680: copy files from an MS-DFS win2k root share
2660 * BUG 2688: re-implement support for the -P (--port) option
2661 * Support connecting to an 'msdfs proxy' share on a Samba
2663 * Strip the directory path from cups command line printing
2665 * Fix bug that prevented smbclient from creating directories
2667 * Deprecate the "printer admin" parameter in favor of the
2668 SePrintOperatorPrivilege.
2669 * Add the capability to read and write WinNT regf registry
2671 * Implement access checks for RegOpenXXX() server calls.
2672 * Extend registry client rpc calls.
2673 * Add "net rpc registry" set of commands.
2674 * Remove testprns tool.
2675 * Ensure that printer ACLs use the specific bits as well as
2676 the generic bits. Upgrade existing ntprinters.tdb SECDESC
2678 * Add server support for RegSaveKey() for dumping registry
2679 trees to a regf file.
2680 * Add "enable asu support" smb.conf parameter.
2681 * Merge various small file changes from trunk.
2682 * Remove "winbind enable local accounts" support.
2683 * Remove "ldap filter" smb.conf option.
2684 * Remove editreg utility (needs to be rewritten using regfio.c).
2685 * Fix build failure when running 'make torture' without first
2686 running 'make all' first.
2687 * BUG 1261: Remove unusable libbiconv from iconv detection
2689 * Add new option for "map to guest". "Bad Uid" re-enables the
2690 Samba 2.2 behavior of mapping authenticated users to the
2691 guest account if there does not exist a valid Unix account
2692 for the Windows domain user (based on patch from
2693 aruna.prabakar@hp.com).
2694 * Fix a couple of regressions after introduction of new winbindd.
2695 * Fix smbpasswd user password change (still worked by bad error
2696 messages) due to trying to strdup a NULL pointer.
2697 * Implement default security descriptors for the
2698 OpenService[Manager]() calls and check requested access mask
2700 * Include access checks on handle mask for \svcctl operations
2701 such as ControlService() and StartService().
2702 * Implement simulated start and stop service control for
2703 the spooler service as a per smbd service state value.
2704 * Add interface structure for controlling service via rc.init
2705 scripts (incomplete).
2706 * Convert move_driver_to_download_area() to use copy_file()
2707 rather than moving the files.
2708 * Add version number to registry.tdb file since it can be
2710 * Remove over-paranoid assert() call when checking spoolss
2712 * Fix error in EnumPrinterData() reported by valgrind.
2713 * Fix broken help links in SWAT editor caused by new doc layout.
2714 * Ensure that a domain structure in winbind is initialized prior
2715 to assigning the methods for communicating to a DC.
2716 * BUG 3000: Remove background updates of winbind cache and allow
2717 child processes to immediately update and expired cache entry.
2720 o David.Collier-Brown <David.Collier-Brown@sun.com>
2721 * Added panic action script for Solaris.
2724 o Jeremy Cooper <jeremy@ncircle.com>
2725 * Added support for several new \winreg client rpcs.
2728 o <core@road-star.jp>
2729 * BUG 2792: Ensure the shadow copy module hooks seekdir,
2730 telldir, rewinddir to match updated large directory code.
2733 o Guenther Deschner <gd@samba.org>
2734 * Close handles on group creation in rpcclient to better
2735 support mass group account creation.
2736 * Fix account policy key lookup for minimum and maximum
2738 * Fix some compiler warnings and add missing exclude-block
2739 in 'net rpc share migrate'.
2740 * Allow use of a non-default smb.conf by rpcclient.
2741 * Fix querydispinfo search semantics in rpcclient test code.
2742 * Fix querydispinfo server semantics to allow to list more
2744 * Fix server crash bug in ancient OpenPrinter() call.
2745 * Fix a crash bug when enumerating privileges via the LSA
2747 * Fix crash in EnumPrinterKey() client calls caused by previous
2749 * Various compiler warning fixes.
2750 * Fix segfault in the client AddPrinterEx-call of 'net
2752 * Fix build issues when --with-aio-support is enabled.
2753 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
2754 * Honour the CC environment variable in python build.
2755 * Fix searches in pdb_ldap for inter-domain trust accounts.
2756 * Don't expand the %L in %LOGONSERVER% from user attributes.
2757 * Fix bug in 'net rpc vampire' that caused accounts to be created
2758 with no assigned ACB flags.
2759 * Fix enumeration of builtin-aliases.
2760 * Avoid unset rids for builtin-aliases.
2761 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
2762 * More "net rpc share migrate" fixes.
2763 * Merge PADL's idmap_ad plugin (taken from the latest
2764 xad_oss_plugins-tarball).
2765 * Add support for "idmap backend = ad" when "security = ads".
2766 * Add home directory and shell support from AD via "winbindd nss
2767 support = sfu" and "security = ads".
2768 * Provide better feedback when we fail share-manipulation
2769 due to missing scripts.
2770 * Correctly substitute "\" as default winbind separator in
2771 generate_parm_table.py example share command script.
2772 * Document pam_winbind.c to clarify the working status of
2773 require-membership-of option.
2774 * Added client-support for various lsa_query_trust_dom_info()
2775 calls and a rpcclient-tester for some info-levels.
2776 * Add "net rpc trustdom vampire" tool (in conjunction with
2778 * Add missing cli_srvsvc_net_share_set_info-function and
2779 rpcclient-testers (in preparation for net share acl migration).
2780 * Print trusted domain passwords returned via rpcclient in
2782 * Error code fixes when attempting to manipulating
2783 non-existent shares.
2784 * Cleanup "net share migrate" code.
2785 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
2787 * Allow admins to uncheck the "User must change Password at
2788 next Logon" checkbox in User manager (merge from trunk).
2791 o Renaud Duhaut <rd@duhaut.com>
2792 * BUG 1040: Add directory_mode parameter when creating recycle
2796 o Steven Edwards <steven_ed4153@yahoo.com>.
2797 * Use chsize() if we don't have ftruncate().
2800 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
2801 * BUG 1780: Add Kerberos (file based ticket cache) support
2805 o Steve French <sfrench@us.ibm.com>
2806 * Update list of mount options for mount.cifs.
2807 * Add more defines for POSIX extensions to match the newly
2808 added client implementation.
2809 * Add initial support for cifs umount utility.
2810 * Fix cifs mounts to handle commas embedded in prompted
2811 password, and password and credential files.
2812 * Fix cifs mounts to handle domain name and user name in
2813 username field (in form domain\user).
2814 * Add missing error code mappings when a client unsuccessfully
2815 tries to create a hard-link.
2816 * Add support so umount.cifs can update mtab.
2817 * Add two newer mount options to syntax help for mount.cifs.
2818 * Add missing remount flag handling.
2819 * Allow domain= to be specified in credentials file.
2820 * Fix umount.cifs help, allow root to unmount someone else's
2822 * Lock mtab when updating it during umount.cifs, also delete
2823 only one matching entry at a time.
2824 * Fix minor compiler warnings in the mount.cifs helper.
2827 o Deryck Hodge <deryck@samba.org>
2828 * BUG 2137: Encode quotes for display in HTML (original patch
2832 o Olaf Imig <Olaf.Imig@bifab.de>
2833 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
2835 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
2838 o Björn Jacke <bj@sernet.de>
2839 * Added ioctl constants reported by msbackup.exe and filemon.exe.
2842 o Kevin Jamieson <bugzilla@kevinjamieson.com>
2843 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
2846 o John Janosik <jpjanosi@us.ibm.com>
2847 * BUG 2077: Correctly fill in the correct server name when
2848 processing trusted domain logins.
2849 * BUG 2976: Mark logons for unknown domains with a
2850 non-authoritative response.
2853 o William Jojo <jojowil@hvcc.edu>
2857 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2858 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
2862 o Tom Lackemann <cessnatomny@yahoo.com>
2863 * BUG 2242: Patch to ensure that we only set the security
2864 descriptor on an NTtransact create if we created the file.
2867 o Volker Lendecke <vl@samba.org>
2868 * Port some of the non-critical changes from HEAD to 3_0.
2869 The main one is the change in pdb_enum_alias_memberships
2870 to match samr.idl a bit closer.
2871 * Close handles on user creation in rpcclient to better
2872 support mass user account creation.
2873 * Implement client RAP calls for enumusers/enumgroups level 0.
2874 * Implement a new caching API for enumerating the pdb elements.
2875 * Convert the RAP user and group enumeration functions to the
2876 utilized the pdb_search API.
2877 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
2878 RestrictAnonymous environments.
2879 * Internal passdb API changes for better search capabilities
2880 (based on original work by Guenther Deschner).
2881 * Fix various compiler warnings.
2882 * Add chain length statistics to tdbtool.
2883 * Fix set afs ACL calls on files and directories in the root of
2885 * Refactoring work on internal open code
2886 * Correctly initialize the version in a new set of nt*tdb files.
2887 * Remove smb_run_idle_events() from main process loop in smbd
2888 and instead rely upon the timeout processing to handle
2889 dropping idle LDAP connections.
2890 * Fix the bug where users show up as trusting domains.
2891 * Fix an assertion failure in winbindd.
2892 * Fix a memleak in vfs_afsacl.
2893 * Various compiler warning fixes.
2894 * Fix compile when --enable-socket-wrapper is defined.
2895 * Fixes for top level acls in vfs_acl.c.
2896 * Refactor passdb interface functions.
2897 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
2898 * Correct 2 segv's in "net rpc printer migrate".
2899 * Return correct group type from smbd for BUILTIN groups.
2900 * Backport the talloc() layer from Samba 4.
2901 * BUG 2701: Fix segv in ldap reconnection code.
2902 * BUG 2705: Fix segv when connecting from usrmgr.exe.
2903 * Use the SID in the user token for the %s expansion in 'afs
2905 * Memory leak fixes in passdb code.
2906 * BUG 2720: Fixes for "net usersidlist".
2907 * BUG 2725: Fix segv in "net ads user".
2908 * Only allow schannel connections if a successful Auth2
2909 has been previously performed.
2910 * Don't look at gencache.tdb for the trusted domains if
2912 * Rewrite winbindd using an asynchronous process model.
2915 o Herb Lewis <herb@samba.org>
2916 * Compiler warning cleanups.
2917 * smbwrapper Makefile and compile time check cleanups.
2918 * Adding robustness checks for tdbdump and tdbtool.
2919 * Extend tdb command line parsing to arbitrary hex characters.
2920 * Add LOCKING debug class.
2921 * Fix more compiler warnings.
2924 o Derrell Lipman <derrell@samba.org>
2925 * add support for opening a file for write with O_APPEND
2927 * Added smbsh/smbwrapper for Linux to example/libsmbclient
2929 * Fix smbc_stat() from returning incorrect timestamps IFF
2930 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
2931 and not if it used cli-getatr() to retrieve the timestamps
2933 * Fix handful of compiler warnings.
2934 * BUG 2498, 2484: smbc_getxattr() fixes.
2935 * BUG 1133: Added provision for overloading some global
2936 configuration options via the new, per-user file
2937 ~/.smb/smb.conf.append.
2938 * BUG 2543: Properly cache anonymous username when reverting
2939 to anonymous login, in libsmbclient.
2940 * BUG 2505: Fix large file support in libsmbclient.
2941 * BUG 2564: Ensure correct errno when smbc_opendir() was called
2942 with a file rather than a directory.
2943 * Correct deprecated lvalue casts in testsuite/libsmbclient.
2944 * BUG 2663. cli_getattrE() and cli_setattrE() were not
2945 formatting or parsing the timestamp values correctly.
2946 * Correctly detect AF_LOCAL support in configure.
2947 * Fix problem updating file times on Windows 98 hosts using
2949 * Fix compile breakage on Solaris by eliminating the use of
2950 ctime_r() in libsmbclient DEBUG statement.
2953 o Jason Mader <jason@ncac.gwu.edu>
2954 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
2955 * Various compiler warning fixes about mistyped variables.
2956 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
2958 * BUG 2527, 2538: Removed unused variables.
2961 o Marcel <samba.10.maazl@spamgourmet.com>
2962 * Fix regression in OS/2 trans2 open code.
2965 o Jim McDonough <jmcd@us.ibm.com>
2966 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
2967 (in conjunction with Volker).
2968 * BUG 2953: Prevent the credentials chain on DC gets out
2969 of sync with client when NT_STATUS_NO_USER is returned.
2970 * Added subcommands to "net rpc vampire" (mostly done by Don
2971 Watson <dwatson@us.ibm.com>) to allow data to be put into an
2972 ldif file instead of actually writing to the passdb.
2973 * BUG 2736: Add retries to workaround winbind race condition
2974 with detecting idle clients.
2975 * BUG 2953: Additional fixes for domain trusts. Also clears
2976 up the "bad stub" error when attempting to logon to a Samba
2977 domain with a bad username.
2980 o Luke Mewburn <lukem@NetBSD.org>
2981 * Compiler warning fixes.
2984 o Kalim Moghul <kalim@samba.org>
2985 * Removed unused printmode command from smbclient.
2988 o Lars Müller <lmuelle@samba.org>
2989 * Re-enable the VERSION_REVISION option in case of another
2991 * Fix spoolss python bindings after C++ compiler changes and
2993 * BUG 2659: Don't trump on memory in smbtorture.
2994 * BUG 2060: Add -fPIC which is the case for all other Samba
2996 * Fix argv parsing in "net rpc".
2997 * Add support to create position independent executable (PIE)
2998 code if the compiler supports it.
2999 * BUG 2767: Add new options to testparm (--show-all-parameters,
3000 --parameter-name, and --section-name).
3001 * Fix net share migrate files to also migrate the ACLs of
3002 the top level dir of a share.
3005 o Marcel Muller <mueller@maazl.de>
3006 * Patch to fix the OS/2 EA_FROM_LIST info level call.
3007 * Mangled names fix for OS/2 clients.
3008 * Ensure we correctly set the return packet size to include the
3009 pad bytes in reply_readbmpx().
3010 * Fix for bug in SMBwriteBraw that incorrectly returned the
3011 number of bytes written.
3014 o Ricky Nance <ricky.nance@gmail.com>
3015 * Implemented mklogon script generator for domain logon scripts.
3018 o James Peach <jpeach@sgi.com>
3019 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3020 * BUG 2285: Patch for hires timestamps and efficient notify code.
3021 * MS-DFS tidyup patches.
3022 * Build fixes on IRIX.
3023 * IRIX compiler warning fixes.
3024 * BUG 2596: Fix become_root link issues and one IRIX stack
3026 * Fix for null pointer ACL free.
3027 * BUG 2314: Fix const compiler warnings in the quota code.
3030 o Ed Plese <ed@edplese.com>
3031 * Fix faulty logic which caused winbindd to return failure
3032 when a user possessed no supplementary groups.
3035 o Marcin Porwit <mporwit@centeris.com>
3036 * Initial support for the \eventlog pipe.
3037 * Fix a memleak in the eventlog code.
3038 * Miscellaneous fixes for Samba's experimental event log support.
3039 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
3043 o Tim Potter <tpot@samba.org>
3044 * BUG 2940, 2943: Fixed various compiler warnings regarding
3045 mismatched types and unused variables.
3046 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3047 * BUG 2733: Fix incorrect SHLIBEXT is set when running
3048 configure script on HPUX IA.
3049 * Remove unused autoconf #define's.
3050 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3051 * Removed unused function declarations in tdb.h.
3052 * BUG 2895: Don't wrap non-existent functions in the python
3054 * BUG 2623, 2630: $< and $* are not valid in explicit rules
3056 * BUG 2560: Fix compile error lurking where PATH_MAX is not
3058 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3059 * BUG 2611: Add fflush(stdout) after displaying username prompt
3060 in smbsh if username not specified on command line.
3061 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
3062 * BUG 2808: Update install swat message to reflect the fact
3063 that swat/README no longer exists.
3066 o Denis Sbragion <d.sbragion@infotecna.it>
3067 * BUG 2196: Allow absolute path (system wide) recycle bin.
3070 o Fernando Schapachnik <fernando@mecon.gov.ar>
3071 * Add logon hours support for the Postgres backend.
3074 o Richard Sharpe <rsharpe@samba.org>
3075 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
3077 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
3078 * BUG 2362: Quota support fix for DragonFly.
3079 * Fix dragonfly detection in configure.
3082 o Simo Sorce <idra@samba.org>
3083 * Allow Domain Admins to force user sessions to close via the
3084 Windows Server Manager.
3085 * Add support to 'net rpc right privileges <name>' to enumerate
3086 accounts which possess a specific privilege.
3087 * Fix memory issues issues in vfstest (reported by Rainer Link).
3088 * Randomize reloading as to not overload cupsd.
3091 o Smitty <smitty@plainjoe.org>
3092 * Compile fixes for smbget when using --enable-developer.
3093 * Include LUID values to match Windows privileges since
3094 apparently this matters to printmig.exe
3097 o John Terpstra <jht@samba.org>
3098 * Solaris packaging fixes.
3099 * Clean up usage help text in "net rpc user"
3102 o Andrew Tridgell <tridge@samba.org>
3103 * Merge socket wrapper library fixes from Samba 4.
3106 o Brett Trotter <blt@iastate.edu>
3107 * Fix definition of global_sid_* in vfs_acl.c.
3110 o Mark Weaver <mark-clist@npsl.co.uk>
3111 * Patch to fix sys_select so it can't drop signals if another
3112 fd is ready to read.
3115 o Jelmer Vernooij <jelmer@samba.org>
3116 * Remove --with-manpage-languages configure option.
3117 * Merge socket wrapper fixes for IRIX systems from the
3119 * Add socket_wrapper library to 3.0. Can be enabled by passing
3120 --enable-socket-wrapper to configure.
3121 * Fix build of the various sql pdb backends after new talloc.
3124 o Qiao Yang <qyang@stbernard.com>
3125 * Use our own DC when getting the SID for a domain.
3129 Release Notes for older release follow:
3131 --------------------------------------------------
3132 ===============================
3133 Release Notes for Samba 3.0.14a
3135 ===============================
3137 Common bugs fixed in 3.0.14a include:
3139 o Compatibility issues between Winbind and Windows 2003 SP1
3140 domain controllers (*2k3sp1*).
3141 o MS-DFS errors with Windows XP SP2 clients.
3142 o High CPU loads caused by infinite loops in the FindNext()
3144 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
3148 ######################################################################
3152 Changes since 3.0.14
3153 --------------------
3157 o Jeremy Allison <jra@samba.org>
3158 * Fixed invalid SMB_ASSERT() triggered by checking access on
3162 Changes since 3.0.13
3163 --------------------
3168 Parameter Name Action
3169 -------------- ------
3170 dos filetimes Enabled by default
3175 o Jeremy Allison <jra@samba.org>
3176 * Prevent nt_status code support when negotiating protocols
3178 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
3179 as this SMB is DOS codepage only.
3180 * BUG 2585: Fix printf() issues in smbpasswd which caused
3182 * BUG 2563: Fix infinite loop on non-existent file with
3184 * BUG 2581 (partial): Ensure if realloc fails on an internal
3185 tdb we fail gracefully.
3186 * Ensure that 'dos filetimes' works with ACLs.
3187 * Set 'dos filetimes = yes' as the default for smb.conf.
3190 o Gerald (Jerry) Carter <jerry@samba.org>
3191 * Workaround autoconf issue to prevent debug symbols from
3192 being included in the default build.
3193 * Disable schannel on the \lsarpc pipe in order to successfully
3194 enumerate users and groups (*2k3sp1*)
3195 * Fix parsing error in rpc binds which broke NTLMSSP
3196 authentication. And as a result broke CTL+ALT+DEL password
3197 changes from a Windows 2003 SP1 member of a Samba domain
3199 * Revert change to FindFirst() server code that broke WinXP
3200 SP2 clients from launching *.exe files from a dfs target
3202 * BUG 2588: Force smbclient to send netbios messages to port
3203 139 unless otherwise instructed (based on patch from Thomas
3207 o Volker Lendecke <vl@samba.org>
3208 * Fix build on FreeBSD 4 where Winbind is not supported.
3209 * Fix 'wbinfo --user-sids' when using domain local groups.
3210 * Restrict domain local groups reported by 'wbinfo -r' to
3211 the Samba server domain and not the users domain.
3214 o Lin Li <linl@xandros.com>
3215 * Ensure that winbind initializes internal trusted domain
3216 structures when enumerating users and groups.
3219 o Tim Potter <tpot@samba.org>
3220 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
3222 * Fix compiler warnings.
3225 o <psz@maths.usyd.edu.au>
3226 * Fix for possible root squash NFS bugs.
3229 o Simo Sorce <irda@samba.org>
3230 * Debian packaging fixes.
3233 --------------------------------------------------
3234 ==============================
3235 Release Notes for Samba 3.0.13
3237 ==============================
3239 Common bugs fixed in 3.0.13 include:
3241 o Infinite FindNext() loop from Windows 9x client when
3242 copying or deleting files on a Samba file share using
3244 o Numerous smbclient bugs when listing directories.
3245 o Failures in smbclient when connecting to a Windows 9x
3249 ######################################################################
3253 Changes since 3.0.12
3254 --------------------
3256 o Jeremy Allison <jra@samba.org>
3257 * Fix typo bug in smbclient where flags overwrote info level
3258 in the cli_list_new().
3259 * Fix old smbclient bug where ff_searchcount was being compared
3260 to -1 resulting in processing a filename twice.
3261 * Fix segv in smbclient caused by overwriting the last 2 bytes
3263 * BUG 2530: Fix potential segv in smbclient when talking to a
3264 Windows 9x file server.
3265 * Fix last entry offset in cli_list_new() when using a
3266 FindFirst/FindNext info level of 0x104.
3267 * BUG 2501: Stop Win98 from looping doing FindNext on a
3268 singleton directory.
3269 * BUG 2521: Fix error in access checks when user group ACLs.
3272 o Gerald (Jerry) Carter <jerry@samba.org>
3273 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
3274 to delete all versions of a driver.
3275 * BUG 2517: use the realm from smb.conf for 'net ads info' when
3276 'disable netbios = yes'.
3277 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
3279 * Update RedHat packaging files to require cups support. Also
3280 remove requirement for 'idmap {uid,gid}' settings in smb.conf
3281 from winbindd init script.
3282 * BUG 2516: fix compile issue on True64.
3286 o Guenther Deschner <gd@samba.org>
3287 * Check for the correct cli-struct when copying files in 'net
3288 rpc printer' routines.
3291 o Herb Lewis <herb@samba.org>
3292 * Fix incorrect test in 'net rpc user' when the user is not
3293 a member of any groups.
3296 o Jim McDonough <jmcd@us.ibm.com>
3297 * Make sure that enum_group_members() searches the correct suffix.
3300 --------------------------------------------------
3301 ==============================
3302 Release Notes for Samba 3.0.12
3304 ==============================
3306 Common bugs fixed in 3.0.12 include:
3308 o Winbind failures when using 'disable netbios = yes'
3309 o Failure to establish a trust relationship via 'net rpc trust
3311 o Various portability & compiler issues.
3312 o Read only file deletion failure caused by new delete semantics
3313 in Windows XP SP2 and the MS 04-044 security hotfix.
3314 o Error messages from shared Excel workbooks residing on Samba
3316 o Missing files in the output of smbclient -c 'dir' when run
3317 against Windows file servers.
3318 o Inability for Print Administrators to pause/resume/purge print
3321 Additional features introduced in Samba 3.0.12:
3323 o Performance enhancements when serving directories containing
3324 large number of files.
3325 o MS-DFS support added to smbclient.
3326 o More performance improvements when using Samba/OpenLDAP based
3327 DC's via the 'ldapsam:trusted=yes' option.
3328 o Support for the Novell NDS universal password when using the
3329 ldapsam passdb backend.
3330 o New 'net rpc trustdom {add,del}' functionality to eventually
3331 replace 'smbpasswd {-a,-x} -i'.
3332 o New libsmbclient functionality.
3336 =======================
3337 Large Directory Support
3338 =======================
3340 Samba 3.0.12pre1 introduces a specific mechanism for dealing
3341 with file services that frequently contain a large number of files
3342 per directory. Historically Samba's performance has suffered
3343 in such environments due to the translation from case
3344 insensitive lookups by Windows client to the case sensitive
3345 storage mechanisms used by UNIX filesystems.
3347 Configuration details along with a short HOWTO can be found at:
3349 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
3352 ==================================
3353 libsmbclient Binary Compatibility
3354 ==================================
3356 Please note that a change has been made to the _SMBCCTX structure
3357 in source/include/libsmbclient.h. This change is not backwards
3358 compatible with applications linked against the libsmbclient.so
3359 library from Samba 3.0.11. However, it is compatible with all
3360 other Samba 3.0.x releases. This means that it will be most likely
3361 be necessary to recompile any applications linked against the
3362 3.0.11 version of the library.
3365 ######################################################################
3372 Parameter Name Action
3373 -------------- ------
3374 allocation roundup size New
3375 log nt token command New
3376 write cache Deprecated
3380 Changes since 3.0.11
3381 --------------------
3385 o Jeremy Allison <jra@samba.org>
3386 * BUG 2146: Return correct allocation sizes so as not to crash
3388 * BUG 962: Ensure that parsing of service names in smb.conf is
3390 * BUG 2201, 2227: Support new delete semantics used by MS04-044
3392 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
3393 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
3394 * Add special hooks when serving directories containing large
3396 * Ensure that WINS negative name query responses and WACK
3397 packets use the correct RR type of 0xA instead of reflecting
3398 back what the query RR type was (0x20).
3399 * BUG 2310: Only do 16-bit normalization on small dfree request.
3400 * BUG 2323: Correct authentication failure when using plaintext
3401 passwords from Windows XP clients.
3402 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
3403 work around issues building MS Visual Studio 6.0 project
3404 on a Samba file share while restoring the pre-3.0.21pre1
3405 behavior by default.
3406 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
3407 stat when checking for existence of a pathname.
3408 * Check the sticky bit on the parent directory for supporting
3409 the new WinXP SP2 file deletion semantics.
3410 * Various oplock, share mode, and byte range locking fixes
3411 found by Connectathon tests.
3412 * BUG 2271: Fix resume key issues in trans2FindFirst() client
3413 code (inspired by patch from Satwik Hebbar).
3414 * BUG 2382, 2045: More pending modtime and delayed write fixes
3415 for MS Excel (incorporates partial patches from
3416 ke_miyata@itg.hitachi.co.jp).
3417 * Debug log message cleanups.
3418 * Add case insensitive search for a principal match on logon
3419 verification in the system keytab (based on patch by
3420 Michael Brown <mbrown@fensystems.co.uk>).
3421 * Revert the previous SMB signing change from Nalin Dahyabhai
3422 when using DES keys.
3423 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
3424 * Fix FindFirst() server code to deal with resume names of ".."
3425 and "." (found by Jim McDonough).
3426 * BUG 2451: Fix missing functions in full audit VFS module.
3427 * Ensure that smbd logs failures reported by DISK_FREE()
3428 (reported by Ying Li <ying.li2@hp.com>).
3429 * Ensure that smbclient obeys the max protocol argument again.
3430 * BUG 2335: Return correct error code for OS/2 clients (based on
3431 negotiated protocol level).
3432 * BUG 2460, 2464: remove dead code and unused variables
3433 (reported by Jason Mader).
3436 o Andrew Bartlett <abartlet@samba.org>
3437 * Avoid length-limited intermediate copy of NT and LM responses
3439 * Debug message cleanups in the NTLMSSP implementation.
3442 o Manuel Baena <mbaena@lcc.uma.es>
3443 * Print actual error message in smbmnt.c:fullpath().
3446 o Vince Brimhall <vbrimhall@novell.com>
3447 * Add support for Novell NDS universal password.
3448 * BUG 2424: Ensure that uidNumber and gidNumber use match
3450 * BUG 2453: Change the way pdb_nds.c handles users with no
3451 Universal or Simple Password.
3452 * NDS schema file corrections.
3455 o Gerald (Jerry) Carter <jerry@samba.org>
3456 * Add trans2 client call for checking dfs referrals
3457 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
3458 when checking directories on modern CIFS servers.
3459 * Add MS-DFS support to smbclient.
3460 * Code cleanup of adt_tree.[ch].
3461 * Add missing checks to allow root to manage user rights.
3462 * Allow domain admins to manage rights assignments on domain members
3464 * BUG 2333: Use the lpq command to pass in the correct printer name
3465 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
3467 * BUG 1439: make sure to initialize pointer to prevent invalid
3469 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
3471 * Add cups-devel to BuidlRequires directive in Fedora spec file.
3472 * BUG 858: Fix order of popt args evaluation so we don't crash
3473 when given no command line args.
3474 * Remove dependency on bash for source/autogen.sh.
3475 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
3476 * Implement MS-DFS for recursive directory listings in smbclient.
3477 * BUG 2394: Fix nmbd linking issue on IRIX.
3478 * Only display the publish check box in the client's printer
3479 properties dialog if we are a member of an AD domain.
3480 * BUG 2363: allow 'in use' driver to be removed as long as
3481 one 'Windows NT x86' driver remains.
3482 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
3484 * Enforce better printer.tdb cache consistency when removing
3485 jobs from a print queue via SMB.
3486 * Ensure that pause/resume/purge print queue commands are run
3487 with the appropriate level of privilege necessary to actually
3489 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
3490 for 'printing = cups' installations that do not actually have
3492 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
3493 * BUG 2215: Rewrite questionable code that was causing gcc to
3495 * Add server support for LsaLookupPrivValue().
3496 * Various small compile fixes and cleanup warnings.
3497 * BUG 2456: Fix compile failure on non-gcc platforms due to
3498 non-standard pragma.
3501 o Kevin Dalley <kevin@kelphead.org>
3502 * BUG 2398: Don't force smbclient to assume a dry run if the
3503 target tarfile is /dev/null.
3506 o Guenther Deschner <gd@samba.org>
3507 * Fix crash bug in the client-spoolss enumdataex-call.
3508 * Expand the valid-workstation-scheme by expanding names
3509 beginning with a plus (+) as a unix group.
3510 * Allow own netbios name to be set in smbclient's session setup.
3511 * Better handling of LDAP over IPC connections that have expired
3513 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
3514 * Add examples/misc/adssearch.pl.
3515 * BUG 2343: Build fixes.
3516 * Support get_user_info_7 in SAMR server RPC.
3517 * Fix server_role in the samr_query_dom_info calls.
3518 * Add example perl script to check for multiple LDAP entries
3519 after running 'net rpc vampire'.
3520 * Add more output when listing printer forms via rpcclient.
3521 * Debug log message cleanup.
3524 o Steve French <sfrench@us.ibm.com>
3525 * On failed mount (ENXIO) retry share name in uppercase (fix
3526 mount to FastConnect AIX SMB server).
3527 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
3528 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
3529 it with a user name.
3530 * Update for new CIFS POSIX info levels.
3531 * Ignore users mount parm in mount.cifs.
3533 o SATOH Fumiyasu <fumiya@samba.gr.jp>
3534 * BUG 1549: Don't truncate service names in smbstatus.
3537 o William Jojo <jojowil@hvcc.edu>
3538 * BUG 2445: Patch to avoid default ACLs on AIX.
3541 o S Murthy Kambhampaty <smk_va@yahoo.com>
3542 * Add idmap_rid module to Fedora and RedHat spec files.
3545 o Volker Lendecke <vl@samba.org>
3546 * BUG 2401: Flush internal getpwnam() cache after deleting a
3548 * BUG 1604: Make winbind work with more than 10 trusted domains.
3549 * Cleanup various compiler warnings.
3550 * Fix a memory leaks in privileges code and passdb backends.
3551 * Fixes for samr_lookup_sids() client call.
3552 * Optimize _samr_query_groupmem with LDAP backend for large
3554 * Support SIDs as %s replacements in the afs username map
3556 * Add 'log nt token command' parameter. If set, %s is replaced
3557 with the user sid, and %t takes all the group sids.
3558 * Do not use the "Local Unix Group"-default description for
3559 all kinds of group-mappings.
3560 * Fix uninitialized variable in Linux nss_winbind library.
3561 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
3562 * Implement 'net afs impersonate'.
3565 o Herb Lewis <herb@samba.org>
3566 * Fix build problem when HAVE_POSIX_ACL is not defined.
3567 * BUG 2417: Add help lines for net rpc group addmem and
3571 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
3572 * Add support to libsmbclient for getting and setting DOS
3573 attributes using EA functions.
3574 * Fix libsmbclient's URL encoding/decoding.
3575 * Replace browse listing URI queries with an internal options
3576 structure (previous method violated the SMB URI syntax).
3577 * Allow tree connects to be multiplexed over a single CIFS server
3579 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
3580 can determine a dead tree connection.
3581 * Implement better solution for backwards binary compatibility
3582 in libsmbclient while adding new fields to struct _SMBCCTX.
3585 o Mark Loeser <halcy0n@gentoo.org>
3586 * BUG 2443: Compile fix for gcc4.
3589 o Jim McDonough <jmcd@us.ibm.com>
3590 * BUG 2338: Fix coredump when OS/2 checks for long file name
3591 support (with .+,;=[].) (thanks to Guenter Kukkukk).
3594 o Jason Mader <jason@ncac.gwu.edu>
3595 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
3599 o Jim McDonough <jmcd@us.ibm.com>
3600 * Fixes for server schannel implementation when 'restrict
3601 anonymous = 1' is set in smb.conf.
3602 * Fix bug in server side lookupsids reply that crashed lsass.exe
3604 * Fix 'net rpc trustdom establish'.
3605 * BUG 2062: Turn off broadcast for all 390 NICs.
3606 * Fix 'net rpc trustdom add' to correctly add new domain trust
3607 accounts. This will eventually replace 'smbpasswd -a -i'.
3608 * Implement 'net rpc trustdom del', including client side of
3609 samr_remove_sid_from_foreign_domain.
3610 * Bring IBM Directory Server schema up to date with openldap
3612 * Allow for better protection of sensitive attributes in IBM
3616 o Stefan Metzmacher <metze@samba.org>
3617 * Fix memleaks in the nttrans code.
3620 o Mike Nix <mnix@wanm.com.au>
3621 * Add SMBsplopen and SMBsplclose client calls.
3624 o Justin Ossevoort <justin@snt.utwente.nl>
3625 * BUG 2316: Fix crashes in pdb_pgsql.
3628 o James Peach <jpeach@sgi.com>
3629 * Fixes in string handling code.
3630 * Fix oplock2 test in client smbtorture.
3633 o Tim Potter <tpot@samba.org>
3634 * Fix up example pdb modules after prototype change for
3636 * BUG 2058: Fix for shared object creation in examples.
3637 * BUG 2315: Fix segv in LSA privileges server code.
3638 * Build fixes for python wrapper libraries.
3641 o Richard Sharpe <rsharpe@samba.org>
3642 * BUG 2044: Fix segv in profiles tool.
3643 * Fix bogus error messages when enumerating user group
3644 membership via 'net rpc'.
3647 o Simo Sorce <idra@samba.org>
3648 * Debian packaging fixes.
3651 o John Terpstra <jht@samba.org>
3652 * Add the capability to set account description using pdbedit.
3655 o Doug VanLeuven <roamdad@sonic.net>
3656 * Add more case/realm/name permutations to the Kerberos keytab.
3657 * AIX compile fixes.
3660 o Jelmer Vernooij <jelmer@samba.org>
3661 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
3662 * BUG 1957: Implement minimal update of fields in mySQL pdb
3666 o Torsten Werner <torsten.werner@assyst-intl.com>
3667 * BUG 2405: Define 'lpstat' printcap output on HPUX.
3670 o Shlomi Yaakobovich" <Shlomi@exanet.com>
3671 * Detect infinite loops when traversing tdbs.
3674 --------------------------------------------------
3675 ==============================
3676 Release Notes for Samba 3.0.11
3678 ==============================
3680 Common bugs fixed in 3.0.11 include:
3682 o Crash in smbd when using CUPS printing.
3683 o Parsing error of other SIDs included in the user_info_3
3684 structure returned from domain controllers.
3685 o Inefficiencies when searching non-AD LDAP directories.
3686 o Failure to expand variables in user domain attributes
3687 in tdbsam and ldapsam.
3689 o Failure to retrieve certain attribute when migrating from
3690 a Windows DC to a Samba DC via 'net rpc vampire'.
3691 o Numerous printing bugs bugs including memory
3692 bloating on large/busy print servers.
3693 o Compatibility issues with Exchange 5.5 SP4.
3696 Additional features introduced in Samba 3.0.11:
3698 o Winbindd performance improvements.
3699 o More 'net rpc vampire' functionality.
3700 o Support for the Windows privilege model to assign rights
3702 o New administrative options to the 'net rpc' command.
3709 If "ldap user suffix" or "ldap machine suffix" are defined in
3710 smb.conf, all user-accounts must reside below the user suffix,
3711 and all machine and inter-domain trust-accounts must be located
3712 below the machine suffix. Previous Samba releases would fall
3713 back to searching the 'ldap suffix' in some cases.
3720 Samba 3.0.11 supports the following assignable rights
3722 SeMachineAccountPrivilege Add machines to domain
3723 SePrintOperatorPrivilege Manage printers
3724 SeAddUsersPrivilege Add users and groups to the domain
3725 SeRemoteShutdownPrivilege Force shutdown from a remote system
3726 SeDiskOperatorPrivilege Manage disk shares
3728 These rights can be assigned to arbitrary users or groups
3729 via the 'net rpc rights grant/revoke' command. More details
3730 of Samba's privilege implementation can be found in the
3731 Samba-HOWTO-Collection.
3734 ######################################################################
3738 Changes since 3.0.10
3739 --------------------
3744 Parameter Name Action
3745 -------------- ------
3746 afs token lifetime New
3747 enable privileges New
3748 ldap password sync Alias
3749 min password length Deprecated
3750 winbind enable local accounts Deprecated
3755 o Jeremy Allison <jra@samba.org>
3756 * Extend vfs to add seekdir/telldir/rewinddir.
3757 * Fix dirent return.
3758 * Fix bugs when handling secondary trans2 requests.
3759 * Implementation of get posix acls in UNIX extensions.
3760 * Added set posix acl functionality into the UNIX extensions code.
3761 * Updated config.guess/config.sub .
3762 * Fix error reply when 'follow symlinks = no'.
3763 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
3765 * Fixes for LARGE_READX support.
3766 * Fix the problem we get on Linux where sendfile fails, but we've
3767 already sent the header using send().
3768 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
3770 * BUG 2088: Ensure inherit permissions is only applied on a new
3771 file, not an existing one.
3772 * Don't go fishing for the krb5 authorization data unless we know
3774 * Fixes for libsmbclient to ensure that interrupted system calls
3775 are restarted minus the already expired portion of the timeout
3776 (based on work by Derrell Lipman).
3777 * More Unicode string parsing fixes.
3778 * Convert the winreg pipe to use WERROR returns.
3779 * Make all LDAP timeouts consistent (input from Joe Meadows
3780 <jameadows@webopolis.com>).
3781 * BUG 2231: Remove double "\\" from client findfirst.
3782 * BUG 2238: Fix memory leak in shadow copy vfs.
3783 * Return correct DOS/NT error code on transact named pipe on
3785 * BUG 2211: Fix security descriptor parsing bug (based on work by
3786 Mrinal Kalakrishnan <mail@mrinal.net>).
3787 * BUG 2270: Fix memory leaks in cups printing backend support
3788 (based on work by Lars Mueller).
3789 * BUG 2255: Fix debug level in Kerberos error messages.
3790 * BUG 2110: Ensure we convert to ucs2 correctly after the
3791 CAN-2004-0930 patch.
3792 * Make strict locking an enum. Auto means use oplock optimization.
3793 * Fix client & server to allow 127k READX calls.
3794 * More *alloc fixes (includes additional fixes by Albert Chin.
3795 * Catch sendfile errors correctly and return the correct values
3796 we want the caller to return.
3797 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
3798 for better use by desktop environments such as GNOME.
3799 * Ensure we can't remove a level II oplock without having the
3800 shared memory area locked.
3803 o Timur Bakeyev <timur@com.bat.ru>
3804 * BUG 2100: change the way we check for errors after a dlopen().
3805 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
3808 o Andrew Bartlett <abartlet@samba.org>
3809 * Clarify error message when 'lanman auth = no'.
3810 * Remove the unnecessary UTF-8 conversion calls in the calls to
3811 auth_winbind from smbd.
3812 * Don't store the auth-user credentials with the cli_state* as
3813 this can cause the schannel setup to fail when the auth-user
3814 domain is not our primary domain.
3817 o Grigory Batalov <bga@altlinux.org>
3818 * Fix encoding while receiving of a message which was actually
3819 sent using STR_ASCII.
3822 o Daniel Beschorner <db@unit-netz.de>
3823 * BUG 603: Correct access mask check for _samr_lookup_domain()
3824 to work with Windows RAS server
3827 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
3828 * Fix missing printer_tdb reference decrement.
3831 o Gerald (Jerry) Carter <jerry@samba.org>
3832 * BUG 2073: fall back to smb_name if current_user_info is not
3833 available in lp_file_list_changed().
3834 * Fixes the spurious 'register_message_flags: tdb fetch failed'
3836 * Don't run the background LPQ daemon when we are running in
3838 * prevent the background LPQ daemon from updating the print queue
3839 cache just because multiple smbd processes sent a message that
3841 * consolidate printer searches to use find_service rather than
3843 * BUG 2091: don't remove statically defined printers in
3844 remove_stale_printers().
3845 * Fix logic error in add_a_form() that only compared N characters
3846 instead of the entire form name.
3847 * BUG 2107: fix memory bloating caused by large numbers of
3848 print_queue_updates() requests sent via messages.tdb.
3849 * Check the setprinter(3) based on the access permissions on
3850 the handle and avoid the call to print_access_check().
3851 * Re-instantiate previous semantics for calling init_unistr2()
3852 with a NULL source buffer.
3853 * Support Windows privilege model for assigning rights
3854 to specific SIDs. Based on work by Simo Sorce in the trunk
3855 svn branch. This feature is controlled by the 'enable
3856 privileges = [yes|no]' smb.conf(5) option.
3857 * Add some smb.conf scripts for add/delete/change shares and
3858 deleting cups printers.
3859 * Expand variables in the profile path, logon home and logon script
3860 values when using either tdbsam or ldapsam.
3861 * Add Domain Admins (Full Control) to the default printer security
3862 descriptor if we are a DC.
3863 * RedHat and Fedora Packaging fixes for perl dependencies.
3864 * Remove unused schema items from OpenLDAP schema file.
3865 * Remove duplicate enumeration of "Windows x86" architecture
3866 when listing printer drivers via rpcclient.
3867 * Fail set_privileges() if 'enable privileges = no' to prevent
3869 * Fix segfault in cups_queue_get().
3870 * Tighten restrictions on changing user passwords when
3871 the connected user possesses the SeMachineAccountPrivilege.
3872 * Ensure we set NETBIOSNAME.domainname for the long machine name
3873 when publishing printers in AD (based on input from Rob Foehl).
3874 * Mark 'winbind enable local accounts' as deprecated.
3875 * Mark testprns tool as deprecated.
3876 * Allow root to grant/revoke privilege assignments.
3877 * Correct interaction between user rights and se_access_check() on
3879 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
3881 * BUG 2262: Add support in configure.in for *freebsd6*.
3882 * BUG 2266: Portability fixes for quota code on FreeBSD4.
3883 * BUG 2264: Remove shutdown and abortshutdown commands from
3884 rpcclient in favor of using the same functions in 'net'.
3885 * BUG 2295: Prevent smbd from returning an empty server name
3886 in certain lanman api calls.
3887 * BUG 2290: Fix autogen.sh script in examples (based on original
3888 patch from Lars Mueller).
3889 * Fix bug enumerating domain trusts in security = ads.
3890 * Fix segv in rpcclient's dsenumdomtrusts.
3891 * Fix bug in expansion of %U and %G in included filenames.
3892 * BUG 2291: Restrict creation of server trust and domain trust
3893 accounts to members of the "Domain Admins" group.
3895 o Nadav Danieli <nadavd@exanet.com>
3896 * Short circuit some is_locked() tests if we are oplocked.
3899 o Guenther Deschner <gd@samba.org>
3900 * Allow 'localhost' as a valid server name in the smbd for the
3902 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
3903 Mewburn for the input).
3904 * BUG 2059: Add additional checks needed after logic change to the
3905 HAVE_WRFILE_KEYTAB detection test.
3906 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
3907 Samba DC. Allow us to lookup at least our own SID.
3908 * More fixes to have proper German in swat (Thanks to Reiner
3909 Klaproth and Björn Jacke.
3910 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
3911 setting security descriptors with smbcacls and using with
3912 the -S or -M switch.
3913 * Include the munged_dial, bad_password_count, logon_count, and
3914 logon_hours attributes when running 'net rpc vampire'.
3915 * Fix segfault in idmap_rid.
3916 * When winbindd is operating in the multi-mapping mode of
3917 idmap_rid, allow BUILTIN domain-mapping.
3918 * Display infolevel 12 in query_dom_info in rpcclient.
3919 * Fix bug in winbindd's lowercasing of usernames.
3920 * Allow -v or -l for displaying verbose groupmap-listing
3921 as well as "verbose".
3922 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
3924 * Close LDAP-Connection before retrying to open a new connection
3926 * Marking "min password length" as depreciated.
3927 * Implement SAMR query_dom_info-call info-level 8 server- and
3928 client-side, based on samba4-idl.
3929 * Allow rpcclient to define a port to use when connecting
3931 * Allow Account Lockout with Lockout Duration "forever" (until
3932 admin unlocks) to be set and displayed in User Manager.
3933 * Allow to set acb_mask in rpcclient's enumdomusers.
3934 * Add more generic rootDSE inspection function to check
3935 for given controls or extensions and remember these on a
3937 * Improve LDAP search efficiency by passing the acb_mask to
3939 * Fixes for ldapsam_enum_group_memberships().
3940 * Add createdomgroup to rpcclient.
3941 * Add "net rpc user RENAME"-command.
3942 * Display sam_user_info_7 in rpcclient.
3943 * Make multi-domain-mode in idmap_rid accessible from outside
3944 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
3945 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
3946 "Lockout Duration: Forever".
3947 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
3949 * Require assignment of Administrator SID in the passdb
3950 backend. Fall back to the default name of 'Administrator' if
3951 the lookup fails rather than using the first name in the
3952 default 'admin users' list.
3953 * Enhance LDAP failure debug messages.
3954 * BUG 2291: Call the 'add machine script' for server trust and
3955 domain trust accounts as well as workstation accounts.
3958 o Levente Farkas <lfarkas@lfarkas.org>
3959 * BUG 2299: Better logrotate scripts for RedHat and Fedora
3963 o Jay Fenlason <fenlason@redhat.com>
3964 * Fix crash in 'net join' due to calling free on
3966 * Several patches from RedHat's Fedora Core RPMS.
3969 o Rob Foehl <rwf@loonybin.net>.
3970 * Compiler warnings.
3971 * Try modifying printer published attributes before adding it a
3973 * Solaris packaging fixes.
3974 * Don't force the cups printer-make-and-model tag as the comment
3975 for autoloaded printers.
3976 * Implement caching of names from printcap to support a true
3977 'printcap cache time'.
3980 o Johann Hanne <jhml@gmx.net>
3981 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
3984 o Jeff Hardy <hardyjm@potsdam.edu>
3985 * Example script for 'add print command' when using CUPS.
3988 o Deryck Hodge <deryck@samba.org>
3989 * Add -P (--password-only-menu) to SWAT for displaying only the
3990 password change page to non-root users.
3993 o David Hu <david.hu@hp.com>
3994 * Copy structure from print_queue_update() message rather than
3995 referencing it. Fixes seg fault on HP-UX.
3998 o Buck Huppmann <buckh@pobox.com>
3999 * BUG 2186: Don't free uninitialized credentials.
4000 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
4001 dnsDomainName != realm.
4004 o Björn Jacke <bjoern@j3e.de>
4005 * BUG 2040: Ensure the locale is reset to C to get ASCII-
4006 compatible toupper/lower functions.
4009 o William Jojo <jojowil@hvcc.edu>
4010 * Fix HPUX sendfile and add configure.in tests and code for
4012 * AIX 5.3 compile fixes.
4015 o Volker Lendecke <vl@samba.org>
4016 * Optimize anonymous session setups by workstations in a
4018 * Reimplment the QueryUserAliases() server RPC reply.
4019 * Re-add the getpwnam-cache for performance.
4020 * Cache the result of a pdb_getsampwnam for later SID lookup
4022 * Unify the means of localtaing a user's global groups on a
4024 * Fix bug when serving the 'Start Menu' in a roaming user profile..
4025 * Map more pre-defined NT security descriptors to AFS acls.
4026 * Add timeout to AD search requests.
4027 * If a connection to a DC is requested (in winbindd), open
4028 connections simultaneously to all DCs found.
4030 * Fix logic error in handling of 'printcap name' parameter.
4031 * Prevent winbindd from SPAM'ing the log files with 'user root
4033 * Backport samr_DomInfo2 IDL specification from Samba 4.
4034 * Implement smbstatus -n, don't lookup users and groups.
4035 * Implement simple mapping that maps the space to another character
4036 defined by afsacl:space.
4037 * Add support for 'net idmap delete <idmap-file> <SID>'.
4038 * Add new parameter 'afs token lifetime' tells the AFS client
4039 when to throw away a token (patch from kllin@it.su.se).
4040 * Initial work to allow support for multiple pipe opens on a
4042 * Ensure that we still retrieve the netbios name of any DC
4043 listed as a 'password server' to work around cases where the
4044 DC was defined using an IP address or fqdn.
4045 * Fix memleak in winbindd connection code.
4046 * Fix cli_samr_queryuseraliases.
4047 * Allow wbinfo --user-sids to expand expand domain local groups.
4048 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4049 * Fix parsing of other_sids in net_user_info3.
4050 * Correct bad failure logic when user was not a member of any
4051 domain local groups.
4054 o Jason Mader <jason@ncac.gwu.edu>
4055 * BUG 2113, 2289: Remove dead code.
4058 o Jim McDonough <jmcd@us.ibm.com>
4059 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
4060 clients. If it fails, fall back to WINREG.
4061 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4062 * BUG 2198: Set password last change time when running 'net rpc
4064 * Add "refuse machine password change" policy field.
4067 o Luke Mewburn <lukem@NetBSD.org>
4068 * BUG 2150: shmget() - Use POSIX definitions instead of non-
4072 o Stefan Metzmacher <metze@samba.org>
4076 o Buchan Milne <bgmilne@mandrake.org>
4077 * Mandrake packaging fixes.
4080 o Lars Mueller <lmuelle@samba.org>
4081 * Fix build of libsmbclient on x86_64.
4082 * BUG 2013: Fix testsuite build issues when libsmbclient.so
4083 is installed in a non-default location.
4084 * BUG 2050: Calculate max_fd for select correctly.
4085 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
4089 o Jason Mader <jason@ncac.gwu.edu>
4090 * BUG 2069: Remove unused variables.
4091 * BUG 2075: Remove dead code paths.
4092 * BUG 2083: Fix compiler warnings caused by bad type casts.
4095 o James Peach <jpeach@sgi.com>
4096 * Fix rewinddir -> rewind_dir when using VFS macros.
4099 o Gavrie Philipson <gavrie@disksites.com>
4100 * BUG 1838: Remove stale printers imeeddiately when
4101 processing a SIGHUP and during smb.conf reload.
4104 o Tim Potter <tpot@samba.org>
4105 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
4106 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
4107 * Change the license for the winbindd external interface
4109 * HP-UX compile fixes.
4110 * Compile fixes after new setsampwent() API.
4113 o Richard Renard <rrenard@idealx.com>
4114 * Update Netscape DS 5.2 LDAP schema.
4117 o Simo Sorce <idra@samba.org>
4118 * Backport pdbedit changes from trunk.
4119 * Allows the add/change share command to create the shared
4120 directory directory on disk.
4121 * Log a warning in testparm if a print command is defined for
4122 a print service using 'printing = cups'.
4124 o Jelmer Vernooij <jelmer@samba.org>
4125 * Bug fixes for pdb_{xml,pqsql,xml}
4126 * Fixes for pdb_mysql.
4129 o Andrew Tridgell <tridge@samba.org>
4130 * Bring Samba3 into line with the Samba4 password change code.
4133 o Shiro Yamada <shiro@miraclelinux.com>
4134 * BUG 2190: Force SWAT to display parameters in unix charset and
4138 --------------------------------------------------
4139 ==============================
4140 Release Notes for Samba 3.0.10
4142 ==============================
4144 Common bugs fixed in 3.0.10 include:
4146 o Fix for security issues described in CAN-2004-1154.
4155 o Jeremy Allison <jra@samba.org>
4156 * Added checks surrounding all *alloc() calls to fix
4158 * Fix long standing memory size bug in bitmap_allocate().
4159 * Remove bogus error check in deferred open file serving
4163 o Thomas Bork <tombork@web.de>
4164 * Fix autoconf script on platforms using a version of GNU ld
4165 that does not include a date stamp in the output of --version.
4168 o Luke Mewburn <lukem@NetBSD.org>
4169 * Fix the swat install script to deal with the new image
4170 destination directory used by the docs.
4174 --------------------------------------------------
4176 =============================
4177 Release Notes for Samba 3.0.9
4179 =============================
4181 Common bugs fixed in 3.0.9 include:
4183 o Problem updating roaming user profiles.
4184 o Crash in smbd when printing from a Windows 9x client.
4185 o Unresolved symbols in libsmbclient which caused
4186 applications such as KDE's konqueror to fail when
4187 accessing smb:// URLs.
4197 o Jeremy Allison <jra@samba.org>
4198 * Correctly detect errno for no acl/ea support.
4199 * BUG 2036: Fix seg fault in 'net ads join'.
4202 o Gerald (Jerry) Carter <jerry@samba.org>
4203 * Solaris packaging fixes.
4204 * Fix seg fault in lanman printing code.
4205 * BUG 2017: fix testparm reporting for the passwd program
4207 * Fix output of smbstatus to match the man page.
4208 * BUG 2027: fix conflict with declaration MD5_CTX in system
4210 * 2028: Avoid false error messages when copying a long
4211 printer name to the device mode.
4214 o Guenther Deschner <gd@samba.org>
4215 * Allow deldriverex in rpcclient to delete drivers for a
4216 specific architecture and a specific version.
4217 * Fix a couple of rpcclient spoolss commands (setprinter,
4218 setprintername, getdriver) w.r.t to printer-naming scheme.
4219 Allow 'localhost' in the server string for certain server-side
4221 * BUG 2015: Do not fail on setting file attributes with
4222 acl support enabled.
4225 o Michel Gravey <michel.gravey@optogone.com>
4226 * Fix build when using gcc 3.0.
4229 o Volker Lendecke <vl@samba.org>
4230 * Fix tdb open logic when checking our local_pid after
4234 o Jim McDonough <jmcd@us.ibm.com>
4235 * BUG 1932: Fix crash in 'net getlocalsid' when run as
4239 o Luke Mewburn <lukem@NetBSD.org>
4240 BUG 1661: Fix KRB5_SETPW-defines
4243 o Buchan Milne <bgmilne@mandrake.org>
4244 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
4247 o Lars Mueller <lmuelle@samba.org>
4248 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
4251 o Martin Zielinski <mz@seh.de>
4252 * Add DeletePrinterDriverEx() functionality to rpcclient.
4255 --------------------------------------------------
4257 =============================
4258 Release Notes for Samba 3.0.8
4260 =============================
4262 Common bugs fixed in 3.0.8 include:
4264 o Compile fixes for HP-UX
4265 o Fixes for the printer publishing code used when joined to
4267 o Incompatibilities with file system quotas.
4268 o Several bugs in the spoolss printing code and print system
4270 o Inconsistencies in the username map functionality when
4271 configured on domain member servers.
4272 o Various compile warnings and errors on various platforms.
4273 o Fixes for Kerberos interoperability with Windows 200x
4274 domains when using DES keys.
4275 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
4276 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
4279 New features included in the 3.0.8 release are:
4281 o New migration functionality added the the net tool
4282 for files/directories, printers, and shares.
4283 o New experimental idmap backend for assigning uids/gids
4284 directly based on the user/group RID when acting as a
4285 member of single domain without any trusts.
4286 o Additional printer migration support for XP/2003 platforms.
4289 ===========================
4290 Change in Winbindd Behavior
4291 ===========================
4293 All usernames returned by winbindd are now converted to lower
4294 case for better consistency. This means any winbind installation
4295 relying on the winbind username will need to rename existing
4296 directories and/or files based on the username (%u and %U) to lower
4297 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
4298 include mail spool files, home directories, valid user lines in
4302 ======================
4303 Change in Username Map
4304 ======================
4306 Previous Samba releases would only support reading the fully qualified
4307 username (e.g. DOMAIN\user) from the username map when performing a
4308 Kerberos login from a client. However, when looking up a map
4309 entry for a user authenticated by NTLM[SSP], only the login name would be
4310 used for matches. This resulted in inconsistent behavior sometimes
4311 even on the same server.
4313 Samba 3.0.8 obeys the following rules when applying the username
4316 * When performing local authentication, the username map is
4317 applied to the login name before attempting to authenticate
4319 * When relying upon a external domain controller for validating
4320 authentication requests, smbd will apply the username map
4321 to the fully qualified username (i.e. DOMAIN\user) only
4322 after the user has been successfully authenticated.
4325 ######################################################################
4334 Parameter Name Action
4335 -------------- ------
4336 force printername New
4337 sendfile disabled by default
4343 o Jeremy Allison <jra@samba.org>
4344 * Ensure extended security bit is on only if we negotiated
4346 * Simplify statcache to use an in-memory tdb.
4347 * If you're selecting a hash algorithm for tdb, you need
4348 to do it at open time.
4349 * Removed old dir caching code - not being used now we
4350 have the statcache anyway.
4351 * Simplify the mangle hash code to use an in-memory tdb.
4352 * Merge iconv changes from Samba 4 branch.
4353 * Fix parsing of names ending in dot and a few other error
4355 * BUG 1667: Smbpasswd file could be left locked on some
4357 * Fixes for smbclient tar functionality.
4358 * BUG 1743: Fix logic bug the deferred open code.
4359 * Don't try to set security descriptors on shares where
4360 this has been turned off.
4361 * Return correct error codes on old SEARCH call.
4362 * Ensure we set errno = E2BIG when we overflow in the
4363 fast-path character conversion code.
4364 * Fix the roundup problem (returning 1mb roundup) for
4365 non-Windows clients.
4366 * Added 'stat' command to smbclient to exercise the
4367 UNIX_FILE_BASIC info level.
4368 * Fix bug where we could incorrectly set sparse attribute.
4369 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
4370 (reported by Taj Khattra <taj.khattra@gmail.com>).
4371 * Remove locked keys tdb code.
4372 * BUG 1886: Prevent delete on close being set for readonly files
4373 (and return the correct error code).
4374 * Ensure we pass most of the new lock tests except for the cancel
4375 lock which is yet to be added (merged from Samba 4 branch).
4376 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
4377 * BUG 1956: Ensure errno is saved and restored consistently on a
4379 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
4380 that all of the appropriate service principal names are set
4381 upon joining an AD domain.
4382 * Fix the correct use of resume name in the trans2 code.
4383 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
4384 correct salt used when generated the DES key after joining an
4386 * Enhanced krb5 detection routines in the autoconf scripts.
4389 o Andrew Bartlett <abartlet@samba.org>
4390 * Avoid changing the machine account password in the passdb
4391 backend, when it has 'already been changed'. This occurs
4392 in situations where the secure channel between the workstation
4393 and the DC breaks down, such as occurred in the MS04-11
4395 * Fix utility name in error message in ntlm_auth.
4396 * Fix NTLMv2 for use with pam_winbind.
4397 * Remove conversion to and from UTF8 on the winbind pipe.
4398 * Allow 'require_membership_of' and 'require-membership-of'.
4399 * Fix the error code for 'you didn't specify a domain' in
4401 * Use sys_getgroups() rather than scanning all groups
4402 when generating SAMR replies.
4405 o Igor Belyi <sambauser@katehok.ac93.org>
4406 * Ensure pdb user is deleted first before deleting UNIX
4407 user (LDAP backend needs this ordering).
4410 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
4411 * Fix core dump in 'net rpc vampire'.
4414 o Vince Brimhall <vbrimhall@novell.com>
4415 * Make ldapsam_compat robust against NULL attributes.
4418 o Gerald Carter <jerry@samba.org>
4419 * Don't limit the number of groups returned by winbindd_getgroups()
4421 * BUG 1519: Match Windows 2000 behavior when opening a
4422 printer using a servername in the form of an IP address or
4424 * BUG 1907: remove extra slashes from the printer name in
4425 getprinterdriverdir_1().
4426 * Fix standard_sub_snum() to use the current user's gid.
4427 * Fix background queue update bug (based on Volker's initial work
4429 * Add 'force printername' service parameter for people that want
4430 to enforce printername == sharename for spoolss printing.
4431 * Ensure consistent usage of the username map. Use the fully
4432 qualified DOMAIN\user format for 'security = domain|ads' and
4433 apply after authentication has succeeded.
4434 * Cosmetic fix for getent output -- lowercase the username only
4435 and not the complete domain\username string.
4436 * Packaging fixes for Solaris, Redhat, & Fedora.
4439 o Sean Chandler <sean.chandler@verizon.net>
4440 * Fix memlieak in cliconnect.c.
4443 o Darren Chew <darrenc@vicscouts.asn.au>
4444 * Solaris packaging fixes.
4447 o Nalin Dahyabhai <nalin@redhat.com>
4448 * SMB signing fix for 56-bit DES session keys.
4451 o Guenther Deschner <gd@samba.org>
4452 * add IA64 to the architecture table of printer-drivers.
4453 * Add file/share/printer migration functionality to
4455 * Show correct help for net groupmap commands.
4456 * Fix deadlock loop in winbind's required_membership_sid
4458 * Bring the same level of "required_membership"-functionality
4459 that ntlm_auth uses, to pam_winbindd as well.
4460 * Prevent "net lookup kdc" from seg-faulting when
4461 using our own implementation of krb5_lookup_kdc with
4463 * Adding getprinter level 7 to rpcclient.
4464 * Support migrating printers|shares|files from Server A
4465 to Server B while running the net-command on client C.
4466 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
4467 failure of this call non-critical (Thanks to Love @ Heimdal
4468 for the explanation and patch).
4469 * Fix typos in net's usage-output.
4470 * Fix the paranoia-check to ensure the ldap-attribute and the
4471 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
4473 * Fix several bugs in the _samr_query_useraliases() rpc reply.
4474 * Check correct string length when verifying password-policies
4475 and using extended characters (Thanks to Uwe Morgenroth from CC
4476 Compunet and Volker).
4477 * Make 'password history'-behavior in ldapsam more consistent.
4478 * Adding "Windows x64" as architecture string and driverdir "x64"
4479 for the 64bit AMD platform.
4480 * BUG 1343: Readd WKGUID-binding to match the correct default-
4481 locations of new User-, Group- and Machine-Accounts in Active
4482 Directory (this got lost during the last trunk-merge).
4483 * Fix printer-migration w.r.t. to new naming-convention for
4485 * Allow to migrate win2k3/xp-drivers as well.
4486 * Add client-side support of triggering ads printer publishing
4487 over msrpc setprinter calls inside the net-tool.
4488 * Add the idmap_rid module (written in conjunction with
4489 Sumit Bose <sbose@suse.de>).
4490 * BUG 1661: Fix build with recent heimdal releases.
4491 * Prevent idmap_rid from making unnecessary calls to domain
4492 controllers for trusted domains.
4495 o Arthur van Dongen <avdongen@xs4all.nl>
4496 * Fix typos in pam_winbind log messages and SuSE
4500 o Rob Foehl <rwf@loonybin.net>
4501 * Typo fixes for log messages in printer publishing code.
4502 * Fix memory leak in printer publishing code.
4503 * Ensure print_backend_init() only gets called once.
4504 * Have smbd check the published status of all printers
4506 * Cleanup up the XXX_a_printer() API for consistency.
4507 * Refactored the printer publishing code and include better
4511 o Steve French <sfrench@us.ibm.com>
4512 * Fix IP address override in mount.cifs mount helper and clean
4513 up warning messages from the sparse tool and expand syntax help.
4514 * Strip guest mount option off before sending to kernel mount
4515 routine to avoid logging spurious message.
4518 o Satoh Fumiyasu <fumiya@samba.gr.jp>
4519 * BUG 1732: Limit share names returned by RAP based on windows
4520 character width, not unix character width.
4521 * BUG 1498: Ensure that acl entries are stored in the correct
4525 o Brett Funderburg <brett@deepfile.com>
4526 * Pass create options parameter to nt_create_andx() function
4527 from the python bindings.
4528 * BUG 1864: Add sd->type field to security descriptor Python
4530 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
4531 when trying to return the security descriptor for a file.
4532 * BUG 1884: Fixes for the Python bindings to use the value
4533 of the desired_access filed passed into the lsa_open_policy()
4537 o Michael Gravey <michel.gravey@optogone.com>
4538 * BUG 1776: Fix warnings when building modules caused by
4539 certain versions of GNU ld not using the the default
4540 --allow-shlib-undefined flag.
4543 o Chris Hertel <crh@samba.org>
4544 * Fix logic bug in splay tree data structure when finding
4546 * Fix bug where an invalid MAC address would be printed by
4547 a node status lookup from nmblookup.
4550 o Uli Iske <iske@elkb.de>
4551 * Update the DNS/eDirectory LDAP schema file.
4554 o Björn Jacke <bjacke@sernet.de>
4555 * BUG 1766: Unify charset-handling in Content-Type:-headers to
4556 UTF-8. Reformat msgstr in msg-files to UTF-8.
4557 * Do not use display charset for swat output.
4558 * Convert the share names correctly from unix encoding to web
4559 encoding and vice versa.
4560 * Convert files from status page from unix charset to UTF-8.
4563 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
4564 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
4567 o Tom Lackemann <cessnatomny@yahoo.com>
4568 * BUG 1954: Fix memory leak in posix acl code.
4571 o Volker Lendecke <vl@samba.org>
4572 * Robustnss fix for winbindd when sending multiple requests
4573 at a high rate for a slow operation.
4574 * Solve the problem of user sids ending up with gid's
4576 * Use sys_fork instead of fork for the dual daemon so that
4577 we get the correct debug pid in the logfiles.
4578 * Based on patch from jmcd, implement special lists for the LDAP
4579 user attributes to delete.
4580 * Fix creation of aliases via usrmgr. Winbind was too strict
4581 checking the type of sids.
4582 * Lowercase all usernames returned by winbind.
4583 * BUG 1545, 1823: Only issue the ldap extended password change
4584 operation if the ldap server supports it. Also ignore object
4585 class violation errors from the extended operation.
4586 * Optimization for 'idmap backend = ldap': When asking sid2id
4587 for the wrong type, don't ask ldap when we have the opposite mapping
4589 * Fix ldapsam_compat homeDrive.
4590 * Add usersidlist and allowedusers subcommands to the net tool
4591 in order to support scanning a file server's share and list
4592 all users who have permission to connect there.
4593 * Allow for multiple DC's to be named as #1c names in lmhosts.
4594 * Memory leak fixes.
4595 * Fix checks for the local pid of an smbd process after
4599 o Herb Lewis <herb@samba.org>
4600 * Added tdbtool to be built by default.
4603 o Love <lha@stacken.kth.se>
4604 * BUG 1955: Inconsistent error return.
4607 o Sorin Manolache <sorinm@gmail.com>
4611 o Jim McDonough <jmcd@us.ibm.com>
4612 * Allow 'net ads lookup' to rely on command line arguments
4613 if contacting an ADS server fails; utilize cldap for lookups.
4614 * Fixup formatting errors in TDB_LOG calls; add printf attribute
4615 support to tdb log functions.
4618 o Bill McGonigle <bill+samba@bfccomputing.com>
4619 * BUG 1926: Type in debug message.
4623 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
4627 o Luke Mewburn <lukem@NetBSD.org>
4628 * BUG 1782: Prevent testparm from displaying parameter synonyms.
4631 o Stefan Metzmacher <metze@samba.org>
4632 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
4633 * Fix client quota support.
4634 * Fix opening of system quota file.
4637 o Lars Mueller <lmuelle@samba.org>
4638 * Small fixes for autogen.sh to deal with version detection
4639 of autoconf and autoheader; fixes for examples using
4640 libtool to adhere to stricter syntax of newer version.
4643 o Henrik Nordstrom <hno@squid-cache.org>
4644 * Allow winbindd to return the correct number of groups
4645 when the groups array must be enlarged.
4648 o Narayana Pattipati <narayana.pattipati@wipro.com>
4649 * Solaris autoconf detection fixes.
4652 o Tim Potter <tpot@samba.org>
4653 * BUG 1360: (correct fix) Use -Wl when passing flags to
4655 * HP-UX compile fixes (from JBravo on #samba-technical).
4656 * BUG 1731: More HP-UX compiles fixes.
4657 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
4658 spits the dummy otherwise.
4659 * Fix bug in Python printerdata wrapper.
4660 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
4661 <bugzilla-samba@thewrittenword.com>).
4662 * Fix parameter confusion in priming of name-to-sid cache
4663 (Found by Qiao Yang).
4664 * BUG 1888: Remove '..' from all pre-processor commands.
4665 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
4669 o Matt Selsky <selsky@columbia.edu>
4670 * BUG 350: use autoconf 2.57 feature for checking header file
4671 preprocessing (fixes configure warnings on Solaris).
4674 o Richard Renard <rrenard@idealx.com>
4675 * Fix usermgr.exe and trust relationships.
4678 o Paul Szabo <psz@maths.usyd.edu.au>
4679 * Fix to make find_workgroup use the same
4680 truncation as create_workgroup.
4683 o Richard Sharpe <rsharpe@samba.org>
4684 * Ensure cli_write() can support writes >= 65536 bytes.
4687 o Simo Sorce <idra@samba.org>
4688 * Added check password script code in examples/auth/crackcheck/
4689 * Fix memory corruption bug caused in freeing static memory.
4692 o Andrew Tridgell <tridge@samba.org>
4693 * Remove lp_use_mmap() from map_file() since the latter
4694 is for read only and does not require coherence.
4695 * Ensure that the uuid pack/unpack routines do not go past
4696 the end of the structure.
4697 * Converted Samba 3 tree to use the new utf-16 aware iconv
4699 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
4700 * Ensure configure only uses '=' instead of the bashism '=='.
4701 * Reduces the number of tdb locking calls made on file IO.
4704 o Jelmer Vernooij <jelmer@samba.org>
4705 * Convert internal data to UTF-8 before calling libxml2.
4706 * Complain if 'password chat' doesn't contain the %u variable
4707 (based on a patch by Ronan Waide).
4711 * BUG 1541: Fix recursive ls in smbclient.
4714 o Igor Zhbanov <bsg@uniyar.ac.ru>
4715 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
4718 --------------------------------------------------
4720 =============================
4721 Release Notes for Samba 3.0.7
4723 =============================
4725 Common bugs fixed in 3.0.7 include:
4727 o Fixes for two Denial of Service vulnerabilities
4728 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
4729 o Winbind failure to return user entries under certain
4731 o Syntax errors in the OpenLDAP schema file (samba.schema).
4732 o Printing errors caused by not setting default values
4733 for the various printing commands.
4742 Parameter Name Action
4743 -------------- ------
4744 winbind enable local accounts disabled by default
4749 o Jeremy Allison <jra@samba.org>
4750 * Fix parsing of names ending in dot and a few other error
4752 * BUG 1674: Move the symlinks checks into reduce_name().
4753 * Fix memleak when checking the valid names smb.conf option.
4754 * Fix memleak on error return path in the file open code.
4755 * More paranoia checks in the hash2 mangling code.
4756 * Fix syntax error in configure.in.
4757 * Match Win2k3's behavior for pathname parsing error returns.
4758 * Make nmbd more robust against bad netbios packets
4760 * Add more checks for invalid ASN.1 packets for SPNEGO packets
4764 o Andrew Bartlett <abartlet@samba.org>
4765 * Janitor work in loadparm.c -- remove unused parameters.
4768 o Gerald Carter <jerry@samba.org>
4769 * BUG 1464: Ensure that printing commands are initialized even
4770 if the 'printing' parameter is not explicitly set.
4771 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
4772 Adharsh Praveen <rprav@india.hp.com>)
4773 * Work around parsing error in the print change notify code.
4774 * remove duplicate declaration of getprintprocdir from
4776 * Only use sAMAccountName and not userPrincipalName when looking
4777 up a username in AD since the breaks winbindd (lookup_name()
4778 only works with the sAMAccountName).
4779 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
4780 filling in the username in the user_info3.
4781 * Fix logic bug in the check for creating a user's home directory
4782 in register_vuid(); caused home directory to be mismatched to
4783 the first share in smb.conf under certain conditions.
4784 * BUG 1656: rename auto.a to auto.smb.
4785 * Ensure that we assign our pid to print jobs (and not our
4786 parent's pid); ensures that spooling jobs from dead smbds
4787 are removed from the tdb.
4788 * Disable 'winbind enable local accounts' by default.
4789 * Adding some initial checks for DragonFly (same as
4793 o Guenther Deschner <gd@samba.org>
4794 * Use SMB_ASSERT() to track down NULL printer names in
4796 * Revert fix for BUG 1474 to avoid unnecessary packaging
4800 o Olaf Flebbe <o.flebbe@science-computing.de>.
4801 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
4803 * BUG 1626: More compile fixes.
4806 o Rob Foehl <rwf@loonybin.net>
4807 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
4808 by attempts to sanitize the defined attributes.
4811 o SATOH Fumiyasu <fumiya@miraclelinux.com>
4812 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
4815 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
4816 * BUG 1657: Remove used initialized variable,
4817 * BUG 1658: Add a little bit of const.
4820 o Volker Lendecke <vl@samba.org>
4821 * If there's garbage in the pidfile, we should not panic
4822 but assume that no one else is around. We can't find the
4826 o Jim McDonough <jmcd@us.ibm.com>
4827 * Fixup format string in the tdb error messages.
4830 o Jonas Olsson <lexicon@lysator.liu.se>
4831 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
4832 reporting the list in usrmgr.exe.
4835 o Tim Potter <tpot@samba.org>
4836 * Fix out-of-tree builds (problem with the script to generate
4837 the svn version number).
4838 * BUG 1360: Need to use -Wl when passing flags to the linker.
4839 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
4840 doesn't have one of its own.
4842 o Simo Sorce <idra@samba.org>
4843 * Fixup compile issues on AIX caused by broken strlen() and
4845 * Update debian packaging files.
4848 o Dimitri van der Spek <dwspek@aboveit.nl>
4849 * Use the correct counter when copying group rids from the
4850 user_info3 struct in pam_winbind.
4853 o Qiao Yang <qyang@stbernard.com>
4854 * BUG 1622: Only cache the user
4857 --------------------------------------------------
4859 =============================
4860 Release Notes for Samba 3.0.6
4862 =============================
4864 Common bugs fixed in 3.0.6 include:
4866 o Schannel failure in winbindd.
4867 o Numerous memory leaks.
4868 o Incompatibilities between the 'write list' and 'force user'
4870 o Premature optimization of the open_directory() internal
4871 function that broke tools such as the ArcServe backup
4872 agent, Macromedia HomeSite, and Robocopy.
4873 o Corrupt workgroup names in nmbd's browse.dat.
4874 o Sharing violation errors commonly seen when opening
4875 when serving Microsoft Office documents from a Samba
4877 o Browsing problems caused by an apostrophe (') in the
4878 computer's description field.
4879 o Problems creating special file types from UNIX CIFS
4880 clients and enabling 'unix extensions'.
4881 o Fix stalls in smbd caused by inaccessible LDAP servers.
4882 o Remove various memory leaks.
4883 o Fix issues in the password lockout feature.
4885 New features introduced in this release include:
4887 O Support symlinks created by CIFS clients which
4888 can be followed on the server.
4889 o Using a cups server other than localhost.
4890 o Maintaining the service principal entry in the system
4891 keytab for integration with other kerberized services.
4892 Please refer to the 'use Kerberos keytab' entry in
4893 smb.conf(5). When using the heimdal Kerberos libraries,
4894 you must also specify the following in /etc/krb5.conf:
4896 default_keytab_name = FILE:/etc/krb5.keytab
4897 o Support for maintaining individual printer names
4898 stored separately from the printer's sharename.
4899 o Support for maintaining user password history.
4900 o Support for honoring the logon times for user in a
4904 ============================================
4905 unix extensions = yes (default) and symlinks
4906 ============================================
4908 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
4909 clients supporting the UNIX extensions to the CIFS protocol
4910 can create symlinks to absolute paths which will be **followed**
4911 by the server. This functionality has been requested in order
4912 to correctly support certain applications when the user's home
4913 directory is mounted using some type of CIFS client (e.g. the
4914 cifsvfs in the Linux 2.6 kernel).
4916 If this behavior is not acceptable for your production environment
4917 you can set 'wide links = no' in the specific share declaration in
4918 the server's smb.conf. Be aware that disabling wide link support
4919 out of a share in Samba may impact the server's performance due
4920 to the fact that smbd will now have to check each path additional
4921 times before traversing it.
4924 ========================
4925 Password History Support
4926 ========================
4928 The new password history feature allows smbd to check the new
4929 password in password change requests against a list of the user's
4930 previous passwords. The number of previous passwords to save can
4931 be set using pdbedit (4 in this example):
4933 root# pdbedit -P "password history" -C 4
4935 When using the ldapsam passdb backend, it is vital to secure the
4936 following attributes from access by non-administrative users:
4940 * sambaPasswordHistory
4942 You should refer to your directory server's documentation on how
4943 to implement this restriction.
4952 Parameter Name Action
4953 -------------- ------
4955 defer sharing violations New
4956 force unknown acl user New
4958 printcap cache time New
4959 use Kerberos keytab New
4963 o Jeremy Allison <jra@samba.org>
4964 * Correct path parsing bug that broke DeletePrinterDriverEx().
4965 * Fix bugs in check_path_syntax() caught by asserts.
4966 * Internal change - rearrange internal global case setting
4967 variables to a per connection basis.
4968 * BUG 1345: Fix premature optimization in unix_convert().
4969 * Allow clients to truncate a locked file.
4970 * BUG 1319: Always check to see if a user as write access
4971 to a share, even when 'force user' is set.
4972 * Fix specific case of open that doesn't cause oplock break,
4973 or share mode check.
4974 * Correct sid type is WKN_GROUP, not alias. Added some
4975 more known types (inspired by patch from Jianliang Lu).
4976 * Allow creation of absolute symlink paths via CIFS clients.
4977 * Fix charset bug in when invoking send_mailslot().
4978 * When using widelinks = no, use realpath to canonicalize
4979 the connection path on connection create for the user.
4980 * Enhance stat open code.
4981 * Fix unix extensions mknod code path.
4982 * Allow unix domain socket creation via unix extensions.
4983 * Auto disable the 'store dos attribute' parameter if the
4984 underlying filesystem doesn't support EAs.
4985 * Implement deferred open code to fix a bug with Excel files
4987 * BUG 1427: Catch bad path errors at the right point. Ensure
4988 all our pathname parsing is consistent.
4989 * Fix SMB signing error introduced by the new deferred open
4991 * Change default setting for case sensitivity to "auto". (see
4992 commit message -- r1154 -- for details).
4993 * Add new remote client arch -- CIFSFS.
4994 * Allow smbd to maintain the service principal entry in the
4995 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
4996 Guenther Deschner, et. al.).
4997 * Fix longstanding memleak bug with logfile name.
4998 * Fix incorrect type in printer publishing (struct uuid,
5000 * Heimdal compile fixes after introduction of the new ketyab
5002 * Ensure we check attributes correctly on rename request.
5003 * Ensure we defer a sharing violation on rename correctly.
5004 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
5006 * Fix bogus error message when using "mangling method = hash"
5008 * Turn on sendfile by default for non-Win9x clients.
5009 * Handle non-io opens that cause oplock breaks correctly.
5010 * Ensure ldap replication sleep time is not more than 5 seconds.
5011 * Add support for storing a user's password history.
5012 LDAP portion of the code was based on a patch from
5013 Jianliang Lu <j.lu@tiesse.com>.
5014 * Correct memory leaks found in the password change code.
5015 * Fix support for the mknod command with the Linux CIFS client.
5016 * Remove support for passing the new password to smbpasswd
5017 on the command line without using the -s option.
5018 * Ensure home directory service number is correctly reused
5019 (inspired by patches from Michael Collin Nielsen
5020 <michael@hum.aau.dk>).
5021 * Fix to stop printing accounts from resetting the bas
5022 password and account lockout flags.
5023 * If a account was locked out by an admin (and has a bad
5024 password count of zero) leave it locked out until an admin
5025 unlocks it (but log a message).
5026 * Ensure we return the same ACL revision on the wire that
5028 * BUG 1578: Hardcode replacement for invalid characters as '_'
5029 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5030 * Fix hashed password history for LDAP backends.
5031 * Enforce logon hours restrictions if confiogured (based on code
5032 from Richard Renard <rrenard@idealx.com>).
5033 * BUG 1606: Force smbd to disable sendfile with DOS clients
5034 and ensure that the chained header is filled in for ...&X
5036 * BUG 1602: Fix access to shares when all symlink support
5041 o Tom Alsberg <alsbergt@cs.huji.ac.il>
5042 * Allow pdbedit to export a single user from a passdb backend.
5045 o Andrew Bartlett <abartlet@samba.org>
5046 * Fix parsing bug in GetDomPwInfo().
5047 * Fix segfault in 'ntlm_auth --diagnostics'.
5048 * Re-enable code to allow sid_to_gid() to perform a group
5049 mapping lookup before checking with winbindd.
5050 * Fix memory leak in the trans2 signing code.
5051 * Allow more flexible GSS-SPENGO client and server operation
5053 * Improve smbd's internal random number generation.
5054 * Fix a few outstanding long password changes in smbd.
5055 * Fix LANMAN2 session setup code.
5058 o Eric Boehm <boehm@nortelnetworks.com>
5059 BUG 703: Final touches on netgroup case lookups.
5062 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
5063 * Ensure error status codes don't get overwritten in
5064 lsa_lookup_sids() server code.
5065 * Correct bug that caused smbd to overwrite certain error
5066 codes when returning up the call stack.
5067 * Ensure the correct sid type returned for builtin sids.
5070 o Gerald Carter <jerry@samba.org>
5071 * Fix a few bugs in the Fedora Packaging files.
5072 * Fix for setting the called name to by our IP if the
5073 called name was *SMBSERVER and *SMBSERV. Fixes issue
5074 with connecting to printers via \\ip.ad.dr.ess\printer
5076 * BUG 1315: fix for schannel client connections to servers
5077 when we haven't specifically negotiated AUTH_PIPE_SEAL.
5078 * Allow PrinterDriverData valuenames with embedded backslashes
5079 (Fixes bug with one of the Konica Fiery drivers).
5080 * Fixed string length miscalculation in netbios names that
5081 resulted in corrupt workgroup names in browse.dat.
5082 * When running smbd as a daemon, launch child smbd to update
5083 the lpq cache listing in the background.
5084 * Allow printers "Printers..." folder to be renamed to a string
5085 other than the share name.
5086 * Allow winbindd to use domain trust account passwords when
5087 running on a Samba DC to establish an schannel to remote
5089 * Fix bad merge and ensure that we always use tdb_open_log()
5090 instead of tdb_open_ex() (the former call enforce the 'use
5092 * BUG 1221: revert old change that used single and double
5093 quotes as delimeters in next_token(), and change
5094 print_parameter() to print out parm values surrounded by
5095 double quotes (instead of single quotes).
5096 * Prevent home directories added during the SMBsesssetup&X from
5097 being removed as unused services.
5098 * Invalidate the print object cache for open printer handles when
5099 smbd receives a message that an attribute on a given printer
5101 * Cause the configure script to exit if --enable-cups[=yes] is
5102 defined and the system does not have the cups devel files
5104 * BUG 1297: Prevent map_username() from being called twice
5106 * Ensure that we use the userPrincipalName AD attribute
5107 value for LDAP SASL binds.
5108 * Ensure we remove the tdb entry when deleting a job that
5110 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
5111 client sends a FindNextPrintChangeNotify() request without
5112 previously sending a FindFirstPrintChangeNotify(). Return
5113 the same error code as Windows 2000 SP4.
5114 * BUG 1516: Manually declare ldap_open_with_timeout() to
5115 workaround compiler errors on IRIX (or other systems without
5117 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
5119 * Corrected syntax error in the OID for sambaUnixIdPool,
5120 sambaSidEntry, & sambaIdmapEntry object classes.
5121 * Tighten the cache consistency with the ntprinters.tdb entry
5122 an the in memory cache associated with open printer handles.
5123 * Make sure that register_messages_flags() doesn't overwrite
5124 the originally registered flags.
5127 o Fabien Chevalier <fabien.chevalier@supelec.fr>
5128 * Debian BUG 252591: Ensure that the return value from the
5129 number of available interfaces is initialized in case no
5130 interfaces are actually available.
5133 o Guenther Deschner <gd@sernet.de>
5134 * Implement 'rpcclient setprintername'.
5135 * Add local groups to the user's NT_TOKEN since they are
5136 actually supported now.
5137 * Heimdal compile fixes after introduction of the new keytab
5139 * Correctly honor the info level parameter in 'rpcclient
5141 * Reintroduce 'force unknown acl user' parameter. When getting a
5142 security descriptor for a file, if the owner sid is not known,
5143 the owner uid is set to the current uid. Same for group sid.
5144 * Ensure that REG_SZ values in the SetPrinterData actually
5145 get written in UNICODE strings rather than ASCII.
5146 * Ensure that the last Kerberos error return is not invalid.
5147 * Display share ACL entries from rpcclient.
5148 * Correct infinite loop in pam_winbind's verification of
5149 group membership in the 'other sids' field in the user_info3
5153 o Fabian Franz <FabianFranz@gmx.de>
5154 * Support specifying a port in the device URL passed to smbspool.
5157 o Steve French <sfrench@us.ibm.com>
5158 * Handle -S and user mount parms in mount.cifs.
5159 * Fix user unmount of shares mount with suid mount.cifs.
5160 * prevent infinite recusion in reopen_logs() when expanding
5161 the smb.conf variable %I.
5164 o Bjoern Jacke <bj@sernet.de>
5165 * Install libsmbclient into $(LIBDIR), not into hard coded
5166 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
5167 and an explicit configure --libdir setting.
5170 o <kawasa_r@itg.hitachi.co.jp>
5171 * Correct more memory leaks and initialization bugs.
5172 * Fix bug that prevented core dumps from being generated
5174 * Connect to the winbind pipe in non-blocking mode to
5175 prevent processes from hanging.
5176 * Memory leak fixes.
5179 o Stephan Kulow <coolo@suse.de>
5180 * Fix crash bug in libsmbclient.
5183 o Volker Lendecke <vl@samba.org>
5184 * Added vfs_full_audit module.
5185 * Add vfs_afsacl.c which can display & set AFS acls via
5186 the NT security editor.
5187 * Fix crash bug caused by trying to Base64 encode a NULL string.
5188 * Fix DOS error code bug in reply_chkpath().
5189 * Correct misunderstanding of the max_size field in
5190 cli_samr_enum_als_groups; it is more like an account_control
5191 field with individual bits what to retrieve.
5192 * Implement 'net rpc group rename' -- rename domain groups.
5193 * Implement the 'cups server' option. This makes it possible
5194 to have virtual smbd's connect to different cups daemons.
5195 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
5196 * Fix sid_to_gid() calls in winbindd to prevent loops.
5197 * Ensure that local_sid_to_gid() sets the type of the group on
5199 * Make sure that the clients are given back the IP address to
5200 which they connected in the case of a multi-homed host. Only
5201 affects strings the spoolss printing replies.
5202 * Fix the bad password lockout. This has not worked as pdb_ldap.c
5203 did not ask for the modifyTimestamp attribute, so it could
5204 not find it. Try not to regress by not putting that attrib
5205 in the main list but append it manually for the relevant searches.
5206 * Fix two memleaks in login_cache.c.
5207 * fixes memory bloat when unmarshalling strings.
5208 * Fix compile errors using gcc 3.2 on SuSE 8.2.
5209 * Fix the build for systems without Kerberos headers.
5210 * Allow winbindd to handle authentication requests only when
5211 started without either an 'idmap uid' or 'idmap gid' range.
5212 * Fix the build for systems without ldap headers.
5213 * Fix interaction between share security descriptor and the
5214 'read only' smb.conf option.
5215 * Fix bug that caused _samr_lookupsids() with more than 32 (
5216 MAX_REF_DOMAINS) SIDs to fail.
5217 * Allow the 'idmap backend' parameter to accept a list of
5218 LDAP servers for failover purposes.
5219 * Revert code in smbd to remove a tdb when it has become
5221 * Add paranoid checks when mapping SIDs to a uid/gid to
5222 ensure that the type is correct.
5223 * Initial work on getting client support for sending mailslot
5225 * Add 'ldap timeout' parameter.
5226 * Dont always uppercase 'afs username map'.
5227 * Expand aliases for getusersids as well.
5228 * Improved NT->AFS ACL mapping VFS module.
5231 o Herb Lewis <herb@samba.org>
5232 * Add the acls debug class.
5233 * Fix logic bug in netbios name truncate routine.
5234 * Fix smbd crash caused by smbtorture IOCTL test.
5235 * Fix errno tromping before calling iconv to reset the
5237 * need to leave empty dacl so we can remove last ACE.
5240 o Jianliang Lu <Jianliang.Lu@getronics.com>
5241 * Fix to stop smbd hanging on missing group member in
5243 * Make sure Samba returns the correct group types.
5244 * Reset the bad password count password counts upon a successful login.
5247 o Jason Mader <jason@ncac.gwu.edu>
5248 * BUG 1385: Don't use non-consts in a structure initialization.
5251 o Jim McDonough <jmcd@us.ibm.com>
5252 * BUG 1279: SMBjobid fix for Samba print servers running on
5253 Big-Endian platforms.
5256 o Joe Meadows <jameadows@webopolis.com>
5257 * Add optional timeout parameter to ldap open calls.
5258 * Allow get_dc_list() to check the negative cache.
5261 o Stefan Metzmacher <metze@samba.org>
5262 * fix a configure logic bug for linux/XFS quotas when
5263 using --with-sys-quotas.
5264 * Use quota debug class in quota code.
5265 * print out the SVN revision by configure,
5268 o Buchan Milne <bgmilne@mandrake.org>
5269 * Mandrake packaging fixes.
5272 o Lars Mueller <lmuelle@samba.org>
5273 * BUG 1279: Added 'printcap cache time' parameter.
5274 * Fix afs related build issues on SuSE.
5275 * Fix compiler warnings in the Kerberos client code.
5278 o James Peach <jpeach@sgi.com>
5279 * More iconv detection fixes for IRIX.
5280 * Compile fixed for systems that do not have C99/UNIX98 compliant
5281 vsnprintf by default.
5282 * Prevent smbd from attempting to use sendfile at all if it is
5283 not supported by the server's OS.
5284 * Allow SWAT to search for index.html when serving html files
5289 * Implement NFS quota support on FreeBSD.
5292 o Tim Potter <tpot@samba.org>
5293 * BUG 1360: Use -Bsymbolic when creating shared libraries to
5294 avoid conflicts with identical symbols in the global namespace
5295 when loading libnss_wins.so.
5298 o Richard Renard <rrenard@idealx.com>
5299 * Save the current password as it is being changed into the
5300 password history list.
5303 o Richard Sharpe <rsharpe@samba.org>
5304 * Fix error return codes on some lock messages.
5305 * BUG 1178: Make the libsmbclient routines callable
5307 * BUG 1333: Make sure we return an error code when
5309 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
5310 share mode locking requests fail.
5313 o Simo Sorce <idra@samba.org>
5314 * Update Debian stable & unstable packaging.
5315 * Tidy up parametric options in testparm output.
5318 o Richard Sharpe <rsharpe@samba.org>
5319 * Add sigchild handling to winbindd to restart the child
5320 daemon if necessary.
5323 o Tom Shaw <tomisfaraway@gmail.com>
5324 * Use winbindd_fill_pwent() consistently.
5327 o Nick Thompson <nickthompson@agere.com>
5328 * Protect smbd against broken filesystems which return zero
5332 o Andrew Tridgell <tridge@samba.org>
5333 * Fixed bug in handling of timeout in socket connections.
5336 o Nick Wellnhofer <wellnhofer@aevum.de>
5337 * Prevent lp_interfaces() list from being corrupted. Fixes
5338 bug where nmbd would lose the list of network interfaces
5339 on the system and consequently shutdown.
5342 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
5343 * Fix ntlm_auth memory leaks.
5346 o Jelmer Vernooij <jelmer@samba.org>
5347 * Additional NT status to unix error mappings.
5348 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
5349 get duplicate symbol errors.
5350 * Return an error when the last command read from stdin
5352 * Prepare for better error checking in tar.
5353 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
5356 --------------------------------------------------
5358 =============================
5359 Release Notes for Samba 3.0.5
5361 =============================
5363 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
5364 the exception of correcting the two security issues outlined
5367 ######################## SECURITY RELEASE ########################
5369 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
5370 CVE ID: CAN-2004-0600, CAN-2004-0686
5371 (http://cve.mitre.org/)
5374 This is the latest stable release of Samba. This is the version
5375 that production Samba servers should be running for all current
5378 It has been confirmed that versions of Samba 3 prior to v3.0.4
5379 are vulnerable to two potential buffer overruns. The individual
5380 details are given below.
5386 Affected Versions: Samba 3.0.2 and later
5388 The internal routine used by the Samba Web Administration
5389 Tool (SWAT v3.0.2 and later) to decode the base64 data
5390 during HTTP basic authentication is subject to a buffer
5391 overrun caused by an invalid base64 character. It is
5392 recommended that all Samba v3.0.2 or later installations
5393 running SWAT either (a) upgrade to v3.0.5, or (b) disable
5394 the swat administration service as a temporary workaround.
5396 This same code is used internally to decode the
5397 sambaMungedDial attribute value when using the ldapsam
5398 passdb backend. While we do not believe that the base64
5399 decoding routines used by the ldapsam passdb backend can
5400 be exploited, sites using an LDAP directory service with
5401 Samba are strongly encouraged to verify that the DIT only
5402 allows write access to sambaSamAccount attributes by a
5403 sufficiently authorized user.
5405 The Samba Team would like to heartily thank Evgeny Demidov
5406 for analyzing and reporting this bug.
5412 Affected Versions: Samba 3.0.0 and later
5414 A buffer overrun has been located in the code used to support
5415 the 'mangling method = hash' smb.conf option. Please be aware
5416 that the default setting for this parameter is 'mangling method
5417 = hash2' and therefore not vulnerable.
5419 Affected Samba 3 installations can avoid this possible security
5420 bug by using the default hash2 mangling method. Server
5421 installations requiring the hash mangling method are encouraged
5422 to upgrade to Samba 3.0.5.
5425 ##################################################################
5427 --------------------------------------------------
5429 =============================
5430 Release Notes for Samba 3.0.4
5432 =============================
5434 Common bugs fixed in Samba 3.0.4 include:
5436 o Password changing after applying the patch described in
5437 the Microsoft KB828741 article to Windows clients.
5439 o Managing print jobs via Windows on Big-Endian servers.
5440 o Several memory leaks in winbindd and smbd.
5441 o Compile issues on AIX and *BSD.
5444 --------------------
5449 o Jeremy Allison <jra@samba.org>
5450 * Fix path processing for DeletePrinterDriverEx().
5451 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
5455 o Andrew Bartlett <abartlet@samba.org>
5456 * Fix alignment bug in GetDomPwInfo().
5459 o Alexander Bokovoy <ab@samba.org>
5460 * Fix utime[s]() issues in smbwrapper on systems
5461 that can boot both the 2.4 and 2.6 Linux kernels.
5464 o Gerald Carter <jerry@samba.org>
5465 * Fedora packaging fixes.
5466 * BUG 1302: Fix seg fault by not trying to optimize a list of
5467 invalid gids using the wrong array size.
5468 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
5469 seen when 'security = share'.
5470 * Fix problems when using IBM's compiler on AIX.
5471 * Link Developer's Guide, Example Guide, and multi-page HOWTO
5472 into SWAT's welcome page.
5473 * BUG 1293: fix double free in printer publishing code.
5476 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
5477 * Fix for handling timeouts in socket connections.
5480 o Michel Gravey <michel.gravey@optogone.com>
5481 * BUG 483: patch from to fix password hash creation in SWAT.
5484 o Volker Lendecke <vl@samba.org>
5485 * Close the open NT pipes before the tdis.
5486 * Fix AFS related build issues.
5487 * Handle error conditions when base64 encoding a blob of 0 bytes.
5490 o Herb Lewis <herb@samba.org>
5491 * Added 'acls' debug class.
5493 o kawasa_r@itg.hitachi.co.jp
5494 * Multiple variable initialization and memory leak fixes.
5497 o Stephan Kulow <coolo@suse.de>
5498 * Fix string length bug in libsmbclient that caused KDE's
5500 * BUG 429: More libsmbclient fixes.
5503 o Jim McDonough <jmcd@us.ibm.com>
5504 * BUG 1007, 1279: Store the print job using a little-endian key.
5508 o Compile fix for OpenBSD (ENOTSUP not supported).
5511 o Stefan Metzmacher <metze@samba.org>
5512 * Correct bug in disks quota views from explorer.
5515 o Tim Potter <tpot@samba.org>
5516 BUG 1305: Correct debug output.
5519 o Richard Sharpe <rsharpe@samba.org>
5520 * Fix incorrect error code mapping.
5523 o Jelmer Vernooij <jelmer@samba.org>
5524 * Add additional NT_STATUS errorm mappings.
5527 --------------------------------------------------
5529 =============================
5530 Release Notes for Samba 3.0.3
5532 =============================
5535 Common bugs fixed in Samba 3.0.3 include:
5537 o Crash bugs and change notify issues in Samba's printing code.
5538 o Honoring secondary group membership on domain member servers.
5539 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
5540 o Substitution errors for %[UuGg] in smb.conf.
5541 o winbindd crashes when using ADS security mode.
5542 o SMB signing errors.
5543 o Delays in winbindd startup caused by unnecessary
5544 connections to trusted domain controllers.
5545 o Various small memory leaks.
5546 o Winbindd failing due to expired Kerberos tickets.
5548 New features introduced in Samba 3.0.3 include:
5550 o Improved support for i18n character sets.
5551 o Support for account lockout policy based on
5552 bad password attempts.
5553 o Improved support for long password changes (>14
5554 characters) and strong password enforcement.
5555 o Support for Windows aliases (i.e. nested groups).
5556 o Experimental support for storing DOS attribute on files
5557 and folders in Extended Attributes.
5558 o Support for local nested groups via winbindd.
5559 o Specifying options to be passed directly to the CUPS libraries.
5561 Please be aware that the Samba source code repository was
5562 migrated from CVS to Subversion on April 4, 2004. Details on
5563 accessing the Samba source tree via anonymous svn can be found
5564 at http://svn.samba.org/samba/subversion.html.
5567 Changes since 3.0.2a
5568 --------------------
5572 Parameter Name Action
5573 -------------- ------
5576 only user Deprecated
5577 store dos attributes New
5579 winbind nested groups New
5585 o Jeremy Allison <jra@samba.org>
5586 * Ensure that Kerberos mutex is always properly unlocked.
5587 * Removed Heimdal "in-memory keytab" support.
5588 * Fixup the 'multiple-vuids' bugs in our server code.
5589 * Correct return code from lsa_lookup_sids() on unmapped
5590 sids (based on work by vl@samba.org).
5591 * Fix the "too many fcntl locks" scalability problem
5593 * Fixup correct (as per W2K3) returns for lookupsids
5594 as well as lookupnames.
5595 * Fixups for delete-on-close semantics as per Win2k3 behavior.
5596 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
5597 * Fix "unable to initialize" bug when smbd hasn't been run with
5598 new system and a user is being added via pdbedit/smbpasswd.
5599 * Added NTrename SMB (0xA5).
5600 * Fixup correct timeout values for blocking lock timeouts.
5601 * Fix various bugs reported by 'gentest'.
5602 * More locking fixes in the case where we own the lock.
5603 * Fix up regression in IS_NAME_VALID and renames.
5604 * Don't set allocation size on directories.
5605 * Return correct error code on fail if file exists and target
5607 * Added client "hardlink" comment to test doing NT rename with
5608 hard links. Added hardlink_internals() code - UNIX extensions
5609 now use this as well.
5610 * Use a common function to parse all pathnames from the wire for
5611 much closer emulation of Win2k3 error return codes.
5612 * Implement check_path_syntax() and rewrite string sub
5613 functions for better multibyte support.
5614 * Ensure msdfs referrals are multibyte safe.
5615 * Allow msdfs symlink syntax to be more forgiving.
5616 eg. sym_link -> msdfs://server/share/path/in/share
5617 or sym_link -> msdfs:\\server\share\path\in\share.
5618 * Cleanup multibyte netbios name support in nmbd ( based on patch
5619 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
5620 * Fix check_path_syntax() for multibyte encodings which have
5621 no '\' as second byte (based on work by ab@samba.org.
5622 * Fix the "dfs self-referrals as anonymous user" problem
5623 (based on patch from vl@samba.org).
5624 * BUG 1064: Ensure truncate attribute checking is done correctly
5625 on "hidden" dot files.
5626 * Fix bug in anonymous dfs self-referrals again.
5627 * Fix get/set of EA's in client library
5628 * Added support for OS/2 EA's in smbd server.
5629 * Added 'ea support' parameter to smb.conf.
5630 * Added 'store dos attributes' parameter to smb.conf.
5631 * Fix wildcard identical rename.
5632 * Fix reply_ctemp - make compatible with w2k3.
5633 * Fix wildcard unlink.
5634 * Fix wildcard src with wildcard dest renames.
5635 * BUG 1139: Fix based on suggestion by jdev@panix.com.
5636 swap lookups for user and group - group will do an
5637 algorithmic lookup if it fails, user won't.
5638 * Make EA's lookups case independent.
5639 * Fix SETPATHINFO in 'unix extensions' support.
5640 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
5641 the UNIX info levels, and the short case preserve names.
5644 o Timur Bakeyev <timur@com.bat.ru>
5645 * BUG 1144: only set --with-fhs when the argument is 'yes'
5646 * BUG 1152: Allow python modules to build despite libraries added
5647 to LDFLAGS instead of LDPATH.
5648 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
5651 o Craig Barratt <cbarratt@users.sourceforge.net>
5652 * BUG 389: Allow multiple exclude arguments with smbclient
5653 tar -Xr options (better support for Amanda backup client).
5656 o Andrew Bartlett <abartlet@samba.org>
5657 * Include support for linking with cracklib for enforcing strong
5659 * Add support for >14 character password changes from Windows
5661 * Add 'admin set password' capability to 'net rpc'.
5662 * Allow 'net rpc samdump' to work with any joined domain
5663 regardless of smb.conf settings.
5664 * Use an allocated buffer for count_chars.
5665 * Add sanity checks for changes in the domain SID in an
5667 * Implement python unit tests for Samba's multibyte string
5669 * Remove 'unicode' smb.conf option.
5670 * BUG 1138: Fix support for 'optional' SMB signing and other
5672 * BUG 169: Fix NTLMv2-only behavior.
5673 * Ensure 'net' honors the 'netbios name' in the smb.conf by
5675 * Support SMB signing on connections using only the LANMAN
5676 password and generate the correct the 'session key' for these
5678 * Implement --required-membership-of=, an ntlm_auth option
5679 that restricts all authentication to members of this particular
5681 * Improve our fall back code for password changes.
5682 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
5683 after the server had said something (such as an error).
5684 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
5687 o Alexander Bokovoy <ab@samba.org>
5688 * Fix incorrect size calculation of the directory name
5690 * Fix problems with very long filenames in both smbd and smbclient
5691 caused by truncating paths during character conversions.
5692 * Fix smbfs problem with Tree Disconnect issued before smbfs
5696 o Gerald Carter <jerry@samba.org>
5697 * BUG 850: Fix 'make installmodules' bug on True64.
5698 * BUG 66: mark 'only user' deprecated.
5699 * Remove corrupt tdb and shutdown (only for printing tdbs,
5700 connections, sessionid & locking).
5701 * decrement smbd counter in connections.tdb in smb_panic().
5702 * RedHat specfile updates.
5703 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
5704 * BUG 1147; bad pointer case in get_stored_queue_info()
5706 * BUG 761: read the config file before initialized default
5707 values for printing options; don't default to bsd printing
5709 * Allow the 'printing' parameter to be set on a per share basis.
5710 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
5711 * BUG 848: don't create winbind local users/groups that already
5713 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
5715 * BUG 488: fix the 'show client in col 1' button and correctly
5716 enumerate active connections.
5717 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
5718 problem when storing the updating pid for the lpq cache.
5719 * BUG 1007 (partial): Fix print change notify bugs.
5720 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
5721 and winbind use default domain = yes. Also ensures that
5722 * BUG 1151: Ensure that winbindd users are passed through
5724 * Fix client rpc binds for ASU derived servers (pc netlink,
5726 * BUG 417, 1128: Ensure that the current_user_info is set
5727 consistently so that %[UuGg] is expanded correctly.
5728 * BUG 1195: Fix crash in winbindd when the ADS server is
5730 * BUG 1185: Set reconnect time to be the same as the
5731 'winbind cache time'.
5732 * Ensure that we return the sec_desc in smb_io_printer_info_2.
5733 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
5734 * BUG 1095: Honor the '-l' option in smbclient.
5735 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
5737 * Ensure server schannel uses the auth level requested by the
5739 * Removed --with-cracklib option due to potential crash issue.
5740 * Fix -lcrypto linking problem with wbinfo.
5741 * BUG 761: allow printing parameter to set defaults on a per
5743 * Add 'cups options' parameter to allow raw printing without
5744 changing /etc/cups/cupsd.conf.
5745 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
5747 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
5748 * BUG 1288: resolve any machine netbios name (0x00) and not just
5750 * BUG 1199: Fix potential symlink issue in
5751 examples/printing/smbprint.
5754 o Robert Dahlem <Robert.Dahlem@gmx.net>
5755 * BUG 1048: Don't return short names when when 'mangled names = no'
5758 o Guenther Deschner <gd@suse.com>
5759 * Remove hard coded attribute name in the ads ranged retrieval
5761 * Add --with-libdir and --with-mandir to autoconf script.
5764 o Bostjan Golob <golob@gimb.org>
5765 * BUG 1046: Fix getpwent_list() so that the username is not
5766 overwritten by other fields.
5769 o Landon Fuller <landonf@opendarwin.org>
5770 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
5771 to fix user/group enumeration on systems whose libc does not
5772 call setgrent() before trying to enumerate users (i.e.
5776 o Steve French <sfrench@us.ibm.com>
5777 * Update mount.cifs to version 1.1.
5778 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
5779 * Fixes to minor security bug in the mount helper.
5780 * Fix credential file mounting for cifs vfs.
5781 * Fix free of incremented pointer in cifsvfs mount helper.
5782 * Fix path canonicalization of the mount target path and help
5783 text display in the cifs mount helper.
5784 * Add missing guest mount option for mount.cifs.
5787 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5788 * BUG 1055; formatting fixes for 'net share'.
5789 * BUG 692: correct truncation of share names and workgroup
5791 * BUG 1088: use strchr_m() for query_host (smbclient -L).
5792 * Patch from to internally count characters correctly.
5795 o Paul Green <paulg@samba.org>
5796 * Update VOS _POSIX_C_SOURCE macro to 200112L.
5797 * Fix bug in configure.ion by moving the first use of
5798 AC_CHECK_HEADERS so it is always executed.
5799 * Fix configure.in to only use $BLDSHARED to select whether to
5800 build static or shared libraries.
5803 o Pat Haywarrd <Pat.Hayward@propero.net>
5804 * Make the session_users list dynamic (max of 128K).
5807 o Cal Heldenbrand <calzplace@yahoo.com>
5808 * Fix for for 'pam_smbpass migrate' functionality.
5811 o Chris Hertel <crh@samba.org>
5812 * fix enumeration of shares 12 characters in length via
5816 o Ulrich Holeschak <ulrich@holeschak.de>
5817 * BUG 932: fix local password change using pam_smbpass
5820 o Krischan Jodies <kj@sernet.de>
5821 * Implement 'net rpc group delete'
5824 o John Klinger <john.klinger@lmco.com>
5825 * Return NSS_SUCCESS once the max number of gids possible
5826 has been found in initgroups() on Solaris.
5827 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
5830 o Volker Lendecke <vl@samba.org>
5831 * Fix success message for net groupmap modify.
5832 * Fix errors when enumerating members of groups in 'net rpc'.
5833 * Match Windows behavior in samr_lookup_names() by returning
5834 ALIAS(4) when you search in BUILTIN.
5835 * Fix server SAMR code to be able to set alias info for
5837 * Fix duplication of logic when creating groups via smbd.
5838 * Ensure that the HWM values are set correctly after running
5840 * Add 'net rpc group add'.
5841 * Implement 'net groupmap set' and 'net groupmap cleanup'.
5842 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
5843 * Fix wb_delgrpmem (wbinfo -o).
5844 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
5845 * Fix sambaUserWorkstations on a Samba DC.
5846 * Implement wbinfo -k: Have winbind generate an AFS token after
5847 authenticating the user.
5848 * Add expand_msdfs VFS module for providing referrals based on the
5849 the client's IP address.
5850 * Implement client side NETLOGON GetDCName function.
5851 * Fix caching of name->sid lookups.
5852 * Add support in winbindd for expanding nested local groups.
5853 * Fix memleak in winbindd.
5855 * Don't list domain groups from BUILTIN.
5856 * Fix memleak in policy handle utility functions.
5857 * Decrease winbindd startup time by only contacting trusted
5858 domains as necessary.
5859 * Allow winbindd to ask the DC for its domain for a trusted
5861 * Fix Netscape DS schema based on comments from
5862 <thomas.mueller@christ-wasser.de>.
5863 * Correct case where adding a domain user to a XP local group
5864 did a lsalookupname on the user without domain prefix, and
5866 * Fix segfault in winbindd caused by 'wbinfo -a'.
5869 o Herb Lewis <herb@samba.org>
5870 * Fix typo for tag in proto file.
5871 * Add missing #ifdef HAVE_BICONV stuff.
5872 * Truncate Samba's netbios name at the first '.' (not
5876 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
5877 * Bug fixes and enhancements to libsmbclient library.
5880 o Jianliang Lu <j.lu@tiesse.com>
5881 * Enforce the 'user must change password at next login' flag.
5882 * Decode meaning of 'fields present' flags (improves support
5885 * Don't force an upper case domain name in the ntlmssp code.
5888 o L. Lucius <ib@digicron.com>.
5892 o Jim McDonough <jmcd@us.ibm.com>
5893 * Add versioning support to tdbsam.
5894 * Update the IBM Directory Server schema with the OpenLDAP
5896 * Various decoding fixes to improve usrmgr.exe support.
5897 * Fix statfs redeclaration of statfs struct on ppc
5898 * Implement support for password lockout of Samba domain
5899 controllers and standalone servers.
5900 * Get MungedDial attribute actually working with full TS
5901 strings in it for pdb_ldap.
5902 * BUG 1208 (partial): Improvements for working with expired krb5
5903 tickets in winbindd.
5904 * Use timegm, or our already existing replacement instead of
5905 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
5906 * Remove modifyTimestamp from list of our attributes.
5907 * Fix lsalookupnames to check for domain users as well as local
5909 * Merge struct uuid replacement for GUID from trunk.
5910 * BUG 1208: Finish support for handling expired tickets in
5911 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
5914 o Stefan Metzmacher <metze@samba.org>
5915 * Implement new VERSION schema based on subversion revision
5917 * Add shadow_copy vfs module.
5918 * Fix segault in login_cache support.
5921 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
5922 o BUG 979 -- Fix quota display on AIX.
5925 o James Peach <jpeach@sgi.com>
5926 * Correct check for printf() format when using the SGI MIPSPro
5928 * BUG 1038: support backtrace for 'panic action' on IRIX.
5929 * BUG 768: Accept profileing arg to IRIX init script.
5930 * BUG 748: Relax arg parsing to sambalp script (IRIX).
5931 * BUG 758: Fix pdma build.
5932 * Search IRIX ABI paths for libiconv. Based on initial fix from
5936 o Kurt Pfeifle <kpfeifle@danka.de>
5937 * Add example shell script for migrating drivers and printers
5938 from a Windows print server to a Samba print server using
5939 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
5942 o Tim Potter <tpot@samba.org>
5943 * Fix logic bug in tdb non-blocking lock routines when
5945 * BUG 1025: Include sys/acl.h in check for broken nisplus
5947 * BUG 1066: s/printf/d_printf/g in SWAT.
5948 * BUG 1098: rename internal msleep() function to fix build
5950 * BUG 1112: Fix for writable printerdata problem in python bindings.
5951 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
5952 * BUG 1155: enclose use of fchown() with guards.
5953 * Relicense tdb python module as LGPL.
5956 o Richard Sharpe <rsharpe@samba.org>
5957 * Add support to smbclient for multiple logins on the same
5958 session (based on work by abartlet@samba.org).
5959 * Correct blocking condition in smbd's use of accept() on IRIX.
5960 * Add support for printing out the MAC address on nmblookup.
5963 o Simo Sorce <idra@samba.org>
5964 * Replace unknown_3 with fields_present in SAMR code.
5965 * More length checks in strlcat().
5968 o Andrew Tridgell <tridge@samba.org>
5969 * Rewrote the AIX UESS backend for winbindd.
5970 * Fixed compilation with --enable-dmalloc.
5971 * Change tdb license to LGPL (see source/tdb/tdb.c).
5972 * Force winbindd to use schannel in clients connections to
5976 o Jelmer Vernooij <jelmer@samba.org>
5977 * Fix ETA Calculation when resuming downloads in smbget.
5978 * Add -O (for writing downloaded files to standard out)
5979 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
5980 * Fix syntax error in example mysql table
5983 o TAKEDA yasuma <yasuma@miraclelinux.com>
5984 * BUG 900: fix token processing in cmd_symlink, cmd_link,
5985 cmd_chown, cmd_chmod smbclient functions.
5988 o Shiro Yamada <shiro@miraclelinux.com>
5989 * BUG 1129: install image files for SWAT.
5992 --------------------------------------------------
5994 ==============================
5995 Release Notes for Samba 3.0.2a
5997 ==============================
5999 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6000 to address, in particular, a problem when using pdbedit to
6001 sanitize (--force-initialized-passwords) Samba's tdbsam
6002 backend. This is the latest stable release of Samba. This
6003 is the version that all production Samba servers should be
6004 running for all current bug-fixes.
6006 ******************* Attention! Achtung! Kree! *********************
6008 Beginning with Samba 3.0.2, passwords for accounts with a last
6009 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6010 ldapsam, etc...) of zero (0) will be regarded as uninitialized
6011 strings. This will cause authentication to fail for such
6012 accounts. If you have valid passwords that meet this criteria,
6013 you must update the last change time to a non-zero value. If you
6014 do not, then 'pdbedit --force-initialized-passwords' will disable
6015 these accounts and reset the password hashes to a string of X's.
6017 ******************* Attention! Achtung! Kree! *********************
6026 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6027 details. The list of changes per contributor are as follows:
6030 o Jeremy Allison <jra@samba.org>
6031 * Added paranoia checks in parsing code.
6034 o Andrew Bartlett <abartlet@samba.org>
6035 * Ensure that changes to uninitialized passwords in ldapsam
6036 are written to the DIT.
6039 o Gerald (Jerry) Carter <jerry@samba.org>
6040 * Fixed iterator in tdbsam.
6041 * Fix bug that disabled accounts with a valid NT password
6042 hash, but no LanMan hash.
6045 o Steve French <sfrench@us.ibm.com>
6046 * Added missing nosetuid and noexec options.
6049 o Bostjan Golob <golob@gimb.org>
6050 * BUG 1046: Don't overwrite usernames of entries returned
6054 o Sebastian Krahmer <krahmer@suse.de>
6055 * Fixed potential crash bug in NTLMSSP parsing code.
6058 o Tim Potter <tpot@samba.org>
6059 * Fixed logic in tdb_brlock error checking.
6062 o Urban Widmark <urban@teststation.com>
6063 * Set nosuid,nodev flags in smbmnt by default.
6066 --------------------------------------------------
6068 =============================
6069 Release Notes for Samba 3.0.2
6071 =============================
6073 It has been confirmed that previous versions of Samba 3.0 are
6074 susceptible to a password initialization bug that could grant an
6075 attacker unauthorized access to a user account created by the
6076 mksmbpasswd.sh shell script.
6078 The Common Vulnerabilities and Exposures project (cve.mitre.org)
6079 has assigned the name CAN-2004-0082 to this issue.
6081 Samba administrators not wishing to upgrade to the current
6082 version should download the 3.0.2 release, build the pdbedit
6085 root# pdbedit-3.0.2 --force-initialized-passwords
6087 This will disable all accounts not possessing a valid password
6088 (e.g. the password field has been set a string of X's).
6090 Samba servers running 3.0.2 are not vulnerable to this bug
6091 regardless of whether or not pdbedit has been used to sanitize
6094 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
6097 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
6098 o Logging onto a Samba domain from Windows XP clients.
6099 o Problems with the %U and %u smb.conf variables in relation to
6100 Windows 9x/ME clients.
6101 o Kerberos failures due to an invalid in memory keytab detection
6103 o Updates to the ntlm_auth tool.
6104 o Fixes for various SMB signing errors.
6105 o Better separation of WINS and DNS queries for domain controllers.
6106 o Issues with nss_winbind FreeBSD and Solaris.
6107 o Several crash bugs in smbd and winbindd.
6108 o Output formatting fixes for smbclient for better compatibility
6109 with scripts based on the 2.2 version.
6118 Parameter Name Action
6119 -------------- ------
6120 ldap replication sleep New
6121 read size removed (unused)
6122 source environment removed (unused)
6128 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6129 details. The list of changes per contributor are as follows:
6131 o Jeremy Allison <jra@samba.org>
6132 * Revert change that broke Exchange clear text samlogons.
6133 * Fix gcc 3.4 warning in MS-DFS code.
6134 * Tidy up of NTLMSSP code.
6135 * Fixes for SMB signing errors
6136 * BUG 815: Workaround NT4 bug to support plaintext
6137 password logins and UNICODE.
6138 * Fix SMB signing bug when copying large files.
6139 * Correct error logic in mkdir_internals() (caused a panic
6140 when combined with --enable-developer).
6141 * BUG 830: Protect against crashes due to bad character
6145 o Petri Asikainen <paca@sci.fi>
6146 * BUG 330, 387:Fix single valued attribute updates when
6147 working with Novell NDS.
6150 o Andrew Bartlett <abartlet@samba.org>
6151 * Correctly handle per-pipe NTLMSSP inside a NULL session.
6152 * Fix segfault in gencache
6153 * Fix early free() of encrypted_session_key.
6154 * Change DC lookup routines to more carefully separate
6155 DNS names (realms) from NetBIOS domain names.
6156 * Add new sid_to_dn() function for internal winbindd use.
6157 * Refactor cli_ds_enum_domain_trusts().
6158 * BUG 707: Implement range retrieval of ADS attributes (based
6159 on work from Volker <vl@samba.org> and Guenther Deschner
6161 * Automatically initialize the signing engine if a session key
6163 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
6164 encoded strings, only form input in SWAT.
6165 * Resets the NTLMSSP state for new negotiate packets.
6166 * Add 2-byte alignments in net_samlogon() queries to parse
6167 odd-length plain text passwords.
6168 * Allow Windows groups with no members in winbindd.
6169 * Allow normal authentication in the absence of a server
6170 generated session key.
6171 * More optimizations for looking up UNIX group lists.
6172 * Clean up error codes and return values for pam_winbindd
6173 and winbindd PAM interface.
6174 * Fix string return values in ntlm_auth tool.
6175 * Fix segfault when 'security = ads' but no realm is defined.
6176 * BUG 722: Allow winbindd to map machine accounts to uids.
6177 * More cleanups for winbindd's find_our_domain().
6178 * More clearly detect whether a domain controller is an NT4
6179 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
6180 * Increase separation between DNS queries for hosts and queries
6181 for AD domain controllers.
6182 * Include additional NT_STATUS to PAM error mappings.
6183 * Password initialization fixes.
6186 o Justin Baugh <justin.baugh@request.com>
6187 * BUG 948: Implement missing functions required for FreeBSD
6188 nss_winbind support.
6191 o Alexander Bokovoy <ab@samba.org>
6192 * BUG 922: Make sure enable fast path for strlower_m() and
6196 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
6197 * Fix crash when using 'security = server' and 'encrypt
6198 passwords = no' by always initializing the session key.
6201 o Dmitry Butskoj <buc@odusz.elektra.ru>
6202 * Fix for special files being hidden from admins.
6205 o Gerald (Jerry) Carter <jerry@samba.org>
6206 * Fix bug in the lanman session key generation. Caused
6207 "decode_pw: incorrect password length" error messages.
6208 * Save the right case for the located user name in
6209 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
6210 * BUG 897: Add well known rid for pre win2k compatible access
6212 * BUG 887: Correct typo in delete user script example.
6213 * Use short lived TALLOC_CTX* for allocating printer objects
6214 from the print handle cache.
6215 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
6216 * Fix several warnings reported by the SUN Forte C compiler.
6217 * Fully control DNS queries for AD DC's using 'name resolve order'.
6218 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
6219 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
6220 * BUG 936: fix bind credentials for schannel binds in smbd.
6221 * BUG 446: Fix output of smbclient for better compatibility
6222 with scripts based on the 2.2 version (including Amanda).
6223 * BUG 891, 949: Fedora packaging fixes.
6224 * Fix bug that caused rpcclient to incorrectly retrieve
6225 the SID for a server (this causing all calls that required
6226 this information to fail).
6227 * BUG 977: Don't create a homes share for a user if a static
6228 share already exists by the same name.
6229 * Removed unused smb.conf options.
6230 * Password initialization fixes.
6231 * Set the disable flag for template accounts created by
6233 * Disable any account has no passwords and does not have the
6234 ACB_PWNOTREQ bit set.
6237 o Guenther Deschner <gd@suse.com>
6238 * Install smbwrapper.so should be put into the $(libdir)
6240 * Add the capability to specify the new user password
6241 for "net ads password" on the command line.
6242 * Correctly detect AFS headers on SuSE.
6245 o James Flemer <jflemer@uvm.edu>
6246 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
6247 HAVE_SYS_ATTRIBUTES_H.
6250 o Luke Howard <lukeh@PADL.COM>
6251 * Fix segfault in session setup reply caused by a early free().
6254 o Stoian Ivanov <sdr@bultra.com>
6255 * Implement grepable output for smbclient -L.
6258 o LaMont Jones <lamont@debian.org>
6259 * BUG 225328 (Debian): Correct false failure LFS test that resulted
6260 in _GNU_SOURCE not being defined (thus resulting in strndup()
6264 o Volker Lendecke <vl@samba.org>
6265 * BUG 583: Ensure that user names always contain the short
6266 version of the domain name.
6267 * Fix our parsing of the LDAP uri.
6268 * Don't show the 'afs username map' in the SWAT basic view.
6269 * Fix SMB signing issues in relation to failed NTLMSSP logins.
6270 * BUG 924: Fix return codes in smbtorture harness.
6271 * Always lower-case usernames before handing it to AFS code.
6272 * Add a German translation for SWAT.
6273 * Fix a segfaults in winbindd.
6274 * Fix the user's domain passed to register_vuid() from
6275 reply_spnego_Kerberos().
6276 * Add NSS example code in nss_winbind to convert UNIX
6277 id's <-> Windows SIDs.
6278 * Display more descriptive error messages for login via 'net'.
6279 * Fix compiler warning in the net tool.
6280 * Fix length bug when decoding base64 strings.
6281 * Ensure we don't call getpwnam() inside a loop that is iterating
6282 over users with getpwent(). This broke on glibc 2.3.2.
6285 o Herb Lewis <herb@samba.org>
6286 * Fix bit rot in psec.
6289 o Jianliang Lu <j.lu@tiesse.com>
6290 * Ensure we delete the group mapping before calling the delete
6292 * Define well known RID for managing the "Power Users" group.
6293 * BUG 381: check builtin (not local) group SID when updating
6295 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
6299 o John Klinger <john.klinger@lmco.com>
6300 * Implement initgroups() call in nss_winbind on Solaris.
6303 o Jim McDonough <jmcd@us.ibm.com>
6304 * Fix regression in net rpc join caused by recent changes
6305 to cli_lsa_query_info_policy().
6306 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
6310 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
6311 * BUG 570: Ensure that configure honors the LDFLAGS variable.
6314 o Stefan Metzmacher <metze@samba.org>
6315 * Implement LDAP rebind sleep patch.
6316 * Revert to 2.2 quota code because of so many broken quota files
6318 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
6319 XFS_USER_QUOTA -> USRQUOTA
6320 XFS_GROUP_QUOTA -> GRPQUOTA
6321 * Fix disk_free calculation with group quotas.
6322 * Add debug class 'quota' and a lot of DEBUG()'s
6324 * Fix sys_chown() when no chown() is present.
6325 * Add SIGABRT to fault handling in order to catch got a
6326 backtrace if an error occurs the OpenLDAP client libs.
6330 * Allow an existing LDAP machine account to be re-used when
6331 joining an AD domain.
6334 o James Peach <jpeach@sgi.com>
6335 * BUG 889: Change smbd to use pread/pwrite on platforms that
6336 support these calls. Can lead to a significant speed increase.
6339 o Tim Potter <tpot@samba.org>
6340 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
6341 * BUG 924: Fix typo in RW2 torture test.
6344 o Richard Sharpe <rsharpe@samba.org>
6345 * Small fixes to torture.c to cleanup the error handling
6346 and prevent crashes.
6349 o J. Tournier <jerome.tournier@IDEALX.com>
6350 * Small fixes for the smbldap-tool scripts.
6353 o Andrew Tridgell <tridge@samba.org>
6354 * Fix src len check in pull_usc2().
6357 o Jelmer Vernooij <jelmer@samba.org>
6358 * Put functions for generating SQL queries in pdb_sql.c
6359 * Add pgSQL backend (based on patch by Hamish Friedlander)
6360 * BUG 908: Fix -s option to smbcontrol.
6361 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
6362 * Fix for libnss_wins on IRIX platforms.
6363 * Fix swatdir for --with-fhs.
6366 --------------------------------------------------
6368 =============================
6369 Release Notes for Samba 3.0.1
6371 =============================
6373 Some of the more common bugs in 3.0.0 addressed in the release
6376 o Substitution problems with smb.conf variables.
6377 o Errors in return codes which caused some applications
6378 to fail to open files.
6379 o General Protection Faults on Windows 2000/XP clients
6380 using Samba point-n-print features.
6381 o Several miscellaneous crash bugs.
6382 o Access problems when enumerating group mappings are
6383 stored in an LDAP Directory.
6384 o Several common SWAT bugs when writing changes to
6386 o Internal inconsistencies when 'winbind use default
6392 ----------------------
6394 Parameter Name Action
6395 -------------- ------
6396 hide local users Removed
6397 mangled map Deprecated
6398 mangled stack Removed
6399 passwd chat timeout New
6405 o Change the interface for init_unistr2 to not take a length
6406 but a flags field. We were assuming that
6407 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
6408 o Allow d_printf() to handle strings with escaped quotation
6409 marks since the msg file includes the escape character (bug 489).
6410 o Fix bad html table row termination in SWAT wizard code (bug 413).
6411 o Fix to parse the level-2 strings.
6412 o Fix for "valid users = %S" in [homes]. Fix read/write
6414 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
6415 This is the same way AC_CHECK_LIB works (bug 508).
6416 o Testparm output fixes for clarity.
6417 o Fix broken wins hook functionality -- i18n bug (bug 528).
6418 o Take care of condition where DOS and NT error codes must differ.
6419 o Default to using only built-in charsets when a working iconv
6420 implementation cannot be located.
6421 o Wrap internals of sys_setgroups() so the sys_XX() call can
6422 be done unconditionally (bug 550).
6423 o Remove duplicate smbspool link on SWAT's front page (bug 541).
6424 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
6425 --enable-debug=[yes|no] works correctly.
6426 o Allow ^C to interrupt smbpasswd if using our getpass
6427 (e.g. smbpasswd command).
6428 o Support signing only on RPC's (bug 167).
6429 o Correct bug that prevented Excel 2000 clients from opening
6430 files marked as read-only.
6431 o Portability fix bugs 546 - 549).
6432 o Explicitly initialize the value of AR for vendor makes that don't
6433 do this (e.g. HPUX 11). (bug 552).
6434 o More i18n fixes for SWAT (bug 413).
6435 o Change the cwd before the postexec script to ensure that a
6436 umount will succeed.
6437 o Correct double free that caused winbindd to crash when a DC
6438 is rebooted (bug 437).
6439 o Fix incorrect mode sum (bug 562).
6440 o Canonicalize SMB_INFO_ALLOCATION in the same was as
6441 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
6442 o Add script to generate *msg files.
6443 o Add Dutch SWAT translation file.
6444 o Make sure to call get_user_groups() with the full winbindd
6445 name for a user if he/she has one (bug 406).
6446 o Fix up error code returns from Samba4 tester. Ensure invalid
6447 paths are validated the same way.
6448 o Allow Samba3 to pass the Samba4 RAW-READ tests.
6449 o Refuse to configure if --with-expsam=$BACKEND was used but no
6450 libraries were found for $BACKEND.
6451 o Move sysquotas autoconf tests to a separate file.
6452 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
6454 o Make sure that the files that contain the static_init_$subsystem;
6455 macro get recompiled after configure by removing the object
6457 o Ensure canceling a blocking lock returns the correct error
6459 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
6460 o Updated Japanese welcome file in SWAT.
6461 o Fix to nt-time <-> unix-time functions reversible.
6462 o Ensure that winbindd uses the the escaped DN when querying
6464 o Fix portability issues when compiling (bug 505, 550)
6465 o Compile fix for tdbbackup when Samba needs to override
6466 non-C99 compliant implementations of snprintf().
6467 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
6468 o Make sure we break out of samsync loop on error.
6469 o Ensure error code path doesn't free unmalloc()'d memory
6471 o Add configure test for krb5_keytab_entry keyblock vs key
6474 o Modified testparm so that all output so all debug output goes
6475 to stderr, and all file processing goes to stdout.
6476 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
6478 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
6479 we have a devmode before copying a string to the devicename.
6480 o Support mapping REALM.COM\user to a local user account (without
6481 running winbindd) for compatibility with 2.2.x release.
6482 o Ensure we don't use mmap() on blacklisted systems.
6483 o fixed a number of bugs and memory leaks in the AIX
6485 o Call initgroups() in SWAT before becomming the user so that
6486 secondary group permissions can be used when writing to
6488 o Fix signing problems when reverse connecting back to a
6489 client for printer notify
6490 o Fix signing problems caused by a miss-sequence bug.
6491 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
6492 Fixes NEXUS tools running on Win9x clients (bug 64).
6493 o Don't leave the domain field uninitialized in cli_lsa.c if some
6494 SID could not be mapped.
6495 o Fix segfault in mount.cifs helper when there is no options
6496 specified during mount.
6497 o Change the \n after the password prompt to go to tty instead
6498 of stdout (bug 668).
6499 o Stop net -P from prompting for machine account password (bug 451).
6500 o Change in behavior to Not only change the effective uid but also
6501 the real uid when becoming unprivileged.
6502 o Cope with Exchange 5.5 cleartext pop password auth.
6503 o New files for support of initshutdown pipe. Win2k doesn't
6504 respond properly to all requests on the winreg pipe, so we need
6505 to handle this new pipe (bug 534).
6506 o Added more va_copy() checks in configure.in.
6507 o Include fixes for libsmbclient build problems.
6508 o Missing UNIX -> DOS codepage conversion in lanman.c.
6509 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
6510 o Parameterize the listen backlog in smbd and make it larger by
6511 default. A backlog of 5 is way too small these days.
6512 o Check for an invalid fid before dereferencing the fsp pointer
6514 o Remove invalid memory frees and return codes in pdb_ldap.c.
6515 o Prompt for password when invoking --set-auth-user and no
6517 o Bind the nmbd sending socket to the 'socket address'.
6518 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
6519 $LDFLAGS occurs before any library specification (bug 661).
6520 o Fix large number of printf() calls for 64-bit size_t.
6521 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
6522 keyblock in the krb5 structs.
6523 o Remove #include <compat.h> in hopes to avoid problems with
6524 apache header files.
6525 o Correct winbindd build problems on HP-UX 11.
6526 o Lowercase netgroups lookups (bug 703).
6527 o Use the actual size of the buffer in strftime instead of a made
6528 up value which just happens to be less than sizeof(fstring).
6530 o Add ldaplibs to pdbedit link line (bug 651).
6531 o Fix crash bug in smbclient completion (bug 659).
6532 o Fix packet length for browse list reply (bug 771).
6533 o Fix coredump in cli_get_backup_list().
6534 o Make sure that we expand %N (bug 612).
6535 o Allow rpcclient adddriver command to specify printer driver
6537 o Compile tdbdump by default.
6538 o Apply patches to fix iconv detection for FreeBSD.
6539 o Do not allow the 'guest account' to be added to a passdb backend
6540 using smbpasswd or pdbedit (bug 624).
6541 o Save LDFLAGS during iconv detection (bug 57).
6542 o Run krb5 logins through the username map if the winbindd
6543 lookup fails (bug 698).
6544 o Add const for lp_set_name_resolve_order() to avoid compiler
6546 o Add support for the %i macro in smb.conf to stand in for the for
6547 the local IP address to which a client connected.
6548 o Allow winbindd to match local accounts to domain SID when
6549 'winbind trusted domains only = yes' (bug 680).
6550 o Remove code in idmap_ldap that searches the user suffix and group
6551 suffix. It's not needed and provides inconsistent functionality
6552 from the tdb backend.
6553 o Patch to handle munged dial string for Windows 2000 TSE.
6554 Thanks to Gaz de France, Direction de la Recherche, Service
6555 Informatique Métier for their supporting this work by Aurelien
6556 Degrémont <adegremont@idealx.com>.
6557 o Correct the "smbldap_open: cannot access when not root error"
6558 messages when looking up group information (bug 281).
6559 o Skip over the winbind separator when looking up a user.
6560 This fixes the bug that prevented local users from
6561 matching an AD user when not running winbindd (bug 698).
6562 o Fix a problem with configure on *BSD systems. Make sure
6563 we add -liconv etc to LDFLAGS.
6564 o Fix core dump bug when "security = server" and the authentication
6566 o Correct crash bug due to an empty munged dial string.
6567 o Show files locked by a specific user (smbstatus -u 'user')
6569 o Fix bug preventing print jobs from display in the queue
6570 monitor used by Windows NT and later clients (bug 660).
6571 o Fix several reported problems with point-n-print from
6572 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
6573 reply (bug 338, 527 & 643).
6574 o Fix a handful of potential memory leaks in the LDAP code used
6575 by ldapsam[_compat] and the LDAP idmap backend.
6576 o Fix for pdbedit error code returns (bug 763).
6577 o Make sure we only enumerate group mapping entries (not
6578 /etc/group) even when doing local aliases.
6579 o Relax check on the pipe name in a dce/rpc bind response to work
6580 around issues with establishing trusts to a Windows 2003 domain.
6581 o Ensure we mangle names ending in '.' in hash2 mangling method.
6582 o Correct parsing issues with munged dial string.
6583 o Fix bugs in quota support for XFS.
6584 o Add a cleaner method for applications that need to provide
6585 name->SID mappings to do this via NSS rather than having to
6586 know the winbindd pipe protocol.
6587 o Adds a variant of the winbindd_getgroups() call called
6588 winbindd_getusersids() that provides direct SID->SIDs listing of
6589 a users supplementary groups. This is enough to allow non-Samba
6590 applications to do ACL checking.
6591 o Make sure we don't append the 'ldap suffix' when writing out the
6592 'ldap XXX suffix' values in SWAT (bug 328).
6593 o Fix renames across file systems.
6594 o Ensure that items in a list of strings containing whitespace are
6595 written out surrounded by single quotes. This means that both
6596 double and single quotes are now used to surround strings in
6598 o Enable SWAT to correctly determine if winbindd is running (bug
6600 o Include WWW-Authenticate field in 401 response for bad auth
6602 o Add support for NTLM2 (NTLMv2 session security).
6603 o Add support for variable-length session keys.
6604 o More privilege fixes for group enumeration in LDAP (bug 281).
6605 o Use the dns name (or IP) as the originating client name when
6606 using CUPS (bug 467).
6607 o Fix various SMB signing bugs.
6608 o Fix ACL propagation on a DFS root (bug 263).
6609 o Disable NTLM2 for RPC pipes.
6610 o Allow the client to specify the NTLM2 flags got NTLMSSP
6612 o Change the name of the job passed off to cups from "Test Page"
6613 to "smbprn.00000033 Test Page" so that we can get the smb
6614 jobid back. This allow users to delete jobs with cups printing
6615 backend (partial work on bug 770).
6616 o Fix build of winbindd with static pdb modules.
6617 o Retrieve the correct ACL group bits if the file has an ACL
6619 o Implement "net rpc group members": Get members of a domain group
6620 in human-readable format.
6621 o Add MacOSX (Darwin) specific charset module code.
6622 o Use samr_dispinfo(level == 1) for enumerating domain users so we
6623 can include the full name in gecos field (bug 587).
6624 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
6625 o Implement 'net rpc group list [global|local|builtin]*' for a
6626 select listing of the respective user databases.
6627 o Don't automatically set NT status code flag unless client tells
6629 o Add 'net status [sessions|shares] [parseable]'.
6630 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
6632 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
6634 o Fix inverted logic in hosts allow/deny checks caused by
6635 s/strcmp/strequal/ (bug 846).
6636 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
6637 o Fix typo in 'hash' mangling algorithm.
6638 o Support munged dial for ldapsam (bug 800).
6639 o Fix process_incoming_data() to return the number of bytes handled
6640 this call whether we have a complete PDU or not; fixes bug
6641 with multiple PDU request rpc's broken over SMBwriteX calls
6643 o Fix incorrect smb flags2 for connections to pre-NT servers
6644 (causes smbclient to fail to OS2 for example) (bug 821).
6645 o Update version string in smbldap-tools Makefile to 0.8.2.
6646 o Correct a problem with "net rpc vampire" mis-parsing the
6647 alias member info reply.
6648 o Ensure the ${libdir} is created by the installclientlib script.
6649 o Fix detection of Windows 2003 client architecture in the smb.conf
6651 o Ensure that smbd calls the add user script for a missing UNIX
6652 user on Kerberos auth call (bug 445).
6653 o Fix bugs in hosts allow/deny when using a mismatched
6654 network/netmask pair.
6655 o Protect alloc_sub_basic() from crashing when the source string
6656 is NULL (partial work on bug 687).
6657 o Fix spinlocks on IRIX.
6658 o Corrected some bad destination paths when running "configure
6660 o Add packaging files for Fedora Core 1.
6661 o Correct bug in SWAT install script for non-english languages.
6662 o Support character set ISO-8859-1 internally (bug 558).
6663 o Fixed more LDAP access errors when looking up group mappings
6665 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
6666 resolution to fail on local files on on domain members
6668 o Fix uninitialized variable in passdb.c.
6669 o Fix formal parameter type in get_static() in nsswitch/wins.c.
6670 o Fix problem mounting directories when mount.cifs is installed
6671 with the setuid bit on.
6672 o Fix bug that prevent --mandir from overriding the defaults
6673 given in the --with-fhs macro.
6674 o Fix bug in in-memory Kerberos keytab detection routines
6679 ######################################################################
6681 The original 3.0.0 release notes follow
6682 =======================================
6683 WHATS NEW IN Samba 3.0.0
6685 =======================================
6691 1) Active Directory support. Samba 3.0 is now able to
6692 join a ADS realm as a member server and authenticate
6693 users using LDAP/Kerberos.
6695 2) Unicode support. Samba will now negotiate UNICODE on the wire
6696 and internally there is now a much better infrastructure for
6697 multi-byte and UNICODE character sets.
6699 3) New authentication system. The internal authentication system
6700 has been almost completely rewritten. Most of the changes are
6701 internal, but the new auth system is also very configurable.
6703 4) New default filename mangling system.
6705 5) A new "net" command has been added. It is somewhat similar to
6706 the "net" command in windows. Eventually we plan to replace
6707 numerous other utilities (such as smbpasswd) with subcommands
6710 6) Samba now negotiates NT-style status32 codes on the wire. This
6711 improves error handling a lot.
6713 7) Better Windows 2000/XP/2003 printing support including publishing
6714 printer attributes in active directory.
6716 8) New loadable module support for passdb backends and character
6719 9) New default dual-daemon winbindd support for better performance.
6721 10) Support for migrating from a Windows NT 4.0 domain to a Samba
6722 domain and maintaining user, group and domain SIDs.
6724 11) Support for establishing trust relationships with Windows NT 4.0
6727 12) Initial support for a distributed Winbind architecture using
6728 an LDAP directory for storing SID to uid/gid mappings.
6730 13) Major updates to the Samba documentation tree.
6732 14) Full support for client and server SMB signing to ensure
6733 compatibility with default Windows 2003 security settings.
6735 15) Improvement of ACL mapping features based on code donated by
6736 Andreas Grünbacher.
6739 Plus lots of other improvements!
6742 Additional Documentation
6743 ------------------------
6745 Please refer to Samba documentation tree (included in the docs/
6746 subdirectory) for extensive explanations of installing, configuring
6747 and maintaining Samba 3.0 servers and clients. It is advised to
6748 begin with the Samba-HOWTO-Collection for overviews and specific
6749 tasks (the current book is up to approximately 400 pages) and to
6750 refer to the various man pages for information on individual options.
6752 We are very glad to be able to include the second edition of
6753 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
6754 (O'Reilly & Associates) in this release. The book is available
6755 on-line at http://samba.org/samba/docs/ and is included with
6756 the Samba Web Administration Tool (SWAT). Thanks to the authors and
6757 publisher for making "Using Samba" under the GNU Free Documentation
6761 ######################################################################
6762 Upgrading from a previous Samba 3.0 beta
6763 ########################################
6765 Beginning with Samba 3.0.0beta3, the RID allocation functions
6766 have been moved into winbindd. Previously these were handled
6767 by each passdb backend. This means that winbindd must be running
6768 to automatically allocate RIDs for users and/or groups. Otherwise,
6769 smbd will use the 2.2 algorithm for generating new RIDs.
6771 If you are using 'passdb backend = tdbsam' with a previous Samba
6772 3.0 beta release (or possibly alpha), it may be necessary to
6773 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
6774 to winbindd_idmap.tdb. To do this:
6776 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
6778 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
6780 3) run: (note that 'tdb>' is the tool's prompt for input)
6782 root# ./tdbtool /usr/local/samba/private/passdb.tdb
6783 tdb> show RID_COUNTER
6787 [000] 0A 52 00 00 .R.
6789 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
6793 If you are using 'passdb backend = ldapsam', it will be necessary to
6794 store idmap entries in the LDAP directory as well (i.e. idmap backend
6795 = ldap). Refer to the 'net idmap' command for more information on
6796 migrating SID<->UNIX id mappings from one backend to another.
6798 If the RID_COUNTER record does not exist, then these instructions are
6799 unneccessary and the new RID_COUNTER record will be correctly generated
6804 ########################
6805 Upgrading from Samba 2.2
6806 ########################
6808 This section is provided to help administrators understand the details
6809 involved with upgrading a Samba 2.2 server to Samba 3.0.
6815 Many of the options to the GNU autoconf script have been modified
6816 in the 3.0 release. The most noticeable are:
6818 * removal of --with-tdbsam (is now included by default; see section
6819 on passdb backends and authentication for more details)
6821 * --with-ldapsam is now on used to provided backward compatible
6822 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
6823 backend and authentication section for more details
6825 * inclusion of non-standard passdb modules may be enabled using
6826 --with-expsam. This includes an XML backend and a mysql backend.
6828 * removal of --with-msdfs (is now enabled by default)
6830 * removal of --with-ssl (no longer supported)
6832 * --with-utmp now defaults to 'yes' on supported systems
6834 * --with-sendfile-support is now enabled by default on supported
6841 This section contains a brief listing of changes to smb.conf options
6842 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
6843 complete descriptions of new or modified parameters.
6845 Removed Parameters (order alphabetically):
6848 * alternate permissions
6851 * code page directory
6853 * domain admin group
6854 * domain guest group
6855 * force unknown acl user
6861 * printer driver file
6862 * printer driver location
6864 * source environment
6872 New Parameters (new parameters have been grouped by function):
6876 * abort shutdown script
6879 User and Group Account Management
6880 ---------------------------------
6882 * add machine script
6883 * add user to group script
6884 * algorithmic rid base
6885 * delete group script
6886 * delete user from group script
6888 * set primary group script
6894 * passwd chat timeout
6898 * client lanman auth
6899 * client NTLMv2 auth
6905 * paranoid server security
6914 * hide special files
6915 * hide unwriteable files
6917 * kernel change notify
6927 * max reported print jobs
6929 UNICODE and Character Sets
6930 --------------------------
6936 SID to uid/gid Mappings
6937 -----------------------
6941 * winbind enable local accounts
6942 * winbind trusted domains only
6943 * template primary group
6944 * enable rid algorithm
6951 * ldap machine suffix
6953 * ldap replication sleep
6956 General Configuration
6957 ---------------------
6961 Modified Parameters (changes in behavior):
6963 * encrypt passwords (enabled by default)
6964 * mangling method (set to 'hash2' by default)
6967 * restrict anonymous (integer value)
6968 * security (new 'ads' value)
6969 * strict locking (enabled by default)
6970 * unix extensions (enabled by default)
6971 * winbind cache time (increased to 5 minutes)
6972 * winbind uid (deprecated in favor of 'idmap uid')
6973 * winbind gid (deprecated in favor of 'idmap gid')
6979 This section contains brief descriptions of any new databases
6980 introduced in Samba 3.0. Please remember to backup your existing
6981 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
6982 upgrade databases as they are opened (if necessary), but downgrading
6983 from 3.0 to 2.2 is an unsupported path.
6985 Name Description Backup?
6986 ---- ----------- -------
6987 account_policy User policy settings yes
6988 gencache Generic caching db no
6989 group_mapping Mapping table from Windows yes
6990 groups/SID to unix groups
6991 winbindd_idmap ID map table from SIDS to UNIX yes
6993 namecache Name resolution cache entries no
6994 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
6995 returned as part of a successful
6996 net_sam_logon request
6997 printing/*.tdb Cached output from 'lpq no
6998 command' created on a per print
7000 registry Read-only samba registry skeleton no
7001 that provides support for exporting
7002 various db tables via the winreg RPCs
7008 The following issues are known changes in behavior between Samba 2.2 and
7009 Samba 3.0 that may affect certain installations of Samba.
7011 1) When operating as a member of a Windows domain, Samba 2.2 would
7012 map any users authenticated by the remote DC to the 'guest account'
7013 if a uid could not be obtained via the getpwnam() call. Samba 3.0
7014 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
7015 current work around to re-establish the 2.2 behavior.
7017 2) When adding machines to a Samba 2.2 controlled domain, the
7018 'add user script' was used to create the UNIX identity of the
7019 machine trust account. Samba 3.0 introduces a new 'add machine
7020 script' that must be specified for this purpose. Samba 3.0 will
7021 not fall back to using the 'add user script' in the absence of
7022 an 'add machine script'
7025 ######################################################################
7026 Passdb Backends and Authentication
7027 ##################################
7029 There have been a few new changes that Samba administrators should be
7030 aware of when moving to Samba 3.0.
7032 1) encrypted passwords have been enabled by default in order to
7033 inter-operate better with out-of-the-box Windows client
7034 installations. This does mean that either (a) a samba account
7035 must be created for each user, or (b) 'encrypt passwords = no'
7036 must be explicitly defined in smb.conf.
7038 2) Inclusion of new 'security = ads' option for integration
7039 with an Active Directory domain using the native Windows
7040 Kerberos 5 and LDAP protocols.
7042 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
7043 type which is neccessary for servers on which the
7044 administrator password has not been changed, or Kerberos-enabled
7045 SMB connections to servers that require Kerberos SMB signing.
7046 Besides this one difference, either MIT or Heimdal Kerberos
7047 distributions are usable by Samba 3.0.
7050 Samba 3.0 also includes the possibility of setting up chains
7051 of authentication methods (auth methods) and account storage
7052 backends (passdb backend). Please refer to the smb.conf(5)
7053 man page for details. While both parameters assume sane default
7054 values, it is likely that you will need to understand what the
7055 values actually mean in order to ensure Samba operates correctly.
7057 The recommended passdb backends at this time are
7059 * smbpasswd - 2.2 compatible flat file format
7060 * tdbsam - attribute rich database intended as an smbpasswd
7061 replacement for stand alone servers
7062 * ldapsam - attribute rich account storage and retrieval
7063 backend utilizing an LDAP directory.
7064 * ldapsam_compat - a 2.2 backward compatible LDAP account
7067 Certain functions of the smbpasswd(8) tool have been split between the
7068 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
7069 utility. See the respective man pages for details.
7072 ######################################################################
7076 This section outlines the new features affecting Samba / LDAP
7082 A new object class (sambaSamAccount) has been introduced to replace
7083 the old sambaAccount. This change aids us in the renaming of
7084 attributes to prevent clashes with attributes from other vendors.
7085 There is a conversion script (examples/LDAP/convertSambaAccount) to
7086 modify and LDIF file to the new schema.
7090 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
7091 $ convertSambaAccount --sid=<Domain SID> \
7092 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
7093 --changetype=[modify|add]
7095 The <DOM SID> can be obtained by running 'net getlocalsid
7096 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
7097 the format of the generated LDIF output--either create new entries
7098 or modify existing entries.
7100 The old sambaAccount schema may still be used by specifying the
7101 "ldapsam_compat" passdb backend. However, the sambaAccount and
7102 associated attributes have been moved to the historical section of
7103 the schema file and must be uncommented before use if needed.
7104 The 2.2 object class declaration for a sambaAccount has not changed
7105 in the 3.0 samba.schema file.
7107 Other new object classes and their uses include:
7109 * sambaDomain - domain information used to allocate rids
7110 for users and groups as necessary. The attributes are added
7111 in 'ldap suffix' directory entry automatically if
7112 an idmap uid/gid range has been set and the 'ldapsam'
7113 passdb backend has been selected.
7115 * sambaGroupMapping - an object representing the
7116 relationship between a posixGroup and a Windows
7117 group/SID. These entries are stored in the 'ldap
7118 group suffix' and managed by the 'net groupmap' command.
7120 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
7121 automatically and contains the next available 'idmap uid' and
7124 * sambaIdmapEntry - object storing a mapping between a
7125 SID and a UNIX uid/gid. These objects are created by the
7126 idmap_ldap module as needed.
7128 * sambaSidEntry - object representing a SID alone, as a Structural
7129 class on which to build the sambaIdmapEntry.
7132 New Suffix for Searching
7133 ------------------------
7135 The following new smb.conf parameters have been added to aid in directing
7136 certain LDAP queries when 'passdb backend = ldapsam://...' has been
7139 * ldap suffix - used to search for user and computer accounts
7140 * ldap user suffix - used to store user accounts
7141 * ldap machine suffix - used to store machine trust accounts
7142 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
7143 * ldap idmap suffix - location of sambaIdmapEntry objects
7145 If an 'ldap suffix' is defined, it will be appended to all of the
7146 remaining sub-suffix parameters. In this case, the order of the suffix
7147 listings in smb.conf is important. Always place the 'ldap suffix' first
7150 Due to a limitation in Samba's smb.conf parsing, you should not surround
7151 the DN's with quotation marks.
7157 Samba 3.0 supports an ldap backend for the idmap subsystem. The
7158 following options would inform Samba that the idmap table should be
7159 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
7164 idmap backend = ldap:ldap://onterose/
7165 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
7166 idmap uid = 40000-50000
7167 idmap gid = 40000-50000
7169 This configuration allows winbind installations on multiple servers to
7170 share a uid/gid number space, thus avoiding the interoperability problems
7171 with NFS that were present in Samba 2.2.
7175 ######################################################################
7176 Trust Relationships and a Samba Domain
7177 ######################################
7179 Samba 3.0.0beta2 is able to utilize winbindd as the means of
7180 allocating uids and gids to trusted users and groups. More
7181 information regarding Samba's support for establishing trust
7182 relationships can be found in the Samba-HOWTO-Collection included
7183 in the docs/ directory of this release.
7185 First create your Samba PDC and ensure that everything is
7186 working correctly before moving on the trusts.
7188 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
7189 4.0 domain named WINDOWS:
7191 1) create the trust account for SAMBA in "User Manager for Domains"
7192 2) connect the trust from the Samba domain using
7193 'net rpc trustdom establish GLASS'
7195 To create a trustlationship with SAMBA as the trusted domain:
7197 1) create the initial trust account for GLASS using
7198 'smbpasswd -a -i GLASS'. You may need to create a UNIX
7199 account for GLASS$ prior to this step (depending on your
7200 local configuration).
7201 2) connect the trust from a WINDOWS DC using "User Manager
7204 Now join winbindd on the Samba PDC to the SAMBA domain using
7205 the normal steps for adding a Samba server to an NT4 domain:
7206 (note that smbd & nmbd must be running at this point)
7208 root# net rpc join -U root
7209 Password: <enter root password from smbpasswd file here>
7211 Start winbindd and test the join with 'wbinfo -t'.
7213 Now test the trust relationship by connecting to the SAMBA DC
7214 (e.g. POGO) as a user from the WINDOWS domain:
7216 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
7219 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
7221 $ smbclient //crystal/netlogon -U root -W WINDOWS
7224 ######################################################################
7228 Beginning with Samba3.0.0beta3, winbindd has been given new account
7229 manage functionality equivalent to the 'add user script' family of
7230 smb.conf parameters. The idmap design has also been changed to
7231 centralize control of foreign SID lookups and matching to UNIX
7235 Brief Description of Changes
7236 ----------------------------
7238 1) The sid_to_uid() family of functions (smbd/uid.c) have been
7239 reverted to the 2.2.x design. This means that when resolving a
7240 SID to a UID or similar mapping:
7242 a) First consult winbindd
7243 b) perform a local lookup only if winbindd fails to
7244 return a successful answer
7246 There are some variations to this, but these two rules generally
7249 2) All idmap lookups have been moved into winbindd. This means that
7250 a server must run winbindd (and support NSS) in order to achieve
7251 any mappings of SID to dynamically allocated UNIX ids. This was
7252 a conscious design choice.
7254 3) (OBSOLETE) New functions have been added to winbindd to emulate
7255 the 'add user script' family of smbd functions without requiring
7256 that external scripts be defined. This functionality is controlled
7257 by the 'winbind enable local accounts' smb.conf parameter (enabled
7260 However, this account management functionality is only supported
7261 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
7262 must be shared among multiple Samba servers (such as a PDC and BDCs),
7263 it will be necessary to define your own 'add user script', et. al.
7264 programs that place the accounts/groups in some form of directory
7265 such as NIS or LDAP. This requirement was deemed beyond the scope
7266 of winbind's account management functions. Solutions for
7267 distributing UNIX system information have been deployed and tested
7268 for many years. We saw no need to reinvent the wheel.
7270 4) A member of a Samba controlled domain running winbindd is now able
7271 to map domain users directly onto existing UNIX accounts while still
7272 automatically creating accounts for trusted users and groups. This
7273 behavior is controlled by the 'winbind trusted domains only' smb.conf
7274 parameter (disabled by default to provide 2.2.x winbind behavior).
7276 5) Group mapping support is wrapped in the local_XX_to_XX() functions
7277 in smbd/uid.c. The reason that group mappings are not included
7278 in winbindd is because the purpose of Samba's group map is to
7279 match any Windows SID with an existing UNIX group. These UNIX
7280 groups can be created by winbindd (see next section), but the
7281 SID<->gid mapping is retreived by smbd, not winbindd.
7287 * security = server running winbindd to allocate accounts on demand
7289 * Samba PDC running winbindd to handle the automatic creation of UNIX
7290 identities for machine trust accounts
7292 * Automtically creating UNIX user and groups when migrating a Windows NT
7293 4.0 PDC to a Samba PDC. Winbindd must be running when executing
7294 'net rpc vampire' for this to work.
7297 ######################################################################
7301 * There are several bugs currently logged against the 3.0 codebase
7302 that affect the use of NT 4.0 GUI domain management tools when run
7303 against a Samba 3.0 PDC. This bugs should be released in an early
7306 Please refer to https://bugzilla.samba.org/ for a current list of bugs
7307 filed against the Samba 3.0 codebase.
7310 ######################################################################
7311 Reporting bugs & Development Discussion
7312 #######################################
7314 Please discuss this release on the samba-technical mailing list or by
7315 joining the #samba-technical IRC channel on irc.freenode.net.
7317 If you do report problems then please try to send high quality
7318 feedback. If you don't provide vital information to help us track down
7319 the problem then you will probably be ignored.
7321 A new bugzilla installation has been established to help support the
7322 Samba 3.0 community of users. This server, located at
7323 https://bugzilla.samba.org/, has replaced the older jitterbug server
7324 previously located at http://bugs.samba.org/.