1 ==================================
2 Release Notes for Samba 3.0.25pre1
4 ==================================
6 This is a preview release of the Samba 3.0.25 code base and
7 is provided for testing only. This release is *not* intended
8 for production servers. There has been a substantial amount
9 of development since the 3.0.23/3.0.24 series of stable releases.
10 We would like to ask the Samba community for help in testing
11 these changes as we work towards the next significant production
12 upgrade Samba 3.0 release.
14 Major features included in the 3.0.25 code base include:
16 o Significant improvements in the winbind off-line logon support.
17 o Support for secure DDNS updates as part of the 'net ads join'
19 o Rewritten IdMap interface which allows for TTL based caching and
21 o New plug-in interface for the "winbind nss info" parameter.
22 o New file change notify subsystem which is able to make use of
24 o Support for passing Windows security descriptors to a VFS
25 plug-in allowing for multiple Unix ACL implements to running side
26 by side on the Same server.
27 o Improved compatibility with Windows Vista clients.
28 o Man pages for VFS plugins.
31 Off-line Logons and AD Site Support
32 ===================================
34 Winbind's capability to support offline logons has been greatly
35 improved with the 3.0.25 release including support for locating
36 domain controllers asynchronously using Active Directory Site
40 New IdMap Interface for Winbindd
41 ================================
43 The 3.0.25 release of Samba will include a rewritten IdMap interface
44 for winbindd which replaces the "idmap backend" parameter. The
45 initial design document may be found at
47 http://www.samba.org/~idra/samba3_newidmap.pdf
49 The final 3.0.25 release will include full documentation in the
56 The "net ads join" command is now able to register the host's DNS A
57 records with Windows 2000 SP4 and 2003 DNS servers. This
58 feature must be enabled at compile time using the --with-dnsupdate
59 when running the ./configure script. There is also a related "net ads
60 dns" command for refreshing a host's records which could be launched
61 from a dhcp client script when a new IP address is obtained.
64 Support for Additional ACL Modules
65 ==================================
67 Samba's POSIX ACL support has been moved inside of the VFS layer
68 which means it is now possible to support multiple ACL implementations
69 on the same server including NFSv3 and GPFS ACLs.
72 ######################################################################
82 Parameter Name Description Default
83 -------------- ----------- -------
84 change notify timeout Removed n/a
86 fam change notify Removed n/a
88 idmap alloc backend New ""
89 idmap expire time New 900
90 idmap negative time New 120
91 kernel change notify Per share Yes
92 max stat cache size Modified 1024MB
93 printjob username New %U
94 winbind normalize names New no
101 o Michael Adam <ma@sernet.de>
102 * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.
103 This makes the difference between the get and set calls for
104 SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE.
105 * Prevent collision from config.h created by stand alone component
109 o Jeremy Allison <jra@samba.org>
110 * winbind off-line logon fixes.
111 * Support for AD sites when locating domain controllers.
112 * Fix libsmbclient bug with Konqueror and NetApp filers that need
113 a leading / in OpenAndX calls.
114 * BUG 4187: Possible crash in signing on/off code.
115 * Fix memory leaks in pam_winbind.c.
116 * Fix a bug in the sequence number store/fetch routines in
118 * Fix the problem with Linux clients requesting O_WRONLY on write-only
120 * Fix a class of memory allocation bugs in the handling of user tokens.
121 * Fix crash bug in winbindd caused by a bug in the messaging dispatch
123 * Fix memory bloat in trans calls caused by talloc()'ing memory off the
125 * Fix wildcard renames with SMBmv.
126 * Fixes for pathname handling code.
127 * Add in the wdel smbclient command to perform wildcard deletes.
128 * Fix a bug that causes smbd to 'hang' intermittently while updating
129 the trusted domain cache.
130 * Cleanup error path processing in reduce_name().
131 * Fixes for smbtorture tests (BASE-DELETE, ...)
132 * Delete on close fixes ("I completely understand it this time").
133 * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
135 * More fixes for Unix Extensions include support for POSIX locking.
136 * NTLMv2 fixes for Vista clients.
137 * Add an optimized lookup for Domain Users and only report the current
138 user (which is generally what the calling application wants to know
140 * Fixes for supporting the Vista backup utility based on work by Joe
141 Meadows <jameadows@webopolis.com>.
142 * Fix 4377: Fix rename of "foo" -> "Foo".
143 * BUG 4188: Fix for Vista delete directory bug.
144 * BUG 4400: Add support for processing large Krb5 tickets in SMB
145 sesssetup&X. Based on work by <todd.stecher@isilon.com>.
146 * Fix trans2 file size reporting for Linux CIFS client.
149 o Danilo Almeida <dalmeida@centeris.com>
150 * Add additional debug support for pam_winbind.
151 * Add support for listing multiple groups in pam_winbind's
152 require-membership-of option which act as a logical OR.
155 o Andrew Benham <andrew.benham@thus.net>
156 * BUG 4290: Properly compute time to password expiration in message
160 o Alexander Bokovoy <ab@samba.org>
161 * Add GPFS-provided DMAPI support
164 o Kai Blin <kai.blin@gmail.com>
165 * Match Windows NTLMSSP flags.
168 o Gerald (Jerry) Carter <jerry@samba.org>
169 * Implement pluggable "winbind nss info" interface.
170 * Removal of unmaintained smbwrapper utility.
171 * Fix server affinity bugs in the 'net ads join' code to include
172 support for AD sites.
173 * Implement DDNS update client code.
174 * Upper case the host/sAMAccountName in the keytab file.
175 * Fix lookupname call in winbindd when joined to a child domain and
176 trying to resolve a SID in a sibling domain.
177 * Fix password changes against a Windows 2000 DC using pam_winbind.
178 * Fix crash in "pdbedit -L -w"
179 * Add "winbind normalize names" option.
180 * BUG 4093: Make %a resolve correctly for Windows Vista and Windows
182 * Printing fixes for Windows Vista.
183 * Protect the sasl bind against a NULL principal string in the
185 * Fix some "cannot access LDAP when no root" bugs.
186 * NSS and PAM fixes on AIX.
187 * Cached credentials and Krb5 ticket renewal fixes in winbindd.
190 o Mathias Dietz <mdietz@de.ibm.com>
191 * Initial implementation of the GPFS VFS module.
192 * Work on NFSv4 ACL VFS plugin.
193 * Add support for share modes to the GPFS VFS plugin.
196 o Guenther Deschner <gd@samba.org>
197 * winbind off-line logon fixes.
198 * Support for AD sites when locating domain controllers.
199 * Various fixes for 'net ads' user management functions.
200 * Add an CLDAP client written in Perl.
201 * Cleanups to the Krb5 ticket refresh code in winbindd.
202 * Fixes for various error messages from pam_winbind when password
203 policies are being enforced.
204 * Implement grace logons for offline authentications in pam_winbind.
205 * Fixes for idmap_ad.
207 * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
208 with short lived service tickets
209 * Implement basic AD group policy library
212 o dleonard@vintela.com
213 * Fix file descriptor leak from an error path in winbindd.
216 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
217 * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
220 o Krishna Ganugapati <krishnag@centeris.com>
221 * Implement DDNS update client code.
224 o YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
225 * BUG 4346: Fix type reported for hidden shares via MS-RPC.
228 o David Hu <david.hu@hp.com>
229 * BUG 4267: Fix memory leaks in ldapsam.
232 o Bjoern Jacke <bj@sernet.de>
233 * BUG 4244: Limit stat cache to a default of 1MB.
236 o William Jojo <jojowil@hvcc.edu>
237 * BUG 3713: Re-add reporting what the profiles tool does (-v).
240 o Zack Kirsch <zack.kirsch@isilon.com>
241 * Fix memory leaks on some error paths.
244 o Volker Lendecke <vl@samba.org>
245 * Replace snum references with a structure based array.
246 * Allow changing of the hashsize when running tdbbackup.
247 * Implement secure DDNS update code
248 * Klocwork, Coverity, and IBM Checker fixes.
249 * BUG 4273: Fix crash in 'net rpc vampire'
250 * Refactor older SMB file serving code.
251 * Refactor open directory file serving code.
252 * Implement support for inotify when serving CIFS change notification
253 requests (includes merge work from SAMBA_4_0).
254 * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
255 RAW-UNLINK, RAW-CLOSE, ...)
256 * Refactor delete on close file server code.
257 * MS-DFS fixes for Vista clients.
258 * BUG 4372: Long timeout in LDAP setup when accessing files after
260 * Change the static array for the in-memory mirrors of the hash chain
261 locks to a dynamically allocated one.
262 * Use inotify for file change notification on Linux.
263 * Revert "msdfs root" to default to "no".
265 * Fix memory leaks when returning user lists to clients via SAMR calls.
268 o Herb Lewis <herb@samba.org>
269 * Cleanups to sharesec utility.
270 * Compiler warning cleanups.
273 o Jim McDonough <jmcd@us.ibm.com>
274 * Bug fixes for GPFS VFS module.
277 o Stefan Metzmacher <metze@samba.org>
278 [merges from SAMBA_4_0]
279 * Portability fixes for dlopen()
283 o Gomati Mohanan <gomati.mohanan@in.ibm.com>
284 * Work on NFSv4 ACL VFS plugin.
287 o Lars Mueller <lmuelle@samba.org>
288 * Provide better feedback about deprecated use of multiple passdb
292 o James Peach <jpeach@apple.com>
293 * Replace exit_server with exit_server_cleanly where appropriate.
294 * Add docs for VFS modules.
295 * Portability fixes for autoconf and character set modules on
297 * Only attempt to reload the config file after the fork point
298 if we are in daemon mode.
301 o J Raynor <raynorj@mn.rr.com>
302 * Make sure we are privileged when doing DMAPI operations on systems
303 that don't have capability support.
306 o Jiri Sasek <Jiri.Sasek@Sun.COM>
307 I Fix possible NULL dereference in adt_tree.c
310 o Karolin Seeger <ks@sernet.de>
311 * Improvements to 'net sam policy'
312 * Fixes for "net usershare" and "guest_ok=y"
315 o Simo Sorce <idra@samba.org>
316 * Initial implementation of new IdMap interface.
317 * Fix crash in pam_winbind caused by referencing a pointer after the
318 memory had been freed.
319 * Implement escaping function for ldap RDN values.
322 o Peter Somogyi <SOMOGYI@de.ibm.com>
323 * Work on NFSv4 ACL VFS plugin.
326 o Jelmer Vernooij <jelmer@samba.org>
327 * Implement support for IDL autogenerated code to
328 handle the MS-RPC parsing functions.
331 o Don Watson <dwwatson@us.ibm.com>
332 * Fixes for 'net rpc vampire' and the guest account
335 o Martin Zielinski <mz@seh.de>
336 * Printing fixes for Windows Vista clients.
339 Release Notes for older release follow:
341 --------------------------------------------------
342 ==============================
343 Release Notes for Samba 3.0.24
345 ==============================
348 Important issues addressed in 3.0.24 include:
350 o Fixes for the following security advisories:
351 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
352 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
353 NSS library on Solaris)
354 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
357 ######################################################################
361 Changes since 3.0.23d
362 ---------------------
367 o Jeremy Allison <jra@samba.org>
368 * Fix for CVE-2007-0452 & CVE-2007-0454
371 o Olivier Gay <ouah@ouah.org>
372 * Fix for CVE-2007-0453
375 o Volker Lendecke <vl@samba.org>
376 * Fix for CVE-2007-0452
380 Release Notes for older release follow:
382 --------------------------------------------------
383 ===============================
384 Release Notes for Samba 3.0.23d
386 ===============================
388 This is the latest stable release of Samba. This is the version
389 that production Samba servers should be running for all current
390 bug-fixes. Please read the changes in this section and for the
391 original 3.0.23 release regarding new features and difference
392 in behavior from previous releases.
394 Important issues addressed in 3.0.23d include:
396 o Stability fixes for winbindd
397 o Portability fixes on FreeBSD and Solaris operating systems.
399 ######################################################################
403 Changes since 3.0.23c
404 ---------------------
409 o Jeremy Allison <jra@samba.org>
410 * Changes to ntlm_auth to better support Firefox's NTLM
412 * Make the "max usershares" parameter an advisory limit.
413 * BUG 4095: Cleanup bad substitution causing the username
414 to be translated to domain\user twice in spnego path.
415 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
416 [un]become_root() pairs.
417 * Ensure we always return the canonicalized name
418 * Add in fixes to mangling dir code.
419 * Do not assume that gencache can always be opened for RW access.
421 * Always initialize variables in winbindd request/response
423 * Fix libsmbclient bug with Konqueror and NetApp filers that
424 need a leading / in OpenAndX calls.
425 * Added showacls toggle in the smbclient code.
426 * Add a suffix to the pidfile's program name if this is a process
427 with a non-default configuration file name.
428 * Fix protection from invalid struct tm values.
429 * BUG 4187: Possible crash in signing on/off code.
430 * BUG 4214: Fix crash bug in find_forced_group().
431 * BUG 4224: Fix enforcement of the deadtime parameter.
434 o Timur Bakeyev <timur@com.bat.ru>
435 * BUG 3856: Set the nss soname version on FreeBSD.
436 * BUG 4109: Fix bug causing smbd to turn off winbindd and
437 fail to disable the _NO_WINBIND environment.
438 * BUG 3868: Prevent --with-aio-support from trimming the
439 $LIBS variable in configure.in.
442 o Dmitry Butskoy <dmitry@butskoy.name>
443 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
444 outside the idmap range if 'winbind trusted domains
448 o Gerald (Jerry) Carter <jerry@samba.org>
449 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
450 call to ensure it finds the Unix user first.
451 * Only grant privs to Administrators if privileges are enabled
452 to avoid bogus error messages in the logs.
455 o Alex Deiter <tiamat@komi.mts.ru>
456 * BUG 3524: Fix for quota support on Solaris.
459 o Guenther Deschner <gd@samba.org>
460 * Close socket when the CLDAP request has failed.
461 * Memory leak fixes in the libads/ldap.c code.
462 * Printer publishing fixes for "net ads".
463 * Fix error code returns in the CLDAP client code.
464 * Do not anonymously query for AD schema items in winbindd.
465 * Protect against storing null-sids in the winbind cache.
466 * Fallback to non-paging LDAP searches for anonymous bound
468 * More workarounds when nscd.
469 * Fix error code typoe in the GetDcName() netlogon call
470 (including two new error codes).
471 * Fix valgrind warnings in pam_winbind
472 * Add two missing refresh_sequence_number calls where they are
473 missing just before writing to the winbind cache tdb.
474 * Attempt to locate a valid domain controller before prompting
475 for credentials in "net ads".
476 * Set 35 second timeout in winbindd's netlogon code when sending
478 * Stop "net ads {user,group} delete" from doing funny things.
479 * Fix container handling for "net ads user" and "net ads group"
481 * Fix various memleaks and seg faults in "net ads {user,group}".
484 o Udo Eberhardt <udo.eberhardt@thesycon.de>
485 * BUG 4100: Fix crash in the server spooler code by initializing
486 values for smb_io_notify_info_data_strings.
489 o Olaf Flebbe <o.flebbe@science-computing.de>
490 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
493 o David Hu <david.hu@hp.com>
494 * BUG 4212: Fix memleak in the default_ou_string handling.
497 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
498 * BUG 4229: Compile fix for systems without kerberos.
501 o Volker Lendecke <vl@samba.org>
502 * NTLMSSP LanMan session key fixes.
503 * Various potential seg fault fixes.
504 * Extra logic in share access checks for bad smb.conf parameter
506 * Fixes to allow smbclient to connect to Vista RC1 workstations.
507 * Fix bad search filter in ldapsam when enumerating group
511 o Jim McDonough <jmcd@us.ibm.com>
512 * Correctly handle the password expiration policy on Samba DCs.
515 o Nils Nordman <nils.nordman@nordman.org>
516 * BUG 4085: Allow smbpasswd to change expired passwords on
520 o Simo Sorce <idra@samba.org>
521 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
522 * Better fqdn handling when parsing the /etc/hosts file.
523 * Fix crash bug in pam_winbind.
525 o Andrew Tridgell <tridge@samba.org>
526 * Fix string alignment problem in password change code.
530 * BUG 4211: Logic error when enforcing "acl group control"
534 Release Notes for older release follow:
536 --------------------------------------------------
537 ===============================
538 Release Notes for Samba 3.0.23c
540 ===============================
542 We would like to thank the developers of the Saturn code analysis
543 tool from Stanford University (http://glide.stanford.edu/saturn).
544 This release includes several code fixes based on its reports.
546 Common bugs fixed in 3.0.23c include:
548 o Authentication failures in pam_winbind when the AD domain
549 policy is set to not expire passwords.
550 o Authorization failures when using smb.conf options such
551 as "valid users" with the smbpasswd passdb backend.
554 RID Algorithms & Passdb
555 =======================
557 Starting with the 3.0.23c release, the officially supported passdb
558 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
559 with regards to the historical RID algorithm for unmapped users
560 and groups (i.e. accounts not in the passdb or group mapping table).
561 The resulting behavior is that all unmapped users are resolved
562 to a SID in the S-1-22-1 domain and all unmapped groups resolve
563 to a SID in the S-1-22-2 domain. Previously, when using the
564 smbpasswd passdb, such users and groups would resolve to an
565 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
566 However, the smbpasswd backend still utilizes the RID algorithm
567 when creating new user accounts or allocating a RID for a new
570 With the changes in the 3.0.23c release, it is now possible to
571 resolve a uid/gid, name, or SID in any direction and always obtain
572 a symmetric mapping. This is important so that values for smb.conf
573 parameters such as "valid users" resolve to the same SIDs as those
574 included in the local user's initial token.
576 Most installations will notice no change. However, because
577 an unmapped account's SID will now change even when using
578 smbpasswd it is possible that any security descriptors on files
579 previously copied from a Samba host to a Windows NTFS partition
580 may now fail to give access. The workaround is to either manually
581 map all affect groups (or add impacted users to the server's
582 passdb) or to manually reset the file's ACL.
585 ######################################################################
589 Changes since 3.0.23b
590 ---------------------
594 o Michael Adam <ma@sernet.de>
595 * Fix incorrect logic in internal_resolve_name() caused by if
599 o Jeremy Allison <jra@samba.org>
600 * Don't store a NULL SID in winbindd's offline cache.
601 * Ensure we store the offline password hash in the correct format.
602 * OS/2 fixes for large Extended Attributes data.
603 * Fix nmbd crashes caused by miscalculation in pushing
605 * Handle times consistently across all client utils including
607 * Fix a file descriptor leak in nmbd sync DNS lookup code.
608 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
610 * Pointer dereference fixes based on the Saturn analysis tool.
611 * Fix memory leak in the AD DC lookup code.
614 o Gerald (Jerry) Carter <jerry@samba.org>
615 * RHEL4 and Fedora packaging updates.
616 * Remove RID algorithm support for unmapped users and groups
617 when using an smbpasswd backend.
618 * Extend the NT token for local users' with the S-1-22-2
619 SID for each supplementary group
620 * BUG 3969: Fix unsigned time comparison with expiration
622 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
623 that winbindd talks to the correct DC when servicing PAM
624 authentication requests.
625 * Do not use the generic IP address sort routines for AD DCs
626 since the SRV lookup include a sorting algorithm based
627 on priority and weight.
628 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
629 * More changes to ensure that the primary group SID for
630 a local user is based on the primary Unix group and not the
631 primaryGroupSID passdb attribute.
632 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
633 to the SID<->uid/gid cache.
636 o Guenther Deschner <gd@samba.org>
637 * Fix msdfs RPC client and server management RPCs.
638 * Align idmap_ad with the current idmap_methods interface.
641 o Volker Lendecke <vl@samba.org>
642 * Re-add support for "username level" when looking up the
643 matching Unix user for an smbpasswd entry.
647 o Simo Sorce <idra@samba.org>
648 * Let innetgr() work without binding its use to a
649 NIS domain to support netgroups in local files.
652 o Ben Winslow <rain@bluecherry.net>
653 * Allow client smb signing to be turned off correctly.
656 --------------------------------------------------
657 ===============================
658 Release Notes for Samba 3.0.23b
660 ===============================
662 Common bugs fixed in 3.0.23b include:
664 o Ambiguity with unqualified names in smb.conf parameters
665 such as "force user" and "valid users".
666 o Errors in 'net ads join' caused by bad IP address in the list
667 of domain controllers.
668 o SMB signing errors in the client and server code.
669 o Domain join failures when using smbpasswd on a Samba PDC.
672 Member servers, domain accounts, and smb.conf
673 =============================================
675 Since Samba 3.0.8, it has been recommended that all domain accounts
676 listed in smb.conf on a member server be fully qualified with the
677 domain name. This is now a requirement. All unqualified names are
678 assumed to be local to the Unix host, either as part of the server's
679 local passdb or in the local system list of accounts (e.g. /etc/passwd
682 The reason for this change is that smbd has transitioned from
683 access checks based on string comparisons to token based
684 authorization. All names are resolved to a SID and then verified
685 against the logged on user's NT user token. Local names will
686 resolve to a local SID, while qualified domain names will resolve
687 to the appropriate domain SID.
689 If the member server is not running winbindd at all, domain
690 accounts will be implicitly mapped to local accounts and their
691 tokens will be modified appropriately to reflect the local
692 SID and group membership.
694 For example, the following share will restrict access to the
695 domain group "Linux Admins" and the local group srvadmin.
699 valid users = +"DOMAIN\Linux Admins" +srvadmin
701 Note that to restrict the [homes] share on a member server to the
702 owner of that directory, it is necessary to prefix the %S value
706 security = {domain,ads}
708 winbind separator = +
714 ######################################################################
718 Changes since 3.0.23a
719 ---------------------
723 o Michael Adams <ma@sernet.de>
724 * Fix memory leaks on error paths in 'net ads join'.
727 o Jeremy Allison <jra@samba.org>
728 * BUG 3962: Fix memory leak when enumerating print jobs.
729 * Fix file access flags for the Linux CIFS fs client.
730 * Fix memory leaks in the smbclient DFS code.
731 * BUG 3967: Fix SMB signing client bug in trans calls.
732 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
733 * Added lookup_name_smbconf() to be called when looking up names
734 from smb.conf. Unqualified names are assumed to be local.
735 * BUG 4003: Fix SMB signing server error in NTcancel reply.
738 o Gerald (Jerry) Carter <jerry@samba.org>
739 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
740 viewing or modifying local group membership.
741 * Make LsaLookupSids() reply include the full SID of unresolved
743 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
744 memory in the SRV hostlist in case there is not an A record for
746 * BUG 3964: normalize the case of usernames prior to getpwnam()
747 call in the smbpasswd backend.
748 * Cleanup the 'net ads help join' output and document createupn
749 and createcomputer options.
750 * Fix a regression in the ldapsam URI syntax. Allow multiple
751 LDAP URIs to be grouped by "".
754 o William Charles <william@charles.name>
755 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
759 o Guenther Deschner <gd@samba.org>
760 * Fix memory leaks in pam_winbind.
761 * Save the logon script path from the info3 in the PAM session
762 allowing other PAM modules to pick it up from there.
765 o Volker Lendecke <vl@samba.org>
766 * BUG 3991: Fix problem with user tokens on standalone systems
767 configured to use a username map.
768 * Fix bug where qualified user or group names in smb.conf
769 were assumed to use the '\' character as the winbind separator.
771 --------------------------------------------------
772 ===============================
773 Release Notes for Samba 3.0.23a
775 ===============================
777 Common bugs fixed in 3.0.23a include:
779 o Failure to strip the domain name from groups when 'winbind
780 use default domain = yes'
781 o Failure in pam_winbind to correctly parse arguments.
782 o Bad token creation of local users on member servers not
784 o Failure to add users or groups to ACLs using the Windows
786 o Failure in file serving code when 'kernel oplocks = yes'.
788 New features in 3.0.23a include:
790 o New "createupn" option to "net ads join"
791 o Rewritten Kerberos keytab generation when 'use kerberos
796 ######################################################################
805 o Jeremy Allison <jra@samba.org>
806 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
808 * Fix memory leaks in the AD schema parsing code.
809 * Fixed bug in interaction with Linux kernel oplocks.
812 o Gerald (Jerry) Carter <jerry@samba.org>
813 * Rewrite the detection of the correct DES salting principal name
814 when joining an Active Directory Domain.
815 * Rewrite the keytab generation code based on existing SPN,
816 UPN, and sAMAccountName attributes in the AD machine object.
817 * Cleanup of dead code from idmap_ad.
818 * Fix Winbind 32bit/64bit portability issues.
819 * Fail 'net ads join' and disable the machine account if we cannot
820 set any SPNs for ourselves.
821 * Make sure to lower case all usernames before calling the create,
822 delete, or rename hooks.
823 * Preserve case for usernames in passdb
824 * Flush the getpwnam cache after renaming a user
825 * Add become/unbecome root block in _samr_delete_dom_user() when
826 trying to verify the account's existence.
827 * Changed 'net ads join' syntax for specifying an alternate
828 OU. New syntax is createcomputer=<ou path top to bottom>.
829 * Add createupn=[UPN] option to 'net ads join' for setting the
830 userPrincipalName attribute.
831 * Bug 3920: Restore winbind use default domain behavior for domain
832 groups. This break local users and 'winbind nested groups' on
836 o Guenther Deschner <gd@samba.org>
837 * Don't clear the cache when starting winbindd in off line mode.
838 * Fix errno reporting in pam_winbind debug messages.
839 * BUG 3937: Fix segv in libnss_wins.so.
842 o Volker Lendecke <vl@samba.org>
843 * Fix memory leaks in the in error paths out of the CLDAP
845 * AIX portability fixes for DNS client code.
846 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
847 * BUG 3949: Fixed authorization issue on domain member
848 servers not running winbindd.
851 o Andrew Tridgell <tridge@samba.org>
852 * Fixed a bug which caused resolve_ads() to spin forever if
853 one of the DCs isn't resolvable in DNS.
856 o Simo Sorce <idra@samba.org>
857 * Debian packaging fixes.
860 o Dietrich Streifert <dietrich.streifert@visionet.de>
861 * BUG 3916: Fix error parsing pam_winbind config arguments.
864 Release Notes for older release follow:
866 --------------------------------------------------
868 ==============================
869 Release Notes for Samba 3.0.23
871 ==============================
873 There has been a substantial amount of cleanup work done during
874 this development cycle. We would like to thank both Coverity
875 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
876 for analyzing the Samba source code. As a result, this release
877 includes fixes for over 400 defects. The coverage was approximately
878 even with over 200 defects reported by each tool.
880 Thanks very much to those people who spent time testing the
881 release candidates and reported their findings. We would like to
882 especially thank Thomas Bork <tombork@web.de> for his numerous
883 reports. We believe that the final release is in much better shape
884 in large part due to his efforts.
886 New features in 3.0.23 include:
888 o Improved 'make test'
889 o New offline mode in winbindd.
890 o New Kerberos support for pam_winbind.so.
891 o New handling of unmapped users and groups.
892 o New non-root share management tools.
893 o Improved support for local and BUILTIN groups.
894 o Winbind IDMAP integration with RFC2307 schema objects supported
896 o Rewritten 'net ads join' to mimic Windows XP without requiring
897 administrative rights to join a domain.
900 User and Group changes
901 ======================
903 The user and group internal management routines have been
904 rewritten to prevent overlaps of assigned Relative Identifiers
905 (RIDs). In the past the has been a potential problem when either
906 manually mapping Unix groups with the 'net groupmap' command or
907 when migrating a Windows domain to a Samba domain using 'net rpc
910 Unmapped users are now assigned a SID in the S-1-22-1 domain and
911 unmapped groups are assigned a SID in the S-1-22-2 domain.
912 Previously they were assign a RID within the SAM on the Samba
913 server. For a DC this would have been under the authority of the
914 domain SID where as on a member server or standalone host, this
915 would have been under the authority of the local SAM (hint: net
918 The result is that any unmapped users or groups on an upgraded
919 Samba domain controller may be assigned a new SID. Because the
920 SID rather than a name is stored in Windows security descriptors,
921 this can cause a user to no longer have access to a resource for
922 example if a file was copied from a Samba file server to a local
923 NTFS partition. Any files stored on the Samba server itself will
924 continue to be accessible because Unix stores the Unix gid and not
925 the SID for authorization checks.
927 A further example will help illustrate the change. Assume that a
928 group named 'developers' exists with a Unix gid of 782 but this
929 user does not exist in Samba's group mapping table. it would be
930 perfectly normal for this group to be appear in an ACL editor.
931 Prior to 3.0.23, the group SID might appear as
932 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
933 group SID would be reported as S-1-22-2-782. Any security
934 descriptors associated with files stored on an NTFS disk partition
935 would not allow access based on the group permissions if the user
936 was not a member of the
937 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
938 group SID not reported in a user's token is S-1-22-2-782, Windows
939 would fail the authorization check even though both SIDs in some
940 respect referred to the same Unix group.
942 The current workaround is to create a manual domain group mapping
943 entry for the group 'developers' to point at the
944 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
950 The "passdb backend" parameter no long accepts multiple backends
951 in a chaining configuration. Also be aware that the SQL and XML
952 based passdb modules have been removed in this release. More
953 information of external support for a SQL passdb module can be
954 found at http://pdbsql.sourceforge.net/.
957 Group Mapping Changes
958 =====================
960 The default mapping entries for groups such as "Domain Admins" are
961 no longer created when using an smbpasswd file or a tdbsam passdb
962 backend. This means that it is necessary to use 'net groupmap
963 add' rather than 'net groupmap modify' to set these entries.
964 This change has no effect on winbindd's IDmap functionality for
971 There has also been a minor update the Samba LDAP schema file. A
972 substring matching rule has been added to the sambaSID attribute
973 definition. For OpenLDAP servers, this will require the addition
974 of 'index sambaSID sub' to the slapd.conf configuration file. It
975 will be necessary to run slapindex after making this change. There
976 has been no change to actual data storage schema.
979 ######################################################################
986 Parameter Name Description Default
987 -------------- ----------- -------
988 acl group control Deprecated No
989 add port command New ""
990 change notify timeout Changed Scope
992 dos filemode Modified No
993 enable asu support Changed default No
994 enable core files New Yes
995 enable privileges Changed default Yes
996 enable rid algorithm Removed
997 fam change notify New Yes
999 host msdfs Changed default Yes
1000 msdfs root Changed default Yes
1001 open files database hash size New 10007
1002 passdb expand explicit Changed default No
1003 strict locking Changed default auto
1004 usershare allow guests New No
1005 usershare max shares New 0
1006 usershare owner only New Yes
1007 usershare path New ${lockdir}
1008 usershare prefix allow list New ""
1009 usershare prefix deny list New ""
1010 usershare template share New ""
1011 winbind enum users Changed default No
1012 winbind enum groups Changed default No
1013 winbind nested groups Changed default Yes
1014 winbind offline logon New No
1015 winbind refresh tickets New No
1016 winbind max idle children Removed
1017 wins partners Removed
1020 Changes since 3.0.22
1021 --------------------
1025 o Jeremy Allison <jra@samba.org>
1026 * Fixes for various Klocwork defect reports.
1027 * Cleanup pdb_get_XXX() methods and ensure that a failure
1028 to allocate memory for a samu user structure is reported
1029 as a failure to the calling function.
1030 * Fix memleak in printing gencache contents.
1031 * Fix warnings reported by gcc4 -O6 on 64-bit systems
1032 * Fix naming conflicts with 'net usershare' structures and
1033 Solaris header files.
1034 * Fix memleaks on error paths from the ASN.1 parsing code.
1035 * Add uid to share_mode_entry structure so we can report who
1037 * Ensure we use sys_write in password chats so we're not
1039 * Ensure all new rid allocation goes through the same pdb_ldap
1041 * BUG 3308: Stop us returning duplicate mid replies on path
1042 based set-EOF trans2 calls.
1043 * Pass RAW-OPLOCK with kernel oplocks off.
1044 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
1045 correctly when doing info level 1 directory scans.
1046 * Add Samba4 replacement for timegm() to work on Solaris.
1047 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
1048 * BUG 3592: Ignore a file in the tar output from smbclient if the
1049 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
1050 Justin Best <justinb@pdxmission.org>).
1051 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
1052 * Push/Pull Kerberos principal and realm names to/from UTF-8.
1053 * Fix incorrect boolean in assert to make POSIX lock tests
1055 * Don't ever set O_SYNC on open unless "strict sync = yes".
1056 * Remove dead printing code.
1057 * Allow configurable guest access to Samba's usershare functionality.
1058 * BUG 3587: Make byte-range locking tdb self-cleaning.
1059 * Ensure every exit error path in the session setup code calls
1061 * Use portable wrapper functions instead of seteuid directly in
1063 * Make "change notify timeout" a per-share parameter.
1064 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
1065 * Fix valgrind-spotted issue in BASE-DELETE test.
1066 * Fix early termination condition in winbindd when trying to
1067 connect to a remote DC.
1068 * Instruct winbindd to ignore fd_set when select() returns -1.
1069 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
1070 with select returning true but no data being available.
1071 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
1073 * BUG 3467: Fix delete on close semantics needed by WinXP Media
1074 Center Ed. for simultaneous recording and playback (thanks to
1075 Jason Qian for the debugging assistance).
1076 * BUG 3347: Save the Unix user token used to set the
1077 delete-on-close flag.
1078 * Fix parsing of SAMR_Q_CONNECT_ANON.
1079 * Add in support for userinfo26 structure and re-enable
1081 * Schannel server fixes. Fix the credentials chaining across
1082 \netlogon pipe disconnects.
1083 * Replace ubqix code in nmbd with an internal tdb.
1084 * Fix struct timespec checks in configure.in.
1085 * Add in server support for the NetSamLogonEx().
1086 * Add support for LsaLookupSids2() and LsaLookupSids3().
1087 * Add LsaLookupNames[2-4]().
1088 * Add support for 'net usershare'.
1089 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
1090 already exists (thanks to Sandeep Tamhankar).
1091 * BUG 3510: Fix 'net rpc join' against a server when
1092 schannel is disabled.
1093 * Get rid of poor errno mapping table. Bounce through NTSTATUS
1095 * Check for SeMachineAccountPrivilege when deleting machine
1097 * Fix a logic bug with multiple oplock contention.
1098 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
1099 Attempt to fix the broken directory handling in the *BSD.
1100 * Allow run time tuning of the locking tdb hash size for
1102 * BUG 3642: Ensure we don't call FD_SET on read with
1104 * BUG 3569: Work around linear posix locking issue on AIX
1105 which was causing high loads due to the tdb CLEAR_IF_FIRST
1106 flag (based on work from William JoJo).
1107 * Fix OS/2 directory delete bug found by kukks.
1108 * Match the Windows 2003 NTLMSSP signature.
1109 * Performance tuning work in core read & write file serving
1111 * Change default to 'strict locking' to better reflect
1113 * Fix error return on session setup. Ensure no data blob is
1114 added if the logon call failed so that Windows clients
1115 interpret the NT_STATUS code correctly.
1116 * Teach Samba the difference between exclusive and batch
1118 * BUG 3592: Ignore a file in a smbtar output if the first
1119 read fails (inspired by Justin Best).
1120 * BUG 3668: Workaround Windows bug with LARGE_READX where if
1121 you ask for exactly 64k bytes it returns 0.
1122 * BUG 3858: Ensure that all files are removed by a wildcard
1123 delete when 'hide unreadable = yes'.
1124 * Fix various issues raised by the Klocwork code analyzer.
1125 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
1126 query reply ("enhanced browsing = yes").
1127 * Fix SMB signing failures in client tools.
1128 * BUG 3909: Avoid EA lookups on MS-DFS links.
1131 o Andrew Bartlett <abartlet@samba.org>
1132 * Work around abort() in the OpenLDAP client libs caused by a NULL
1136 o Timur Bakeyev <timur@com.bat.ru>
1137 * BUG 2961: Fix compile warnings for pam_smbpass.
1138 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
1141 o Alexander Bokovoy <ab@samba.org>
1142 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
1143 * Fix absolute symlinks in the installbin.sh script.
1146 o Max N. Boyarov <m.boyarov@sam-solutions.net>
1147 * Fix crash bug in perfmon daemon example code.
1150 o Nicholas Brealey <nick@brealey.org>
1151 * Compile fix for pam_winbind.
1154 o Gerald (Jerry) Carter <jerry@samba.org>
1155 * Fix 'make install' problem when building outside source/.
1156 * Fix 'net ads join' when the workgroup is set incorrectly in
1158 * Re-add code to include the BUILTIN\Administrators SID when
1159 winbindd is not running, but the user's token includes the
1160 Domain Admin SID. Fixes access problem for managing Services.
1161 * Only call the printer publishing calls if 'security = ads'.
1162 * Normalize printing keys when deleting.
1163 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
1164 * Look at the NT password (not lanman one) when determining if 'smbpasswd
1165 -e' should probably for a password.
1166 * Default eventlog tdbs to mode 0660 to allow easier access by
1167 BUILTIN\Administrators.
1168 * Remove extra call to create_user on member servers without winbindd.
1169 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
1170 AD DC's with out own DNS SRV queries.
1171 * Fix compile error on HP-UX reported by Ryan Novosielski.
1172 * Rewrite 'net ads join' to share common code with 'net rpc join'
1173 and behave more like a Windows XP client.
1174 * Remove --with-ldapsam option from configure (only used for
1175 backwards compatibility for 2.2 smb.conf files).
1176 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
1177 * Remove rhosts authentication module.
1178 * Reimplement 'net ads leave' to disable the machine account in the
1179 domain rather than removing it.
1180 * Rewrite of tdbsam file descriptor handling.
1181 * Add server affinity support when selecting a remote
1183 * Remove chaining of passdb modules.
1184 * Generate a local users primary group SID based on his
1185 or her primary Unix group rather than storing the attribute
1186 in the passdb entry.
1187 * Default primary group SID to 'Domain Users' if the real Unix
1188 primary group maps to the S-1-22-2 domain.
1189 * Refactor memory management in passdb user objects.
1190 * RHEL and Fedora packaging fixes.
1191 * Implement XcvDataPort() spooler call and supporting 'add
1193 * BUG 3534: Ignore lines in the username map file with no right
1195 * Add support for the experimental %(DomainSID) smb.conf
1197 * Add support for parsing SIDs in smb.conf value lists.
1198 * Fix vuid allocation in Kerberos SMBsesssetup reply.
1199 * Ensure that local group membership is included in the
1200 getgroups() NSS reply.
1201 * Automatically create a BUILTIN\{Administrators,Users} if
1202 winbindd is running.
1203 * Automatically grant all privileges to members of the local
1204 Administrators group.
1205 * Protect against NULL cli_state* pointers in
1206 cli_rpc_pipe_open().
1207 * Add a SUBSTR matching rule the the Samba LDAP schema
1208 file for the sambaSID attribute. This will allow for
1209 Searching group mapping entries within a given domain
1210 without reorganizing the directory namespace. Also
1211 requires 'index sambaSID sub' in slapd.conf.
1212 * Fix parsing of 'idmap uid/gid' values that broke when
1213 the range included any whitespace.
1214 * Support renaming local groups (protect against renaming
1216 * Do not allow the root account to be deleted via MS-RPC.
1217 * Fix RID allocation to skip over RIDs that resolve in our
1218 own domain (work around upgraded users and groups).
1219 * Store the name/ip address combination when we do a reverse
1220 look up in case future forward lookups would fail.
1221 Fixes cases where a DC name could not be resolved via
1223 * Allow winbindd to run on standalone servers in order to
1224 provide support for local groups.
1225 * Deprecate 'acl group control' and replace it with added
1226 functionality to 'dos filemode'.
1227 * Ensure that all global memory is freed from pam_winbind
1228 when unloading the shared library (based on work from Arkady
1230 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
1231 libraries and winbindd.
1232 * Add defensive checks about create local accounts (i.e. calling
1233 'add user script') on domain member servers when winbindd
1234 is running but having problems.
1235 * Use system provided killproc() in RedHat init scripts for
1236 more robust shutdown.
1237 * Fix a crash in the printer publishing code when adding a
1238 new printer via the APW.
1239 * Fix broken compile of unsupported smbwrapper utility.
1240 * BUG 3905: Fix smbd startup failure caused by a failure to
1241 create an NT token for the guest account.
1242 * BUG 3908: Fix RPC bind authentication failure which broke
1243 user password changes.
1244 * Ensure that "net ads join" reports failure correctly if
1245 it cannot set the machine account password.
1248 o Mathias Dietz <MDIETZ@de.ibm.com>
1249 * EPERM can be a valid return from getting an xattr.
1250 Don't disable if we get it.
1253 o Guenther Deschner <gd@samba.org>
1254 * Fix memleaks in winbindd ads searches.
1255 * Fix timestamp bug in pam_winbindd which forced users to change
1256 passwords prematurely.
1257 * Small debug message cleanups.
1258 * Small fixes for 'net ads password'.
1259 * BUG 3843: Allow to set passwords directly when creating users
1260 via "net rpc user add"
1261 * Add "rpc shell" to the usage text for the net command.
1262 * Winbindd user aliases lookup fixes for large domains.
1263 * Fix memleak in the CLDAP processing code.
1264 * Enable AD features in winbindd's PAM support only when
1265 communicating with an AD domain controller.
1266 * Set our internal domains to "online" by default in winbindd.
1267 * BUG 3800: Fill the password_policy method in winbindd for
1269 * Fix memory leak when LDAP POSIX attribute queries fail.
1270 * Honor the krb5 principal name change (of the new ads join code)
1271 in the kerberized winbind pam_auth.
1272 * Correctly handle the case when there is no configuration file
1274 * Adding "own-domain" switch to wbinfo which is handy from time
1276 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
1277 * Fix winbindd group enumeration for groups with no members.
1278 * Correct "net ads changetrustpw" to use the sAMAccountName.
1279 * Fix winbindd in ADS domains by removing code using the
1280 UPN and rely upon the sAMAccountName.
1281 * Fix a eDir related memory leak.
1282 * Don't try to add the sn attribute twice to an LDAP
1283 inetOrgPerson + samSamAccount entry.
1284 * Fix winbind function table typo.
1285 * Attempt to send the correct warning from pam_winbind when a password
1286 change was attempted too early.
1287 * Don't use cached credentials when changing passwords.
1288 * Correctly disallow unauthorized access when logging on with the
1289 kerberized pam_winbind and workstation restrictions are in effect.
1290 * Save useless round trips in pam_winbind's auth calls.
1291 * Make the existence of the /etc/security/pam_winbind.conf file
1292 non-critical and fallback to only parse the argv options in that
1294 * Add winbind debug class to the main winbindd process.
1295 * Be consistent between rpc and ads winbind backend: let the
1296 ads backend query the samlogon cache first as well.
1297 * Ignore BUILTIN groups when searching AD for group memberships.
1298 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
1299 * Cleanup credential caches from winbind's linked list.
1300 * Fix 'winbindd -n' for new persistent caches.
1301 * Fix searching by SID in winbindd.
1302 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
1303 * Prefer to use the indexed objectCategory attribute (instead of
1304 objectClass which is not indexed on AD) in LDAP queries.
1305 * Free LDAP result in ads_get_attrname_by_oid().
1306 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
1307 * Prevent passwords of winbindd's list of credential caches from
1308 being swapped to disk using mlock().
1309 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
1310 support the plain posix attributes LDAP schema from win2k3-r2
1311 (based on patches from Howard Wilkinson and Bob Gautier).
1312 * Add more robust code for fallback when lookup_usergroups() fails.
1313 * Fix 'net rpc join' for winbindd running on a Samba DC.
1314 * Add help text for new 'net rpc audit' utility.
1315 * Add net ads search SID.
1316 * samrQueryDomainInfo level 5 should return the domain name, not our
1317 NetBIOS name when we are a DC.
1318 * Add some more client rpc for the querydominfo calls (from samba4 idl).
1319 * Process all the supported info levels in the samr_query_domain_info2
1321 * Wrap the samr_query_domain_info2() call around
1322 samr_query_domain_info().
1323 * Fix segv in smbctool.
1324 * Honor the time_offset also when verifying Kerberos tickets.
1325 * Prevent unnecessary longstanding LDAP connection to eDirectory.
1326 * Fix segv in smbspool.
1327 * BUG 1914: Allow to store 24 password history entries in ldapsam.
1328 * Enhancements to various commands in rpcclient
1329 * Don't force 'Administrator' to change an expired password on
1331 * Add support for offline mode in winbindd.
1332 * Provide support in pam_winbind for initializing a user's
1334 * Implement samr_chgpasswd_user3 server-side.
1335 * Make pam_winbind more robust when detecting domain users.
1336 * Add client side support for SAMR_GET_USRDOM_PWINFO.
1337 * Re-enable strict checking on C++ reserved keywords since Heimdal
1338 0.7.2 has been released.
1339 * Allow renaming of machine accounts in a Samba domain.
1340 * BUG 3539: Let winbindd try to obtain the gecos field from
1341 the msSFU30Gecos attribute when "winbind nss info = sfu" is
1343 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1344 * Return the real ACB-flags in the SamLogon() reply.
1345 * Some client side cleanup for the samr set security object
1347 * Make sure we always reset the userAccountControl bits when
1348 re-joining (net ads join) with an existing account.
1349 * Document some more MSV1_0 bits and their behavior.
1350 * Only set the last rebind timestamp when we did rebind
1351 after a update LDAP operation to avoid the ldap replication
1353 * Fix incorrect error checking in winbindd for domains with
1355 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
1357 * Work around crash bug in MIT krb5 libs when reading a
1358 keytab file. Stop trying to decrypt a ticket as soon as
1359 we have a clear indication that the ticket is bad.
1360 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1361 * Adding client side samr querygroup infolevels 2 & 5.
1362 * Make smbpasswd -a root work for eDirectory where there
1363 is no "account" structural objectclass.
1364 * Make sure we only send out a CLDAP request (net ads) to
1365 an connected AD server.
1366 * Fix a broken LDAP search filter when looking for groups.
1367 * Add in-tree version of iniparser library from
1368 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1369 (rather than linking in loadparm.c). Settings are now stored
1370 in /etc/security/pam_winbind.conf.
1371 * Fix different extended_dn handling in adssearch.pl
1372 (Thanks to Frederic Brin at Novell).
1373 * Fix a memleak in winbindd's credentials cache.
1374 * Protect against crashes in CLDAP request processing.
1375 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1378 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
1379 * Fix parameter type for 'acl compatibility'.
1380 * Fixes for msgtest torture tool.
1381 * Fix crash bug in the file locking code.
1384 o Arek Glabek <aglabek@centeris.com>
1385 * Fix parsing error on input parameters in eventlogadm.
1388 o Paul Green <paulg@samba.org>
1389 * Properly rebuild time limit on systems with executable extensions.
1390 * Fix build on platforms that do not support shared libs.
1391 * Remove dead code in the auth_script module.
1394 o Bjoern Jacke <samba@j3e.de>.
1395 * Fix DMAPI compile failures on AIX and True64.
1396 * Fix AIX PIC suffix (use .o instead of .po).
1397 * Fall back to less-preferred clocks until we find one that we
1398 can use if clock_gmtime() is not available at run-time.
1399 * Fix EA support on AIX platforms.
1400 * Automatically disable file shares with no explicit path set.
1401 * Remove the local hack to set the RO bit on directories in
1402 user profiles when profile acls = yes. Rely on EAs instead.
1403 * Compile fixes for Solaris LDAP client libs.
1404 * Add DMAPI/XDSM support for AIX.
1405 * Find JFS DMAPI libs on Linux when only they are available.
1408 o William Jojo <jojowil@hvcc.edu>
1409 * Fixes for the winbind NSS library on AIX.
1410 * Fix VFS builds on AIX platforms.
1411 * Fixes for the AIX version of libnss_winbind.so
1414 o Leonid Kabanov <lkabanov@mail.ru>
1415 * BUG 3711: Shell portability fixes for 'make test'.
1418 o Volker Lendecke <vl@samba.org>
1419 * Fixes for various Klocwork defect reports.
1420 * Fixes for various Coverity defect reports.
1421 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
1422 * Fix more potential seg-faults when something on our way to a
1423 DC connection fails.
1424 * Never fall back to using the IP address for a DC's name in RPC
1426 * Implement recycle:subdir_mode.
1427 * Activate RPC-AUTHCONTEXT in "make test".
1428 * Portability fixes for 'make test'.
1429 * Correctly set the group RID in init_sam_from_buffer.
1430 * Fix missing prompt in smbclient.
1431 * Return correct error code upon success from _net_srv_pwset().
1432 * Fix Windows XP joins to a Samba domain.
1433 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
1434 when mapped to a non-algorithmic rid.
1435 * Fix regression which upper-cased machine names passed to the
1436 'add machine script'.
1437 * Correct parsing error in parse_net.c for user's with no group
1439 * Fix off by one error in client SPNEGO code and other klocwork
1441 * Memory leak fixes in 'net sam'.
1442 * BUG 3720: Fix uninitialized error return variable.
1443 * Default "passdb expand explicit" to no.
1444 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
1445 * Fix user NT token creation when utilizing a username map.
1446 * More coverity fixes.
1447 * Fix a VUID bug in 'security = share'.
1448 * Correctly fill in the gid for local users.
1449 * Fix some warnings on True64.
1450 * Add special close handling for fake files.
1451 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
1452 * BUG 3435: Fix 'msdfs root = yes' in [homes].
1453 * Instruct winbindd to find a trusted DC on its own when running on
1455 * Fix segv in child winbindd processes caused by a failed tconX
1457 * Dynamically compute the maximum password age based no the
1458 last change time rather than reading the must change time
1459 from the passdb record.
1460 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
1461 * Assign unmapped users to the S-1-22-1 domain and unmapped
1462 groups to the S-1-22-2 domain
1463 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
1464 * Remove sql passdb backends.
1465 * Implement rpccli_samr_set_domain_info()
1466 * Add initial support for 'net sam' command.
1467 * BUG 2413: Remove anonymous connections in 'net rpc info'.
1468 * Implement asynchronous support for trans2 calls.
1469 * Make smbclient -L use RPC to list shares, fall back to RAP.
1470 * Ensure that the global SAM SID is initialized before any
1471 dependent routines are called.
1472 * Enhance consistency checks on local configuration when joining
1474 * Fix a memleak in the server registry code for enumeration
1476 * Fix an invalid munlock() call in winbindd's credentials cache.
1477 * Fix compile warnings when passing NULL to snprintf().
1478 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
1479 token in case anything weird is going on with the 'force user'.
1480 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
1483 o Derrell Lipman <derrell@samba.org>
1485 * BUG 3814: Only set the DFS capability flag in client requests
1486 if the share is a DFS root.
1487 * Fix bug causing previous settings to be re-initialized
1488 when parsing new configuration files.
1489 * BUG 3446: Don't ignore the authentication domain when parsing
1491 * Fix cli_setpathinfo() to actually do what it's supposed to.
1492 * Fix libsmbclient to make correct use of the new "one connection
1493 per server feature".
1496 o Jason Mader <jason@ncac.gwu.edu>
1497 * Numerous compiler warning fixes.
1500 o John E. Malmberg <wb8tyw@qsl.net>
1501 * Make smbldap obey config tests.
1504 o Jim McDonough <jmcd@us.ibm.com>
1505 * Fixes for 'make test' on AIX.
1506 * Ensure we do a wildcard search for SID's starting with the global SAM
1507 sid, not an exact search (from John Janosik).
1508 * Adapt smbclient fix to smbtree to enable long share names.
1509 * Prevent machines and users with no home directory from
1510 getting the previous entries home path when migrating via
1511 'net rpc vampire' (based on a patch from Richard Renard).
1512 * Remove hard-coded LDIF names when dumping a migrated
1513 domain's users and groups.
1514 * BUG 1374: Can't join an OU with name that contains '#'.
1517 o Stefan Metzmacher <metze@samba.org>
1518 * Add more tests to 'make test'.
1519 * Try to make timelimit.c more portable.
1520 * Fix linking of smbmount tools with --enable-socket-wrapper.
1521 * Pass 'target:samba3=yes' to samba4's smbtorture when running
1523 * Miscellaneous fixes for 'make test'.
1524 * Add improved support for 'make test' including making
1525 use of smbtorture from SAMBA_4_0.
1526 * Add --no-process-group to all server programs
1527 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
1528 * Add configure tests --with-selftest-prefix=/tmp/samba-test
1531 o Lars Müller <lmuelle@samba.org>
1532 * Fix lock calls in the python tdb bindings.
1533 * Add -k switch to tdbdump for accessing a single key.
1534 * Debian packaging fixes.
1535 * Add -t|--password-from-stdin option to pdbedit as we had
1537 * Various minor fixes to install scripts used by 'make install'.
1540 o James Peach <jpeach@sgi.com>
1541 * Ensure smbclient always prompts on standard output when in
1543 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
1544 * Introduce command line options to set the remainder of the
1545 parameters in dynconfig.c.
1546 * Avoid pulling in -lpthreads caused by -lrt.
1547 * Fix build failures on IRIX 6.4 due to DMAPI support.
1548 * Isolate the slow CLOCK_REALTIME message in the profiling code.
1549 * Correct comparison logic so that libunwind can be correctly detected.
1550 * Implement a "stacktrace" smbcontrol option using libunwind's remote
1551 stack tracing support (ia64 only).
1552 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
1553 of long group lists.
1554 * New autoconf macro to test for sysconf variables.
1555 * Change profiling data macros to use stack variables rather than
1556 globals. This catches mismatched start/end calls and removes
1557 the need for special nested profiling calls.
1558 * Rewrite AC_LIBTESTFUNC so that it works like the callers
1560 * Use clock_gettime for profiling timstamps if it is available. Use
1561 the fastest clock available on uniprocessors.
1562 * Preserve errno in fcntl lock wrappers.
1563 * Initialize our saved uid and gid so that we can tell when we
1564 created the profiling shmem segment and don't bogusly refuse to
1566 * Add a new option "enable core files" which can be used to disable
1567 automatic core file dumping.
1568 * Update our internal copy of popt to that distributed with the RPM
1570 * Add support for FAM for file change notification.
1571 * Disable sendfile if the 'write cache;' has been enabled.
1572 * Refactor capability interface from being IRIX-specific to
1573 using only the POSIX interface.
1574 * Consolidate core dumping code to aid in debugging.
1575 * Add support for libunwind to generating a backtrace.
1576 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
1577 and --without-ads are specified.
1578 * Allow the user to set winbind nss timeouts in seconds on IRIX.
1579 * Set the FILE_STATUS_OFFLINE bit by observing the events
1580 a DMAPI-based HSM is interested in.
1583 o Tim Potter <tpot@samba.org>
1584 * Build janitorial duties.
1585 * BUG 3725: Put references to $PICFLAGS in quotes.
1588 o Aruna Prabakar <aruna.prabakar@hp.com>
1589 * Show -W option in smbpasswd usage text.
1592 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
1593 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
1598 * Correct syntax error in aclocal.m4.
1601 o Simo Sorce <idra@samba.org>
1602 * Pam modules install fix.
1603 * Allow "net changesecretpw" to accept a password via stdin.
1604 * Implement 'net setdomainsid' command.
1605 * Ensure that sid -> group conversion are done as root.
1606 * BUG 3413: Sanity check for existence of 'ldap admin
1607 dn' before setting a password in secrets.tdb (based on
1608 work by William Jojo).
1609 * New revision of the snprintf replace code.
1610 * Set the correct sid type when looking up a gid.
1613 o Todd Stecher <tstecher@isilon.com>
1614 * Add TCP fallback for our implementation of the CHANGEPW
1618 o Ronan Waide <waider@waider.ie>
1619 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
1623 o Shlomi Yaakobovich <Shlomi@exanet.com>
1624 * Fix for machine password time_t overflow.
1627 --------------------------------------------------
1628 ==============================
1629 Release Notes for Samba 3.0.22
1631 ==============================
1633 This is a security release of Samba. The Samba 3.0.21 release
1634 series (including the patch releases a through c) has been
1635 discovered to expose the clear text of the server's machine
1636 account credentials in the winbind log files when the log
1637 level is set to 5 or higher. This defect has been assigned
1638 the CVE number CAN-2006-1059.
1643 The machine trust account password is the secret shared
1644 between a domain controller and a specific member server.
1645 Access to the member server machine credentials allows
1646 an attacker to impersonate the server in the domain and
1647 gain access to additional information regarding domain
1650 The winbindd daemon included in Samba 3.0.21 and subsequent
1651 patch releases (3.0.21a-c) writes the clear text of server's
1652 machine credentials to its log file at level 5. The winbindd
1653 log files are world readable by default and often log files
1654 are requested on open mailing lists as tools used to debug
1655 server misconfigurations.
1657 This affects servers configured to use domain or ads security
1658 and possibly Samba domain controllers as well (if configured
1663 --------------------------------------------------
1665 ===============================
1666 Release Notes for Samba 3.0.21c
1668 ===============================
1670 Common bugs fixed in 3.0.21c include:
1672 o Access checks when deleting printer driver meta-data.
1673 o Several non-default combinations schannel and SPNEGO support.
1674 o Password changes with NT4 and Win2k pre-SP4 clients.
1675 o High load issues on IRIX caused by a bug when interfacing
1676 with kernel oplocks.
1679 ######################################################################
1683 Changes since 3.0.21b
1684 ---------------------
1688 o Michael Adam <ma@SerNet.DE>
1689 * Add popt to the include path for examples/VFS.
1692 o Jeremy Allison <jra@samba.org>
1693 * Fix bug in the USC2 macros on big-endian CPUs.
1694 * Filter deleted oplocks from the output of smbstatus.
1695 * Remove invalid test check_for_pipe().
1696 * BUG 3515: Fix kernel oplock support on IRIX.
1697 * BUG 3522: Fix return value for mkdir request when the directory
1699 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
1701 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
1703 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
1704 resulting in a client disconnect after negprot.
1705 * BUG 3510: Fix 'net join' against a server with client schannel
1707 * Fix negprot bug causing a 2k client with cached domain
1708 credentials to refuse to connect to a standalone Samba host.
1709 * Ensure that the correct error is checked when encountering a
1710 socket error (fixes crashes in winbindd).
1713 o Andrew Bartlett <abartlet@samba.org>
1714 * Fix domain joins from NT4 clients and password changes.
1717 o Richard Bollinger <rabollinger@gmail.com>.
1718 * Compile fix in pdbedit.
1721 o Gerald (Jerry) Carter <jerry@samba.org>
1722 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
1723 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
1724 * Fix bug in loadparm.c that caused builtin services to be also
1725 listed as external services (e.g. Spooler, NETLOGON, etc..).
1726 * Fix bug in the samr dispinfo enumeration code.
1727 * Add earlier checks to deny deleting a printer driver meta-data.
1730 o Guenther Deschner <gd@samba.org>
1731 * Add Account Policy LDAP attributes for eDirectory schema.
1734 o William JoJo <jojowil@hvcc.edu>
1735 * BUG 1870: Make nmblookup do a node status on all IP's when
1737 * BUG 2353: Fix clitar -F processing.
1740 o Volker Lendecke <vl@samba.org>
1741 * Fix the build for --with-aio-support.
1742 * Fix remote password changing if password must change is set.
1743 * Fix rpcclient to obey the -W parameter.
1744 * Fix segv in smbmount and the profiles tool.
1745 * Fix typo in pdbedit help text (reported by Karolin Seeger).
1749 * Honour the $(DESTDIR) Makefile variable when installing
1753 o Jason Mader <jason@ncac.gwu.edu>
1754 * Compiler warning fixes.
1757 o Lars Müller <lmuelle@samba.org>
1758 * Fix python build with older python versions.
1759 * Update dhcp.conf files in Debian packaging
1760 * SWAT welcome file updates
1761 * Compiler warning fixes.
1762 * Add .2 to the SONAME as version suffix if we link the nss
1764 * Add -t|--password-from-stdin option to pdbedit.
1767 o James Peach <jpeach@sgi.com>
1768 * Continue not enabling valgrind on 64-bit Linux.
1771 o Tim Potter <tpot@samba.org>
1772 * Remove unused #defines.
1775 o Simo Sorce <idra@samba.org>
1776 * Debian packaging updates.
1779 o Qiao Yang <qyang@stbernard.com>
1780 * Make sure to refresh the timestamp on entries in the failed
1781 connection code in winbindd.
1784 --------------------------------------------------
1785 ===============================
1786 Release Notes for Samba 3.0.21b
1788 ===============================
1790 Common bugs fixed in 3.0.21b include:
1792 o Server crashes in smbd.
1793 o Compile issues on 64-bit platforms.
1794 o Crash bugs on big-endian systems.
1795 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
1796 o Over 30 bugzilla reports closed.
1799 ######################################################################
1803 Changes since 3.0.21a
1804 ---------------------
1808 o Jeremy Allison <jra@samba.org>
1809 * Fix the SAMR cache across handles opens and closes.
1810 * Re-add the talloc_describe_all() function for reporting pool
1812 * Merge talloc license change from Samba 4.
1813 * Fix 64-bit compile warnings reported by gcc.
1814 * Add the share path into the sharemode db.
1815 * Consistency fixes: Remove use of uint8_t -> uint8.
1816 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
1817 structure when passing through the messaging API.
1818 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
1820 * Force smbd to exit if the guest account internal setup fails.
1821 * BUG 3419: vfs_full_audit fixes for multiple connections.
1822 * Ensure SWAT lists running processes.
1823 * Fix NTLMv2 interoperability bug between Samba servers.
1824 * Oplock break logic fixes.
1827 o Andrew Bartlett <abartlet@samba.org>
1828 * BUG 3401: Fix crash bug caused by incorrect handling of weak
1829 session keys. Based on original patch from Yau Lam Yiu.
1832 o Alexander Bokovoy <ab@samba.org>
1833 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
1837 o Stefan Burkei <stefan@burkei.de>
1838 * BUG 3248: When doing auth_crap authentication use the client
1839 given workstation name not our own.
1842 o Gerald (Jerry) Carter <jerry@samba.org>
1843 * Fixing net rpc registry enumerate from overwriting the open
1845 * BUG 3380: fix crash when changing printer drivers.
1846 * BUG 3391: ensure we can lookup account policies for failed
1848 * Adding query/set ops for security descriptors on services.
1849 * BUG 3329: Solaris packaging fixes.
1850 * Better formatting for smbstatus output (based on patch from
1852 * Hook the max connections spin box in the share properties
1853 MMC plug-in dialog to the 'max connections' smb.conf parameter
1854 and the 'modify share command' option.
1855 * Work around building libnss_winbind.so on Solaris when
1856 --enable-developer is specified.
1857 * Add vendor patch level string to VERSION.
1858 * Consolidate packaging for RHEL4 and Fedora based on initial
1862 o Albert Chin <@thewrittenword.com>
1863 * BUG 3374: Build failures on True64.
1866 o Guenther Deschner <gd@samba.org>
1867 * Fill in samr_get_dom_pwinfo based on Samba4.
1868 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
1869 * Fixes for adssearch.pl example script.
1870 * Prevent 'net rpc' from dumping clear text password at high log
1871 levels unless built with DEBUG_PASSWORD.
1872 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
1874 * Fix segfault in pdb_nds.c.
1875 * Don't write null sid mappings into the winbindd_cache.tdb.
1876 * Save sid_to_name lookup result in winbindd already after doing
1877 a successful name_to_sid.
1878 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
1879 * BUG 1524, 3205: Support changing expired passwords in
1881 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
1882 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
1883 idmap modules are build and loaded, idmap_rid now will have
1884 to be loaded without prefix, just "rid".
1885 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
1888 o Andrew Esh <Andrew_Esh@adaptec.com>
1889 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
1890 specified on the command line with -H.
1893 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1894 * End profile fixes.
1895 * BUG 3348: Don't assume owning sticky bit directory means
1896 write access allowed.
1897 * Fix double free in on failure path in POSIX acl code.
1900 o Andriy Gapon <avg@icyb.net.ua>
1901 * BUG 3458: Fix crash bug in smbd and winbindd caused by
1902 accessing freed memory.
1905 o Björn Jacke <bj@sernet.de>
1906 * Configure check for Tru64 EA functions (not yet implemented).
1907 * Find Tru64 AIO lib in configure.
1908 * Cut-n-paste fixes in configure.in.
1911 o John Janosik <jpjanosi@us.ibm.com>
1912 * IBM Tivoli Directory Server schema updates.
1915 o Michael James <michael@james.st>
1916 * sid2string fix in adssearch.pl.
1919 o William JoJo <jojowil@hvcc.edu>
1920 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
1921 * BUG 3389: Failures on AIX in linking smbd when the symbol
1922 table for ld exceeds 65536 bytes.
1923 * Add -W to smbpassword so that the ldap admin dn password does
1924 not have to be specified on the command line.
1925 * BUG 3408: Fix for external password change programs on AIX.
1926 * BUG 1779: 64-bit compile fixes.
1929 o Martin Koeppe <mkoeppe@gmx.de>
1930 * BUG 3287: Match SFU behavior for dev/inode numbers.
1933 o Volker Lendecke <vl@samba.org>
1934 * BUG 3291: Fix valgrind error in client connection code.
1935 * BUG 3292: Prevent smbclient from spinning if server terminates
1937 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
1938 connection alive smbclient.
1939 * Add lookupname to rpcclient query_user as a fallback, we now
1940 accept both rid and username.
1941 * Introduce yet another copy of the string_sub function:
1942 talloc_string_sub use by AFS token code in winbindd.
1943 * BUG 3351: pdb_mysql again overwrites password fields.
1944 * BUG 3384: Fix segv in tdbtool.
1945 * Use the same CFLAGS for generating the pch as we use to
1947 * Correct typo when compiling the vfs_catia module.
1948 * Fix automatic recreation of a new tdb sam file.
1951 o Derrell Lipman <derrell@samba.org>
1953 * Fix parsing of file times (w_time and m_time were reversed).
1954 * Add additional libsmbclient test programs.
1955 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
1956 the configuration files.
1957 * Avoid doing a NetBIOS name query for each server and workgroup
1959 * Do not open connection when only looking for cached connection.
1960 * BUG 2651: Add option to log debug messages to stderr instead
1962 * Added flag to not request authentication information.
1963 * Enhancements to smbwrapper example code.
1964 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
1968 o David May <mayd@cygnus.uwa.edu.au>
1969 * BUG 3329: Shell scripting portability fixes on 'make test'.
1972 o Tony Mountifield <tony@softins.co.uk>
1973 * BUG 3327: fix bad access to gencache.tdb after fork() in
1977 o Lars Müller <lmuelle@samba.org>
1978 * BUG 3264: Support backwards compatible setups using
1979 'idmap backend = idmap_rid'.
1980 * Add %w macro for the winbind separator.
1981 * Convert net command to use stderr for error messages rather
1985 o James Peach <jpeach@sgi.com>
1986 * Portability fixes in LDAP code. Don't use non-static array
1988 * Support the TCP_FASTACK socket option if it is available.
1989 * Tell the MIPSPro compiler to push DEBUG calls out of line.
1992 o Makr Proehl <m.proehl@science-computing.de>
1993 * BUG 1336: Print the server role when calling testparm in
1997 o Simo Sorce <idra@samba.org>
1998 * Crackcheck utility enhancement based on patch sent by
2000 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
2001 mode_t is not 32-bits.
2004 o John Terpstra <jht@samba.org>
2005 * RHEL/Fedora spec file patches.
2008 --------------------------------------------------
2009 ===============================
2010 Release Notes for Samba 3.0.21a
2012 ===============================
2014 Common bugs fixed in 3.0.21a include:
2016 o Deadlocks when multiple users access an oplocked file
2020 ######################################################################
2024 Changes since 3.0.21
2025 --------------------
2029 o Gerald (Jerry) Carter <jerry@samba.org>
2030 * RedHat 9 packaging Fixes.
2033 o Guenther Deschner <gd@samba.org>
2034 * eDirectory schema syntax fixes.
2037 o Volker Lendecke <vl@samba.org>
2038 * BUG 3349: Deadlock caused logic error in oplock code.
2040 --------------------------------------------------
2041 ==============================
2042 Release Notes for Samba 3.0.21
2044 ==============================
2046 Common bugs fixed in 3.0.21 include:
2048 o Missing groups in a user's token when logging in via Kerberos
2049 o Incompatibilities with newer MS Windows hotfixes and
2050 embedded OS platforms
2051 o Portability and crash bugs.
2052 o Performance issues in winbindd.
2054 New features introduced in Samba 3.0.21 include:
2056 o Complete NTLMv2 support by consolidating authentication
2057 mechanism used at the CIFS and RPC layers.
2058 o The capability to manage Unix services using the Win32
2059 Service Control API.
2060 o The capability to view external Unix log files via the
2061 Microsoft Event Viewer.
2062 o New libmsrpc share library for application developers.
2063 o Rewrite of CIFS oplock implementation.
2064 o Performance Counter external daemon.
2065 o Winbindd auto-detection query methods when communicating with
2066 a domain controller.
2067 o The ability to enumerate long share names in libsmbclient
2071 ######################################################################
2078 Parameter Name Action
2079 -------------- ------
2080 dfree cache time New
2081 dfree command Per share
2085 passdb expand explicit New
2086 rename user script New
2087 reset on zero vc New
2088 svcctl list Renamed from 'enable svcctl'
2092 Changes since 3.0.20b
2093 ---------------------
2095 o Jeremy Allison <jra@samba.org>
2096 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
2097 * Added 'map readonly' parameter.
2098 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
2100 * Maintain schannel client session keys in volatile
2101 $(privatedir)/schannel_store.tdb.
2102 * BUG 2769: Ensure we mangle filenames ending in a space
2103 * Catch corner case of renaming a symlinked directory into
2105 * Ensure that smb.conf requests for hidden files are honored,
2106 even when DOS attributes are stored in EA's
2107 * Add new auth method "auth_script" for calling an external
2109 * BUG 2152: Fix for mangled filenames when the client does
2110 support long filenames
2111 * Rewritten implementation of client and server DCE/RPC infrastructure
2112 * BUG 3192: Adds a "dfree cache time" parameter.
2113 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
2114 the S_IWGRP mask in the absence of a POSIX ACL.
2115 * Remove use of 'long long' in libsmbclient code.
2116 * Ensure the new canonicalize_servicename() in name/snum hash
2118 * BUG 2922: Integration of FreeBSD AIO patches from Timur
2120 * BUG 3216: Put directory opens into the share mode db so we
2121 can treat them similarly to file opens (delete on close,
2122 share mode violations etc.).
2123 * Fix bug in name mangling code when case sensitivity is enabled.
2124 * Remove external dependencies from the sharemodes library.
2125 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
2126 * Don't misinterpret wild card characters in file names on disk
2127 as they are actually valid characters.
2128 * BUG 3223: Fix bug in account policy management when
2129 account_pol.tdb settings have been migrating to an LDAP
2131 * Allow the hash size of the tdb open (locking) database to be
2133 * Fix error code returns on client spoolss code.
2134 * Remove unneeded strncpy use.
2135 * Fix uninitialized variables warnings.
2136 * Cleanup smbcacls security descriptor parsing and error codes.
2137 * BUG 3224: Correctly use machine_account_name and client_name
2138 when doing netlogon credential setup. Fixes winbindd running
2140 * Backport Samba 4 time zone handling.
2141 * Fix core dump if setmntent() returns NULL.
2142 * Replace old crc32 code with one from the FreeBSD tree.
2143 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
2144 * Remove #define of close -> close_fn macro in libsmbclient.
2145 * Return early if -1 returned from *BSD EA call (reported by
2147 * Name space cleanup by marking local functions static.
2148 * Move samr enumeration cache from per handle basis to a shared
2150 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
2151 OS/2 servers (based on patch from Guenter Kukkukk).
2152 * Ensure default applies to new files (reported by Thomas
2154 * BUG 3293: Use SMBecho to testing the server in client rather
2156 * Merge talloc fixes from Samba 4 branch.
2157 * Add support DCE/RPC cancel operation.
2158 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
2159 when using EA for DOS attributes.
2160 * Fix bug in returning remote time (reported by Thomas Bork).
2161 * No users or groups to return in BUILTIN domain.
2162 * Removed separate "builtin" search enumeration.
2163 * Added count_sam_aliases to return the correct alias count.
2164 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
2165 eDirectory when accessing the universal password.
2166 * Fix deadlock condition in share mode locking code.
2167 * Fix logic bug in unix_mask_match().
2168 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
2172 o Rashid N. Achilov <shelton@granch.ru>
2173 * Add better service description names to the svcctl code.
2176 o Timur Bakeyev <timur@com.bat.ru>
2177 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
2180 o Andrew Bartlett <abartlet@samba.org>
2181 * Remove another ancient NTLMSSP implementation.
2182 * Allow machine account logons work if the client gives the
2186 o Alexander Bokovoy <ab@samba.org>
2187 * Add POSIX statvfs() to VFS api.
2190 o Gerald (Jerry) Carter <jerry@samba.org>
2191 * Eventlog and ServiceControl support.
2192 * BUG 1051: store the directory path so we can send the full
2193 name in the unlink call from smbclient.
2194 * Use reference count strategy for keeping the registry tdb
2196 * Convert internal registry objects to new hierarchical talloc
2197 * Allow the root user a free pass for access checks in the
2198 registry and service control checks.
2199 * Sanity checks in the privilege code to prevent empty SID
2201 * Add basic infrastructure for 'make test' when the socket
2202 wrapper library is configured at compile time
2203 * Convert profiles utility to use the current regfio interface
2204 for reading and writing user profiles
2205 * Remove netsamlogon_cache interface
2206 * Ensure that print jobs are removed even when the cancel
2207 command is received before the print cache has been updated
2208 * Fix linking problem on Solaris when including ACL support.
2209 * Give root a free pass to open the eventlog tdb files.
2210 * Fix segfault in addprinter due to mixing talloc() and
2212 * fix invalid read reported by valgrind in the spoolss
2213 backchannel connection.
2214 * Remove use of 'long long' in perfcounter registry code.
2215 * BUG 3201: make sure request structure is cleared prior to
2216 sending the request to winbindd.
2217 * Don't count open pipes in the num_files_open on a connection
2218 (regression from Samba 2.2).
2219 * Ensure servername hashing code normalizes the name.
2220 * Fix checks for connect() in -lnsl[_s].
2221 * Convert eventlog API to use NTSTATUS return codes rather
2223 * Fix segv in winbindd caused by an uninitialized variable
2224 in winbindd_dual_getsidaliases().
2225 * Allow winbindd to select the appropriate backend methods
2226 based on the DC attributes and not the security parameter.
2227 * Re-add the netsamlogon_cache tdb and ensure that user entries
2228 are updated from the PAC data during Kerberos ticket
2230 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
2231 by mangling machine names in sub_set_smb_name().
2232 * Add smbget to the list of tools built by default.
2233 * Fix clearing of eventlog tdb files.
2234 * Fix sequential reads in eventlog support.
2235 * BUG 2718: Don't use qpathinfo_basic() call when remote server
2237 * Fix build issues with the Sun compiler.
2238 * BUG 3156: Don't use find_service() when explicitly looking
2240 * Fix nss_winbind_solaris.c build breakage on HP-UX.
2241 * Initialize the local group description.
2242 * Disable WINS and NetLogon services in the MMC services
2243 plugin when the associated smb.conf features are not enabled.
2244 * Add checks for invalid characters in new share names on the
2246 * Fix SWAT installation issues with 'make install'.
2247 * Always add the BUILTIN\Administrators SID to a Domain
2251 o Alex Deiter <tiamat@komi.mts.ru>
2252 * BUG 3196: Patch to compile against the Sun LDAP client libs.
2253 (not for AD support; just ldap support).
2256 o Guenther Deschner <gd@samba.org>
2257 * Fixed compile problems and warnings with newer OpenLDAP
2259 * Fix bug when enumerating trusted domains via 'wbinfo -m'
2260 * Parse the MS Kerberos PAC to obtain the user group
2261 membership during logon.
2262 * Add support for SeRestorePrivilege to allow a process to
2263 change the ownership of a file to any arbitrary account
2264 * Fix password history storage when using Novell eDirectory for
2266 * Backport Kerberos PAC parsing from Samba 4 branch in order to
2267 correctly create the NT User Token when logging into a Samba
2269 * Add small helper function to return a PAC_LOGON_INFO.
2270 * Use LDAP bitwise matching rule when searching for groups
2272 * Avoid an infinite loop when retrying to connect in smbspool.
2273 * Memory leak fixes in the Kerberos PAC parsing code.
2274 * Improve NT_STATUS error messages returned from pam_winbind.
2275 * Rename unknown samr group fields in samr structures with
2276 the correct name.removed separate "builtin" search enumeration.
2277 * Cleanup redundant StartTLS code.
2278 * Allow StartTLS support when connecting to Windows 2003 by
2279 setting 'ldap ssl = start_tls'.
2280 * Support raw NTLMSSP session setups in smbspool.
2281 * Add rpccli_samr_chgpasswd3().
2282 * Add 'wbinfo --separator'.
2283 * Uninitialized warnings fixes.
2284 * Fix return value in client spooler code.
2285 * Require forced migration of account policies.
2288 o Steve French <sfrench@us.ibm.com>
2289 * Fix cifs to handle non-numeric uid and gid parameters.
2290 * Merge trunk and SAMBA_3_0 mount.cifs code.
2291 * Cleanup cifs cfs help message.
2294 o Paul Green <paulg@samba.org>
2295 * Update to the latest config.guess and config.sub files.
2298 o Deryck Hodge <deryck@samba.org>
2299 * Allow control of syslog facility and level in audit vfs modules.
2302 o S Murthy Kambhampaty <smk_va@yahoo.com>
2303 * Patches for Fedora RPM specfile and init script
2306 o Krishna Ganugapati <krishnag@centeris.com>
2307 * Use the subtree delete ldap control when running 'net ads
2311 o Volker Lendecke <vl@samba.org>
2312 * New oplock implementation.
2313 * Add assert() call if winbindd cannot locate the domain SID in
2314 secrets.tdb on startup
2315 * Fix an annoying timeout in winbindd when nmbd is not running.
2316 * Speed up loading smb.conf for large numbers of share
2317 definitions by adding an internal hashing of names to snums.
2318 Thanks to Michael Adam.
2319 * Fix potential segv in rpcclient's lsarpc calls.
2320 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
2321 * Fix alignment in getdc response.
2322 * Allow pdbedit to set the domain for a user account.
2323 * Fix fallback logic in rpc binds.
2324 * Fix memleak in message handling code.
2325 * Fix connection bug to port 445 and 139 after a successful
2327 * Add additional calls to initialize_krb5_error_table() for
2328 Kerberos client code.
2329 * Implement the possibility to have AFS users as SIDs in pts.
2330 * Removed unused alternative_name code from winbindd.
2331 * Protect against NULL alternative_name strings in winbindd.
2332 * Define a default panic action with -DEVELOPER is defined.
2333 * Add the capability to reset smbd connections on a zero VC id.
2334 * Allow smb.conf variable expansion to be disabled in passdb
2336 * Add lookupname to rpcclient query_user as a fallback.
2337 * BUG 3292: Prevent smbclient from spinning when the server
2339 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2340 * Add samr_lookup_rids for the builtin domain.
2341 * Memory allocation cleanups in passdb.
2342 * Restrict samr_open_domain() to our domain only.
2343 * Change local_lookup_sid() to local_lookup_rid() since it
2344 is responsible for our domain only.
2345 * Fix some uninitialized variable warnings.
2346 * Fix winbind_lookup_name for the local domain,
2349 o Derrell Lipman <derrell@samba.org>
2350 * Cleanup libmsrpc version numbers.
2351 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
2352 * Fix crash bug in libsmbclient.
2353 * Add long share name support to libsmbclient when enumerating
2357 o Jason Mader <jason@ncac.gwu.edu>
2358 * Removed compiler various warnings.
2361 o Alex Masterov <alex@infobit.ru>
2362 * BUG 3218: Fix XATTR calls on *BSD systems.
2365 o Jim McDonough <jmcd@us.ibm.com>
2366 * Speed up string_to_sid by removing next_token calls and
2367 unneeded strncmp() calls.
2368 * Implement user rename for smbpasswd and LDAP backends.
2369 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2370 * BUG 3187: Fix time zone offset in logon hours restrictions.
2373 o Stefan Metzmacher <metze@samba.org>
2374 * Fix setting of quotas on linux kernel with the struct
2376 * Enable sysquota interface on Linux by default
2377 * Use lp_socket_address() when binding to port 138/udp in nmbd.
2380 o Brian Moran <bmoran@centeris.com>
2381 * Eventlog and ServiceControl support.
2382 * Added eventlogadm tool for writing Eventlog records.
2383 * Fix typo when creating Eventlog source DLL registry paths.
2384 * Add simple script to tail syslog and write records to
2386 * Fix segv in eventlogadm when not event logs are listed in
2390 o Lars Müller <lmuelle@samba.org>
2391 * Only install smbsh manpage if smbwrapper has been successfully
2393 * Ensure setmntent() returns with != NULL in the disk_quotas()
2395 * Add configure switch to disable libmsrpc build.
2396 * Add a soname to libmsrpc.
2399 o Ricky Nance <ricky.nance@gmail.com>
2400 * Updates for the mklogon perl scripts.
2403 o Chris Nicholls <skel@samba.org>
2404 * New libmsrpc library (Google SoC Project).
2405 * Fix libmsrpc build of on the Sun compiler by removing empty
2406 structure declarations.
2409 o James Peach <jpeach@sgi.com>
2410 * Fix parsing error for smb ports parameter.
2413 o Tim Potter <tpot@samba.org>
2414 * BUG 3260: Fix DYNEXP flags on HPUX.
2417 o Marcin Porwit <mporwit@centeris.com>
2418 * Eventlog and ServiceControl support.
2419 * Added basic Performance Counter daemon which can feed data
2420 for the Windows perfmon.exe tool.
2421 * Fix directory permissions in the perfcounter daemon.
2422 * Add the 'File' registry value for the eventlog keys.
2425 o Aruna Prabakar <aruna.prabakar@hp.com.
2426 * Add checks to verify that the spooler is running on HP-UX when
2427 reloading the printer name cache.
2430 o Joel Smith <joel.j.smith@novell.com>
2431 * Add iPrint printing backend support.
2434 o Toomas Soome <Toomas.Soome@mls.ee>
2435 * Implement host lookups in nss_winbind.so.1 on Solaris
2438 o Simo Sorce <idra@samba.org>
2439 * Update Debian packaging.
2442 o John Terpstra <jht@samba.org>
2443 * Add 'net idmap' usage help text.
2446 o Andrew Tridgell <tridge@samba.org>
2447 * Change license notice of standalone talloc library to LGPL.
2450 o Darren Tucker <dtucker@zip.com.au>
2451 o Crash fix for snprintf() code.
2454 o Rainer Weikusat <rainer.weikusat@sncag.com>
2455 * Fix function name typo in skeleton VFS code.
2459 Release Notes for older release follow:
2461 --------------------------------------------------
2462 ===============================
2463 Release Notes for Samba 3.0.20b
2465 ===============================
2467 Common bugs fixed in 3.0.20b include:
2469 o A crash bug in winbindd
2470 o Reporting files as read-only instead of returning the
2471 correct error code of "access denied"
2472 o File system quota support defects
2475 ######################################################################
2480 Changes since 3.0.20a
2481 ---------------------
2486 o Jeremy Allison <jra@samba.org>
2487 * BUG 3088: Fix error condition for files on a read-write share
2488 which cannot be read due to permissions.
2491 o Gerald (Jerry) Carter <jerry@samba.org>
2492 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
2494 * BUG 1473, 3090: Quota detection and compilation problems on
2498 o Marc Balmer <marc@msys.ch>
2499 * Build fixes when builddir != srcdir
2502 o Alex Deiter <tiamat@komi.mts.ru>
2503 * BUG 3145: Fix build issue regarding quota support on Solaris.
2506 o Volker Lendecke <vl@samba.org>
2507 * BUG 3068: Fix for winbindd crashed by empty DC alternative
2511 --------------------------------------------------
2512 ===============================
2513 Release Notes for Samba 3.0.20a
2515 ===============================
2517 Common bugs fixed in 3.0.20a include:
2519 o Stability problems with winbindd.
2520 o Crash bugs caused by incompatibilities on 64-bit systems.
2521 o Missing files from directory listings on AIX servers
2522 o User Manager interoperability problems.
2523 o Minor build difficulties on various platforms such as
2524 Solaris and OpenBSD,
2527 Winbind, security = domain, and Active Directory
2528 ================================================
2530 Recent security updates for Windows 2000 and Windows 2003 have
2531 changed the fashion in which user and group lists can be obtained
2532 from domain controllers. In short, the RPC mechanisms used by
2533 "security = domain" to retrieve users and groups is not compatible
2534 with these changes. The "security = ads" configuration is not
2535 affected by the Windows protocol changes.
2537 Samba developers are actively working to correct this problem in
2538 the 3.0.21 release. In the meantime, Administrators who are unable
2539 to migrate to "security = ads" and must continue using "security =
2540 domain", can define credentials to be used by winbindd for account
2541 enumeration by executing the following command as root.
2543 wbinfo --set-auth-user='DOMAIN\username%password'
2547 ######################################################################
2552 Changes since 3.0.20
2553 --------------------
2558 o Jeremy Allison <jra@samba.org>
2559 * BUG 3065: Fix for legacy clients retrieving a listing of
2561 * Added external library for accessing Samba's share mode
2563 * Fix winbindd credentials chain which caused logon failures
2564 after attempting to authenticate an unknown user.
2565 * Fix recursive looping bug in winbindd.
2566 * Fix build errors on 64-bit systems.
2567 * Posix ACL memory leak and crash bug fixes.
2568 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
2569 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
2570 * Hide dot files and directory logic fixes.
2571 * Correct display of open file modes by smbstatus.
2572 * BUG 3010: Fix missing files bug on AIX systems.
2575 o Gerald (Jerry) Carter <jerry@samba.org>
2576 * Allow the root user to automatically pass se_access_checks()
2577 in the registry and service control server code.
2578 * Ensure that winbindd uses the correct name in the net_auth2()
2579 request when running on a Samba PDC.
2580 * Fix linking problem with tdb utilities.
2581 * BUG 3080: Fix regression in 'net rpc shutdown' command.
2582 * Fix segv in 'net rpc' when the pipe open fails.
2583 * Fix upload bug when installing 64-bit Windows printer drivers.
2584 * Fix regression in the smburi syntax used by smbspool.
2585 * Fix sorting of subkey hash records in registry files.
2586 * Correct REG_CREATE_KEY_EX parsing error.
2587 * Interoperability issues with usrmgr.exe and Samba groups.
2588 * Use the display names and not the Unix names when enumerating
2589 groups in the ldapsam passdb backend.
2590 * Ensure that Windows domain user names are converted to lower case.
2593 o Guenther Deschner <gd@samba.org>
2594 * Prevent BUILTIN sids returned in the user's token from
2595 a Windows DC from being applied to any local group mappings
2597 * Plug memory leaks in the Kerberos keytab code.
2598 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
2599 backend when 'winbind nested groups' is enabled.
2600 * Fix crash bug in winbindd caused by 64-bit build issues.
2601 * Improve debug messages in smbspool.
2602 * Give better error-message when "NDS Universal Password" change fails.
2603 * Fix password history error in the eDirectory schema file.
2604 * Ensure that Windows domain group names are converted to lower case.
2607 o Steve French <sfrench@us.ibm.com>
2608 * Allow disabling mandatory byte range lock mount flag, and fix
2609 corresponding entry in mtab.
2612 o Volker Lendecke <vl@samba.org>
2613 * Fix race condition in the NTcreate&X open code when the
2614 disposition is NTCREATEX_DISP_CREATE.
2615 * Correct logic error when checking the pid for pending print
2616 change notify messages.
2617 * Ensure that winbindd child process complete startup even when
2618 the parent is receiving authentication requests.
2619 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
2620 when authentication fails.
2623 o Jason Mader <jason@ncac.gwu.edu>
2624 * Compile warning fixes.
2627 o Uli Meis <a.sporto@gmail.com>
2628 * Patches for pdb_*sql.c
2631 o Luke Mewburn <lukem@NetBSD.org>
2632 * Autoconf syntax fixes.
2635 o James Peach <jpeach@sgi.com>
2636 * Correct problem with creating a core file in Linux.
2639 o Stefan Metzmacher <metze@samba.org>
2640 * Quota fixes in smbd.
2643 o Peter Rindfuss <rindfuss@wz-berlin.de>
2644 * Patches for pdb_*sql.c
2647 o Jiri Sasek <Jiri.Sasek@Sun.COM>
2648 * Solaris toolchain patches for autoconf scripts.
2651 o Andrew Tridgell <tridge@samba.org>
2652 * Fix for tdb clear-if-first race condition.
2655 o Leo Weppelman <leo@wau.mis.ah.nl>
2656 * BUG 3104: Don't allow time updates to files on read-only shares.
2659 o Steve Williams <steve@celineandsteve.com>
2660 * BUG 3052: Fix compile issues on OpenBSD.
2663 --------------------------------------------------
2664 ==============================
2665 Release Notes for Samba 3.0.20
2667 ==============================
2669 Additional features introduced in Samba 3.0.20 include:
2671 o Support for several new Win32 rpc pipes.
2672 o Improved support for OS/2 clients.
2673 o New 'net rpc service' tool for managing Win32 services.
2674 o Capability to set the owner on new files and directory
2675 based on the parent's ownership.
2676 o Experimental, asynchronous IO file serving support.
2677 o Completed Support for Microsoft Print Migrator.
2678 o New Winbind IDmap plugin (ad) for retrieving uid and gid
2679 from AD servers which maintain the SFU user and group
2681 o Rewritten support for POSIX pathnames when utilizing
2682 the Linux CIFS fs client.
2683 o New asynchronous winbindd.
2684 o Support for Microsoft Print Migrator.
2685 o New Windows NT registry file I/O library.
2686 o New user right (SeTakeOwnershipPrivilege) added.
2687 o New "net share migrate" options.
2690 What happened to 3.0.15 - 3.0.19?
2691 ==================================
2693 After some discussion it was deemed that the amount of changes
2694 going into the next Samba 3.0 release needed something to catch
2695 people's attention. Skipping several releases was chosen as
2696 the best solution with the least overhead. There will be no
2697 3.0.15 - 3.0.19 ever released. The next production release
2698 following 3.0.20 should be 3.0.21.
2700 The original announcement about the version number change can
2701 be found in the samba mailing list archives:
2703 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
2706 Asynchronous Winbind Implementation
2707 ===================================
2709 Winbindd has been completely rewritten in this release to support
2710 an almost completely non-blocking, asynchronous request/reply
2711 model. This means that winbindd will scale much better in
2712 large domain environments and on high latency networks. Neither
2713 the client interface nor the command line tools (i.e. wbinfo) have
2714 changed in their calling conventions or syntax. However, due to
2715 internal structure changes, it is required (more so than normal)
2716 that you install the nss_winbind.so library included in this release.
2719 Support for Microsoft Print Migrator
2720 ====================================
2722 Samba 3.0.20 includes full support for migrating printers from
2723 Windows servers or other Samba servers via the Microsoft Print
2724 Migrator tool. Restoring printers requires a working "add printer
2725 command" defined in smb.conf. Current support also allows
2726 administrators to create a master list of printer drivers which
2727 can be restored in bulk on new (or existing) Samba installations.
2730 Asynchronous IO Support
2731 =======================
2733 Experimental support for async IO has been added to smbd for
2734 certain platforms. To enable this new feature, Samba must be
2735 compiled to include the --with-aio-support configure option.
2736 In addition, the "aio read size" and "aio write size" to non-zero
2737 values. See the smb.conf(5) man page for more details on these
2741 ######################################################################
2748 Parameter Name Action
2749 -------------- ------
2750 acl check permissions New
2751 acl group control New
2752 acl map full control New
2755 enable asu support New
2758 map to guest Modified (new value added)
2759 max stat cache size New
2760 min password length Removed
2761 printer admin Deprecated
2762 username map script New
2763 winbind enable local accounts Removed
2764 winbindd nss info New
2767 Changes since 3.0.14a
2768 ---------------------
2774 o Jeremy Allison <jra@samba.org>
2775 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
2776 * Ensure the old SMB search calls always ask mask_match() to
2777 translate patterns like ????????.???.
2778 * Split out the check_path_syntax() into a findfirst, findnext,
2779 & wildcard versions.
2780 * Fix checks for matching groups in an file ACL against the
2781 user's primary and supplementary group list.
2782 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
2783 LANMAN2 protocol, ensure the EA size is always correctly
2784 set on a query for a file with no EA's.
2785 * BUG 2551: Look at the incoming flags2 flag
2786 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
2787 uppercased on a SMBsearch request, not the protocol level.
2788 * Added "volume" command to smbclient that prints out the
2789 volume name and serial number.
2790 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
2791 * Add support for OS/2 Extended Attributes.
2792 * Correctly check OpenX open modes.
2793 * Ensure allocation size is correctly returned for OpenX.
2794 * Only set allocation on create/truncate for nttrans.
2795 * Fix oplock bug in trans2open() code.
2796 * Remove unix_ERR_XXX global nastiness.
2797 * Only do the strange DOS error for openX, not trans2open.
2798 * Ensure SMBopen replies includes the share modes as well as
2800 * BUG 2581: Add size limit (in kb) to stat cache.
2801 * Fix bug in the trans2 secondary processing.
2802 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
2803 * Add an SMB counter per connection struct for gathering
2805 * BUG 2605: Ensure smbclient doesn't perform commands if
2806 the "chdir" fails in a scripted set.
2807 * Ensure a 'forced group' is added to the list of effective
2808 gids when processing ACLs.
2809 * Refactor rpc_bind structures for better future work.
2810 * BUG 2942: Add missing value in debug message.
2811 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
2812 by 'mangling method = hash'.
2813 * Fix memory leaks in the msdfs trans2 server code.
2814 * Convert msdfs server to be talloc'd based.
2815 * Fix up stackable vfs interface.
2816 * Fix rpc fault when encountering an unknown rpc_bind auth
2818 * BUG 2954: More AIX 5.1 AIO compile fixes.
2819 * Fix valgrind bug in interaction with new aio buffer (found
2821 * BUG 2878: Fix Norton commander not running on OS/2 clients.
2822 * Cleanup SAMR user info structure naming.
2823 * BUG 2889: Fix directly listings from OS/2 clients.
2824 * Added "acl group control" parameter.
2825 * Add debug warning if AddPrinterEx() is called without having
2826 an 'add printer command' defined.
2827 * Add better log messages when modifying ldap entries.
2828 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
2829 when string is unaligned.
2830 * BUG 2918: Fix SMB chaining by ensuring that deferred open
2831 message buffer is nor reused.
2832 * Add support for client setting capabilities to select posix
2833 pathnames on the wire.
2834 * Stop using C++ reserved words so that Samba can be compiled
2835 using g++. Also allows VFS modules in C++.
2836 * More fixes to allow better large directory scaling.
2837 * BUG 2827: Ensure we call the vfs connection hook before
2838 doing a vfs stat. Allows database vfs backends to initialize
2839 with a working connection.
2840 * BUG 2826: Ensure the correct return value for symlink and
2841 readlink in the VFS.
2842 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
2843 * Added AIO support to smbd.
2844 * Add "acl map full control", true by default, to allow people
2845 to change mapping of rwx to full control or not.
2846 * Transition smbd to use NTcreate&X for internal file opens.
2847 * Add checks against the current effective group id (e.g. force
2848 user) when testing write permissions one ACLs.
2849 * Fix FindFirst/FindNext server code when parsing directories
2850 on old IRIX XFS file systems (thanks to Cale Fairchild
2851 for the debugging help).
2852 * BUG 2644: Test for special files to be ignored was reversed.
2853 * Ensure yield_connection() is called on all appropriate error
2855 * Fix EDEADLCK problem with deferred open calls.
2856 * BUG 2622: Remove DPTR_MASK as it makes no sense.
2857 * Fix the write cache based on some VERY good detective work
2859 * BUG 2346: Fix read-only excel file bugs.
2860 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
2861 return ENOSYS if not implemented.
2862 * Add new CAP for POSIX pathnames.
2863 * BUG 2703: Add NULL guard for disp_fields[0].
2864 * BUG 2681: With "strict allocate = yes" we now zero fill when
2865 a file is extended. Should catch disk full errors on write
2867 * Add "acl check permissions" to turn on/off the new
2868 behavior of checking for write access in a directory
2870 * Refactor printing interface to take offset into job.
2871 * Allow mapping of POSIX ACLs to NT perms to differentiate
2872 between directories and files.
2873 * Added encrypt/decrypt function for LSA secrets and trusted
2874 domain passwords on the wire.
2875 * BUG 2729: Resume keys are *mandatory* for a search when
2876 listing a W2K and above server from a FATxx filesystem only.
2877 * BUG 2735: Ensure that smbd mangles control characters in file
2878 and directory names.
2879 * Refactor small pieces of socket handling code (in conjunction
2881 * BUG 2698: Fix infinite listing loop in smbclient caused by
2882 an invalid character set conversion.
2883 * Add client code that will abort a directory listing if we
2884 see the same name twice between packets.
2885 * Performance improvements in trans2 qfilepathinfo code by
2886 removing unnecessary memset() calls.
2887 * Rewrite the RPC bind parsing functions to follow the
2888 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
2889 * BUG 2774: Set sparse flag if needed when returning
2891 * Fix errors listing directories from Windows NT clients
2892 which caused "." and ".." to show up in explorer.exe.
2893 * Merge of error code fixes from SAMBA_4_0 branch.
2894 * BUG 2801: Fix regression in the "delete veto files" option.
2895 * Fix based on work from Shlomi Yaakobovich to catch loops
2896 in corrupted tdb files.
2897 * Allow someone with SeTakeOwnershipPrivilege to chown the
2898 user of a file to herself.
2899 * Fix minor compiler warnings in printing/printing.c.
2900 * Merge new DOS error code from SAMBA_4.
2901 * Fix issue when non-English characters in filenames and
2903 * Fix bogus error message in smbstatus about unknown share modes.
2906 o Andrew Bartlett <abartlet@samba.org>
2907 * Support raw NTLMSSP authentication for Windows Vista
2909 * Fix parallel NTLMSSP processing by removing global state.
2910 * BUG 2684: Add per service hosts allow/deny checks for
2911 printers when connecting via MS-RPC.
2912 * BUG 2391: Fix segv caused by free a static pointer returned
2914 * Support Kerberos authentication in smbd when using a keytab
2915 and participating in a non-Microsoft Kerberos realm.
2918 o Timur Bakeyev <timur@com.bat.ru>
2919 * BUG 2546: Add support for FreeBSD EA API
2920 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
2921 * BUG 2908: Fix string length logic error in msdfs code.
2922 * BUG 2909: Fix typo that caused smbd to call the wrong
2926 o Ed Boraas <ed.boraas@concordia.ab.ca>.
2927 * Added Linux per-socket TCP settings.
2930 o Gerald (Jerry) Carter <jerry@samba.org>
2931 * Added support for \svcctl pipe rpcs.
2932 * Added 'net rpc service' subcommand for managing Win32
2934 * Refactoring work on the rpc [un]marshalling layer and
2936 * Verify privilege name in 'net rpc rights privileges' in
2937 order to provide better error messages.
2938 * Cleanup rpc structures in rpc_spoolss.h.
2939 * Cleanups and fixes for the \winreg server code.
2940 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
2941 * Fix bugs in client spoolss code after refactoring work.
2942 * Fix Valgrind warnings of invalid reads in the spoolss
2944 * Fixed a segv when enumerating services on a Samba host.
2945 * Fix segv in the service control server code.
2946 * Fix crashes in client spoolss calls caused by not checking
2947 for a valid pointer from the caller.
2948 * Fix regression in DeleteDriver() server routines.
2949 * Fix dup_a_regval() when size is 0.
2950 * Fix usrmgr.exe crash when viewing user properties at
2952 * Do not enumerate any privileges when 'enable privileges = no'
2953 and log a message if a client tries.
2954 * BUG 2872: Fix cut-n-paste error when checking pointer value
2955 in ntlmssp_set_workstation().
2956 * Fix upgrade path from earlier nt*tdb files.
2957 * Removed print handle object cache.
2958 * BUG 2853: Don't strip out characters like '$' from printer
2959 names when substituting for the lpq command.
2960 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
2961 * Fix build issues on x86_64-linux systems caused by valgrind
2962 headers. Thanks to Bent Vangli to the suggestions.
2963 * Refactor spoolss client calls.
2964 * Adding 'username map script'.
2965 * Disable schannel on the LSA and SAMR pipes in winbindd client
2966 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
2967 * Cleanup of winreg API functions.
2968 * Add server stubs for RegSetKeySec() and RegGetKeySec().
2969 * Map generic bits to specific bits in reg_open_entry()
2971 * Add write support to registry tdb and printing backends.
2972 * Use tdb lookups rather than hard-coding certain registry
2973 value names and data.
2974 * BUG 2808: don't try to install man pages if they are not
2976 * Fix initialized variables reported by valgrind.
2977 * Normalize key lookups in ntprinters.tdb.
2978 * Mark "enumports command" as deprecated.
2979 * Add missing class file for python share command example.
2980 * Fix smbclient build issue on Solaris.
2981 * BUG 2626: ensure that the calling_name is set to something
2982 after parsing smb.conf (if not set via -n).
2983 * Use "add machine script" when creating a user (ACB_NORMAL)
2984 who has a name ending in '$' (e.g. usrmgr.exe creating
2985 domain trust accounts).
2986 * Add 'rid' synonym for idmap_rid IDMap module.
2987 * Ensure that we set full access on the handle returned
2988 from _samr_create_dom_{alias,group}() so that future
2989 set_{alias,group}() commands succeed.
2990 * Fix bug when looking for internal domains in winbindd
2991 (caused winbindd_getgrgid() for local groups to fail).
2992 * Fix query and set alias info calls (level 1 from the MMC
2993 manage computer plug-in.
2994 * Remove bogus log messages about unknown specversions.
2995 * BUG 2680: copy files from an MS-DFS win2k root share
2996 * BUG 2688: re-implement support for the -P (--port) option
2997 * Support connecting to an 'msdfs proxy' share on a Samba
2999 * Strip the directory path from cups command line printing
3001 * Fix bug that prevented smbclient from creating directories
3003 * Deprecate the "printer admin" parameter in favor of the
3004 SePrintOperatorPrivilege.
3005 * Add the capability to read and write WinNT regf registry
3007 * Implement access checks for RegOpenXXX() server calls.
3008 * Extend registry client rpc calls.
3009 * Add "net rpc registry" set of commands.
3010 * Remove testprns tool.
3011 * Ensure that printer ACLs use the specific bits as well as
3012 the generic bits. Upgrade existing ntprinters.tdb SECDESC
3014 * Add server support for RegSaveKey() for dumping registry
3015 trees to a regf file.
3016 * Add "enable asu support" smb.conf parameter.
3017 * Merge various small file changes from trunk.
3018 * Remove "winbind enable local accounts" support.
3019 * Remove "ldap filter" smb.conf option.
3020 * Remove editreg utility (needs to be rewritten using regfio.c).
3021 * Fix build failure when running 'make torture' without first
3022 running 'make all' first.
3023 * BUG 1261: Remove unusable libbiconv from iconv detection
3025 * Add new option for "map to guest". "Bad Uid" re-enables the
3026 Samba 2.2 behavior of mapping authenticated users to the
3027 guest account if there does not exist a valid Unix account
3028 for the Windows domain user (based on patch from
3029 aruna.prabakar@hp.com).
3030 * Fix a couple of regressions after introduction of new winbindd.
3031 * Fix smbpasswd user password change (still worked by bad error
3032 messages) due to trying to strdup a NULL pointer.
3033 * Implement default security descriptors for the
3034 OpenService[Manager]() calls and check requested access mask
3036 * Include access checks on handle mask for \svcctl operations
3037 such as ControlService() and StartService().
3038 * Implement simulated start and stop service control for
3039 the spooler service as a per smbd service state value.
3040 * Add interface structure for controlling service via rc.init
3041 scripts (incomplete).
3042 * Convert move_driver_to_download_area() to use copy_file()
3043 rather than moving the files.
3044 * Add version number to registry.tdb file since it can be
3046 * Remove over-paranoid assert() call when checking spoolss
3048 * Fix error in EnumPrinterData() reported by valgrind.
3049 * Fix broken help links in SWAT editor caused by new doc layout.
3050 * Ensure that a domain structure in winbind is initialized prior
3051 to assigning the methods for communicating to a DC.
3052 * BUG 3000: Remove background updates of winbind cache and allow
3053 child processes to immediately update and expired cache entry.
3056 o David.Collier-Brown <David.Collier-Brown@sun.com>
3057 * Added panic action script for Solaris.
3060 o Jeremy Cooper <jeremy@ncircle.com>
3061 * Added support for several new \winreg client rpcs.
3064 o <core@road-star.jp>
3065 * BUG 2792: Ensure the shadow copy module hooks seekdir,
3066 telldir, rewinddir to match updated large directory code.
3069 o Guenther Deschner <gd@samba.org>
3070 * Close handles on group creation in rpcclient to better
3071 support mass group account creation.
3072 * Fix account policy key lookup for minimum and maximum
3074 * Fix some compiler warnings and add missing exclude-block
3075 in 'net rpc share migrate'.
3076 * Allow use of a non-default smb.conf by rpcclient.
3077 * Fix querydispinfo search semantics in rpcclient test code.
3078 * Fix querydispinfo server semantics to allow to list more
3080 * Fix server crash bug in ancient OpenPrinter() call.
3081 * Fix a crash bug when enumerating privileges via the LSA
3083 * Fix crash in EnumPrinterKey() client calls caused by previous
3085 * Various compiler warning fixes.
3086 * Fix segfault in the client AddPrinterEx-call of 'net
3088 * Fix build issues when --with-aio-support is enabled.
3089 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
3090 * Honour the CC environment variable in python build.
3091 * Fix searches in pdb_ldap for inter-domain trust accounts.
3092 * Don't expand the %L in %LOGONSERVER% from user attributes.
3093 * Fix bug in 'net rpc vampire' that caused accounts to be created
3094 with no assigned ACB flags.
3095 * Fix enumeration of builtin-aliases.
3096 * Avoid unset rids for builtin-aliases.
3097 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
3098 * More "net rpc share migrate" fixes.
3099 * Merge PADL's idmap_ad plugin (taken from the latest
3100 xad_oss_plugins-tarball).
3101 * Add support for "idmap backend = ad" when "security = ads".
3102 * Add home directory and shell support from AD via "winbindd nss
3103 support = sfu" and "security = ads".
3104 * Provide better feedback when we fail share-manipulation
3105 due to missing scripts.
3106 * Correctly substitute "\" as default winbind separator in
3107 generate_parm_table.py example share command script.
3108 * Document pam_winbind.c to clarify the working status of
3109 require-membership-of option.
3110 * Added client-support for various lsa_query_trust_dom_info()
3111 calls and a rpcclient-tester for some info-levels.
3112 * Add "net rpc trustdom vampire" tool (in conjunction with
3114 * Add missing cli_srvsvc_net_share_set_info-function and
3115 rpcclient-testers (in preparation for net share acl migration).
3116 * Print trusted domain passwords returned via rpcclient in
3118 * Error code fixes when attempting to manipulating
3119 non-existent shares.
3120 * Cleanup "net share migrate" code.
3121 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
3123 * Allow admins to uncheck the "User must change Password at
3124 next Logon" checkbox in User manager (merge from trunk).
3127 o Renaud Duhaut <rd@duhaut.com>
3128 * BUG 1040: Add directory_mode parameter when creating recycle
3132 o Steven Edwards <steven_ed4153@yahoo.com>.
3133 * Use chsize() if we don't have ftruncate().
3136 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
3137 * BUG 1780: Add Kerberos (file based ticket cache) support
3141 o Steve French <sfrench@us.ibm.com>
3142 * Update list of mount options for mount.cifs.
3143 * Add more defines for POSIX extensions to match the newly
3144 added client implementation.
3145 * Add initial support for cifs umount utility.
3146 * Fix cifs mounts to handle commas embedded in prompted
3147 password, and password and credential files.
3148 * Fix cifs mounts to handle domain name and user name in
3149 username field (in form domain\user).
3150 * Add missing error code mappings when a client unsuccessfully
3151 tries to create a hard-link.
3152 * Add support so umount.cifs can update mtab.
3153 * Add two newer mount options to syntax help for mount.cifs.
3154 * Add missing remount flag handling.
3155 * Allow domain= to be specified in credentials file.
3156 * Fix umount.cifs help, allow root to unmount someone else's
3158 * Lock mtab when updating it during umount.cifs, also delete
3159 only one matching entry at a time.
3160 * Fix minor compiler warnings in the mount.cifs helper.
3163 o Deryck Hodge <deryck@samba.org>
3164 * BUG 2137: Encode quotes for display in HTML (original patch
3168 o Olaf Imig <Olaf.Imig@bifab.de>
3169 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
3171 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
3174 o Björn Jacke <bj@sernet.de>
3175 * Added ioctl constants reported by msbackup.exe and filemon.exe.
3178 o Kevin Jamieson <bugzilla@kevinjamieson.com>
3179 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
3182 o John Janosik <jpjanosi@us.ibm.com>
3183 * BUG 2077: Correctly fill in the correct server name when
3184 processing trusted domain logins.
3185 * BUG 2976: Mark logons for unknown domains with a
3186 non-authoritative response.
3189 o William Jojo <jojowil@hvcc.edu>
3193 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3194 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
3198 o Tom Lackemann <cessnatomny@yahoo.com>
3199 * BUG 2242: Patch to ensure that we only set the security
3200 descriptor on an NTtransact create if we created the file.
3203 o Volker Lendecke <vl@samba.org>
3204 * Port some of the non-critical changes from HEAD to 3_0.
3205 The main one is the change in pdb_enum_alias_memberships
3206 to match samr.idl a bit closer.
3207 * Close handles on user creation in rpcclient to better
3208 support mass user account creation.
3209 * Implement client RAP calls for enumusers/enumgroups level 0.
3210 * Implement a new caching API for enumerating the pdb elements.
3211 * Convert the RAP user and group enumeration functions to the
3212 utilized the pdb_search API.
3213 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
3214 RestrictAnonymous environments.
3215 * Internal passdb API changes for better search capabilities
3216 (based on original work by Guenther Deschner).
3217 * Fix various compiler warnings.
3218 * Add chain length statistics to tdbtool.
3219 * Fix set afs ACL calls on files and directories in the root of
3221 * Refactoring work on internal open code
3222 * Correctly initialize the version in a new set of nt*tdb files.
3223 * Remove smb_run_idle_events() from main process loop in smbd
3224 and instead rely upon the timeout processing to handle
3225 dropping idle LDAP connections.
3226 * Fix the bug where users show up as trusting domains.
3227 * Fix an assertion failure in winbindd.
3228 * Fix a memleak in vfs_afsacl.
3229 * Various compiler warning fixes.
3230 * Fix compile when --enable-socket-wrapper is defined.
3231 * Fixes for top level acls in vfs_acl.c.
3232 * Refactor passdb interface functions.
3233 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
3234 * Correct 2 segv's in "net rpc printer migrate".
3235 * Return correct group type from smbd for BUILTIN groups.
3236 * Backport the talloc() layer from Samba 4.
3237 * BUG 2701: Fix segv in ldap reconnection code.
3238 * BUG 2705: Fix segv when connecting from usrmgr.exe.
3239 * Use the SID in the user token for the %s expansion in 'afs
3241 * Memory leak fixes in passdb code.
3242 * BUG 2720: Fixes for "net usersidlist".
3243 * BUG 2725: Fix segv in "net ads user".
3244 * Only allow schannel connections if a successful Auth2
3245 has been previously performed.
3246 * Don't look at gencache.tdb for the trusted domains if
3248 * Rewrite winbindd using an asynchronous process model.
3251 o Herb Lewis <herb@samba.org>
3252 * Compiler warning cleanups.
3253 * smbwrapper Makefile and compile time check cleanups.
3254 * Adding robustness checks for tdbdump and tdbtool.
3255 * Extend tdb command line parsing to arbitrary hex characters.
3256 * Add LOCKING debug class.
3257 * Fix more compiler warnings.
3260 o Derrell Lipman <derrell@samba.org>
3261 * add support for opening a file for write with O_APPEND
3263 * Added smbsh/smbwrapper for Linux to example/libsmbclient
3265 * Fix smbc_stat() from returning incorrect timestamps IFF
3266 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
3267 and not if it used cli-getatr() to retrieve the timestamps
3269 * Fix handful of compiler warnings.
3270 * BUG 2498, 2484: smbc_getxattr() fixes.
3271 * BUG 1133: Added provision for overloading some global
3272 configuration options via the new, per-user file
3273 ~/.smb/smb.conf.append.
3274 * BUG 2543: Properly cache anonymous username when reverting
3275 to anonymous login, in libsmbclient.
3276 * BUG 2505: Fix large file support in libsmbclient.
3277 * BUG 2564: Ensure correct errno when smbc_opendir() was called
3278 with a file rather than a directory.
3279 * Correct deprecated lvalue casts in testsuite/libsmbclient.
3280 * BUG 2663. cli_getattrE() and cli_setattrE() were not
3281 formatting or parsing the timestamp values correctly.
3282 * Correctly detect AF_LOCAL support in configure.
3283 * Fix problem updating file times on Windows 98 hosts using
3285 * Fix compile breakage on Solaris by eliminating the use of
3286 ctime_r() in libsmbclient DEBUG statement.
3289 o Jason Mader <jason@ncac.gwu.edu>
3290 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
3291 * Various compiler warning fixes about mistyped variables.
3292 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
3294 * BUG 2527, 2538: Removed unused variables.
3297 o Marcel <samba.10.maazl@spamgourmet.com>
3298 * Fix regression in OS/2 trans2 open code.
3301 o Jim McDonough <jmcd@us.ibm.com>
3302 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
3303 (in conjunction with Volker).
3304 * BUG 2953: Prevent the credentials chain on DC gets out
3305 of sync with client when NT_STATUS_NO_USER is returned.
3306 * Added subcommands to "net rpc vampire" (mostly done by Don
3307 Watson <dwatson@us.ibm.com>) to allow data to be put into an
3308 ldif file instead of actually writing to the passdb.
3309 * BUG 2736: Add retries to workaround winbind race condition
3310 with detecting idle clients.
3311 * BUG 2953: Additional fixes for domain trusts. Also clears
3312 up the "bad stub" error when attempting to logon to a Samba
3313 domain with a bad username.
3316 o Luke Mewburn <lukem@NetBSD.org>
3317 * Compiler warning fixes.
3320 o Kalim Moghul <kalim@samba.org>
3321 * Removed unused printmode command from smbclient.
3324 o Lars Müller <lmuelle@samba.org>
3325 * Re-enable the VERSION_REVISION option in case of another
3327 * Fix spoolss python bindings after C++ compiler changes and
3329 * BUG 2659: Don't trump on memory in smbtorture.
3330 * BUG 2060: Add -fPIC which is the case for all other Samba
3332 * Fix argv parsing in "net rpc".
3333 * Add support to create position independent executable (PIE)
3334 code if the compiler supports it.
3335 * BUG 2767: Add new options to testparm (--show-all-parameters,
3336 --parameter-name, and --section-name).
3337 * Fix net share migrate files to also migrate the ACLs of
3338 the top level dir of a share.
3341 o Marcel Muller <mueller@maazl.de>
3342 * Patch to fix the OS/2 EA_FROM_LIST info level call.
3343 * Mangled names fix for OS/2 clients.
3344 * Ensure we correctly set the return packet size to include the
3345 pad bytes in reply_readbmpx().
3346 * Fix for bug in SMBwriteBraw that incorrectly returned the
3347 number of bytes written.
3350 o Ricky Nance <ricky.nance@gmail.com>
3351 * Implemented mklogon script generator for domain logon scripts.
3354 o James Peach <jpeach@sgi.com>
3355 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3356 * BUG 2285: Patch for hires timestamps and efficient notify code.
3357 * MS-DFS tidyup patches.
3358 * Build fixes on IRIX.
3359 * IRIX compiler warning fixes.
3360 * BUG 2596: Fix become_root link issues and one IRIX stack
3362 * Fix for null pointer ACL free.
3363 * BUG 2314: Fix const compiler warnings in the quota code.
3366 o Ed Plese <ed@edplese.com>
3367 * Fix faulty logic which caused winbindd to return failure
3368 when a user possessed no supplementary groups.
3371 o Marcin Porwit <mporwit@centeris.com>
3372 * Initial support for the \eventlog pipe.
3373 * Fix a memleak in the eventlog code.
3374 * Miscellaneous fixes for Samba's experimental event log support.
3375 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
3379 o Tim Potter <tpot@samba.org>
3380 * BUG 2940, 2943: Fixed various compiler warnings regarding
3381 mismatched types and unused variables.
3382 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3383 * BUG 2733: Fix incorrect SHLIBEXT is set when running
3384 configure script on HPUX IA.
3385 * Remove unused autoconf #define's.
3386 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3387 * Removed unused function declarations in tdb.h.
3388 * BUG 2895: Don't wrap non-existent functions in the python
3390 * BUG 2623, 2630: $< and $* are not valid in explicit rules
3392 * BUG 2560: Fix compile error lurking where PATH_MAX is not
3394 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3395 * BUG 2611: Add fflush(stdout) after displaying username prompt
3396 in smbsh if username not specified on command line.
3397 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
3398 * BUG 2808: Update install swat message to reflect the fact
3399 that swat/README no longer exists.
3402 o Denis Sbragion <d.sbragion@infotecna.it>
3403 * BUG 2196: Allow absolute path (system wide) recycle bin.
3406 o Fernando Schapachnik <fernando@mecon.gov.ar>
3407 * Add logon hours support for the Postgres backend.
3410 o Richard Sharpe <rsharpe@samba.org>
3411 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
3413 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
3414 * BUG 2362: Quota support fix for DragonFly.
3415 * Fix dragonfly detection in configure.
3418 o Simo Sorce <idra@samba.org>
3419 * Allow Domain Admins to force user sessions to close via the
3420 Windows Server Manager.
3421 * Add support to 'net rpc right privileges <name>' to enumerate
3422 accounts which possess a specific privilege.
3423 * Fix memory issues issues in vfstest (reported by Rainer Link).
3424 * Randomize reloading as to not overload cupsd.
3427 o Smitty <smitty@plainjoe.org>
3428 * Compile fixes for smbget when using --enable-developer.
3429 * Include LUID values to match Windows privileges since
3430 apparently this matters to printmig.exe
3433 o John Terpstra <jht@samba.org>
3434 * Solaris packaging fixes.
3435 * Clean up usage help text in "net rpc user"
3438 o Andrew Tridgell <tridge@samba.org>
3439 * Merge socket wrapper library fixes from Samba 4.
3442 o Brett Trotter <blt@iastate.edu>
3443 * Fix definition of global_sid_* in vfs_acl.c.
3446 o Mark Weaver <mark-clist@npsl.co.uk>
3447 * Patch to fix sys_select so it can't drop signals if another
3448 fd is ready to read.
3451 o Jelmer Vernooij <jelmer@samba.org>
3452 * Remove --with-manpage-languages configure option.
3453 * Merge socket wrapper fixes for IRIX systems from the
3455 * Add socket_wrapper library to 3.0. Can be enabled by passing
3456 --enable-socket-wrapper to configure.
3457 * Fix build of the various sql pdb backends after new talloc.
3460 o Qiao Yang <qyang@stbernard.com>
3461 * Use our own DC when getting the SID for a domain.
3465 Release Notes for older release follow:
3467 --------------------------------------------------
3468 ===============================
3469 Release Notes for Samba 3.0.14a
3471 ===============================
3473 Common bugs fixed in 3.0.14a include:
3475 o Compatibility issues between Winbind and Windows 2003 SP1
3476 domain controllers (*2k3sp1*).
3477 o MS-DFS errors with Windows XP SP2 clients.
3478 o High CPU loads caused by infinite loops in the FindNext()
3480 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
3484 ######################################################################
3488 Changes since 3.0.14
3489 --------------------
3493 o Jeremy Allison <jra@samba.org>
3494 * Fixed invalid SMB_ASSERT() triggered by checking access on
3498 Changes since 3.0.13
3499 --------------------
3504 Parameter Name Action
3505 -------------- ------
3506 dos filetimes Enabled by default
3511 o Jeremy Allison <jra@samba.org>
3512 * Prevent nt_status code support when negotiating protocols
3514 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
3515 as this SMB is DOS codepage only.
3516 * BUG 2585: Fix printf() issues in smbpasswd which caused
3518 * BUG 2563: Fix infinite loop on non-existent file with
3520 * BUG 2581 (partial): Ensure if realloc fails on an internal
3521 tdb we fail gracefully.
3522 * Ensure that 'dos filetimes' works with ACLs.
3523 * Set 'dos filetimes = yes' as the default for smb.conf.
3526 o Gerald (Jerry) Carter <jerry@samba.org>
3527 * Workaround autoconf issue to prevent debug symbols from
3528 being included in the default build.
3529 * Disable schannel on the \lsarpc pipe in order to successfully
3530 enumerate users and groups (*2k3sp1*)
3531 * Fix parsing error in rpc binds which broke NTLMSSP
3532 authentication. And as a result broke CTL+ALT+DEL password
3533 changes from a Windows 2003 SP1 member of a Samba domain
3535 * Revert change to FindFirst() server code that broke WinXP
3536 SP2 clients from launching *.exe files from a dfs target
3538 * BUG 2588: Force smbclient to send netbios messages to port
3539 139 unless otherwise instructed (based on patch from Thomas
3543 o Volker Lendecke <vl@samba.org>
3544 * Fix build on FreeBSD 4 where Winbind is not supported.
3545 * Fix 'wbinfo --user-sids' when using domain local groups.
3546 * Restrict domain local groups reported by 'wbinfo -r' to
3547 the Samba server domain and not the users domain.
3550 o Lin Li <linl@xandros.com>
3551 * Ensure that winbind initializes internal trusted domain
3552 structures when enumerating users and groups.
3555 o Tim Potter <tpot@samba.org>
3556 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
3558 * Fix compiler warnings.
3561 o <psz@maths.usyd.edu.au>
3562 * Fix for possible root squash NFS bugs.
3565 o Simo Sorce <irda@samba.org>
3566 * Debian packaging fixes.
3569 --------------------------------------------------
3570 ==============================
3571 Release Notes for Samba 3.0.13
3573 ==============================
3575 Common bugs fixed in 3.0.13 include:
3577 o Infinite FindNext() loop from Windows 9x client when
3578 copying or deleting files on a Samba file share using
3580 o Numerous smbclient bugs when listing directories.
3581 o Failures in smbclient when connecting to a Windows 9x
3585 ######################################################################
3589 Changes since 3.0.12
3590 --------------------
3592 o Jeremy Allison <jra@samba.org>
3593 * Fix typo bug in smbclient where flags overwrote info level
3594 in the cli_list_new().
3595 * Fix old smbclient bug where ff_searchcount was being compared
3596 to -1 resulting in processing a filename twice.
3597 * Fix segv in smbclient caused by overwriting the last 2 bytes
3599 * BUG 2530: Fix potential segv in smbclient when talking to a
3600 Windows 9x file server.
3601 * Fix last entry offset in cli_list_new() when using a
3602 FindFirst/FindNext info level of 0x104.
3603 * BUG 2501: Stop Win98 from looping doing FindNext on a
3604 singleton directory.
3605 * BUG 2521: Fix error in access checks when user group ACLs.
3608 o Gerald (Jerry) Carter <jerry@samba.org>
3609 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
3610 to delete all versions of a driver.
3611 * BUG 2517: use the realm from smb.conf for 'net ads info' when
3612 'disable netbios = yes'.
3613 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
3615 * Update RedHat packaging files to require cups support. Also
3616 remove requirement for 'idmap {uid,gid}' settings in smb.conf
3617 from winbindd init script.
3618 * BUG 2516: fix compile issue on True64.
3622 o Guenther Deschner <gd@samba.org>
3623 * Check for the correct cli-struct when copying files in 'net
3624 rpc printer' routines.
3627 o Herb Lewis <herb@samba.org>
3628 * Fix incorrect test in 'net rpc user' when the user is not
3629 a member of any groups.
3632 o Jim McDonough <jmcd@us.ibm.com>
3633 * Make sure that enum_group_members() searches the correct suffix.
3636 --------------------------------------------------
3637 ==============================
3638 Release Notes for Samba 3.0.12
3640 ==============================
3642 Common bugs fixed in 3.0.12 include:
3644 o Winbind failures when using 'disable netbios = yes'
3645 o Failure to establish a trust relationship via 'net rpc trust
3647 o Various portability & compiler issues.
3648 o Read only file deletion failure caused by new delete semantics
3649 in Windows XP SP2 and the MS 04-044 security hotfix.
3650 o Error messages from shared Excel workbooks residing on Samba
3652 o Missing files in the output of smbclient -c 'dir' when run
3653 against Windows file servers.
3654 o Inability for Print Administrators to pause/resume/purge print
3657 Additional features introduced in Samba 3.0.12:
3659 o Performance enhancements when serving directories containing
3660 large number of files.
3661 o MS-DFS support added to smbclient.
3662 o More performance improvements when using Samba/OpenLDAP based
3663 DC's via the 'ldapsam:trusted=yes' option.
3664 o Support for the Novell NDS universal password when using the
3665 ldapsam passdb backend.
3666 o New 'net rpc trustdom {add,del}' functionality to eventually
3667 replace 'smbpasswd {-a,-x} -i'.
3668 o New libsmbclient functionality.
3672 =======================
3673 Large Directory Support
3674 =======================
3676 Samba 3.0.12pre1 introduces a specific mechanism for dealing
3677 with file services that frequently contain a large number of files
3678 per directory. Historically Samba's performance has suffered
3679 in such environments due to the translation from case
3680 insensitive lookups by Windows client to the case sensitive
3681 storage mechanisms used by UNIX filesystems.
3683 Configuration details along with a short HOWTO can be found at:
3685 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
3688 ==================================
3689 libsmbclient Binary Compatibility
3690 ==================================
3692 Please note that a change has been made to the _SMBCCTX structure
3693 in source/include/libsmbclient.h. This change is not backwards
3694 compatible with applications linked against the libsmbclient.so
3695 library from Samba 3.0.11. However, it is compatible with all
3696 other Samba 3.0.x releases. This means that it will be most likely
3697 be necessary to recompile any applications linked against the
3698 3.0.11 version of the library.
3701 ######################################################################
3708 Parameter Name Action
3709 -------------- ------
3710 allocation roundup size New
3711 log nt token command New
3712 write cache Deprecated
3716 Changes since 3.0.11
3717 --------------------
3721 o Jeremy Allison <jra@samba.org>
3722 * BUG 2146: Return correct allocation sizes so as not to crash
3724 * BUG 962: Ensure that parsing of service names in smb.conf is
3726 * BUG 2201, 2227: Support new delete semantics used by MS04-044
3728 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
3729 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
3730 * Add special hooks when serving directories containing large
3732 * Ensure that WINS negative name query responses and WACK
3733 packets use the correct RR type of 0xA instead of reflecting
3734 back what the query RR type was (0x20).
3735 * BUG 2310: Only do 16-bit normalization on small dfree request.
3736 * BUG 2323: Correct authentication failure when using plaintext
3737 passwords from Windows XP clients.
3738 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
3739 work around issues building MS Visual Studio 6.0 project
3740 on a Samba file share while restoring the pre-3.0.21pre1
3741 behavior by default.
3742 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
3743 stat when checking for existence of a pathname.
3744 * Check the sticky bit on the parent directory for supporting
3745 the new WinXP SP2 file deletion semantics.
3746 * Various oplock, share mode, and byte range locking fixes
3747 found by Connectathon tests.
3748 * BUG 2271: Fix resume key issues in trans2FindFirst() client
3749 code (inspired by patch from Satwik Hebbar).
3750 * BUG 2382, 2045: More pending modtime and delayed write fixes
3751 for MS Excel (incorporates partial patches from
3752 ke_miyata@itg.hitachi.co.jp).
3753 * Debug log message cleanups.
3754 * Add case insensitive search for a principal match on logon
3755 verification in the system keytab (based on patch by
3756 Michael Brown <mbrown@fensystems.co.uk>).
3757 * Revert the previous SMB signing change from Nalin Dahyabhai
3758 when using DES keys.
3759 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
3760 * Fix FindFirst() server code to deal with resume names of ".."
3761 and "." (found by Jim McDonough).
3762 * BUG 2451: Fix missing functions in full audit VFS module.
3763 * Ensure that smbd logs failures reported by DISK_FREE()
3764 (reported by Ying Li <ying.li2@hp.com>).
3765 * Ensure that smbclient obeys the max protocol argument again.
3766 * BUG 2335: Return correct error code for OS/2 clients (based on
3767 negotiated protocol level).
3768 * BUG 2460, 2464: remove dead code and unused variables
3769 (reported by Jason Mader).
3772 o Andrew Bartlett <abartlet@samba.org>
3773 * Avoid length-limited intermediate copy of NT and LM responses
3775 * Debug message cleanups in the NTLMSSP implementation.
3778 o Manuel Baena <mbaena@lcc.uma.es>
3779 * Print actual error message in smbmnt.c:fullpath().
3782 o Vince Brimhall <vbrimhall@novell.com>
3783 * Add support for Novell NDS universal password.
3784 * BUG 2424: Ensure that uidNumber and gidNumber use match
3786 * BUG 2453: Change the way pdb_nds.c handles users with no
3787 Universal or Simple Password.
3788 * NDS schema file corrections.
3791 o Gerald (Jerry) Carter <jerry@samba.org>
3792 * Add trans2 client call for checking dfs referrals
3793 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
3794 when checking directories on modern CIFS servers.
3795 * Add MS-DFS support to smbclient.
3796 * Code cleanup of adt_tree.[ch].
3797 * Add missing checks to allow root to manage user rights.
3798 * Allow domain admins to manage rights assignments on domain members
3800 * BUG 2333: Use the lpq command to pass in the correct printer name
3801 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
3803 * BUG 1439: make sure to initialize pointer to prevent invalid
3805 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
3807 * Add cups-devel to BuidlRequires directive in Fedora spec file.
3808 * BUG 858: Fix order of popt args evaluation so we don't crash
3809 when given no command line args.
3810 * Remove dependency on bash for source/autogen.sh.
3811 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
3812 * Implement MS-DFS for recursive directory listings in smbclient.
3813 * BUG 2394: Fix nmbd linking issue on IRIX.
3814 * Only display the publish check box in the client's printer
3815 properties dialog if we are a member of an AD domain.
3816 * BUG 2363: allow 'in use' driver to be removed as long as
3817 one 'Windows NT x86' driver remains.
3818 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
3820 * Enforce better printer.tdb cache consistency when removing
3821 jobs from a print queue via SMB.
3822 * Ensure that pause/resume/purge print queue commands are run
3823 with the appropriate level of privilege necessary to actually
3825 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
3826 for 'printing = cups' installations that do not actually have
3828 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
3829 * BUG 2215: Rewrite questionable code that was causing gcc to
3831 * Add server support for LsaLookupPrivValue().
3832 * Various small compile fixes and cleanup warnings.
3833 * BUG 2456: Fix compile failure on non-gcc platforms due to
3834 non-standard pragma.
3837 o Kevin Dalley <kevin@kelphead.org>
3838 * BUG 2398: Don't force smbclient to assume a dry run if the
3839 target tarfile is /dev/null.
3842 o Guenther Deschner <gd@samba.org>
3843 * Fix crash bug in the client-spoolss enumdataex-call.
3844 * Expand the valid-workstation-scheme by expanding names
3845 beginning with a plus (+) as a unix group.
3846 * Allow own netbios name to be set in smbclient's session setup.
3847 * Better handling of LDAP over IPC connections that have expired
3849 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
3850 * Add examples/misc/adssearch.pl.
3851 * BUG 2343: Build fixes.
3852 * Support get_user_info_7 in SAMR server RPC.
3853 * Fix server_role in the samr_query_dom_info calls.
3854 * Add example perl script to check for multiple LDAP entries
3855 after running 'net rpc vampire'.
3856 * Add more output when listing printer forms via rpcclient.
3857 * Debug log message cleanup.
3860 o Steve French <sfrench@us.ibm.com>
3861 * On failed mount (ENXIO) retry share name in uppercase (fix
3862 mount to FastConnect AIX SMB server).
3863 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
3864 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
3865 it with a user name.
3866 * Update for new CIFS POSIX info levels.
3867 * Ignore users mount parm in mount.cifs.
3869 o SATOH Fumiyasu <fumiya@samba.gr.jp>
3870 * BUG 1549: Don't truncate service names in smbstatus.
3873 o William Jojo <jojowil@hvcc.edu>
3874 * BUG 2445: Patch to avoid default ACLs on AIX.
3877 o S Murthy Kambhampaty <smk_va@yahoo.com>
3878 * Add idmap_rid module to Fedora and RedHat spec files.
3881 o Volker Lendecke <vl@samba.org>
3882 * BUG 2401: Flush internal getpwnam() cache after deleting a
3884 * BUG 1604: Make winbind work with more than 10 trusted domains.
3885 * Cleanup various compiler warnings.
3886 * Fix a memory leaks in privileges code and passdb backends.
3887 * Fixes for samr_lookup_sids() client call.
3888 * Optimize _samr_query_groupmem with LDAP backend for large
3890 * Support SIDs as %s replacements in the afs username map
3892 * Add 'log nt token command' parameter. If set, %s is replaced
3893 with the user sid, and %t takes all the group sids.
3894 * Do not use the "Local Unix Group"-default description for
3895 all kinds of group-mappings.
3896 * Fix uninitialized variable in Linux nss_winbind library.
3897 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
3898 * Implement 'net afs impersonate'.
3901 o Herb Lewis <herb@samba.org>
3902 * Fix build problem when HAVE_POSIX_ACL is not defined.
3903 * BUG 2417: Add help lines for net rpc group addmem and
3907 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
3908 * Add support to libsmbclient for getting and setting DOS
3909 attributes using EA functions.
3910 * Fix libsmbclient's URL encoding/decoding.
3911 * Replace browse listing URI queries with an internal options
3912 structure (previous method violated the SMB URI syntax).
3913 * Allow tree connects to be multiplexed over a single CIFS server
3915 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
3916 can determine a dead tree connection.
3917 * Implement better solution for backwards binary compatibility
3918 in libsmbclient while adding new fields to struct _SMBCCTX.
3921 o Mark Loeser <halcy0n@gentoo.org>
3922 * BUG 2443: Compile fix for gcc4.
3925 o Jim McDonough <jmcd@us.ibm.com>
3926 * BUG 2338: Fix coredump when OS/2 checks for long file name
3927 support (with .+,;=[].) (thanks to Guenter Kukkukk).
3930 o Jason Mader <jason@ncac.gwu.edu>
3931 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
3935 o Jim McDonough <jmcd@us.ibm.com>
3936 * Fixes for server schannel implementation when 'restrict
3937 anonymous = 1' is set in smb.conf.
3938 * Fix bug in server side lookupsids reply that crashed lsass.exe
3940 * Fix 'net rpc trustdom establish'.
3941 * BUG 2062: Turn off broadcast for all 390 NICs.
3942 * Fix 'net rpc trustdom add' to correctly add new domain trust
3943 accounts. This will eventually replace 'smbpasswd -a -i'.
3944 * Implement 'net rpc trustdom del', including client side of
3945 samr_remove_sid_from_foreign_domain.
3946 * Bring IBM Directory Server schema up to date with openldap
3948 * Allow for better protection of sensitive attributes in IBM
3952 o Stefan Metzmacher <metze@samba.org>
3953 * Fix memleaks in the nttrans code.
3956 o Mike Nix <mnix@wanm.com.au>
3957 * Add SMBsplopen and SMBsplclose client calls.
3960 o Justin Ossevoort <justin@snt.utwente.nl>
3961 * BUG 2316: Fix crashes in pdb_pgsql.
3964 o James Peach <jpeach@sgi.com>
3965 * Fixes in string handling code.
3966 * Fix oplock2 test in client smbtorture.
3969 o Tim Potter <tpot@samba.org>
3970 * Fix up example pdb modules after prototype change for
3972 * BUG 2058: Fix for shared object creation in examples.
3973 * BUG 2315: Fix segv in LSA privileges server code.
3974 * Build fixes for python wrapper libraries.
3977 o Richard Sharpe <rsharpe@samba.org>
3978 * BUG 2044: Fix segv in profiles tool.
3979 * Fix bogus error messages when enumerating user group
3980 membership via 'net rpc'.
3983 o Simo Sorce <idra@samba.org>
3984 * Debian packaging fixes.
3987 o John Terpstra <jht@samba.org>
3988 * Add the capability to set account description using pdbedit.
3991 o Doug VanLeuven <roamdad@sonic.net>
3992 * Add more case/realm/name permutations to the Kerberos keytab.
3993 * AIX compile fixes.
3996 o Jelmer Vernooij <jelmer@samba.org>
3997 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
3998 * BUG 1957: Implement minimal update of fields in mySQL pdb
4002 o Torsten Werner <torsten.werner@assyst-intl.com>
4003 * BUG 2405: Define 'lpstat' printcap output on HPUX.
4006 o Shlomi Yaakobovich" <Shlomi@exanet.com>
4007 * Detect infinite loops when traversing tdbs.
4010 --------------------------------------------------
4011 ==============================
4012 Release Notes for Samba 3.0.11
4014 ==============================
4016 Common bugs fixed in 3.0.11 include:
4018 o Crash in smbd when using CUPS printing.
4019 o Parsing error of other SIDs included in the user_info_3
4020 structure returned from domain controllers.
4021 o Inefficiencies when searching non-AD LDAP directories.
4022 o Failure to expand variables in user domain attributes
4023 in tdbsam and ldapsam.
4025 o Failure to retrieve certain attribute when migrating from
4026 a Windows DC to a Samba DC via 'net rpc vampire'.
4027 o Numerous printing bugs bugs including memory
4028 bloating on large/busy print servers.
4029 o Compatibility issues with Exchange 5.5 SP4.
4032 Additional features introduced in Samba 3.0.11:
4034 o Winbindd performance improvements.
4035 o More 'net rpc vampire' functionality.
4036 o Support for the Windows privilege model to assign rights
4038 o New administrative options to the 'net rpc' command.
4045 If "ldap user suffix" or "ldap machine suffix" are defined in
4046 smb.conf, all user-accounts must reside below the user suffix,
4047 and all machine and inter-domain trust-accounts must be located
4048 below the machine suffix. Previous Samba releases would fall
4049 back to searching the 'ldap suffix' in some cases.
4056 Samba 3.0.11 supports the following assignable rights
4058 SeMachineAccountPrivilege Add machines to domain
4059 SePrintOperatorPrivilege Manage printers
4060 SeAddUsersPrivilege Add users and groups to the domain
4061 SeRemoteShutdownPrivilege Force shutdown from a remote system
4062 SeDiskOperatorPrivilege Manage disk shares
4064 These rights can be assigned to arbitrary users or groups
4065 via the 'net rpc rights grant/revoke' command. More details
4066 of Samba's privilege implementation can be found in the
4067 Samba-HOWTO-Collection.
4070 ######################################################################
4074 Changes since 3.0.10
4075 --------------------
4080 Parameter Name Action
4081 -------------- ------
4082 afs token lifetime New
4083 enable privileges New
4084 ldap password sync Alias
4085 min password length Deprecated
4086 winbind enable local accounts Deprecated
4091 o Jeremy Allison <jra@samba.org>
4092 * Extend vfs to add seekdir/telldir/rewinddir.
4093 * Fix dirent return.
4094 * Fix bugs when handling secondary trans2 requests.
4095 * Implementation of get posix acls in UNIX extensions.
4096 * Added set posix acl functionality into the UNIX extensions code.
4097 * Updated config.guess/config.sub .
4098 * Fix error reply when 'follow symlinks = no'.
4099 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
4101 * Fixes for LARGE_READX support.
4102 * Fix the problem we get on Linux where sendfile fails, but we've
4103 already sent the header using send().
4104 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
4106 * BUG 2088: Ensure inherit permissions is only applied on a new
4107 file, not an existing one.
4108 * Don't go fishing for the krb5 authorization data unless we know
4110 * Fixes for libsmbclient to ensure that interrupted system calls
4111 are restarted minus the already expired portion of the timeout
4112 (based on work by Derrell Lipman).
4113 * More Unicode string parsing fixes.
4114 * Convert the winreg pipe to use WERROR returns.
4115 * Make all LDAP timeouts consistent (input from Joe Meadows
4116 <jameadows@webopolis.com>).
4117 * BUG 2231: Remove double "\\" from client findfirst.
4118 * BUG 2238: Fix memory leak in shadow copy vfs.
4119 * Return correct DOS/NT error code on transact named pipe on
4121 * BUG 2211: Fix security descriptor parsing bug (based on work by
4122 Mrinal Kalakrishnan <mail@mrinal.net>).
4123 * BUG 2270: Fix memory leaks in cups printing backend support
4124 (based on work by Lars Mueller).
4125 * BUG 2255: Fix debug level in Kerberos error messages.
4126 * BUG 2110: Ensure we convert to ucs2 correctly after the
4127 CAN-2004-0930 patch.
4128 * Make strict locking an enum. Auto means use oplock optimization.
4129 * Fix client & server to allow 127k READX calls.
4130 * More *alloc fixes (includes additional fixes by Albert Chin.
4131 * Catch sendfile errors correctly and return the correct values
4132 we want the caller to return.
4133 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
4134 for better use by desktop environments such as GNOME.
4135 * Ensure we can't remove a level II oplock without having the
4136 shared memory area locked.
4139 o Timur Bakeyev <timur@com.bat.ru>
4140 * BUG 2100: change the way we check for errors after a dlopen().
4141 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
4144 o Andrew Bartlett <abartlet@samba.org>
4145 * Clarify error message when 'lanman auth = no'.
4146 * Remove the unnecessary UTF-8 conversion calls in the calls to
4147 auth_winbind from smbd.
4148 * Don't store the auth-user credentials with the cli_state* as
4149 this can cause the schannel setup to fail when the auth-user
4150 domain is not our primary domain.
4153 o Grigory Batalov <bga@altlinux.org>
4154 * Fix encoding while receiving of a message which was actually
4155 sent using STR_ASCII.
4158 o Daniel Beschorner <db@unit-netz.de>
4159 * BUG 603: Correct access mask check for _samr_lookup_domain()
4160 to work with Windows RAS server
4163 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
4164 * Fix missing printer_tdb reference decrement.
4167 o Gerald (Jerry) Carter <jerry@samba.org>
4168 * BUG 2073: fall back to smb_name if current_user_info is not
4169 available in lp_file_list_changed().
4170 * Fixes the spurious 'register_message_flags: tdb fetch failed'
4172 * Don't run the background LPQ daemon when we are running in
4174 * prevent the background LPQ daemon from updating the print queue
4175 cache just because multiple smbd processes sent a message that
4177 * consolidate printer searches to use find_service rather than
4179 * BUG 2091: don't remove statically defined printers in
4180 remove_stale_printers().
4181 * Fix logic error in add_a_form() that only compared N characters
4182 instead of the entire form name.
4183 * BUG 2107: fix memory bloating caused by large numbers of
4184 print_queue_updates() requests sent via messages.tdb.
4185 * Check the setprinter(3) based on the access permissions on
4186 the handle and avoid the call to print_access_check().
4187 * Re-instantiate previous semantics for calling init_unistr2()
4188 with a NULL source buffer.
4189 * Support Windows privilege model for assigning rights
4190 to specific SIDs. Based on work by Simo Sorce in the trunk
4191 svn branch. This feature is controlled by the 'enable
4192 privileges = [yes|no]' smb.conf(5) option.
4193 * Add some smb.conf scripts for add/delete/change shares and
4194 deleting cups printers.
4195 * Expand variables in the profile path, logon home and logon script
4196 values when using either tdbsam or ldapsam.
4197 * Add Domain Admins (Full Control) to the default printer security
4198 descriptor if we are a DC.
4199 * RedHat and Fedora Packaging fixes for perl dependencies.
4200 * Remove unused schema items from OpenLDAP schema file.
4201 * Remove duplicate enumeration of "Windows x86" architecture
4202 when listing printer drivers via rpcclient.
4203 * Fail set_privileges() if 'enable privileges = no' to prevent
4205 * Fix segfault in cups_queue_get().
4206 * Tighten restrictions on changing user passwords when
4207 the connected user possesses the SeMachineAccountPrivilege.
4208 * Ensure we set NETBIOSNAME.domainname for the long machine name
4209 when publishing printers in AD (based on input from Rob Foehl).
4210 * Mark 'winbind enable local accounts' as deprecated.
4211 * Mark testprns tool as deprecated.
4212 * Allow root to grant/revoke privilege assignments.
4213 * Correct interaction between user rights and se_access_check() on
4215 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
4217 * BUG 2262: Add support in configure.in for *freebsd6*.
4218 * BUG 2266: Portability fixes for quota code on FreeBSD4.
4219 * BUG 2264: Remove shutdown and abortshutdown commands from
4220 rpcclient in favor of using the same functions in 'net'.
4221 * BUG 2295: Prevent smbd from returning an empty server name
4222 in certain lanman api calls.
4223 * BUG 2290: Fix autogen.sh script in examples (based on original
4224 patch from Lars Mueller).
4225 * Fix bug enumerating domain trusts in security = ads.
4226 * Fix segv in rpcclient's dsenumdomtrusts.
4227 * Fix bug in expansion of %U and %G in included filenames.
4228 * BUG 2291: Restrict creation of server trust and domain trust
4229 accounts to members of the "Domain Admins" group.
4231 o Nadav Danieli <nadavd@exanet.com>
4232 * Short circuit some is_locked() tests if we are oplocked.
4235 o Guenther Deschner <gd@samba.org>
4236 * Allow 'localhost' as a valid server name in the smbd for the
4238 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
4239 Mewburn for the input).
4240 * BUG 2059: Add additional checks needed after logic change to the
4241 HAVE_WRFILE_KEYTAB detection test.
4242 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
4243 Samba DC. Allow us to lookup at least our own SID.
4244 * More fixes to have proper German in swat (Thanks to Reiner
4245 Klaproth and Björn Jacke.
4246 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
4247 setting security descriptors with smbcacls and using with
4248 the -S or -M switch.
4249 * Include the munged_dial, bad_password_count, logon_count, and
4250 logon_hours attributes when running 'net rpc vampire'.
4251 * Fix segfault in idmap_rid.
4252 * When winbindd is operating in the multi-mapping mode of
4253 idmap_rid, allow BUILTIN domain-mapping.
4254 * Display infolevel 12 in query_dom_info in rpcclient.
4255 * Fix bug in winbindd's lowercasing of usernames.
4256 * Allow -v or -l for displaying verbose groupmap-listing
4257 as well as "verbose".
4258 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
4260 * Close LDAP-Connection before retrying to open a new connection
4262 * Marking "min password length" as depreciated.
4263 * Implement SAMR query_dom_info-call info-level 8 server- and
4264 client-side, based on samba4-idl.
4265 * Allow rpcclient to define a port to use when connecting
4267 * Allow Account Lockout with Lockout Duration "forever" (until
4268 admin unlocks) to be set and displayed in User Manager.
4269 * Allow to set acb_mask in rpcclient's enumdomusers.
4270 * Add more generic rootDSE inspection function to check
4271 for given controls or extensions and remember these on a
4273 * Improve LDAP search efficiency by passing the acb_mask to
4275 * Fixes for ldapsam_enum_group_memberships().
4276 * Add createdomgroup to rpcclient.
4277 * Add "net rpc user RENAME"-command.
4278 * Display sam_user_info_7 in rpcclient.
4279 * Make multi-domain-mode in idmap_rid accessible from outside
4280 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
4281 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
4282 "Lockout Duration: Forever".
4283 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
4285 * Require assignment of Administrator SID in the passdb
4286 backend. Fall back to the default name of 'Administrator' if
4287 the lookup fails rather than using the first name in the
4288 default 'admin users' list.
4289 * Enhance LDAP failure debug messages.
4290 * BUG 2291: Call the 'add machine script' for server trust and
4291 domain trust accounts as well as workstation accounts.
4294 o Levente Farkas <lfarkas@lfarkas.org>
4295 * BUG 2299: Better logrotate scripts for RedHat and Fedora
4299 o Jay Fenlason <fenlason@redhat.com>
4300 * Fix crash in 'net join' due to calling free on
4302 * Several patches from RedHat's Fedora Core RPMS.
4305 o Rob Foehl <rwf@loonybin.net>.
4306 * Compiler warnings.
4307 * Try modifying printer published attributes before adding it a
4309 * Solaris packaging fixes.
4310 * Don't force the cups printer-make-and-model tag as the comment
4311 for autoloaded printers.
4312 * Implement caching of names from printcap to support a true
4313 'printcap cache time'.
4316 o Johann Hanne <jhml@gmx.net>
4317 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
4320 o Jeff Hardy <hardyjm@potsdam.edu>
4321 * Example script for 'add print command' when using CUPS.
4324 o Deryck Hodge <deryck@samba.org>
4325 * Add -P (--password-only-menu) to SWAT for displaying only the
4326 password change page to non-root users.
4329 o David Hu <david.hu@hp.com>
4330 * Copy structure from print_queue_update() message rather than
4331 referencing it. Fixes seg fault on HP-UX.
4334 o Buck Huppmann <buckh@pobox.com>
4335 * BUG 2186: Don't free uninitialized credentials.
4336 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
4337 dnsDomainName != realm.
4340 o Björn Jacke <bjoern@j3e.de>
4341 * BUG 2040: Ensure the locale is reset to C to get ASCII-
4342 compatible toupper/lower functions.
4345 o William Jojo <jojowil@hvcc.edu>
4346 * Fix HPUX sendfile and add configure.in tests and code for
4348 * AIX 5.3 compile fixes.
4351 o Volker Lendecke <vl@samba.org>
4352 * Optimize anonymous session setups by workstations in a
4354 * Reimplment the QueryUserAliases() server RPC reply.
4355 * Re-add the getpwnam-cache for performance.
4356 * Cache the result of a pdb_getsampwnam for later SID lookup
4358 * Unify the means of localtaing a user's global groups on a
4360 * Fix bug when serving the 'Start Menu' in a roaming user profile..
4361 * Map more pre-defined NT security descriptors to AFS acls.
4362 * Add timeout to AD search requests.
4363 * If a connection to a DC is requested (in winbindd), open
4364 connections simultaneously to all DCs found.
4366 * Fix logic error in handling of 'printcap name' parameter.
4367 * Prevent winbindd from SPAM'ing the log files with 'user root
4369 * Backport samr_DomInfo2 IDL specification from Samba 4.
4370 * Implement smbstatus -n, don't lookup users and groups.
4371 * Implement simple mapping that maps the space to another character
4372 defined by afsacl:space.
4373 * Add support for 'net idmap delete <idmap-file> <SID>'.
4374 * Add new parameter 'afs token lifetime' tells the AFS client
4375 when to throw away a token (patch from kllin@it.su.se).
4376 * Initial work to allow support for multiple pipe opens on a
4378 * Ensure that we still retrieve the netbios name of any DC
4379 listed as a 'password server' to work around cases where the
4380 DC was defined using an IP address or fqdn.
4381 * Fix memleak in winbindd connection code.
4382 * Fix cli_samr_queryuseraliases.
4383 * Allow wbinfo --user-sids to expand expand domain local groups.
4384 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4385 * Fix parsing of other_sids in net_user_info3.
4386 * Correct bad failure logic when user was not a member of any
4387 domain local groups.
4390 o Jason Mader <jason@ncac.gwu.edu>
4391 * BUG 2113, 2289: Remove dead code.
4394 o Jim McDonough <jmcd@us.ibm.com>
4395 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
4396 clients. If it fails, fall back to WINREG.
4397 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4398 * BUG 2198: Set password last change time when running 'net rpc
4400 * Add "refuse machine password change" policy field.
4403 o Luke Mewburn <lukem@NetBSD.org>
4404 * BUG 2150: shmget() - Use POSIX definitions instead of non-
4408 o Stefan Metzmacher <metze@samba.org>
4412 o Buchan Milne <bgmilne@mandrake.org>
4413 * Mandrake packaging fixes.
4416 o Lars Mueller <lmuelle@samba.org>
4417 * Fix build of libsmbclient on x86_64.
4418 * BUG 2013: Fix testsuite build issues when libsmbclient.so
4419 is installed in a non-default location.
4420 * BUG 2050: Calculate max_fd for select correctly.
4421 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
4425 o Jason Mader <jason@ncac.gwu.edu>
4426 * BUG 2069: Remove unused variables.
4427 * BUG 2075: Remove dead code paths.
4428 * BUG 2083: Fix compiler warnings caused by bad type casts.
4431 o James Peach <jpeach@sgi.com>
4432 * Fix rewinddir -> rewind_dir when using VFS macros.
4435 o Gavrie Philipson <gavrie@disksites.com>
4436 * BUG 1838: Remove stale printers imeeddiately when
4437 processing a SIGHUP and during smb.conf reload.
4440 o Tim Potter <tpot@samba.org>
4441 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
4442 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
4443 * Change the license for the winbindd external interface
4445 * HP-UX compile fixes.
4446 * Compile fixes after new setsampwent() API.
4449 o Richard Renard <rrenard@idealx.com>
4450 * Update Netscape DS 5.2 LDAP schema.
4453 o Simo Sorce <idra@samba.org>
4454 * Backport pdbedit changes from trunk.
4455 * Allows the add/change share command to create the shared
4456 directory directory on disk.
4457 * Log a warning in testparm if a print command is defined for
4458 a print service using 'printing = cups'.
4460 o Jelmer Vernooij <jelmer@samba.org>
4461 * Bug fixes for pdb_{xml,pqsql,xml}
4462 * Fixes for pdb_mysql.
4465 o Andrew Tridgell <tridge@samba.org>
4466 * Bring Samba3 into line with the Samba4 password change code.
4469 o Shiro Yamada <shiro@miraclelinux.com>
4470 * BUG 2190: Force SWAT to display parameters in unix charset and
4474 --------------------------------------------------
4475 ==============================
4476 Release Notes for Samba 3.0.10
4478 ==============================
4480 Common bugs fixed in 3.0.10 include:
4482 o Fix for security issues described in CAN-2004-1154.
4491 o Jeremy Allison <jra@samba.org>
4492 * Added checks surrounding all *alloc() calls to fix
4494 * Fix long standing memory size bug in bitmap_allocate().
4495 * Remove bogus error check in deferred open file serving
4499 o Thomas Bork <tombork@web.de>
4500 * Fix autoconf script on platforms using a version of GNU ld
4501 that does not include a date stamp in the output of --version.
4504 o Luke Mewburn <lukem@NetBSD.org>
4505 * Fix the swat install script to deal with the new image
4506 destination directory used by the docs.
4510 --------------------------------------------------
4512 =============================
4513 Release Notes for Samba 3.0.9
4515 =============================
4517 Common bugs fixed in 3.0.9 include:
4519 o Problem updating roaming user profiles.
4520 o Crash in smbd when printing from a Windows 9x client.
4521 o Unresolved symbols in libsmbclient which caused
4522 applications such as KDE's konqueror to fail when
4523 accessing smb:// URLs.
4533 o Jeremy Allison <jra@samba.org>
4534 * Correctly detect errno for no acl/ea support.
4535 * BUG 2036: Fix seg fault in 'net ads join'.
4538 o Gerald (Jerry) Carter <jerry@samba.org>
4539 * Solaris packaging fixes.
4540 * Fix seg fault in lanman printing code.
4541 * BUG 2017: fix testparm reporting for the passwd program
4543 * Fix output of smbstatus to match the man page.
4544 * BUG 2027: fix conflict with declaration MD5_CTX in system
4546 * 2028: Avoid false error messages when copying a long
4547 printer name to the device mode.
4550 o Guenther Deschner <gd@samba.org>
4551 * Allow deldriverex in rpcclient to delete drivers for a
4552 specific architecture and a specific version.
4553 * Fix a couple of rpcclient spoolss commands (setprinter,
4554 setprintername, getdriver) w.r.t to printer-naming scheme.
4555 Allow 'localhost' in the server string for certain server-side
4557 * BUG 2015: Do not fail on setting file attributes with
4558 acl support enabled.
4561 o Michel Gravey <michel.gravey@optogone.com>
4562 * Fix build when using gcc 3.0.
4565 o Volker Lendecke <vl@samba.org>
4566 * Fix tdb open logic when checking our local_pid after
4570 o Jim McDonough <jmcd@us.ibm.com>
4571 * BUG 1932: Fix crash in 'net getlocalsid' when run as
4575 o Luke Mewburn <lukem@NetBSD.org>
4576 BUG 1661: Fix KRB5_SETPW-defines
4579 o Buchan Milne <bgmilne@mandrake.org>
4580 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
4583 o Lars Mueller <lmuelle@samba.org>
4584 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
4587 o Martin Zielinski <mz@seh.de>
4588 * Add DeletePrinterDriverEx() functionality to rpcclient.
4591 --------------------------------------------------
4593 =============================
4594 Release Notes for Samba 3.0.8
4596 =============================
4598 Common bugs fixed in 3.0.8 include:
4600 o Compile fixes for HP-UX
4601 o Fixes for the printer publishing code used when joined to
4603 o Incompatibilities with file system quotas.
4604 o Several bugs in the spoolss printing code and print system
4606 o Inconsistencies in the username map functionality when
4607 configured on domain member servers.
4608 o Various compile warnings and errors on various platforms.
4609 o Fixes for Kerberos interoperability with Windows 200x
4610 domains when using DES keys.
4611 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
4612 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
4615 New features included in the 3.0.8 release are:
4617 o New migration functionality added the the net tool
4618 for files/directories, printers, and shares.
4619 o New experimental idmap backend for assigning uids/gids
4620 directly based on the user/group RID when acting as a
4621 member of single domain without any trusts.
4622 o Additional printer migration support for XP/2003 platforms.
4625 ===========================
4626 Change in Winbindd Behavior
4627 ===========================
4629 All usernames returned by winbindd are now converted to lower
4630 case for better consistency. This means any winbind installation
4631 relying on the winbind username will need to rename existing
4632 directories and/or files based on the username (%u and %U) to lower
4633 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
4634 include mail spool files, home directories, valid user lines in
4638 ======================
4639 Change in Username Map
4640 ======================
4642 Previous Samba releases would only support reading the fully qualified
4643 username (e.g. DOMAIN\user) from the username map when performing a
4644 Kerberos login from a client. However, when looking up a map
4645 entry for a user authenticated by NTLM[SSP], only the login name would be
4646 used for matches. This resulted in inconsistent behavior sometimes
4647 even on the same server.
4649 Samba 3.0.8 obeys the following rules when applying the username
4652 * When performing local authentication, the username map is
4653 applied to the login name before attempting to authenticate
4655 * When relying upon a external domain controller for validating
4656 authentication requests, smbd will apply the username map
4657 to the fully qualified username (i.e. DOMAIN\user) only
4658 after the user has been successfully authenticated.
4661 ######################################################################
4670 Parameter Name Action
4671 -------------- ------
4672 force printername New
4673 sendfile disabled by default
4679 o Jeremy Allison <jra@samba.org>
4680 * Ensure extended security bit is on only if we negotiated
4682 * Simplify statcache to use an in-memory tdb.
4683 * If you're selecting a hash algorithm for tdb, you need
4684 to do it at open time.
4685 * Removed old dir caching code - not being used now we
4686 have the statcache anyway.
4687 * Simplify the mangle hash code to use an in-memory tdb.
4688 * Merge iconv changes from Samba 4 branch.
4689 * Fix parsing of names ending in dot and a few other error
4691 * BUG 1667: Smbpasswd file could be left locked on some
4693 * Fixes for smbclient tar functionality.
4694 * BUG 1743: Fix logic bug the deferred open code.
4695 * Don't try to set security descriptors on shares where
4696 this has been turned off.
4697 * Return correct error codes on old SEARCH call.
4698 * Ensure we set errno = E2BIG when we overflow in the
4699 fast-path character conversion code.
4700 * Fix the roundup problem (returning 1mb roundup) for
4701 non-Windows clients.
4702 * Added 'stat' command to smbclient to exercise the
4703 UNIX_FILE_BASIC info level.
4704 * Fix bug where we could incorrectly set sparse attribute.
4705 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
4706 (reported by Taj Khattra <taj.khattra@gmail.com>).
4707 * Remove locked keys tdb code.
4708 * BUG 1886: Prevent delete on close being set for readonly files
4709 (and return the correct error code).
4710 * Ensure we pass most of the new lock tests except for the cancel
4711 lock which is yet to be added (merged from Samba 4 branch).
4712 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
4713 * BUG 1956: Ensure errno is saved and restored consistently on a
4715 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
4716 that all of the appropriate service principal names are set
4717 upon joining an AD domain.
4718 * Fix the correct use of resume name in the trans2 code.
4719 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
4720 correct salt used when generated the DES key after joining an
4722 * Enhanced krb5 detection routines in the autoconf scripts.
4725 o Andrew Bartlett <abartlet@samba.org>
4726 * Avoid changing the machine account password in the passdb
4727 backend, when it has 'already been changed'. This occurs
4728 in situations where the secure channel between the workstation
4729 and the DC breaks down, such as occurred in the MS04-11
4731 * Fix utility name in error message in ntlm_auth.
4732 * Fix NTLMv2 for use with pam_winbind.
4733 * Remove conversion to and from UTF8 on the winbind pipe.
4734 * Allow 'require_membership_of' and 'require-membership-of'.
4735 * Fix the error code for 'you didn't specify a domain' in
4737 * Use sys_getgroups() rather than scanning all groups
4738 when generating SAMR replies.
4741 o Igor Belyi <sambauser@katehok.ac93.org>
4742 * Ensure pdb user is deleted first before deleting UNIX
4743 user (LDAP backend needs this ordering).
4746 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
4747 * Fix core dump in 'net rpc vampire'.
4750 o Vince Brimhall <vbrimhall@novell.com>
4751 * Make ldapsam_compat robust against NULL attributes.
4754 o Gerald Carter <jerry@samba.org>
4755 * Don't limit the number of groups returned by winbindd_getgroups()
4757 * BUG 1519: Match Windows 2000 behavior when opening a
4758 printer using a servername in the form of an IP address or
4760 * BUG 1907: remove extra slashes from the printer name in
4761 getprinterdriverdir_1().
4762 * Fix standard_sub_snum() to use the current user's gid.
4763 * Fix background queue update bug (based on Volker's initial work
4765 * Add 'force printername' service parameter for people that want
4766 to enforce printername == sharename for spoolss printing.
4767 * Ensure consistent usage of the username map. Use the fully
4768 qualified DOMAIN\user format for 'security = domain|ads' and
4769 apply after authentication has succeeded.
4770 * Cosmetic fix for getent output -- lowercase the username only
4771 and not the complete domain\username string.
4772 * Packaging fixes for Solaris, Redhat, & Fedora.
4775 o Sean Chandler <sean.chandler@verizon.net>
4776 * Fix memlieak in cliconnect.c.
4779 o Darren Chew <darrenc@vicscouts.asn.au>
4780 * Solaris packaging fixes.
4783 o Nalin Dahyabhai <nalin@redhat.com>
4784 * SMB signing fix for 56-bit DES session keys.
4787 o Guenther Deschner <gd@samba.org>
4788 * add IA64 to the architecture table of printer-drivers.
4789 * Add file/share/printer migration functionality to
4791 * Show correct help for net groupmap commands.
4792 * Fix deadlock loop in winbind's required_membership_sid
4794 * Bring the same level of "required_membership"-functionality
4795 that ntlm_auth uses, to pam_winbindd as well.
4796 * Prevent "net lookup kdc" from seg-faulting when
4797 using our own implementation of krb5_lookup_kdc with
4799 * Adding getprinter level 7 to rpcclient.
4800 * Support migrating printers|shares|files from Server A
4801 to Server B while running the net-command on client C.
4802 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
4803 failure of this call non-critical (Thanks to Love @ Heimdal
4804 for the explanation and patch).
4805 * Fix typos in net's usage-output.
4806 * Fix the paranoia-check to ensure the ldap-attribute and the
4807 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
4809 * Fix several bugs in the _samr_query_useraliases() rpc reply.
4810 * Check correct string length when verifying password-policies
4811 and using extended characters (Thanks to Uwe Morgenroth from CC
4812 Compunet and Volker).
4813 * Make 'password history'-behavior in ldapsam more consistent.
4814 * Adding "Windows x64" as architecture string and driverdir "x64"
4815 for the 64bit AMD platform.
4816 * BUG 1343: Readd WKGUID-binding to match the correct default-
4817 locations of new User-, Group- and Machine-Accounts in Active
4818 Directory (this got lost during the last trunk-merge).
4819 * Fix printer-migration w.r.t. to new naming-convention for
4821 * Allow to migrate win2k3/xp-drivers as well.
4822 * Add client-side support of triggering ads printer publishing
4823 over msrpc setprinter calls inside the net-tool.
4824 * Add the idmap_rid module (written in conjunction with
4825 Sumit Bose <sbose@suse.de>).
4826 * BUG 1661: Fix build with recent heimdal releases.
4827 * Prevent idmap_rid from making unnecessary calls to domain
4828 controllers for trusted domains.
4831 o Arthur van Dongen <avdongen@xs4all.nl>
4832 * Fix typos in pam_winbind log messages and SuSE
4836 o Rob Foehl <rwf@loonybin.net>
4837 * Typo fixes for log messages in printer publishing code.
4838 * Fix memory leak in printer publishing code.
4839 * Ensure print_backend_init() only gets called once.
4840 * Have smbd check the published status of all printers
4842 * Cleanup up the XXX_a_printer() API for consistency.
4843 * Refactored the printer publishing code and include better
4847 o Steve French <sfrench@us.ibm.com>
4848 * Fix IP address override in mount.cifs mount helper and clean
4849 up warning messages from the sparse tool and expand syntax help.
4850 * Strip guest mount option off before sending to kernel mount
4851 routine to avoid logging spurious message.
4854 o Satoh Fumiyasu <fumiya@samba.gr.jp>
4855 * BUG 1732: Limit share names returned by RAP based on windows
4856 character width, not unix character width.
4857 * BUG 1498: Ensure that acl entries are stored in the correct
4861 o Brett Funderburg <brett@deepfile.com>
4862 * Pass create options parameter to nt_create_andx() function
4863 from the python bindings.
4864 * BUG 1864: Add sd->type field to security descriptor Python
4866 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
4867 when trying to return the security descriptor for a file.
4868 * BUG 1884: Fixes for the Python bindings to use the value
4869 of the desired_access filed passed into the lsa_open_policy()
4873 o Michael Gravey <michel.gravey@optogone.com>
4874 * BUG 1776: Fix warnings when building modules caused by
4875 certain versions of GNU ld not using the the default
4876 --allow-shlib-undefined flag.
4879 o Chris Hertel <crh@samba.org>
4880 * Fix logic bug in splay tree data structure when finding
4882 * Fix bug where an invalid MAC address would be printed by
4883 a node status lookup from nmblookup.
4886 o Uli Iske <iske@elkb.de>
4887 * Update the DNS/eDirectory LDAP schema file.
4890 o Björn Jacke <bjacke@sernet.de>
4891 * BUG 1766: Unify charset-handling in Content-Type:-headers to
4892 UTF-8. Reformat msgstr in msg-files to UTF-8.
4893 * Do not use display charset for swat output.
4894 * Convert the share names correctly from unix encoding to web
4895 encoding and vice versa.
4896 * Convert files from status page from unix charset to UTF-8.
4899 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
4900 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
4903 o Tom Lackemann <cessnatomny@yahoo.com>
4904 * BUG 1954: Fix memory leak in posix acl code.
4907 o Volker Lendecke <vl@samba.org>
4908 * Robustnss fix for winbindd when sending multiple requests
4909 at a high rate for a slow operation.
4910 * Solve the problem of user sids ending up with gid's
4912 * Use sys_fork instead of fork for the dual daemon so that
4913 we get the correct debug pid in the logfiles.
4914 * Based on patch from jmcd, implement special lists for the LDAP
4915 user attributes to delete.
4916 * Fix creation of aliases via usrmgr. Winbind was too strict
4917 checking the type of sids.
4918 * Lowercase all usernames returned by winbind.
4919 * BUG 1545, 1823: Only issue the ldap extended password change
4920 operation if the ldap server supports it. Also ignore object
4921 class violation errors from the extended operation.
4922 * Optimization for 'idmap backend = ldap': When asking sid2id
4923 for the wrong type, don't ask ldap when we have the opposite mapping
4925 * Fix ldapsam_compat homeDrive.
4926 * Add usersidlist and allowedusers subcommands to the net tool
4927 in order to support scanning a file server's share and list
4928 all users who have permission to connect there.
4929 * Allow for multiple DC's to be named as #1c names in lmhosts.
4930 * Memory leak fixes.
4931 * Fix checks for the local pid of an smbd process after
4935 o Herb Lewis <herb@samba.org>
4936 * Added tdbtool to be built by default.
4939 o Love <lha@stacken.kth.se>
4940 * BUG 1955: Inconsistent error return.
4943 o Sorin Manolache <sorinm@gmail.com>
4947 o Jim McDonough <jmcd@us.ibm.com>
4948 * Allow 'net ads lookup' to rely on command line arguments
4949 if contacting an ADS server fails; utilize cldap for lookups.
4950 * Fixup formatting errors in TDB_LOG calls; add printf attribute
4951 support to tdb log functions.
4954 o Bill McGonigle <bill+samba@bfccomputing.com>
4955 * BUG 1926: Type in debug message.
4959 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
4963 o Luke Mewburn <lukem@NetBSD.org>
4964 * BUG 1782: Prevent testparm from displaying parameter synonyms.
4967 o Stefan Metzmacher <metze@samba.org>
4968 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
4969 * Fix client quota support.
4970 * Fix opening of system quota file.
4973 o Lars Mueller <lmuelle@samba.org>
4974 * Small fixes for autogen.sh to deal with version detection
4975 of autoconf and autoheader; fixes for examples using
4976 libtool to adhere to stricter syntax of newer version.
4979 o Henrik Nordstrom <hno@squid-cache.org>
4980 * Allow winbindd to return the correct number of groups
4981 when the groups array must be enlarged.
4984 o Narayana Pattipati <narayana.pattipati@wipro.com>
4985 * Solaris autoconf detection fixes.
4988 o Tim Potter <tpot@samba.org>
4989 * BUG 1360: (correct fix) Use -Wl when passing flags to
4991 * HP-UX compile fixes (from JBravo on #samba-technical).
4992 * BUG 1731: More HP-UX compiles fixes.
4993 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
4994 spits the dummy otherwise.
4995 * Fix bug in Python printerdata wrapper.
4996 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
4997 <bugzilla-samba@thewrittenword.com>).
4998 * Fix parameter confusion in priming of name-to-sid cache
4999 (Found by Qiao Yang).
5000 * BUG 1888: Remove '..' from all pre-processor commands.
5001 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
5005 o Matt Selsky <selsky@columbia.edu>
5006 * BUG 350: use autoconf 2.57 feature for checking header file
5007 preprocessing (fixes configure warnings on Solaris).
5010 o Richard Renard <rrenard@idealx.com>
5011 * Fix usermgr.exe and trust relationships.
5014 o Paul Szabo <psz@maths.usyd.edu.au>
5015 * Fix to make find_workgroup use the same
5016 truncation as create_workgroup.
5019 o Richard Sharpe <rsharpe@samba.org>
5020 * Ensure cli_write() can support writes >= 65536 bytes.
5023 o Simo Sorce <idra@samba.org>
5024 * Added check password script code in examples/auth/crackcheck/
5025 * Fix memory corruption bug caused in freeing static memory.
5028 o Andrew Tridgell <tridge@samba.org>
5029 * Remove lp_use_mmap() from map_file() since the latter
5030 is for read only and does not require coherence.
5031 * Ensure that the uuid pack/unpack routines do not go past
5032 the end of the structure.
5033 * Converted Samba 3 tree to use the new utf-16 aware iconv
5035 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
5036 * Ensure configure only uses '=' instead of the bashism '=='.
5037 * Reduces the number of tdb locking calls made on file IO.
5040 o Jelmer Vernooij <jelmer@samba.org>
5041 * Convert internal data to UTF-8 before calling libxml2.
5042 * Complain if 'password chat' doesn't contain the %u variable
5043 (based on a patch by Ronan Waide).
5047 * BUG 1541: Fix recursive ls in smbclient.
5050 o Igor Zhbanov <bsg@uniyar.ac.ru>
5051 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
5054 --------------------------------------------------
5056 =============================
5057 Release Notes for Samba 3.0.7
5059 =============================
5061 Common bugs fixed in 3.0.7 include:
5063 o Fixes for two Denial of Service vulnerabilities
5064 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
5065 o Winbind failure to return user entries under certain
5067 o Syntax errors in the OpenLDAP schema file (samba.schema).
5068 o Printing errors caused by not setting default values
5069 for the various printing commands.
5078 Parameter Name Action
5079 -------------- ------
5080 winbind enable local accounts disabled by default
5085 o Jeremy Allison <jra@samba.org>
5086 * Fix parsing of names ending in dot and a few other error
5088 * BUG 1674: Move the symlinks checks into reduce_name().
5089 * Fix memleak when checking the valid names smb.conf option.
5090 * Fix memleak on error return path in the file open code.
5091 * More paranoia checks in the hash2 mangling code.
5092 * Fix syntax error in configure.in.
5093 * Match Win2k3's behavior for pathname parsing error returns.
5094 * Make nmbd more robust against bad netbios packets
5096 * Add more checks for invalid ASN.1 packets for SPNEGO packets
5100 o Andrew Bartlett <abartlet@samba.org>
5101 * Janitor work in loadparm.c -- remove unused parameters.
5104 o Gerald Carter <jerry@samba.org>
5105 * BUG 1464: Ensure that printing commands are initialized even
5106 if the 'printing' parameter is not explicitly set.
5107 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
5108 Adharsh Praveen <rprav@india.hp.com>)
5109 * Work around parsing error in the print change notify code.
5110 * remove duplicate declaration of getprintprocdir from
5112 * Only use sAMAccountName and not userPrincipalName when looking
5113 up a username in AD since the breaks winbindd (lookup_name()
5114 only works with the sAMAccountName).
5115 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
5116 filling in the username in the user_info3.
5117 * Fix logic bug in the check for creating a user's home directory
5118 in register_vuid(); caused home directory to be mismatched to
5119 the first share in smb.conf under certain conditions.
5120 * BUG 1656: rename auto.a to auto.smb.
5121 * Ensure that we assign our pid to print jobs (and not our
5122 parent's pid); ensures that spooling jobs from dead smbds
5123 are removed from the tdb.
5124 * Disable 'winbind enable local accounts' by default.
5125 * Adding some initial checks for DragonFly (same as
5129 o Guenther Deschner <gd@samba.org>
5130 * Use SMB_ASSERT() to track down NULL printer names in
5132 * Revert fix for BUG 1474 to avoid unnecessary packaging
5136 o Olaf Flebbe <o.flebbe@science-computing.de>.
5137 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
5139 * BUG 1626: More compile fixes.
5142 o Rob Foehl <rwf@loonybin.net>
5143 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
5144 by attempts to sanitize the defined attributes.
5147 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5148 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
5151 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
5152 * BUG 1657: Remove used initialized variable,
5153 * BUG 1658: Add a little bit of const.
5156 o Volker Lendecke <vl@samba.org>
5157 * If there's garbage in the pidfile, we should not panic
5158 but assume that no one else is around. We can't find the
5162 o Jim McDonough <jmcd@us.ibm.com>
5163 * Fixup format string in the tdb error messages.
5166 o Jonas Olsson <lexicon@lysator.liu.se>
5167 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
5168 reporting the list in usrmgr.exe.
5171 o Tim Potter <tpot@samba.org>
5172 * Fix out-of-tree builds (problem with the script to generate
5173 the svn version number).
5174 * BUG 1360: Need to use -Wl when passing flags to the linker.
5175 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
5176 doesn't have one of its own.
5178 o Simo Sorce <idra@samba.org>
5179 * Fixup compile issues on AIX caused by broken strlen() and
5181 * Update debian packaging files.
5184 o Dimitri van der Spek <dwspek@aboveit.nl>
5185 * Use the correct counter when copying group rids from the
5186 user_info3 struct in pam_winbind.
5189 o Qiao Yang <qyang@stbernard.com>
5190 * BUG 1622: Only cache the user
5193 --------------------------------------------------
5195 =============================
5196 Release Notes for Samba 3.0.6
5198 =============================
5200 Common bugs fixed in 3.0.6 include:
5202 o Schannel failure in winbindd.
5203 o Numerous memory leaks.
5204 o Incompatibilities between the 'write list' and 'force user'
5206 o Premature optimization of the open_directory() internal
5207 function that broke tools such as the ArcServe backup
5208 agent, Macromedia HomeSite, and Robocopy.
5209 o Corrupt workgroup names in nmbd's browse.dat.
5210 o Sharing violation errors commonly seen when opening
5211 when serving Microsoft Office documents from a Samba
5213 o Browsing problems caused by an apostrophe (') in the
5214 computer's description field.
5215 o Problems creating special file types from UNIX CIFS
5216 clients and enabling 'unix extensions'.
5217 o Fix stalls in smbd caused by inaccessible LDAP servers.
5218 o Remove various memory leaks.
5219 o Fix issues in the password lockout feature.
5221 New features introduced in this release include:
5223 O Support symlinks created by CIFS clients which
5224 can be followed on the server.
5225 o Using a cups server other than localhost.
5226 o Maintaining the service principal entry in the system
5227 keytab for integration with other kerberized services.
5228 Please refer to the 'use Kerberos keytab' entry in
5229 smb.conf(5). When using the heimdal Kerberos libraries,
5230 you must also specify the following in /etc/krb5.conf:
5232 default_keytab_name = FILE:/etc/krb5.keytab
5233 o Support for maintaining individual printer names
5234 stored separately from the printer's sharename.
5235 o Support for maintaining user password history.
5236 o Support for honoring the logon times for user in a
5240 ============================================
5241 unix extensions = yes (default) and symlinks
5242 ============================================
5244 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
5245 clients supporting the UNIX extensions to the CIFS protocol
5246 can create symlinks to absolute paths which will be **followed**
5247 by the server. This functionality has been requested in order
5248 to correctly support certain applications when the user's home
5249 directory is mounted using some type of CIFS client (e.g. the
5250 cifsvfs in the Linux 2.6 kernel).
5252 If this behavior is not acceptable for your production environment
5253 you can set 'wide links = no' in the specific share declaration in
5254 the server's smb.conf. Be aware that disabling wide link support
5255 out of a share in Samba may impact the server's performance due
5256 to the fact that smbd will now have to check each path additional
5257 times before traversing it.
5260 ========================
5261 Password History Support
5262 ========================
5264 The new password history feature allows smbd to check the new
5265 password in password change requests against a list of the user's
5266 previous passwords. The number of previous passwords to save can
5267 be set using pdbedit (4 in this example):
5269 root# pdbedit -P "password history" -C 4
5271 When using the ldapsam passdb backend, it is vital to secure the
5272 following attributes from access by non-administrative users:
5276 * sambaPasswordHistory
5278 You should refer to your directory server's documentation on how
5279 to implement this restriction.
5288 Parameter Name Action
5289 -------------- ------
5291 defer sharing violations New
5292 force unknown acl user New
5294 printcap cache time New
5295 use Kerberos keytab New
5299 o Jeremy Allison <jra@samba.org>
5300 * Correct path parsing bug that broke DeletePrinterDriverEx().
5301 * Fix bugs in check_path_syntax() caught by asserts.
5302 * Internal change - rearrange internal global case setting
5303 variables to a per connection basis.
5304 * BUG 1345: Fix premature optimization in unix_convert().
5305 * Allow clients to truncate a locked file.
5306 * BUG 1319: Always check to see if a user as write access
5307 to a share, even when 'force user' is set.
5308 * Fix specific case of open that doesn't cause oplock break,
5309 or share mode check.
5310 * Correct sid type is WKN_GROUP, not alias. Added some
5311 more known types (inspired by patch from Jianliang Lu).
5312 * Allow creation of absolute symlink paths via CIFS clients.
5313 * Fix charset bug in when invoking send_mailslot().
5314 * When using widelinks = no, use realpath to canonicalize
5315 the connection path on connection create for the user.
5316 * Enhance stat open code.
5317 * Fix unix extensions mknod code path.
5318 * Allow unix domain socket creation via unix extensions.
5319 * Auto disable the 'store dos attribute' parameter if the
5320 underlying filesystem doesn't support EAs.
5321 * Implement deferred open code to fix a bug with Excel files
5323 * BUG 1427: Catch bad path errors at the right point. Ensure
5324 all our pathname parsing is consistent.
5325 * Fix SMB signing error introduced by the new deferred open
5327 * Change default setting for case sensitivity to "auto". (see
5328 commit message -- r1154 -- for details).
5329 * Add new remote client arch -- CIFSFS.
5330 * Allow smbd to maintain the service principal entry in the
5331 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
5332 Guenther Deschner, et. al.).
5333 * Fix longstanding memleak bug with logfile name.
5334 * Fix incorrect type in printer publishing (struct uuid,
5336 * Heimdal compile fixes after introduction of the new ketyab
5338 * Ensure we check attributes correctly on rename request.
5339 * Ensure we defer a sharing violation on rename correctly.
5340 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
5342 * Fix bogus error message when using "mangling method = hash"
5344 * Turn on sendfile by default for non-Win9x clients.
5345 * Handle non-io opens that cause oplock breaks correctly.
5346 * Ensure ldap replication sleep time is not more than 5 seconds.
5347 * Add support for storing a user's password history.
5348 LDAP portion of the code was based on a patch from
5349 Jianliang Lu <j.lu@tiesse.com>.
5350 * Correct memory leaks found in the password change code.
5351 * Fix support for the mknod command with the Linux CIFS client.
5352 * Remove support for passing the new password to smbpasswd
5353 on the command line without using the -s option.
5354 * Ensure home directory service number is correctly reused
5355 (inspired by patches from Michael Collin Nielsen
5356 <michael@hum.aau.dk>).
5357 * Fix to stop printing accounts from resetting the bas
5358 password and account lockout flags.
5359 * If a account was locked out by an admin (and has a bad
5360 password count of zero) leave it locked out until an admin
5361 unlocks it (but log a message).
5362 * Ensure we return the same ACL revision on the wire that
5364 * BUG 1578: Hardcode replacement for invalid characters as '_'
5365 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5366 * Fix hashed password history for LDAP backends.
5367 * Enforce logon hours restrictions if confiogured (based on code
5368 from Richard Renard <rrenard@idealx.com>).
5369 * BUG 1606: Force smbd to disable sendfile with DOS clients
5370 and ensure that the chained header is filled in for ...&X
5372 * BUG 1602: Fix access to shares when all symlink support
5377 o Tom Alsberg <alsbergt@cs.huji.ac.il>
5378 * Allow pdbedit to export a single user from a passdb backend.
5381 o Andrew Bartlett <abartlet@samba.org>
5382 * Fix parsing bug in GetDomPwInfo().
5383 * Fix segfault in 'ntlm_auth --diagnostics'.
5384 * Re-enable code to allow sid_to_gid() to perform a group
5385 mapping lookup before checking with winbindd.
5386 * Fix memory leak in the trans2 signing code.
5387 * Allow more flexible GSS-SPENGO client and server operation
5389 * Improve smbd's internal random number generation.
5390 * Fix a few outstanding long password changes in smbd.
5391 * Fix LANMAN2 session setup code.
5394 o Eric Boehm <boehm@nortelnetworks.com>
5395 BUG 703: Final touches on netgroup case lookups.
5398 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
5399 * Ensure error status codes don't get overwritten in
5400 lsa_lookup_sids() server code.
5401 * Correct bug that caused smbd to overwrite certain error
5402 codes when returning up the call stack.
5403 * Ensure the correct sid type returned for builtin sids.
5406 o Gerald Carter <jerry@samba.org>
5407 * Fix a few bugs in the Fedora Packaging files.
5408 * Fix for setting the called name to by our IP if the
5409 called name was *SMBSERVER and *SMBSERV. Fixes issue
5410 with connecting to printers via \\ip.ad.dr.ess\printer
5412 * BUG 1315: fix for schannel client connections to servers
5413 when we haven't specifically negotiated AUTH_PIPE_SEAL.
5414 * Allow PrinterDriverData valuenames with embedded backslashes
5415 (Fixes bug with one of the Konica Fiery drivers).
5416 * Fixed string length miscalculation in netbios names that
5417 resulted in corrupt workgroup names in browse.dat.
5418 * When running smbd as a daemon, launch child smbd to update
5419 the lpq cache listing in the background.
5420 * Allow printers "Printers..." folder to be renamed to a string
5421 other than the share name.
5422 * Allow winbindd to use domain trust account passwords when
5423 running on a Samba DC to establish an schannel to remote
5425 * Fix bad merge and ensure that we always use tdb_open_log()
5426 instead of tdb_open_ex() (the former call enforce the 'use
5428 * BUG 1221: revert old change that used single and double
5429 quotes as delimeters in next_token(), and change
5430 print_parameter() to print out parm values surrounded by
5431 double quotes (instead of single quotes).
5432 * Prevent home directories added during the SMBsesssetup&X from
5433 being removed as unused services.
5434 * Invalidate the print object cache for open printer handles when
5435 smbd receives a message that an attribute on a given printer
5437 * Cause the configure script to exit if --enable-cups[=yes] is
5438 defined and the system does not have the cups devel files
5440 * BUG 1297: Prevent map_username() from being called twice
5442 * Ensure that we use the userPrincipalName AD attribute
5443 value for LDAP SASL binds.
5444 * Ensure we remove the tdb entry when deleting a job that
5446 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
5447 client sends a FindNextPrintChangeNotify() request without
5448 previously sending a FindFirstPrintChangeNotify(). Return
5449 the same error code as Windows 2000 SP4.
5450 * BUG 1516: Manually declare ldap_open_with_timeout() to
5451 workaround compiler errors on IRIX (or other systems without
5453 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
5455 * Corrected syntax error in the OID for sambaUnixIdPool,
5456 sambaSidEntry, & sambaIdmapEntry object classes.
5457 * Tighten the cache consistency with the ntprinters.tdb entry
5458 an the in memory cache associated with open printer handles.
5459 * Make sure that register_messages_flags() doesn't overwrite
5460 the originally registered flags.
5463 o Fabien Chevalier <fabien.chevalier@supelec.fr>
5464 * Debian BUG 252591: Ensure that the return value from the
5465 number of available interfaces is initialized in case no
5466 interfaces are actually available.
5469 o Guenther Deschner <gd@sernet.de>
5470 * Implement 'rpcclient setprintername'.
5471 * Add local groups to the user's NT_TOKEN since they are
5472 actually supported now.
5473 * Heimdal compile fixes after introduction of the new keytab
5475 * Correctly honor the info level parameter in 'rpcclient
5477 * Reintroduce 'force unknown acl user' parameter. When getting a
5478 security descriptor for a file, if the owner sid is not known,
5479 the owner uid is set to the current uid. Same for group sid.
5480 * Ensure that REG_SZ values in the SetPrinterData actually
5481 get written in UNICODE strings rather than ASCII.
5482 * Ensure that the last Kerberos error return is not invalid.
5483 * Display share ACL entries from rpcclient.
5484 * Correct infinite loop in pam_winbind's verification of
5485 group membership in the 'other sids' field in the user_info3
5489 o Fabian Franz <FabianFranz@gmx.de>
5490 * Support specifying a port in the device URL passed to smbspool.
5493 o Steve French <sfrench@us.ibm.com>
5494 * Handle -S and user mount parms in mount.cifs.
5495 * Fix user unmount of shares mount with suid mount.cifs.
5496 * prevent infinite recusion in reopen_logs() when expanding
5497 the smb.conf variable %I.
5500 o Bjoern Jacke <bj@sernet.de>
5501 * Install libsmbclient into $(LIBDIR), not into hard coded
5502 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
5503 and an explicit configure --libdir setting.
5506 o <kawasa_r@itg.hitachi.co.jp>
5507 * Correct more memory leaks and initialization bugs.
5508 * Fix bug that prevented core dumps from being generated
5510 * Connect to the winbind pipe in non-blocking mode to
5511 prevent processes from hanging.
5512 * Memory leak fixes.
5515 o Stephan Kulow <coolo@suse.de>
5516 * Fix crash bug in libsmbclient.
5519 o Volker Lendecke <vl@samba.org>
5520 * Added vfs_full_audit module.
5521 * Add vfs_afsacl.c which can display & set AFS acls via
5522 the NT security editor.
5523 * Fix crash bug caused by trying to Base64 encode a NULL string.
5524 * Fix DOS error code bug in reply_chkpath().
5525 * Correct misunderstanding of the max_size field in
5526 cli_samr_enum_als_groups; it is more like an account_control
5527 field with individual bits what to retrieve.
5528 * Implement 'net rpc group rename' -- rename domain groups.
5529 * Implement the 'cups server' option. This makes it possible
5530 to have virtual smbd's connect to different cups daemons.
5531 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
5532 * Fix sid_to_gid() calls in winbindd to prevent loops.
5533 * Ensure that local_sid_to_gid() sets the type of the group on
5535 * Make sure that the clients are given back the IP address to
5536 which they connected in the case of a multi-homed host. Only
5537 affects strings the spoolss printing replies.
5538 * Fix the bad password lockout. This has not worked as pdb_ldap.c
5539 did not ask for the modifyTimestamp attribute, so it could
5540 not find it. Try not to regress by not putting that attrib
5541 in the main list but append it manually for the relevant searches.
5542 * Fix two memleaks in login_cache.c.
5543 * fixes memory bloat when unmarshalling strings.
5544 * Fix compile errors using gcc 3.2 on SuSE 8.2.
5545 * Fix the build for systems without Kerberos headers.
5546 * Allow winbindd to handle authentication requests only when
5547 started without either an 'idmap uid' or 'idmap gid' range.
5548 * Fix the build for systems without ldap headers.
5549 * Fix interaction between share security descriptor and the
5550 'read only' smb.conf option.
5551 * Fix bug that caused _samr_lookupsids() with more than 32 (
5552 MAX_REF_DOMAINS) SIDs to fail.
5553 * Allow the 'idmap backend' parameter to accept a list of
5554 LDAP servers for failover purposes.
5555 * Revert code in smbd to remove a tdb when it has become
5557 * Add paranoid checks when mapping SIDs to a uid/gid to
5558 ensure that the type is correct.
5559 * Initial work on getting client support for sending mailslot
5561 * Add 'ldap timeout' parameter.
5562 * Dont always uppercase 'afs username map'.
5563 * Expand aliases for getusersids as well.
5564 * Improved NT->AFS ACL mapping VFS module.
5567 o Herb Lewis <herb@samba.org>
5568 * Add the acls debug class.
5569 * Fix logic bug in netbios name truncate routine.
5570 * Fix smbd crash caused by smbtorture IOCTL test.
5571 * Fix errno tromping before calling iconv to reset the
5573 * need to leave empty dacl so we can remove last ACE.
5576 o Jianliang Lu <Jianliang.Lu@getronics.com>
5577 * Fix to stop smbd hanging on missing group member in
5579 * Make sure Samba returns the correct group types.
5580 * Reset the bad password count password counts upon a successful login.
5583 o Jason Mader <jason@ncac.gwu.edu>
5584 * BUG 1385: Don't use non-consts in a structure initialization.
5587 o Jim McDonough <jmcd@us.ibm.com>
5588 * BUG 1279: SMBjobid fix for Samba print servers running on
5589 Big-Endian platforms.
5592 o Joe Meadows <jameadows@webopolis.com>
5593 * Add optional timeout parameter to ldap open calls.
5594 * Allow get_dc_list() to check the negative cache.
5597 o Stefan Metzmacher <metze@samba.org>
5598 * fix a configure logic bug for linux/XFS quotas when
5599 using --with-sys-quotas.
5600 * Use quota debug class in quota code.
5601 * print out the SVN revision by configure,
5604 o Buchan Milne <bgmilne@mandrake.org>
5605 * Mandrake packaging fixes.
5608 o Lars Mueller <lmuelle@samba.org>
5609 * BUG 1279: Added 'printcap cache time' parameter.
5610 * Fix afs related build issues on SuSE.
5611 * Fix compiler warnings in the Kerberos client code.
5614 o James Peach <jpeach@sgi.com>
5615 * More iconv detection fixes for IRIX.
5616 * Compile fixed for systems that do not have C99/UNIX98 compliant
5617 vsnprintf by default.
5618 * Prevent smbd from attempting to use sendfile at all if it is
5619 not supported by the server's OS.
5620 * Allow SWAT to search for index.html when serving html files
5625 * Implement NFS quota support on FreeBSD.
5628 o Tim Potter <tpot@samba.org>
5629 * BUG 1360: Use -Bsymbolic when creating shared libraries to
5630 avoid conflicts with identical symbols in the global namespace
5631 when loading libnss_wins.so.
5634 o Richard Renard <rrenard@idealx.com>
5635 * Save the current password as it is being changed into the
5636 password history list.
5639 o Richard Sharpe <rsharpe@samba.org>
5640 * Fix error return codes on some lock messages.
5641 * BUG 1178: Make the libsmbclient routines callable
5643 * BUG 1333: Make sure we return an error code when
5645 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
5646 share mode locking requests fail.
5649 o Simo Sorce <idra@samba.org>
5650 * Update Debian stable & unstable packaging.
5651 * Tidy up parametric options in testparm output.
5654 o Richard Sharpe <rsharpe@samba.org>
5655 * Add sigchild handling to winbindd to restart the child
5656 daemon if necessary.
5659 o Tom Shaw <tomisfaraway@gmail.com>
5660 * Use winbindd_fill_pwent() consistently.
5663 o Nick Thompson <nickthompson@agere.com>
5664 * Protect smbd against broken filesystems which return zero
5668 o Andrew Tridgell <tridge@samba.org>
5669 * Fixed bug in handling of timeout in socket connections.
5672 o Nick Wellnhofer <wellnhofer@aevum.de>
5673 * Prevent lp_interfaces() list from being corrupted. Fixes
5674 bug where nmbd would lose the list of network interfaces
5675 on the system and consequently shutdown.
5678 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
5679 * Fix ntlm_auth memory leaks.
5682 o Jelmer Vernooij <jelmer@samba.org>
5683 * Additional NT status to unix error mappings.
5684 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
5685 get duplicate symbol errors.
5686 * Return an error when the last command read from stdin
5688 * Prepare for better error checking in tar.
5689 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
5692 --------------------------------------------------
5694 =============================
5695 Release Notes for Samba 3.0.5
5697 =============================
5699 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
5700 the exception of correcting the two security issues outlined
5703 ######################## SECURITY RELEASE ########################
5705 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
5706 CVE ID: CAN-2004-0600, CAN-2004-0686
5707 (http://cve.mitre.org/)
5710 This is the latest stable release of Samba. This is the version
5711 that production Samba servers should be running for all current
5714 It has been confirmed that versions of Samba 3 prior to v3.0.4
5715 are vulnerable to two potential buffer overruns. The individual
5716 details are given below.
5722 Affected Versions: Samba 3.0.2 and later
5724 The internal routine used by the Samba Web Administration
5725 Tool (SWAT v3.0.2 and later) to decode the base64 data
5726 during HTTP basic authentication is subject to a buffer
5727 overrun caused by an invalid base64 character. It is
5728 recommended that all Samba v3.0.2 or later installations
5729 running SWAT either (a) upgrade to v3.0.5, or (b) disable
5730 the swat administration service as a temporary workaround.
5732 This same code is used internally to decode the
5733 sambaMungedDial attribute value when using the ldapsam
5734 passdb backend. While we do not believe that the base64
5735 decoding routines used by the ldapsam passdb backend can
5736 be exploited, sites using an LDAP directory service with
5737 Samba are strongly encouraged to verify that the DIT only
5738 allows write access to sambaSamAccount attributes by a
5739 sufficiently authorized user.
5741 The Samba Team would like to heartily thank Evgeny Demidov
5742 for analyzing and reporting this bug.
5748 Affected Versions: Samba 3.0.0 and later
5750 A buffer overrun has been located in the code used to support
5751 the 'mangling method = hash' smb.conf option. Please be aware
5752 that the default setting for this parameter is 'mangling method
5753 = hash2' and therefore not vulnerable.
5755 Affected Samba 3 installations can avoid this possible security
5756 bug by using the default hash2 mangling method. Server
5757 installations requiring the hash mangling method are encouraged
5758 to upgrade to Samba 3.0.5.
5761 ##################################################################
5763 --------------------------------------------------
5765 =============================
5766 Release Notes for Samba 3.0.4
5768 =============================
5770 Common bugs fixed in Samba 3.0.4 include:
5772 o Password changing after applying the patch described in
5773 the Microsoft KB828741 article to Windows clients.
5775 o Managing print jobs via Windows on Big-Endian servers.
5776 o Several memory leaks in winbindd and smbd.
5777 o Compile issues on AIX and *BSD.
5780 --------------------
5785 o Jeremy Allison <jra@samba.org>
5786 * Fix path processing for DeletePrinterDriverEx().
5787 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
5791 o Andrew Bartlett <abartlet@samba.org>
5792 * Fix alignment bug in GetDomPwInfo().
5795 o Alexander Bokovoy <ab@samba.org>
5796 * Fix utime[s]() issues in smbwrapper on systems
5797 that can boot both the 2.4 and 2.6 Linux kernels.
5800 o Gerald Carter <jerry@samba.org>
5801 * Fedora packaging fixes.
5802 * BUG 1302: Fix seg fault by not trying to optimize a list of
5803 invalid gids using the wrong array size.
5804 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
5805 seen when 'security = share'.
5806 * Fix problems when using IBM's compiler on AIX.
5807 * Link Developer's Guide, Example Guide, and multi-page HOWTO
5808 into SWAT's welcome page.
5809 * BUG 1293: fix double free in printer publishing code.
5812 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
5813 * Fix for handling timeouts in socket connections.
5816 o Michel Gravey <michel.gravey@optogone.com>
5817 * BUG 483: patch from to fix password hash creation in SWAT.
5820 o Volker Lendecke <vl@samba.org>
5821 * Close the open NT pipes before the tdis.
5822 * Fix AFS related build issues.
5823 * Handle error conditions when base64 encoding a blob of 0 bytes.
5826 o Herb Lewis <herb@samba.org>
5827 * Added 'acls' debug class.
5829 o kawasa_r@itg.hitachi.co.jp
5830 * Multiple variable initialization and memory leak fixes.
5833 o Stephan Kulow <coolo@suse.de>
5834 * Fix string length bug in libsmbclient that caused KDE's
5836 * BUG 429: More libsmbclient fixes.
5839 o Jim McDonough <jmcd@us.ibm.com>
5840 * BUG 1007, 1279: Store the print job using a little-endian key.
5844 o Compile fix for OpenBSD (ENOTSUP not supported).
5847 o Stefan Metzmacher <metze@samba.org>
5848 * Correct bug in disks quota views from explorer.
5851 o Tim Potter <tpot@samba.org>
5852 BUG 1305: Correct debug output.
5855 o Richard Sharpe <rsharpe@samba.org>
5856 * Fix incorrect error code mapping.
5859 o Jelmer Vernooij <jelmer@samba.org>
5860 * Add additional NT_STATUS errorm mappings.
5863 --------------------------------------------------
5865 =============================
5866 Release Notes for Samba 3.0.3
5868 =============================
5871 Common bugs fixed in Samba 3.0.3 include:
5873 o Crash bugs and change notify issues in Samba's printing code.
5874 o Honoring secondary group membership on domain member servers.
5875 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
5876 o Substitution errors for %[UuGg] in smb.conf.
5877 o winbindd crashes when using ADS security mode.
5878 o SMB signing errors.
5879 o Delays in winbindd startup caused by unnecessary
5880 connections to trusted domain controllers.
5881 o Various small memory leaks.
5882 o Winbindd failing due to expired Kerberos tickets.
5884 New features introduced in Samba 3.0.3 include:
5886 o Improved support for i18n character sets.
5887 o Support for account lockout policy based on
5888 bad password attempts.
5889 o Improved support for long password changes (>14
5890 characters) and strong password enforcement.
5891 o Support for Windows aliases (i.e. nested groups).
5892 o Experimental support for storing DOS attribute on files
5893 and folders in Extended Attributes.
5894 o Support for local nested groups via winbindd.
5895 o Specifying options to be passed directly to the CUPS libraries.
5897 Please be aware that the Samba source code repository was
5898 migrated from CVS to Subversion on April 4, 2004. Details on
5899 accessing the Samba source tree via anonymous svn can be found
5900 at http://svn.samba.org/samba/subversion.html.
5903 Changes since 3.0.2a
5904 --------------------
5908 Parameter Name Action
5909 -------------- ------
5912 only user Deprecated
5913 store dos attributes New
5915 winbind nested groups New
5921 o Jeremy Allison <jra@samba.org>
5922 * Ensure that Kerberos mutex is always properly unlocked.
5923 * Removed Heimdal "in-memory keytab" support.
5924 * Fixup the 'multiple-vuids' bugs in our server code.
5925 * Correct return code from lsa_lookup_sids() on unmapped
5926 sids (based on work by vl@samba.org).
5927 * Fix the "too many fcntl locks" scalability problem
5929 * Fixup correct (as per W2K3) returns for lookupsids
5930 as well as lookupnames.
5931 * Fixups for delete-on-close semantics as per Win2k3 behavior.
5932 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
5933 * Fix "unable to initialize" bug when smbd hasn't been run with
5934 new system and a user is being added via pdbedit/smbpasswd.
5935 * Added NTrename SMB (0xA5).
5936 * Fixup correct timeout values for blocking lock timeouts.
5937 * Fix various bugs reported by 'gentest'.
5938 * More locking fixes in the case where we own the lock.
5939 * Fix up regression in IS_NAME_VALID and renames.
5940 * Don't set allocation size on directories.
5941 * Return correct error code on fail if file exists and target
5943 * Added client "hardlink" comment to test doing NT rename with
5944 hard links. Added hardlink_internals() code - UNIX extensions
5945 now use this as well.
5946 * Use a common function to parse all pathnames from the wire for
5947 much closer emulation of Win2k3 error return codes.
5948 * Implement check_path_syntax() and rewrite string sub
5949 functions for better multibyte support.
5950 * Ensure msdfs referrals are multibyte safe.
5951 * Allow msdfs symlink syntax to be more forgiving.
5952 eg. sym_link -> msdfs://server/share/path/in/share
5953 or sym_link -> msdfs:\\server\share\path\in\share.
5954 * Cleanup multibyte netbios name support in nmbd ( based on patch
5955 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
5956 * Fix check_path_syntax() for multibyte encodings which have
5957 no '\' as second byte (based on work by ab@samba.org.
5958 * Fix the "dfs self-referrals as anonymous user" problem
5959 (based on patch from vl@samba.org).
5960 * BUG 1064: Ensure truncate attribute checking is done correctly
5961 on "hidden" dot files.
5962 * Fix bug in anonymous dfs self-referrals again.
5963 * Fix get/set of EA's in client library
5964 * Added support for OS/2 EA's in smbd server.
5965 * Added 'ea support' parameter to smb.conf.
5966 * Added 'store dos attributes' parameter to smb.conf.
5967 * Fix wildcard identical rename.
5968 * Fix reply_ctemp - make compatible with w2k3.
5969 * Fix wildcard unlink.
5970 * Fix wildcard src with wildcard dest renames.
5971 * BUG 1139: Fix based on suggestion by jdev@panix.com.
5972 swap lookups for user and group - group will do an
5973 algorithmic lookup if it fails, user won't.
5974 * Make EA's lookups case independent.
5975 * Fix SETPATHINFO in 'unix extensions' support.
5976 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
5977 the UNIX info levels, and the short case preserve names.
5980 o Timur Bakeyev <timur@com.bat.ru>
5981 * BUG 1144: only set --with-fhs when the argument is 'yes'
5982 * BUG 1152: Allow python modules to build despite libraries added
5983 to LDFLAGS instead of LDPATH.
5984 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
5987 o Craig Barratt <cbarratt@users.sourceforge.net>
5988 * BUG 389: Allow multiple exclude arguments with smbclient
5989 tar -Xr options (better support for Amanda backup client).
5992 o Andrew Bartlett <abartlet@samba.org>
5993 * Include support for linking with cracklib for enforcing strong
5995 * Add support for >14 character password changes from Windows
5997 * Add 'admin set password' capability to 'net rpc'.
5998 * Allow 'net rpc samdump' to work with any joined domain
5999 regardless of smb.conf settings.
6000 * Use an allocated buffer for count_chars.
6001 * Add sanity checks for changes in the domain SID in an
6003 * Implement python unit tests for Samba's multibyte string
6005 * Remove 'unicode' smb.conf option.
6006 * BUG 1138: Fix support for 'optional' SMB signing and other
6008 * BUG 169: Fix NTLMv2-only behavior.
6009 * Ensure 'net' honors the 'netbios name' in the smb.conf by
6011 * Support SMB signing on connections using only the LANMAN
6012 password and generate the correct the 'session key' for these
6014 * Implement --required-membership-of=, an ntlm_auth option
6015 that restricts all authentication to members of this particular
6017 * Improve our fall back code for password changes.
6018 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
6019 after the server had said something (such as an error).
6020 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
6023 o Alexander Bokovoy <ab@samba.org>
6024 * Fix incorrect size calculation of the directory name
6026 * Fix problems with very long filenames in both smbd and smbclient
6027 caused by truncating paths during character conversions.
6028 * Fix smbfs problem with Tree Disconnect issued before smbfs
6032 o Gerald Carter <jerry@samba.org>
6033 * BUG 850: Fix 'make installmodules' bug on True64.
6034 * BUG 66: mark 'only user' deprecated.
6035 * Remove corrupt tdb and shutdown (only for printing tdbs,
6036 connections, sessionid & locking).
6037 * decrement smbd counter in connections.tdb in smb_panic().
6038 * RedHat specfile updates.
6039 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
6040 * BUG 1147; bad pointer case in get_stored_queue_info()
6042 * BUG 761: read the config file before initialized default
6043 values for printing options; don't default to bsd printing
6045 * Allow the 'printing' parameter to be set on a per share basis.
6046 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
6047 * BUG 848: don't create winbind local users/groups that already
6049 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
6051 * BUG 488: fix the 'show client in col 1' button and correctly
6052 enumerate active connections.
6053 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
6054 problem when storing the updating pid for the lpq cache.
6055 * BUG 1007 (partial): Fix print change notify bugs.
6056 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
6057 and winbind use default domain = yes. Also ensures that
6058 * BUG 1151: Ensure that winbindd users are passed through
6060 * Fix client rpc binds for ASU derived servers (pc netlink,
6062 * BUG 417, 1128: Ensure that the current_user_info is set
6063 consistently so that %[UuGg] is expanded correctly.
6064 * BUG 1195: Fix crash in winbindd when the ADS server is
6066 * BUG 1185: Set reconnect time to be the same as the
6067 'winbind cache time'.
6068 * Ensure that we return the sec_desc in smb_io_printer_info_2.
6069 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
6070 * BUG 1095: Honor the '-l' option in smbclient.
6071 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
6073 * Ensure server schannel uses the auth level requested by the
6075 * Removed --with-cracklib option due to potential crash issue.
6076 * Fix -lcrypto linking problem with wbinfo.
6077 * BUG 761: allow printing parameter to set defaults on a per
6079 * Add 'cups options' parameter to allow raw printing without
6080 changing /etc/cups/cupsd.conf.
6081 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
6083 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
6084 * BUG 1288: resolve any machine netbios name (0x00) and not just
6086 * BUG 1199: Fix potential symlink issue in
6087 examples/printing/smbprint.
6090 o Robert Dahlem <Robert.Dahlem@gmx.net>
6091 * BUG 1048: Don't return short names when when 'mangled names = no'
6094 o Guenther Deschner <gd@suse.com>
6095 * Remove hard coded attribute name in the ads ranged retrieval
6097 * Add --with-libdir and --with-mandir to autoconf script.
6100 o Bostjan Golob <golob@gimb.org>
6101 * BUG 1046: Fix getpwent_list() so that the username is not
6102 overwritten by other fields.
6105 o Landon Fuller <landonf@opendarwin.org>
6106 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
6107 to fix user/group enumeration on systems whose libc does not
6108 call setgrent() before trying to enumerate users (i.e.
6112 o Steve French <sfrench@us.ibm.com>
6113 * Update mount.cifs to version 1.1.
6114 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
6115 * Fixes to minor security bug in the mount helper.
6116 * Fix credential file mounting for cifs vfs.
6117 * Fix free of incremented pointer in cifsvfs mount helper.
6118 * Fix path canonicalization of the mount target path and help
6119 text display in the cifs mount helper.
6120 * Add missing guest mount option for mount.cifs.
6123 o SATOH Fumiyasu <fumiya@miraclelinux.com>
6124 * BUG 1055; formatting fixes for 'net share'.
6125 * BUG 692: correct truncation of share names and workgroup
6127 * BUG 1088: use strchr_m() for query_host (smbclient -L).
6128 * Patch from to internally count characters correctly.
6131 o Paul Green <paulg@samba.org>
6132 * Update VOS _POSIX_C_SOURCE macro to 200112L.
6133 * Fix bug in configure.ion by moving the first use of
6134 AC_CHECK_HEADERS so it is always executed.
6135 * Fix configure.in to only use $BLDSHARED to select whether to
6136 build static or shared libraries.
6139 o Pat Haywarrd <Pat.Hayward@propero.net>
6140 * Make the session_users list dynamic (max of 128K).
6143 o Cal Heldenbrand <calzplace@yahoo.com>
6144 * Fix for for 'pam_smbpass migrate' functionality.
6147 o Chris Hertel <crh@samba.org>
6148 * fix enumeration of shares 12 characters in length via
6152 o Ulrich Holeschak <ulrich@holeschak.de>
6153 * BUG 932: fix local password change using pam_smbpass
6156 o Krischan Jodies <kj@sernet.de>
6157 * Implement 'net rpc group delete'
6160 o John Klinger <john.klinger@lmco.com>
6161 * Return NSS_SUCCESS once the max number of gids possible
6162 has been found in initgroups() on Solaris.
6163 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
6166 o Volker Lendecke <vl@samba.org>
6167 * Fix success message for net groupmap modify.
6168 * Fix errors when enumerating members of groups in 'net rpc'.
6169 * Match Windows behavior in samr_lookup_names() by returning
6170 ALIAS(4) when you search in BUILTIN.
6171 * Fix server SAMR code to be able to set alias info for
6173 * Fix duplication of logic when creating groups via smbd.
6174 * Ensure that the HWM values are set correctly after running
6176 * Add 'net rpc group add'.
6177 * Implement 'net groupmap set' and 'net groupmap cleanup'.
6178 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
6179 * Fix wb_delgrpmem (wbinfo -o).
6180 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
6181 * Fix sambaUserWorkstations on a Samba DC.
6182 * Implement wbinfo -k: Have winbind generate an AFS token after
6183 authenticating the user.
6184 * Add expand_msdfs VFS module for providing referrals based on the
6185 the client's IP address.
6186 * Implement client side NETLOGON GetDCName function.
6187 * Fix caching of name->sid lookups.
6188 * Add support in winbindd for expanding nested local groups.
6189 * Fix memleak in winbindd.
6191 * Don't list domain groups from BUILTIN.
6192 * Fix memleak in policy handle utility functions.
6193 * Decrease winbindd startup time by only contacting trusted
6194 domains as necessary.
6195 * Allow winbindd to ask the DC for its domain for a trusted
6197 * Fix Netscape DS schema based on comments from
6198 <thomas.mueller@christ-wasser.de>.
6199 * Correct case where adding a domain user to a XP local group
6200 did a lsalookupname on the user without domain prefix, and
6202 * Fix segfault in winbindd caused by 'wbinfo -a'.
6205 o Herb Lewis <herb@samba.org>
6206 * Fix typo for tag in proto file.
6207 * Add missing #ifdef HAVE_BICONV stuff.
6208 * Truncate Samba's netbios name at the first '.' (not
6212 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
6213 * Bug fixes and enhancements to libsmbclient library.
6216 o Jianliang Lu <j.lu@tiesse.com>
6217 * Enforce the 'user must change password at next login' flag.
6218 * Decode meaning of 'fields present' flags (improves support
6221 * Don't force an upper case domain name in the ntlmssp code.
6224 o L. Lucius <ib@digicron.com>.
6228 o Jim McDonough <jmcd@us.ibm.com>
6229 * Add versioning support to tdbsam.
6230 * Update the IBM Directory Server schema with the OpenLDAP
6232 * Various decoding fixes to improve usrmgr.exe support.
6233 * Fix statfs redeclaration of statfs struct on ppc
6234 * Implement support for password lockout of Samba domain
6235 controllers and standalone servers.
6236 * Get MungedDial attribute actually working with full TS
6237 strings in it for pdb_ldap.
6238 * BUG 1208 (partial): Improvements for working with expired krb5
6239 tickets in winbindd.
6240 * Use timegm, or our already existing replacement instead of
6241 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
6242 * Remove modifyTimestamp from list of our attributes.
6243 * Fix lsalookupnames to check for domain users as well as local
6245 * Merge struct uuid replacement for GUID from trunk.
6246 * BUG 1208: Finish support for handling expired tickets in
6247 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
6250 o Stefan Metzmacher <metze@samba.org>
6251 * Implement new VERSION schema based on subversion revision
6253 * Add shadow_copy vfs module.
6254 * Fix segault in login_cache support.
6257 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
6258 o BUG 979 -- Fix quota display on AIX.
6261 o James Peach <jpeach@sgi.com>
6262 * Correct check for printf() format when using the SGI MIPSPro
6264 * BUG 1038: support backtrace for 'panic action' on IRIX.
6265 * BUG 768: Accept profileing arg to IRIX init script.
6266 * BUG 748: Relax arg parsing to sambalp script (IRIX).
6267 * BUG 758: Fix pdma build.
6268 * Search IRIX ABI paths for libiconv. Based on initial fix from
6272 o Kurt Pfeifle <kpfeifle@danka.de>
6273 * Add example shell script for migrating drivers and printers
6274 from a Windows print server to a Samba print server using
6275 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
6278 o Tim Potter <tpot@samba.org>
6279 * Fix logic bug in tdb non-blocking lock routines when
6281 * BUG 1025: Include sys/acl.h in check for broken nisplus
6283 * BUG 1066: s/printf/d_printf/g in SWAT.
6284 * BUG 1098: rename internal msleep() function to fix build
6286 * BUG 1112: Fix for writable printerdata problem in python bindings.
6287 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
6288 * BUG 1155: enclose use of fchown() with guards.
6289 * Relicense tdb python module as LGPL.
6292 o Richard Sharpe <rsharpe@samba.org>
6293 * Add support to smbclient for multiple logins on the same
6294 session (based on work by abartlet@samba.org).
6295 * Correct blocking condition in smbd's use of accept() on IRIX.
6296 * Add support for printing out the MAC address on nmblookup.
6299 o Simo Sorce <idra@samba.org>
6300 * Replace unknown_3 with fields_present in SAMR code.
6301 * More length checks in strlcat().
6304 o Andrew Tridgell <tridge@samba.org>
6305 * Rewrote the AIX UESS backend for winbindd.
6306 * Fixed compilation with --enable-dmalloc.
6307 * Change tdb license to LGPL (see source/tdb/tdb.c).
6308 * Force winbindd to use schannel in clients connections to
6312 o Jelmer Vernooij <jelmer@samba.org>
6313 * Fix ETA Calculation when resuming downloads in smbget.
6314 * Add -O (for writing downloaded files to standard out)
6315 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
6316 * Fix syntax error in example mysql table
6319 o TAKEDA yasuma <yasuma@miraclelinux.com>
6320 * BUG 900: fix token processing in cmd_symlink, cmd_link,
6321 cmd_chown, cmd_chmod smbclient functions.
6324 o Shiro Yamada <shiro@miraclelinux.com>
6325 * BUG 1129: install image files for SWAT.
6328 --------------------------------------------------
6330 ==============================
6331 Release Notes for Samba 3.0.2a
6333 ==============================
6335 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6336 to address, in particular, a problem when using pdbedit to
6337 sanitize (--force-initialized-passwords) Samba's tdbsam
6338 backend. This is the latest stable release of Samba. This
6339 is the version that all production Samba servers should be
6340 running for all current bug-fixes.
6342 ******************* Attention! Achtung! Kree! *********************
6344 Beginning with Samba 3.0.2, passwords for accounts with a last
6345 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6346 ldapsam, etc...) of zero (0) will be regarded as uninitialized
6347 strings. This will cause authentication to fail for such
6348 accounts. If you have valid passwords that meet this criteria,
6349 you must update the last change time to a non-zero value. If you
6350 do not, then 'pdbedit --force-initialized-passwords' will disable
6351 these accounts and reset the password hashes to a string of X's.
6353 ******************* Attention! Achtung! Kree! *********************
6362 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6363 details. The list of changes per contributor are as follows:
6366 o Jeremy Allison <jra@samba.org>
6367 * Added paranoia checks in parsing code.
6370 o Andrew Bartlett <abartlet@samba.org>
6371 * Ensure that changes to uninitialized passwords in ldapsam
6372 are written to the DIT.
6375 o Gerald (Jerry) Carter <jerry@samba.org>
6376 * Fixed iterator in tdbsam.
6377 * Fix bug that disabled accounts with a valid NT password
6378 hash, but no LanMan hash.
6381 o Steve French <sfrench@us.ibm.com>
6382 * Added missing nosetuid and noexec options.
6385 o Bostjan Golob <golob@gimb.org>
6386 * BUG 1046: Don't overwrite usernames of entries returned
6390 o Sebastian Krahmer <krahmer@suse.de>
6391 * Fixed potential crash bug in NTLMSSP parsing code.
6394 o Tim Potter <tpot@samba.org>
6395 * Fixed logic in tdb_brlock error checking.
6398 o Urban Widmark <urban@teststation.com>
6399 * Set nosuid,nodev flags in smbmnt by default.
6402 --------------------------------------------------
6404 =============================
6405 Release Notes for Samba 3.0.2
6407 =============================
6409 It has been confirmed that previous versions of Samba 3.0 are
6410 susceptible to a password initialization bug that could grant an
6411 attacker unauthorized access to a user account created by the
6412 mksmbpasswd.sh shell script.
6414 The Common Vulnerabilities and Exposures project (cve.mitre.org)
6415 has assigned the name CAN-2004-0082 to this issue.
6417 Samba administrators not wishing to upgrade to the current
6418 version should download the 3.0.2 release, build the pdbedit
6421 root# pdbedit-3.0.2 --force-initialized-passwords
6423 This will disable all accounts not possessing a valid password
6424 (e.g. the password field has been set a string of X's).
6426 Samba servers running 3.0.2 are not vulnerable to this bug
6427 regardless of whether or not pdbedit has been used to sanitize
6430 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
6433 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
6434 o Logging onto a Samba domain from Windows XP clients.
6435 o Problems with the %U and %u smb.conf variables in relation to
6436 Windows 9x/ME clients.
6437 o Kerberos failures due to an invalid in memory keytab detection
6439 o Updates to the ntlm_auth tool.
6440 o Fixes for various SMB signing errors.
6441 o Better separation of WINS and DNS queries for domain controllers.
6442 o Issues with nss_winbind FreeBSD and Solaris.
6443 o Several crash bugs in smbd and winbindd.
6444 o Output formatting fixes for smbclient for better compatibility
6445 with scripts based on the 2.2 version.
6454 Parameter Name Action
6455 -------------- ------
6456 ldap replication sleep New
6457 read size removed (unused)
6458 source environment removed (unused)
6464 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6465 details. The list of changes per contributor are as follows:
6467 o Jeremy Allison <jra@samba.org>
6468 * Revert change that broke Exchange clear text samlogons.
6469 * Fix gcc 3.4 warning in MS-DFS code.
6470 * Tidy up of NTLMSSP code.
6471 * Fixes for SMB signing errors
6472 * BUG 815: Workaround NT4 bug to support plaintext
6473 password logins and UNICODE.
6474 * Fix SMB signing bug when copying large files.
6475 * Correct error logic in mkdir_internals() (caused a panic
6476 when combined with --enable-developer).
6477 * BUG 830: Protect against crashes due to bad character
6481 o Petri Asikainen <paca@sci.fi>
6482 * BUG 330, 387:Fix single valued attribute updates when
6483 working with Novell NDS.
6486 o Andrew Bartlett <abartlet@samba.org>
6487 * Correctly handle per-pipe NTLMSSP inside a NULL session.
6488 * Fix segfault in gencache
6489 * Fix early free() of encrypted_session_key.
6490 * Change DC lookup routines to more carefully separate
6491 DNS names (realms) from NetBIOS domain names.
6492 * Add new sid_to_dn() function for internal winbindd use.
6493 * Refactor cli_ds_enum_domain_trusts().
6494 * BUG 707: Implement range retrieval of ADS attributes (based
6495 on work from Volker <vl@samba.org> and Guenther Deschner
6497 * Automatically initialize the signing engine if a session key
6499 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
6500 encoded strings, only form input in SWAT.
6501 * Resets the NTLMSSP state for new negotiate packets.
6502 * Add 2-byte alignments in net_samlogon() queries to parse
6503 odd-length plain text passwords.
6504 * Allow Windows groups with no members in winbindd.
6505 * Allow normal authentication in the absence of a server
6506 generated session key.
6507 * More optimizations for looking up UNIX group lists.
6508 * Clean up error codes and return values for pam_winbindd
6509 and winbindd PAM interface.
6510 * Fix string return values in ntlm_auth tool.
6511 * Fix segfault when 'security = ads' but no realm is defined.
6512 * BUG 722: Allow winbindd to map machine accounts to uids.
6513 * More cleanups for winbindd's find_our_domain().
6514 * More clearly detect whether a domain controller is an NT4
6515 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
6516 * Increase separation between DNS queries for hosts and queries
6517 for AD domain controllers.
6518 * Include additional NT_STATUS to PAM error mappings.
6519 * Password initialization fixes.
6522 o Justin Baugh <justin.baugh@request.com>
6523 * BUG 948: Implement missing functions required for FreeBSD
6524 nss_winbind support.
6527 o Alexander Bokovoy <ab@samba.org>
6528 * BUG 922: Make sure enable fast path for strlower_m() and
6532 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
6533 * Fix crash when using 'security = server' and 'encrypt
6534 passwords = no' by always initializing the session key.
6537 o Dmitry Butskoj <buc@odusz.elektra.ru>
6538 * Fix for special files being hidden from admins.
6541 o Gerald (Jerry) Carter <jerry@samba.org>
6542 * Fix bug in the lanman session key generation. Caused
6543 "decode_pw: incorrect password length" error messages.
6544 * Save the right case for the located user name in
6545 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
6546 * BUG 897: Add well known rid for pre win2k compatible access
6548 * BUG 887: Correct typo in delete user script example.
6549 * Use short lived TALLOC_CTX* for allocating printer objects
6550 from the print handle cache.
6551 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
6552 * Fix several warnings reported by the SUN Forte C compiler.
6553 * Fully control DNS queries for AD DC's using 'name resolve order'.
6554 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
6555 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
6556 * BUG 936: fix bind credentials for schannel binds in smbd.
6557 * BUG 446: Fix output of smbclient for better compatibility
6558 with scripts based on the 2.2 version (including Amanda).
6559 * BUG 891, 949: Fedora packaging fixes.
6560 * Fix bug that caused rpcclient to incorrectly retrieve
6561 the SID for a server (this causing all calls that required
6562 this information to fail).
6563 * BUG 977: Don't create a homes share for a user if a static
6564 share already exists by the same name.
6565 * Removed unused smb.conf options.
6566 * Password initialization fixes.
6567 * Set the disable flag for template accounts created by
6569 * Disable any account has no passwords and does not have the
6570 ACB_PWNOTREQ bit set.
6573 o Guenther Deschner <gd@suse.com>
6574 * Install smbwrapper.so should be put into the $(libdir)
6576 * Add the capability to specify the new user password
6577 for "net ads password" on the command line.
6578 * Correctly detect AFS headers on SuSE.
6581 o James Flemer <jflemer@uvm.edu>
6582 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
6583 HAVE_SYS_ATTRIBUTES_H.
6586 o Luke Howard <lukeh@PADL.COM>
6587 * Fix segfault in session setup reply caused by a early free().
6590 o Stoian Ivanov <sdr@bultra.com>
6591 * Implement grepable output for smbclient -L.
6594 o LaMont Jones <lamont@debian.org>
6595 * BUG 225328 (Debian): Correct false failure LFS test that resulted
6596 in _GNU_SOURCE not being defined (thus resulting in strndup()
6600 o Volker Lendecke <vl@samba.org>
6601 * BUG 583: Ensure that user names always contain the short
6602 version of the domain name.
6603 * Fix our parsing of the LDAP uri.
6604 * Don't show the 'afs username map' in the SWAT basic view.
6605 * Fix SMB signing issues in relation to failed NTLMSSP logins.
6606 * BUG 924: Fix return codes in smbtorture harness.
6607 * Always lower-case usernames before handing it to AFS code.
6608 * Add a German translation for SWAT.
6609 * Fix a segfaults in winbindd.
6610 * Fix the user's domain passed to register_vuid() from
6611 reply_spnego_Kerberos().
6612 * Add NSS example code in nss_winbind to convert UNIX
6613 id's <-> Windows SIDs.
6614 * Display more descriptive error messages for login via 'net'.
6615 * Fix compiler warning in the net tool.
6616 * Fix length bug when decoding base64 strings.
6617 * Ensure we don't call getpwnam() inside a loop that is iterating
6618 over users with getpwent(). This broke on glibc 2.3.2.
6621 o Herb Lewis <herb@samba.org>
6622 * Fix bit rot in psec.
6625 o Jianliang Lu <j.lu@tiesse.com>
6626 * Ensure we delete the group mapping before calling the delete
6628 * Define well known RID for managing the "Power Users" group.
6629 * BUG 381: check builtin (not local) group SID when updating
6631 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
6635 o John Klinger <john.klinger@lmco.com>
6636 * Implement initgroups() call in nss_winbind on Solaris.
6639 o Jim McDonough <jmcd@us.ibm.com>
6640 * Fix regression in net rpc join caused by recent changes
6641 to cli_lsa_query_info_policy().
6642 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
6646 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
6647 * BUG 570: Ensure that configure honors the LDFLAGS variable.
6650 o Stefan Metzmacher <metze@samba.org>
6651 * Implement LDAP rebind sleep patch.
6652 * Revert to 2.2 quota code because of so many broken quota files
6654 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
6655 XFS_USER_QUOTA -> USRQUOTA
6656 XFS_GROUP_QUOTA -> GRPQUOTA
6657 * Fix disk_free calculation with group quotas.
6658 * Add debug class 'quota' and a lot of DEBUG()'s
6660 * Fix sys_chown() when no chown() is present.
6661 * Add SIGABRT to fault handling in order to catch got a
6662 backtrace if an error occurs the OpenLDAP client libs.
6666 * Allow an existing LDAP machine account to be re-used when
6667 joining an AD domain.
6670 o James Peach <jpeach@sgi.com>
6671 * BUG 889: Change smbd to use pread/pwrite on platforms that
6672 support these calls. Can lead to a significant speed increase.
6675 o Tim Potter <tpot@samba.org>
6676 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
6677 * BUG 924: Fix typo in RW2 torture test.
6680 o Richard Sharpe <rsharpe@samba.org>
6681 * Small fixes to torture.c to cleanup the error handling
6682 and prevent crashes.
6685 o J. Tournier <jerome.tournier@IDEALX.com>
6686 * Small fixes for the smbldap-tool scripts.
6689 o Andrew Tridgell <tridge@samba.org>
6690 * Fix src len check in pull_usc2().
6693 o Jelmer Vernooij <jelmer@samba.org>
6694 * Put functions for generating SQL queries in pdb_sql.c
6695 * Add pgSQL backend (based on patch by Hamish Friedlander)
6696 * BUG 908: Fix -s option to smbcontrol.
6697 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
6698 * Fix for libnss_wins on IRIX platforms.
6699 * Fix swatdir for --with-fhs.
6702 --------------------------------------------------
6704 =============================
6705 Release Notes for Samba 3.0.1
6707 =============================
6709 Some of the more common bugs in 3.0.0 addressed in the release
6712 o Substitution problems with smb.conf variables.
6713 o Errors in return codes which caused some applications
6714 to fail to open files.
6715 o General Protection Faults on Windows 2000/XP clients
6716 using Samba point-n-print features.
6717 o Several miscellaneous crash bugs.
6718 o Access problems when enumerating group mappings are
6719 stored in an LDAP Directory.
6720 o Several common SWAT bugs when writing changes to
6722 o Internal inconsistencies when 'winbind use default
6728 ----------------------
6730 Parameter Name Action
6731 -------------- ------
6732 hide local users Removed
6733 mangled map Deprecated
6734 mangled stack Removed
6735 passwd chat timeout New
6741 o Change the interface for init_unistr2 to not take a length
6742 but a flags field. We were assuming that
6743 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
6744 o Allow d_printf() to handle strings with escaped quotation
6745 marks since the msg file includes the escape character (bug 489).
6746 o Fix bad html table row termination in SWAT wizard code (bug 413).
6747 o Fix to parse the level-2 strings.
6748 o Fix for "valid users = %S" in [homes]. Fix read/write
6750 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
6751 This is the same way AC_CHECK_LIB works (bug 508).
6752 o Testparm output fixes for clarity.
6753 o Fix broken wins hook functionality -- i18n bug (bug 528).
6754 o Take care of condition where DOS and NT error codes must differ.
6755 o Default to using only built-in charsets when a working iconv
6756 implementation cannot be located.
6757 o Wrap internals of sys_setgroups() so the sys_XX() call can
6758 be done unconditionally (bug 550).
6759 o Remove duplicate smbspool link on SWAT's front page (bug 541).
6760 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
6761 --enable-debug=[yes|no] works correctly.
6762 o Allow ^C to interrupt smbpasswd if using our getpass
6763 (e.g. smbpasswd command).
6764 o Support signing only on RPC's (bug 167).
6765 o Correct bug that prevented Excel 2000 clients from opening
6766 files marked as read-only.
6767 o Portability fix bugs 546 - 549).
6768 o Explicitly initialize the value of AR for vendor makes that don't
6769 do this (e.g. HPUX 11). (bug 552).
6770 o More i18n fixes for SWAT (bug 413).
6771 o Change the cwd before the postexec script to ensure that a
6772 umount will succeed.
6773 o Correct double free that caused winbindd to crash when a DC
6774 is rebooted (bug 437).
6775 o Fix incorrect mode sum (bug 562).
6776 o Canonicalize SMB_INFO_ALLOCATION in the same was as
6777 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
6778 o Add script to generate *msg files.
6779 o Add Dutch SWAT translation file.
6780 o Make sure to call get_user_groups() with the full winbindd
6781 name for a user if he/she has one (bug 406).
6782 o Fix up error code returns from Samba4 tester. Ensure invalid
6783 paths are validated the same way.
6784 o Allow Samba3 to pass the Samba4 RAW-READ tests.
6785 o Refuse to configure if --with-expsam=$BACKEND was used but no
6786 libraries were found for $BACKEND.
6787 o Move sysquotas autoconf tests to a separate file.
6788 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
6790 o Make sure that the files that contain the static_init_$subsystem;
6791 macro get recompiled after configure by removing the object
6793 o Ensure canceling a blocking lock returns the correct error
6795 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
6796 o Updated Japanese welcome file in SWAT.
6797 o Fix to nt-time <-> unix-time functions reversible.
6798 o Ensure that winbindd uses the the escaped DN when querying
6800 o Fix portability issues when compiling (bug 505, 550)
6801 o Compile fix for tdbbackup when Samba needs to override
6802 non-C99 compliant implementations of snprintf().
6803 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
6804 o Make sure we break out of samsync loop on error.
6805 o Ensure error code path doesn't free unmalloc()'d memory
6807 o Add configure test for krb5_keytab_entry keyblock vs key
6810 o Modified testparm so that all output so all debug output goes
6811 to stderr, and all file processing goes to stdout.
6812 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
6814 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
6815 we have a devmode before copying a string to the devicename.
6816 o Support mapping REALM.COM\user to a local user account (without
6817 running winbindd) for compatibility with 2.2.x release.
6818 o Ensure we don't use mmap() on blacklisted systems.
6819 o fixed a number of bugs and memory leaks in the AIX
6821 o Call initgroups() in SWAT before becomming the user so that
6822 secondary group permissions can be used when writing to
6824 o Fix signing problems when reverse connecting back to a
6825 client for printer notify
6826 o Fix signing problems caused by a miss-sequence bug.
6827 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
6828 Fixes NEXUS tools running on Win9x clients (bug 64).
6829 o Don't leave the domain field uninitialized in cli_lsa.c if some
6830 SID could not be mapped.
6831 o Fix segfault in mount.cifs helper when there is no options
6832 specified during mount.
6833 o Change the \n after the password prompt to go to tty instead
6834 of stdout (bug 668).
6835 o Stop net -P from prompting for machine account password (bug 451).
6836 o Change in behavior to Not only change the effective uid but also
6837 the real uid when becoming unprivileged.
6838 o Cope with Exchange 5.5 cleartext pop password auth.
6839 o New files for support of initshutdown pipe. Win2k doesn't
6840 respond properly to all requests on the winreg pipe, so we need
6841 to handle this new pipe (bug 534).
6842 o Added more va_copy() checks in configure.in.
6843 o Include fixes for libsmbclient build problems.
6844 o Missing UNIX -> DOS codepage conversion in lanman.c.
6845 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
6846 o Parameterize the listen backlog in smbd and make it larger by
6847 default. A backlog of 5 is way too small these days.
6848 o Check for an invalid fid before dereferencing the fsp pointer
6850 o Remove invalid memory frees and return codes in pdb_ldap.c.
6851 o Prompt for password when invoking --set-auth-user and no
6853 o Bind the nmbd sending socket to the 'socket address'.
6854 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
6855 $LDFLAGS occurs before any library specification (bug 661).
6856 o Fix large number of printf() calls for 64-bit size_t.
6857 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
6858 keyblock in the krb5 structs.
6859 o Remove #include <compat.h> in hopes to avoid problems with
6860 apache header files.
6861 o Correct winbindd build problems on HP-UX 11.
6862 o Lowercase netgroups lookups (bug 703).
6863 o Use the actual size of the buffer in strftime instead of a made
6864 up value which just happens to be less than sizeof(fstring).
6866 o Add ldaplibs to pdbedit link line (bug 651).
6867 o Fix crash bug in smbclient completion (bug 659).
6868 o Fix packet length for browse list reply (bug 771).
6869 o Fix coredump in cli_get_backup_list().
6870 o Make sure that we expand %N (bug 612).
6871 o Allow rpcclient adddriver command to specify printer driver
6873 o Compile tdbdump by default.
6874 o Apply patches to fix iconv detection for FreeBSD.
6875 o Do not allow the 'guest account' to be added to a passdb backend
6876 using smbpasswd or pdbedit (bug 624).
6877 o Save LDFLAGS during iconv detection (bug 57).
6878 o Run krb5 logins through the username map if the winbindd
6879 lookup fails (bug 698).
6880 o Add const for lp_set_name_resolve_order() to avoid compiler
6882 o Add support for the %i macro in smb.conf to stand in for the for
6883 the local IP address to which a client connected.
6884 o Allow winbindd to match local accounts to domain SID when
6885 'winbind trusted domains only = yes' (bug 680).
6886 o Remove code in idmap_ldap that searches the user suffix and group
6887 suffix. It's not needed and provides inconsistent functionality
6888 from the tdb backend.
6889 o Patch to handle munged dial string for Windows 2000 TSE.
6890 Thanks to Gaz de France, Direction de la Recherche, Service
6891 Informatique Métier for their supporting this work by Aurelien
6892 Degrémont <adegremont@idealx.com>.
6893 o Correct the "smbldap_open: cannot access when not root error"
6894 messages when looking up group information (bug 281).
6895 o Skip over the winbind separator when looking up a user.
6896 This fixes the bug that prevented local users from
6897 matching an AD user when not running winbindd (bug 698).
6898 o Fix a problem with configure on *BSD systems. Make sure
6899 we add -liconv etc to LDFLAGS.
6900 o Fix core dump bug when "security = server" and the authentication
6902 o Correct crash bug due to an empty munged dial string.
6903 o Show files locked by a specific user (smbstatus -u 'user')
6905 o Fix bug preventing print jobs from display in the queue
6906 monitor used by Windows NT and later clients (bug 660).
6907 o Fix several reported problems with point-n-print from
6908 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
6909 reply (bug 338, 527 & 643).
6910 o Fix a handful of potential memory leaks in the LDAP code used
6911 by ldapsam[_compat] and the LDAP idmap backend.
6912 o Fix for pdbedit error code returns (bug 763).
6913 o Make sure we only enumerate group mapping entries (not
6914 /etc/group) even when doing local aliases.
6915 o Relax check on the pipe name in a dce/rpc bind response to work
6916 around issues with establishing trusts to a Windows 2003 domain.
6917 o Ensure we mangle names ending in '.' in hash2 mangling method.
6918 o Correct parsing issues with munged dial string.
6919 o Fix bugs in quota support for XFS.
6920 o Add a cleaner method for applications that need to provide
6921 name->SID mappings to do this via NSS rather than having to
6922 know the winbindd pipe protocol.
6923 o Adds a variant of the winbindd_getgroups() call called
6924 winbindd_getusersids() that provides direct SID->SIDs listing of
6925 a users supplementary groups. This is enough to allow non-Samba
6926 applications to do ACL checking.
6927 o Make sure we don't append the 'ldap suffix' when writing out the
6928 'ldap XXX suffix' values in SWAT (bug 328).
6929 o Fix renames across file systems.
6930 o Ensure that items in a list of strings containing whitespace are
6931 written out surrounded by single quotes. This means that both
6932 double and single quotes are now used to surround strings in
6934 o Enable SWAT to correctly determine if winbindd is running (bug
6936 o Include WWW-Authenticate field in 401 response for bad auth
6938 o Add support for NTLM2 (NTLMv2 session security).
6939 o Add support for variable-length session keys.
6940 o More privilege fixes for group enumeration in LDAP (bug 281).
6941 o Use the dns name (or IP) as the originating client name when
6942 using CUPS (bug 467).
6943 o Fix various SMB signing bugs.
6944 o Fix ACL propagation on a DFS root (bug 263).
6945 o Disable NTLM2 for RPC pipes.
6946 o Allow the client to specify the NTLM2 flags got NTLMSSP
6948 o Change the name of the job passed off to cups from "Test Page"
6949 to "smbprn.00000033 Test Page" so that we can get the smb
6950 jobid back. This allow users to delete jobs with cups printing
6951 backend (partial work on bug 770).
6952 o Fix build of winbindd with static pdb modules.
6953 o Retrieve the correct ACL group bits if the file has an ACL
6955 o Implement "net rpc group members": Get members of a domain group
6956 in human-readable format.
6957 o Add MacOSX (Darwin) specific charset module code.
6958 o Use samr_dispinfo(level == 1) for enumerating domain users so we
6959 can include the full name in gecos field (bug 587).
6960 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
6961 o Implement 'net rpc group list [global|local|builtin]*' for a
6962 select listing of the respective user databases.
6963 o Don't automatically set NT status code flag unless client tells
6965 o Add 'net status [sessions|shares] [parseable]'.
6966 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
6968 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
6970 o Fix inverted logic in hosts allow/deny checks caused by
6971 s/strcmp/strequal/ (bug 846).
6972 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
6973 o Fix typo in 'hash' mangling algorithm.
6974 o Support munged dial for ldapsam (bug 800).
6975 o Fix process_incoming_data() to return the number of bytes handled
6976 this call whether we have a complete PDU or not; fixes bug
6977 with multiple PDU request rpc's broken over SMBwriteX calls
6979 o Fix incorrect smb flags2 for connections to pre-NT servers
6980 (causes smbclient to fail to OS2 for example) (bug 821).
6981 o Update version string in smbldap-tools Makefile to 0.8.2.
6982 o Correct a problem with "net rpc vampire" mis-parsing the
6983 alias member info reply.
6984 o Ensure the ${libdir} is created by the installclientlib script.
6985 o Fix detection of Windows 2003 client architecture in the smb.conf
6987 o Ensure that smbd calls the add user script for a missing UNIX
6988 user on Kerberos auth call (bug 445).
6989 o Fix bugs in hosts allow/deny when using a mismatched
6990 network/netmask pair.
6991 o Protect alloc_sub_basic() from crashing when the source string
6992 is NULL (partial work on bug 687).
6993 o Fix spinlocks on IRIX.
6994 o Corrected some bad destination paths when running "configure
6996 o Add packaging files for Fedora Core 1.
6997 o Correct bug in SWAT install script for non-english languages.
6998 o Support character set ISO-8859-1 internally (bug 558).
6999 o Fixed more LDAP access errors when looking up group mappings
7001 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
7002 resolution to fail on local files on on domain members
7004 o Fix uninitialized variable in passdb.c.
7005 o Fix formal parameter type in get_static() in nsswitch/wins.c.
7006 o Fix problem mounting directories when mount.cifs is installed
7007 with the setuid bit on.
7008 o Fix bug that prevent --mandir from overriding the defaults
7009 given in the --with-fhs macro.
7010 o Fix bug in in-memory Kerberos keytab detection routines
7015 ######################################################################
7017 The original 3.0.0 release notes follow
7018 =======================================
7019 WHATS NEW IN Samba 3.0.0
7021 =======================================
7027 1) Active Directory support. Samba 3.0 is now able to
7028 join a ADS realm as a member server and authenticate
7029 users using LDAP/Kerberos.
7031 2) Unicode support. Samba will now negotiate UNICODE on the wire
7032 and internally there is now a much better infrastructure for
7033 multi-byte and UNICODE character sets.
7035 3) New authentication system. The internal authentication system
7036 has been almost completely rewritten. Most of the changes are
7037 internal, but the new auth system is also very configurable.
7039 4) New default filename mangling system.
7041 5) A new "net" command has been added. It is somewhat similar to
7042 the "net" command in windows. Eventually we plan to replace
7043 numerous other utilities (such as smbpasswd) with subcommands
7046 6) Samba now negotiates NT-style status32 codes on the wire. This
7047 improves error handling a lot.
7049 7) Better Windows 2000/XP/2003 printing support including publishing
7050 printer attributes in active directory.
7052 8) New loadable module support for passdb backends and character
7055 9) New default dual-daemon winbindd support for better performance.
7057 10) Support for migrating from a Windows NT 4.0 domain to a Samba
7058 domain and maintaining user, group and domain SIDs.
7060 11) Support for establishing trust relationships with Windows NT 4.0
7063 12) Initial support for a distributed Winbind architecture using
7064 an LDAP directory for storing SID to uid/gid mappings.
7066 13) Major updates to the Samba documentation tree.
7068 14) Full support for client and server SMB signing to ensure
7069 compatibility with default Windows 2003 security settings.
7071 15) Improvement of ACL mapping features based on code donated by
7072 Andreas Grünbacher.
7075 Plus lots of other improvements!
7078 Additional Documentation
7079 ------------------------
7081 Please refer to Samba documentation tree (included in the docs/
7082 subdirectory) for extensive explanations of installing, configuring
7083 and maintaining Samba 3.0 servers and clients. It is advised to
7084 begin with the Samba-HOWTO-Collection for overviews and specific
7085 tasks (the current book is up to approximately 400 pages) and to
7086 refer to the various man pages for information on individual options.
7088 We are very glad to be able to include the second edition of
7089 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
7090 (O'Reilly & Associates) in this release. The book is available
7091 on-line at http://samba.org/samba/docs/ and is included with
7092 the Samba Web Administration Tool (SWAT). Thanks to the authors and
7093 publisher for making "Using Samba" under the GNU Free Documentation
7097 ######################################################################
7098 Upgrading from a previous Samba 3.0 beta
7099 ########################################
7101 Beginning with Samba 3.0.0beta3, the RID allocation functions
7102 have been moved into winbindd. Previously these were handled
7103 by each passdb backend. This means that winbindd must be running
7104 to automatically allocate RIDs for users and/or groups. Otherwise,
7105 smbd will use the 2.2 algorithm for generating new RIDs.
7107 If you are using 'passdb backend = tdbsam' with a previous Samba
7108 3.0 beta release (or possibly alpha), it may be necessary to
7109 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
7110 to winbindd_idmap.tdb. To do this:
7112 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
7114 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
7116 3) run: (note that 'tdb>' is the tool's prompt for input)
7118 root# ./tdbtool /usr/local/samba/private/passdb.tdb
7119 tdb> show RID_COUNTER
7123 [000] 0A 52 00 00 .R.
7125 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
7129 If you are using 'passdb backend = ldapsam', it will be necessary to
7130 store idmap entries in the LDAP directory as well (i.e. idmap backend
7131 = ldap). Refer to the 'net idmap' command for more information on
7132 migrating SID<->UNIX id mappings from one backend to another.
7134 If the RID_COUNTER record does not exist, then these instructions are
7135 unneccessary and the new RID_COUNTER record will be correctly generated
7140 ########################
7141 Upgrading from Samba 2.2
7142 ########################
7144 This section is provided to help administrators understand the details
7145 involved with upgrading a Samba 2.2 server to Samba 3.0.
7151 Many of the options to the GNU autoconf script have been modified
7152 in the 3.0 release. The most noticeable are:
7154 * removal of --with-tdbsam (is now included by default; see section
7155 on passdb backends and authentication for more details)
7157 * --with-ldapsam is now on used to provided backward compatible
7158 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
7159 backend and authentication section for more details
7161 * inclusion of non-standard passdb modules may be enabled using
7162 --with-expsam. This includes an XML backend and a mysql backend.
7164 * removal of --with-msdfs (is now enabled by default)
7166 * removal of --with-ssl (no longer supported)
7168 * --with-utmp now defaults to 'yes' on supported systems
7170 * --with-sendfile-support is now enabled by default on supported
7177 This section contains a brief listing of changes to smb.conf options
7178 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
7179 complete descriptions of new or modified parameters.
7181 Removed Parameters (order alphabetically):
7184 * alternate permissions
7187 * code page directory
7189 * domain admin group
7190 * domain guest group
7191 * force unknown acl user
7197 * printer driver file
7198 * printer driver location
7200 * source environment
7208 New Parameters (new parameters have been grouped by function):
7212 * abort shutdown script
7215 User and Group Account Management
7216 ---------------------------------
7218 * add machine script
7219 * add user to group script
7220 * algorithmic rid base
7221 * delete group script
7222 * delete user from group script
7224 * set primary group script
7230 * passwd chat timeout
7234 * client lanman auth
7235 * client NTLMv2 auth
7241 * paranoid server security
7250 * hide special files
7251 * hide unwriteable files
7253 * kernel change notify
7263 * max reported print jobs
7265 UNICODE and Character Sets
7266 --------------------------
7272 SID to uid/gid Mappings
7273 -----------------------
7277 * winbind enable local accounts
7278 * winbind trusted domains only
7279 * template primary group
7280 * enable rid algorithm
7287 * ldap machine suffix
7289 * ldap replication sleep
7292 General Configuration
7293 ---------------------
7297 Modified Parameters (changes in behavior):
7299 * encrypt passwords (enabled by default)
7300 * mangling method (set to 'hash2' by default)
7303 * restrict anonymous (integer value)
7304 * security (new 'ads' value)
7305 * strict locking (enabled by default)
7306 * unix extensions (enabled by default)
7307 * winbind cache time (increased to 5 minutes)
7308 * winbind uid (deprecated in favor of 'idmap uid')
7309 * winbind gid (deprecated in favor of 'idmap gid')
7315 This section contains brief descriptions of any new databases
7316 introduced in Samba 3.0. Please remember to backup your existing
7317 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
7318 upgrade databases as they are opened (if necessary), but downgrading
7319 from 3.0 to 2.2 is an unsupported path.
7321 Name Description Backup?
7322 ---- ----------- -------
7323 account_policy User policy settings yes
7324 gencache Generic caching db no
7325 group_mapping Mapping table from Windows yes
7326 groups/SID to unix groups
7327 winbindd_idmap ID map table from SIDS to UNIX yes
7329 namecache Name resolution cache entries no
7330 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
7331 returned as part of a successful
7332 net_sam_logon request
7333 printing/*.tdb Cached output from 'lpq no
7334 command' created on a per print
7336 registry Read-only samba registry skeleton no
7337 that provides support for exporting
7338 various db tables via the winreg RPCs
7344 The following issues are known changes in behavior between Samba 2.2 and
7345 Samba 3.0 that may affect certain installations of Samba.
7347 1) When operating as a member of a Windows domain, Samba 2.2 would
7348 map any users authenticated by the remote DC to the 'guest account'
7349 if a uid could not be obtained via the getpwnam() call. Samba 3.0
7350 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
7351 current work around to re-establish the 2.2 behavior.
7353 2) When adding machines to a Samba 2.2 controlled domain, the
7354 'add user script' was used to create the UNIX identity of the
7355 machine trust account. Samba 3.0 introduces a new 'add machine
7356 script' that must be specified for this purpose. Samba 3.0 will
7357 not fall back to using the 'add user script' in the absence of
7358 an 'add machine script'
7361 ######################################################################
7362 Passdb Backends and Authentication
7363 ##################################
7365 There have been a few new changes that Samba administrators should be
7366 aware of when moving to Samba 3.0.
7368 1) encrypted passwords have been enabled by default in order to
7369 inter-operate better with out-of-the-box Windows client
7370 installations. This does mean that either (a) a samba account
7371 must be created for each user, or (b) 'encrypt passwords = no'
7372 must be explicitly defined in smb.conf.
7374 2) Inclusion of new 'security = ads' option for integration
7375 with an Active Directory domain using the native Windows
7376 Kerberos 5 and LDAP protocols.
7378 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
7379 type which is neccessary for servers on which the
7380 administrator password has not been changed, or Kerberos-enabled
7381 SMB connections to servers that require Kerberos SMB signing.
7382 Besides this one difference, either MIT or Heimdal Kerberos
7383 distributions are usable by Samba 3.0.
7386 Samba 3.0 also includes the possibility of setting up chains
7387 of authentication methods (auth methods) and account storage
7388 backends (passdb backend). Please refer to the smb.conf(5)
7389 man page for details. While both parameters assume sane default
7390 values, it is likely that you will need to understand what the
7391 values actually mean in order to ensure Samba operates correctly.
7393 The recommended passdb backends at this time are
7395 * smbpasswd - 2.2 compatible flat file format
7396 * tdbsam - attribute rich database intended as an smbpasswd
7397 replacement for stand alone servers
7398 * ldapsam - attribute rich account storage and retrieval
7399 backend utilizing an LDAP directory.
7400 * ldapsam_compat - a 2.2 backward compatible LDAP account
7403 Certain functions of the smbpasswd(8) tool have been split between the
7404 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
7405 utility. See the respective man pages for details.
7408 ######################################################################
7412 This section outlines the new features affecting Samba / LDAP
7418 A new object class (sambaSamAccount) has been introduced to replace
7419 the old sambaAccount. This change aids us in the renaming of
7420 attributes to prevent clashes with attributes from other vendors.
7421 There is a conversion script (examples/LDAP/convertSambaAccount) to
7422 modify and LDIF file to the new schema.
7426 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
7427 $ convertSambaAccount --sid=<Domain SID> \
7428 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
7429 --changetype=[modify|add]
7431 The <DOM SID> can be obtained by running 'net getlocalsid
7432 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
7433 the format of the generated LDIF output--either create new entries
7434 or modify existing entries.
7436 The old sambaAccount schema may still be used by specifying the
7437 "ldapsam_compat" passdb backend. However, the sambaAccount and
7438 associated attributes have been moved to the historical section of
7439 the schema file and must be uncommented before use if needed.
7440 The 2.2 object class declaration for a sambaAccount has not changed
7441 in the 3.0 samba.schema file.
7443 Other new object classes and their uses include:
7445 * sambaDomain - domain information used to allocate rids
7446 for users and groups as necessary. The attributes are added
7447 in 'ldap suffix' directory entry automatically if
7448 an idmap uid/gid range has been set and the 'ldapsam'
7449 passdb backend has been selected.
7451 * sambaGroupMapping - an object representing the
7452 relationship between a posixGroup and a Windows
7453 group/SID. These entries are stored in the 'ldap
7454 group suffix' and managed by the 'net groupmap' command.
7456 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
7457 automatically and contains the next available 'idmap uid' and
7460 * sambaIdmapEntry - object storing a mapping between a
7461 SID and a UNIX uid/gid. These objects are created by the
7462 idmap_ldap module as needed.
7464 * sambaSidEntry - object representing a SID alone, as a Structural
7465 class on which to build the sambaIdmapEntry.
7468 New Suffix for Searching
7469 ------------------------
7471 The following new smb.conf parameters have been added to aid in directing
7472 certain LDAP queries when 'passdb backend = ldapsam://...' has been
7475 * ldap suffix - used to search for user and computer accounts
7476 * ldap user suffix - used to store user accounts
7477 * ldap machine suffix - used to store machine trust accounts
7478 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
7479 * ldap idmap suffix - location of sambaIdmapEntry objects
7481 If an 'ldap suffix' is defined, it will be appended to all of the
7482 remaining sub-suffix parameters. In this case, the order of the suffix
7483 listings in smb.conf is important. Always place the 'ldap suffix' first
7486 Due to a limitation in Samba's smb.conf parsing, you should not surround
7487 the DN's with quotation marks.
7493 Samba 3.0 supports an ldap backend for the idmap subsystem. The
7494 following options would inform Samba that the idmap table should be
7495 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
7500 idmap backend = ldap:ldap://onterose/
7501 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
7502 idmap uid = 40000-50000
7503 idmap gid = 40000-50000
7505 This configuration allows winbind installations on multiple servers to
7506 share a uid/gid number space, thus avoiding the interoperability problems
7507 with NFS that were present in Samba 2.2.
7511 ######################################################################
7512 Trust Relationships and a Samba Domain
7513 ######################################
7515 Samba 3.0.0beta2 is able to utilize winbindd as the means of
7516 allocating uids and gids to trusted users and groups. More
7517 information regarding Samba's support for establishing trust
7518 relationships can be found in the Samba-HOWTO-Collection included
7519 in the docs/ directory of this release.
7521 First create your Samba PDC and ensure that everything is
7522 working correctly before moving on the trusts.
7524 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
7525 4.0 domain named WINDOWS:
7527 1) create the trust account for SAMBA in "User Manager for Domains"
7528 2) connect the trust from the Samba domain using
7529 'net rpc trustdom establish GLASS'
7531 To create a trustlationship with SAMBA as the trusted domain:
7533 1) create the initial trust account for GLASS using
7534 'smbpasswd -a -i GLASS'. You may need to create a UNIX
7535 account for GLASS$ prior to this step (depending on your
7536 local configuration).
7537 2) connect the trust from a WINDOWS DC using "User Manager
7540 Now join winbindd on the Samba PDC to the SAMBA domain using
7541 the normal steps for adding a Samba server to an NT4 domain:
7542 (note that smbd & nmbd must be running at this point)
7544 root# net rpc join -U root
7545 Password: <enter root password from smbpasswd file here>
7547 Start winbindd and test the join with 'wbinfo -t'.
7549 Now test the trust relationship by connecting to the SAMBA DC
7550 (e.g. POGO) as a user from the WINDOWS domain:
7552 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
7555 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
7557 $ smbclient //crystal/netlogon -U root -W WINDOWS
7560 ######################################################################
7564 Beginning with Samba3.0.0beta3, winbindd has been given new account
7565 manage functionality equivalent to the 'add user script' family of
7566 smb.conf parameters. The idmap design has also been changed to
7567 centralize control of foreign SID lookups and matching to UNIX
7571 Brief Description of Changes
7572 ----------------------------
7574 1) The sid_to_uid() family of functions (smbd/uid.c) have been
7575 reverted to the 2.2.x design. This means that when resolving a
7576 SID to a UID or similar mapping:
7578 a) First consult winbindd
7579 b) perform a local lookup only if winbindd fails to
7580 return a successful answer
7582 There are some variations to this, but these two rules generally
7585 2) All idmap lookups have been moved into winbindd. This means that
7586 a server must run winbindd (and support NSS) in order to achieve
7587 any mappings of SID to dynamically allocated UNIX ids. This was
7588 a conscious design choice.
7590 3) (OBSOLETE) New functions have been added to winbindd to emulate
7591 the 'add user script' family of smbd functions without requiring
7592 that external scripts be defined. This functionality is controlled
7593 by the 'winbind enable local accounts' smb.conf parameter (enabled
7596 However, this account management functionality is only supported
7597 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
7598 must be shared among multiple Samba servers (such as a PDC and BDCs),
7599 it will be necessary to define your own 'add user script', et. al.
7600 programs that place the accounts/groups in some form of directory
7601 such as NIS or LDAP. This requirement was deemed beyond the scope
7602 of winbind's account management functions. Solutions for
7603 distributing UNIX system information have been deployed and tested
7604 for many years. We saw no need to reinvent the wheel.
7606 4) A member of a Samba controlled domain running winbindd is now able
7607 to map domain users directly onto existing UNIX accounts while still
7608 automatically creating accounts for trusted users and groups. This
7609 behavior is controlled by the 'winbind trusted domains only' smb.conf
7610 parameter (disabled by default to provide 2.2.x winbind behavior).
7612 5) Group mapping support is wrapped in the local_XX_to_XX() functions
7613 in smbd/uid.c. The reason that group mappings are not included
7614 in winbindd is because the purpose of Samba's group map is to
7615 match any Windows SID with an existing UNIX group. These UNIX
7616 groups can be created by winbindd (see next section), but the
7617 SID<->gid mapping is retreived by smbd, not winbindd.
7623 * security = server running winbindd to allocate accounts on demand
7625 * Samba PDC running winbindd to handle the automatic creation of UNIX
7626 identities for machine trust accounts
7628 * Automtically creating UNIX user and groups when migrating a Windows NT
7629 4.0 PDC to a Samba PDC. Winbindd must be running when executing
7630 'net rpc vampire' for this to work.
7633 ######################################################################
7637 * There are several bugs currently logged against the 3.0 codebase
7638 that affect the use of NT 4.0 GUI domain management tools when run
7639 against a Samba 3.0 PDC. This bugs should be released in an early
7642 Please refer to https://bugzilla.samba.org/ for a current list of bugs
7643 filed against the Samba 3.0 codebase.
7646 ######################################################################
7647 Reporting bugs & Development Discussion
7648 #######################################
7650 Please discuss this release on the samba-technical mailing list or by
7651 joining the #samba-technical IRC channel on irc.freenode.net.
7653 If you do report problems then please try to send high quality
7654 feedback. If you don't provide vital information to help us track down
7655 the problem then you will probably be ignored.
7657 A new bugzilla installation has been established to help support the
7658 Samba 3.0 community of users. This server, located at
7659 https://bugzilla.samba.org/, has replaced the older jitterbug server
7660 previously located at http://bugs.samba.org/.