1 ==============================
2 Release Notes for Samba 3.0.25
4 ==============================
6 This is the first production release of the Samba 3.0.25 code
7 base and is the version that servers should be run for for all
10 The 3.0.25 release is an upgrade release over the 3.0.23/3.0.24
11 series which means that a substancial amount of development has
12 occured and many new features have been added since the last
13 Samba production release. We would like to thank everyone in
14 the Samba commnunity that help to test the preview snapshots and
15 release candidates. We believe that the this production release
16 is in much better shape due to your help.
18 Major features included in the 3.0.25 code base include:
20 o Significant improvements in the winbind off-line logon support.
21 o Support for secure DDNS updates as part of the 'net ads join'
23 o Rewritten IdMap interface which allows for TTL based caching and
25 o New plug-in interface for the "winbind nss info" parameter.
26 o New file change notify subsystem which is able to make use of
28 o Support for passing Windows security descriptors to a VFS
29 plug-in allowing for multiple Unix ACL implements to running side
30 by side on the Same server.
31 o Improved compatibility with Windows Vista clients including
32 improved read performance with Linux servers.
33 o Man pages for IdMap and VFS plug-ins.
36 Off-line Logons and AD Site Support
37 ===================================
39 Winbind's capability to support offline logons has been greatly
40 improved with the 3.0.25 release including support for locating
41 domain controllers asynchronously using Active Directory Site
45 New IdMap Interface for Winbindd
46 ================================
48 The 3.0.25 release of Samba includes a rewritten IdMap interface
49 for winbindd which replaces the "idmap backend" parameter. Please
50 refer to the "idmap domains" description in the smb.conf(5) man
51 page for more details.
57 The "net ads join" command is now able to register the host's DNS A
58 records with Windows 2000 SP4 and 2003 DNS servers. This
59 feature must be enabled at compile time using the --with-dnsupdate
60 when running the ./configure script. There is also a related "net ads
61 dns" command for refreshing a host's records which could be launched
62 from a dhcp client script when a new IP address is obtained.
65 Support for Additional ACL Modules
66 ==================================
68 Samba's POSIX ACL support has been moved inside of the VFS layer
69 which means it is now possible to support multiple ACL implementations
70 on the same server including NFSv4 and GPFS ACLs.
76 Windows Vista introduces pipe-lined read support for improved
77 performance when transferring files. The new vfs_readahead plugin
78 allows Linux file servers to utilize additional Kernel buffers
79 for caching files in order to avoid Disk I/O wait time when serving
80 Vista clients. If you experience poor read performance between
81 Linux servers and Vista clients, please test the vfs_readahead
82 module by adding the following lines to the share definition
86 vfs objects = readahead
88 Note that this plugin will result in additional RAM requirements
89 due to the increased amount of kernel buffer caches used by smbd.
90 Please refer to vfs_readahead(8) for more information.
93 Windows Vista, Office 2007, and Offline Files
94 =============================================
96 Research surrounding offline files, Windows Vista, and Microsoft
97 Office 2007 has revealed a incompatibility between these
98 applications and the "map acl inherit = no" setting in smb.conf.
99 Users requiring support client side caching (csc) and offline
100 files are encouraged to enable the "map acl inherit" for any
101 affected share definitions in the server's configuration.
102 Future versions of Samba will enable this setting by default.
104 Please refer to the smb.conf(5) man page for more details on
108 ######################################################################
115 Parameter Name Description Default
116 -------------- ----------- -------
117 change notify timeout Removed n/a
118 change notify New Yes
119 debug prefix timestamp New No
120 fam change notify Removed n/a
122 idmap alloc backend New ""
123 idmap cache time New 900
124 idmap negative cache time New 120
125 kernel change notify Per share Yes
126 lock spin count Removed n/a
127 max stat cache size Modified 1024KB
128 printjob username New %U
129 winbind normalize names New no
134 Changes since 3.0.25rc3
135 -----------------------
146 o Michael Adam <ma@sernet.de>
147 * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.
148 This makes the difference between the get and set calls for
149 SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE.
150 * Prevent collision from config.h created by stand alone component
154 o Jeremy Allison <jra@samba.org>
155 * Fix CIFS POSIX unlink behavior.
156 * Change POSIX_UNLINK to allow clients to differentiate between
158 * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
159 * Refactor MS-DFS server and client code.
160 * Support deep MS-DFS referrals in Samba client applications.
161 * Change the VFS interface to use struct timespec for utimes.
162 * Fix build failures on *BSD platforms caused by introduction of
164 * Optimize exit path in the byte-range locking code in smbd to
165 only read the locking db if there are outstanding lock requests.
166 * Fix long-standing bug in our chain processing code.
167 * BUG 4384: Fix bug in old search code.
168 * Add support for the UNIX_INFO2 info level.
169 * Add in the "create info" field to the reply from POSIX_OPEN
171 * Refactor the sessionsetupX code a little to allow us to return
172 a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
173 * Fix memory leaks in the LDAP sasl bind code.
174 * Fix crash in vfs audit/full audit modules caused by API changes.
175 * Fix connection problem between pre-3.0.25 smbclient and new DFS
177 * Fix valgrind errors in credentials.c.
178 * Fix logic error in CIFS POSIX extensions for open() and mkdir().
179 * Fix if logic error when checking for password resets of machine
180 trust accounts in Samba's passdb.
181 * Ensure we use the same technique to pull the share mode data out
183 * Fixes buffer parsing in the server side Lanman and RAP calls.
184 * Fix GetPrinter() info level 3 to fix displaying and setting
185 security descriptors on printers from WinXP x86_64 clients.
186 * Return correct error code to the trans2 GetDfsReferral() request
187 from Vista clients (fixes listing share contents in the Vista
189 * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
191 * Consolidate the become_root_uid_only() calls to only use
193 * Add vfs_readahead module to deal with the pipe-lined reads
195 * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
196 clients trying to utilize offline file support.
197 * BUG 4494: Make sure to fail immediately if sendfile fails and
198 don't continue on to call chain_reply() (based on report from
200 * Remove tdb.h from the libsmbsharemodes.so header file.
201 * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
203 * Add initial version to winbindd_cache.tdb file. Automatically
204 delete existing non-versioned cache files.
205 * Fix the storage size of time_t in winbindd_cache.tdb to be 8
207 * Cope with signature errors on sessionsetupX logins where the
208 server just reflects our signature back to us. Allow the upper
209 layer to see the real error.
210 * BUG 4512: Limit the volume label for a share to 32 UNICODE
212 * Allow arbitrary bases in int and ulong parsing in smb.conf.
213 * Fix off-by-one error in tconX parsing.
214 * Winbind off-line logon fixes.
215 * Support for AD sites when locating domain controllers.
216 * Fix libsmbclient bug with Konqueror and NetApp filers that need
217 a leading / in OpenAndX calls.
218 * BUG 4187: Possible crash in signing on/off code.
219 * Fix memory leaks in pam_winbind.c.
220 * Fix a bug in the sequence number store/fetch routines in
222 * Fix the problem with Linux clients requesting O_WRONLY on write-only
224 * Fix a class of memory allocation bugs in the handling of user tokens.
225 * Fix crash bug in winbindd caused by a bug in the messaging dispatch
227 * Fix memory bloat in trans calls caused by talloc()'ing memory off the
229 * Fix wildcard renames with SMBmv.
230 * Fixes for pathname handling code.
231 * Add in the wdel smbclient command to perform wildcard deletes.
232 * Fix a bug that causes smbd to 'hang' intermittently while updating
233 the trusted domain cache.
234 * Cleanup error path processing in reduce_name().
235 * Fixes for smbtorture tests (BASE-DELETE, ...)
236 * Delete on close fixes ("I completely understand it this time").
237 * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
239 * More fixes for Unix Extensions include support for POSIX locking.
240 * NTLMv2 fixes for Vista clients.
241 * Add an optimized lookup for Domain Users and only report the current
242 user (which is generally what the calling application wants to know
244 * Fixes for supporting the Vista backup utility based on work by Joe
245 Meadows <jameadows@webopolis.com>.
246 * Fix 4377: Fix rename of "foo" -> "Foo".
247 * BUG 4188: Fix for Vista delete directory bug.
248 * BUG 4400: Add support for processing large Krb5 tickets in SMB
249 sesssetup&X. Based on work by <todd.stecher@isilon.com>.
250 * Fix trans2 file size reporting for Linux CIFS client.
251 * Allow Well-Known and Local Groups to be stored in POSIX ACLs
252 as long as there is a SID/gid mapping entry available.
253 * Fix memory corruption bug in the CIFS POSIX open/mkdir.
254 * BUG 4536: Correctly delete symlinks pointing to a directory.
257 o Danilo Almeida <dalmeida@centeris.com>
258 * Add additional debug support for pam_winbind.
259 * Add support for listing multiple groups in pam_winbind's
260 require-membership-of option which act as a logical OR.
263 o Andrew Bartlett <abartlet@samba.org>
264 * Ensure debug messages from tools print the correct config file
265 location if the file was defined as a command line option.
268 o Andrew Benham <andrew.benham@thus.net>
269 * BUG 4290: Properly compute time to password expiration in message
273 o Alexander Bokovoy <ab@samba.org>
274 * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
275 * Add GPFS-provided DMAPI support
278 o Kai Blin <kai.blin@gmail.com>
279 * Match Windows NTLMSSP flags.
282 o Gerald (Jerry) Carter <jerry@samba.org>
283 * Implement pluggable "winbind nss info" interface.
284 * Removal of unmaintained smbwrapper utility.
285 * Fix server affinity bugs in the 'net ads join' code to include
286 support for AD sites.
287 * Implement DDNS update client code.
288 * Upper case the host/sAMAccountName in the keytab file.
289 * Fix lookupname call in winbindd when joined to a child domain and
290 trying to resolve a SID in a sibling domain.
291 * Fix password changes against a Windows 2000 DC using pam_winbind.
292 * Fix crash in "pdbedit -L -w"
293 * Add "winbind normalize names" option.
294 * BUG 4093: Make %a resolve correctly for Windows Vista and Windows
296 * Printing fixes for Windows Vista.
297 * Protect the sasl bind against a NULL principal string in the
299 * Fix some "cannot access LDAP when no root" bugs.
300 * NSS and PAM fixes on AIX.
301 * Cached credentials and Krb5 ticket renewal fixes in winbindd.
302 * Fix server affinity bug in Winbind's ADS connection handling.
303 * Fix crash when enumerating local group membership in usrmgr.exe
305 * Rework parsing for NetFileEnum() and NetSessionEnum()
306 * Add server stub for NetFileClose()
307 * Return correct information for sessions and open files
308 including session duration, number of open files, and open pipes.
309 * Fixes for "winbind normalize names" functionality:
310 - Fix getgroups() call called using a normalized name
311 - Fix some more name mappings that could cause for example
312 a user to be unable to unlock the screen as the username
313 would not match in the PAM authenticate call.
314 * Blacklist BUILTIN and MACHINE domains from the idmap domains as
315 these should only be handled by the winbindd_passdb.c backend.
316 * Allow the alloc init to fail for backwards compatible
317 configurations such as with idmap_ad.
318 * Remove the deprecated flags from idmap backend, et. al. These
319 are mutually exclusive with the "idmap domains".
320 * Add the osname and osver options to 'net ads join'
321 * Ensure winbindd honors the "idmap domains" option and not
322 default to idmap_tdb.
323 * Fix memory corruption caused by calling free() on talloc()'d
324 memory when adding and removing users from local groups.
325 * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
326 the schema_mode option when using "winbind nss info = template".
327 * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
328 idmap alloc backend has been defined. Do not defined a default
330 * Fix "make install" to include creating the links between
331 idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
332 * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
334 * BUG 4508: Remove potential loops in the idmap API by requiring
335 the caller defined the SID type rather than having the idmap layer
336 call back up to determine the SID type when allocating
338 * Don't inherit the offline flag for winbindd_domains that have
339 not been initialized yet.
340 * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
341 * Fix deadlock and timeout conditions in idmap_rid.
344 o Steven Danneman <steven.danneman@isilon.com>
346 * Fix core dump when config file in same directory.
349 o Mathias Dietz <mdietz@de.ibm.com>
350 * Initial implementation of the GPFS VFS module.
351 * Work on NFSv4 ACL VFS plugin.
352 * Add support for share modes to the GPFS VFS plugin.
355 o Guenther Deschner <gd@samba.org>
356 * Winbind off-line logon fixes.
357 * Support for AD sites when locating domain controllers.
358 * Various fixes for 'net ads' user management functions.
359 * Add an CLDAP client written in Perl.
360 * Cleanups to the Krb5 ticket refresh code in winbindd.
361 * Fixes for various error messages from pam_winbind when password
362 policies are being enforced.
363 * Implement grace logons for offline authentications in pam_winbind.
364 * Fixes for idmap_ad.
366 * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
367 with short lived service tickets
368 * Implement basic AD group policy library
369 * Adding experimental krb5 lib locator plugin.
370 * Ensure that Samba clients are correctly reported by the %a
371 smb.conf as "Samba" and not "Vista".
372 * Prevent a user from issuing a PAM_DELETE_CREDS request in
373 pam_close_session() for another user.
374 * Fix tdb keynames in netsamlogon_clear_cached_user().
375 * Add missing proto_exists dependency for the Winbind NSS target
377 * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
378 * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
379 * Memory allocation error checks in libgpo.
382 o Steve French <sfrench@us.ibm.com>
383 * Fix mount.cifs compile on old libc missing bind mount #define.
386 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
387 * Fix memory leaks in the error paths used by winbindd's credential
389 * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
390 * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
393 o Krishna Ganugapati <krishnag@centeris.com>
394 * Implement DDNS update client code.
397 o YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
398 * BUG 4346: Fix type reported for hidden shares via MS-RPC.
401 o David Hu <david.hu@hp.com>
402 * BUG 4267: Fix memory leaks in ldapsam.
405 o Bjoern Jacke <bj@sernet.de>
406 * BUG 4244: Limit stat cache to a default of 1MB.
409 o William Jojo <jojowil@hvcc.edu>
410 * BUG 3713: Re-add reporting what the profiles tool does (-v).
411 * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
412 * BUG 4447: Fix compile failure on AIX 5.2.
415 o Taj Khattra <taj.khattra@gmail.com>
416 * Fix missing lock count release in transaction cancel.
419 o Zack Kirsch <zack.kirsch@isilon.com>
420 * Fix memory leaks on some error paths.
421 * Memory leak fixes on error paths in various places.
424 o Derrell Lipman <derrell@samba.org>
425 * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
426 * BUG 4309: Prevent netbios keepalive on port 445 which causes
427 Vista to disconnect Samba clients.
428 * Ensure that the libsmbclient example programs link with the
429 libsmbclient library that's part of the current tree.
432 o Volker Lendecke <vl@samba.org>
433 * Replace snum references with a structure based array.
434 * Allow changing of the hashsize when running tdbbackup.
435 * Implement secure DDNS update code
436 * Klocwork, Coverity, and IBM Checker fixes.
437 * BUG 4273: Fix crash in 'net rpc vampire'
438 * Refactor older SMB file serving code.
439 * Refactor open directory file serving code.
440 * Implement support for inotify when serving CIFS change notification
441 requests (includes merge work from SAMBA_4_0).
442 * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
443 RAW-UNLINK, RAW-CLOSE, ...)
444 * Refactor delete on close file server code.
445 * MS-DFS fixes for Vista clients.
446 * BUG 4372: Long timeout in LDAP setup when accessing files after
448 * Change the static array for the in-memory mirrors of the hash chain
449 locks to a dynamically allocated one.
450 * Use inotify for file change notification on Linux.
451 * Revert "msdfs root" to default to "no".
453 * Fix memory leaks when returning user lists to clients via SAMR calls.
454 * BUG 4365: Fix NTLMv2 implementation on Samba member servers not
456 * Reduce contention on the tdb free list by periodic reclamation
457 of dead tdb records into groups
458 * Split tdb free lists per hash chain.
460 * Add winbindd_priv_request_response() request that kills the
461 existing winbind pipe connection if it's not privileged to prevent
462 race conditions during the challenge/response authentication sequence.
463 * BUG 4460: Fix compile error in winbind_nss_irix.c.
464 * Fix Coverity bug reports.
465 * Fixes buffer parsing in the server side Lanman and RAP calls.
468 o David Leonard <dleonard@vintela.com>.
469 * Fix file descriptor leak from an error path in winbindd.
470 * BUG 4369: Fix smbclient's showacls on files in subdirectories.
473 o Herb Lewis <herb@samba.org>
474 * Cleanups to sharesec utility.
475 * Compiler warning cleanups.
476 * Compiler warning fixes.
477 * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
479 * Add "debug prefix timestamp" to allow syslog type timestamps to be
480 added in the Samba log files.
481 * Fix compile error in nmbd_incomingdgrams.c.
482 * Allow profiling level to be set on startup.
485 o Ying Li <ying.li2@hp.com>
486 * Use the default tdb idmap plugin when neither idmap domains
487 nor idmap backend have been defined.
490 o Jason Mader <jason@ncac.gwu.edu>
491 * Various compile warning fixes.
492 * Initial patch set for strptime() in libreplace.
495 o Don McCall <don.mccall@hp.com>
496 * Fix compile bug in vfs_default on platforms without utimes().
497 * HP-UX compile fixes.
500 o Jim McDonough <jmcd@us.ibm.com>
501 * Bug fixes for GPFS VFS module.
502 * Fix "password never expires" policy which would be incorrectly
503 require all users to change their password at login time.
504 * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
506 * Fix crate_user() access checks when setting the "User Cannot
507 Change Password" flag.
510 o Stefan Metzmacher <metze@samba.org>
511 * POSIX ACL compile warning fixes.
512 * Fix --with-fhs, where confdir is set to \${sysconfdir} but
513 sysconfdir wasn't defined in the Makefile.
514 * Add localstatedir to configure.in for completeness.
515 * BUG 4496: Fix libreplace failure on ulibc systems.
516 * Merge numerous libreplace fixes from the SAMBA_4_0 code base
517 (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
518 * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
519 * Portability fixes for dlopen() (merge from SAMBA_4_0)
520 * Sync libreplace (merge from SAMBA_4_0)
523 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
527 o Gomati Mohanan <gomati.mohanan@in.ibm.com>
528 * Work on NFSv4 ACL VFS plugin.
531 o Lars Mueller <lmuelle@samba.org>
532 * Provide better feedback about deprecated use of multiple passdb
534 * Fix make install to include smbmount, et. al. docs.
535 * Merge more proto_exists dependency fixes from SAMBA_3_0.
537 * Log the reason for failures when not creating a core file on a
538 crash due to restrictive permissions on the log file directory.
541 o James Peach <jpeach@apple.com>
542 * Replace exit_server with exit_server_cleanly where appropriate.
543 * Add docs for VFS modules.
544 * Portability fixes for autoconf and character set modules on
546 * Only attempt to reload the config file after the fork point
547 if we are in daemon mode.
548 * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
549 * Changing the FindFirst response for the UNIX_INFO2 level to
550 include a length field before the name.
551 * Add call to chflags(2) in the default VFS module.
554 o Andy Polyakov <appro@fy.chalmers.se>
555 * Pull the CUPS comment and location attributes when not overridden
556 by values stored in Samba's ntprinters.tdb.
557 * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF
558 header parsing code in smbd.
561 o J Raynor <raynorj@mn.rr.com>
562 * Make sure we are privileged when doing DMAPI operations on systems
563 that don't have capability support.
566 o Jorge Santos <jorge_a_santos@hotmail.com>
567 * BUG 4500: Fix compile bug in quota.c.
570 o Jiri Sasek <jiri.sasek@sun.com>
571 * Fix incorrect Krb5 linking on Solaris.
572 * Fix possible NULL dereference in adt_tree.c
575 o Karolin Seeger <ks@sernet.de>
576 * Fix a compile problem in shadow_copy_test.c.
577 * Add 'net sam policy' commands.
578 * Fixes for "net usershare" and "guest_ok=y"
581 o Robert Shearman <rob@codeweavers.com>
582 * Allow NULL domain and username in the form of user@domain to be
583 interpreted correctly by ntlm_auth for use by Wine applications.
586 o Simo Sorce <idra@samba.org>
587 * Remove redundant log messages from idmap_ad.c.
588 * BUG 3974: Fix ambiguity between the -N option and the -T
590 * Fix linking flags used when creating shared libraries.
591 * Offline logon fixes in the idmap backend manager.
592 * Cleanup initialization code in the sfu and rfc2307 nss_info
593 plugins to protect against a crash if called before the idmap_ad
594 module has been initialized.
595 * Protect against crashes in get_dc_name() in the idmap_ad code
596 when we are working offline.
597 * BUG 4438, 4440: Fix bugs in "net sam provision".
598 * Initial implementation of new IdMap interface.
599 * Fix crash in pam_winbind caused by referencing a pointer after the
600 memory had been freed.
601 * Implement escaping function for ldap RDN values.
604 o Peter Somogyi <SOMOGYI@de.ibm.com>
605 * Work on NFSv4 ACL VFS plugin.
608 o Andrew Tridgell <tridge@samba.org>
609 * Fix an integer overflow in the ndr library code used by PIDL.
612 o Jelmer Vernooij <jelmer@samba.org>
613 * Implement support for IDL autogenerated code to
614 handle the MS-RPC parsing functions.
617 o Don Watson <dwwatson@us.ibm.com>
618 * Fixes for 'net rpc vampire' and the guest account
621 o Martin Zielinski <mz@seh.de>
622 * Printing fixes for Windows Vista clients.
625 Release notes for older releases follow:
627 --------------------------------------------------
628 ==============================
629 Release Notes for Samba 3.0.24
631 ==============================
634 Important issues addressed in 3.0.24 include:
636 o Fixes for the following security advisories:
637 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
638 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
639 NSS library on Solaris)
640 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
643 ######################################################################
647 Changes since 3.0.23d
648 ---------------------
653 o Jeremy Allison <jra@samba.org>
654 * Fix for CVE-2007-0452 & CVE-2007-0454
657 o Olivier Gay <ouah@ouah.org>
658 * Fix for CVE-2007-0453
661 o Volker Lendecke <vl@samba.org>
662 * Fix for CVE-2007-0452
666 Release Notes for older release follow:
668 --------------------------------------------------
669 ===============================
670 Release Notes for Samba 3.0.23d
672 ===============================
674 This is the latest stable release of Samba. This is the version
675 that production Samba servers should be running for all current
676 bug-fixes. Please read the changes in this section and for the
677 original 3.0.23 release regarding new features and difference
678 in behavior from previous releases.
680 Important issues addressed in 3.0.23d include:
682 o Stability fixes for winbindd
683 o Portability fixes on FreeBSD and Solaris operating systems.
685 ######################################################################
689 Changes since 3.0.23c
690 ---------------------
695 o Jeremy Allison <jra@samba.org>
696 * Changes to ntlm_auth to better support Firefox's NTLM
698 * Make the "max usershares" parameter an advisory limit.
699 * BUG 4095: Cleanup bad substitution causing the username
700 to be translated to domain\user twice in spnego path.
701 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
702 [un]become_root() pairs.
703 * Ensure we always return the canonicalized name
704 * Add in fixes to mangling dir code.
705 * Do not assume that gencache can always be opened for RW access.
707 * Always initialize variables in winbindd request/response
709 * Fix libsmbclient bug with Konqueror and NetApp filers that
710 need a leading / in OpenAndX calls.
711 * Added showacls toggle in the smbclient code.
712 * Add a suffix to the pidfile's program name if this is a process
713 with a non-default configuration file name.
714 * Fix protection from invalid struct tm values.
715 * BUG 4187: Possible crash in signing on/off code.
716 * BUG 4214: Fix crash bug in find_forced_group().
717 * BUG 4224: Fix enforcement of the deadtime parameter.
720 o Timur Bakeyev <timur@com.bat.ru>
721 * BUG 3856: Set the nss soname version on FreeBSD.
722 * BUG 4109: Fix bug causing smbd to turn off winbindd and
723 fail to disable the _NO_WINBIND environment.
724 * BUG 3868: Prevent --with-aio-support from trimming the
725 $LIBS variable in configure.in.
728 o Dmitry Butskoy <dmitry@butskoy.name>
729 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
730 outside the idmap range if 'winbind trusted domains
734 o Gerald (Jerry) Carter <jerry@samba.org>
735 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
736 call to ensure it finds the Unix user first.
737 * Only grant privs to Administrators if privileges are enabled
738 to avoid bogus error messages in the logs.
741 o Alex Deiter <tiamat@komi.mts.ru>
742 * BUG 3524: Fix for quota support on Solaris.
745 o Guenther Deschner <gd@samba.org>
746 * Close socket when the CLDAP request has failed.
747 * Memory leak fixes in the libads/ldap.c code.
748 * Printer publishing fixes for "net ads".
749 * Fix error code returns in the CLDAP client code.
750 * Do not anonymously query for AD schema items in winbindd.
751 * Protect against storing null-sids in the winbind cache.
752 * Fallback to non-paging LDAP searches for anonymous bound
754 * More workarounds when nscd.
755 * Fix error code typoe in the GetDcName() netlogon call
756 (including two new error codes).
757 * Fix valgrind warnings in pam_winbind
758 * Add two missing refresh_sequence_number calls where they are
759 missing just before writing to the winbind cache tdb.
760 * Attempt to locate a valid domain controller before prompting
761 for credentials in "net ads".
762 * Set 35 second timeout in winbindd's netlogon code when sending
764 * Stop "net ads {user,group} delete" from doing funny things.
765 * Fix container handling for "net ads user" and "net ads group"
767 * Fix various memleaks and seg faults in "net ads {user,group}".
770 o Udo Eberhardt <udo.eberhardt@thesycon.de>
771 * BUG 4100: Fix crash in the server spooler code by initializing
772 values for smb_io_notify_info_data_strings.
775 o Olaf Flebbe <o.flebbe@science-computing.de>
776 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
779 o David Hu <david.hu@hp.com>
780 * BUG 4212: Fix memleak in the default_ou_string handling.
783 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
784 * BUG 4229: Compile fix for systems without kerberos.
787 o Volker Lendecke <vl@samba.org>
788 * NTLMSSP LanMan session key fixes.
789 * Various potential seg fault fixes.
790 * Extra logic in share access checks for bad smb.conf parameter
792 * Fixes to allow smbclient to connect to Vista RC1 workstations.
793 * Fix bad search filter in ldapsam when enumerating group
797 o Jim McDonough <jmcd@us.ibm.com>
798 * Correctly handle the password expiration policy on Samba DCs.
801 o Nils Nordman <nils.nordman@nordman.org>
802 * BUG 4085: Allow smbpasswd to change expired passwords on
806 o Simo Sorce <idra@samba.org>
807 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
808 * Better fqdn handling when parsing the /etc/hosts file.
809 * Fix crash bug in pam_winbind.
811 o Andrew Tridgell <tridge@samba.org>
812 * Fix string alignment problem in password change code.
816 * BUG 4211: Logic error when enforcing "acl group control"
820 Release Notes for older release follow:
822 --------------------------------------------------
823 ===============================
824 Release Notes for Samba 3.0.23c
826 ===============================
828 We would like to thank the developers of the Saturn code analysis
829 tool from Stanford University (http://glide.stanford.edu/saturn).
830 This release includes several code fixes based on its reports.
832 Common bugs fixed in 3.0.23c include:
834 o Authentication failures in pam_winbind when the AD domain
835 policy is set to not expire passwords.
836 o Authorization failures when using smb.conf options such
837 as "valid users" with the smbpasswd passdb backend.
840 RID Algorithms & Passdb
841 =======================
843 Starting with the 3.0.23c release, the officially supported passdb
844 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
845 with regards to the historical RID algorithm for unmapped users
846 and groups (i.e. accounts not in the passdb or group mapping table).
847 The resulting behavior is that all unmapped users are resolved
848 to a SID in the S-1-22-1 domain and all unmapped groups resolve
849 to a SID in the S-1-22-2 domain. Previously, when using the
850 smbpasswd passdb, such users and groups would resolve to an
851 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
852 However, the smbpasswd backend still utilizes the RID algorithm
853 when creating new user accounts or allocating a RID for a new
856 With the changes in the 3.0.23c release, it is now possible to
857 resolve a uid/gid, name, or SID in any direction and always obtain
858 a symmetric mapping. This is important so that values for smb.conf
859 parameters such as "valid users" resolve to the same SIDs as those
860 included in the local user's initial token.
862 Most installations will notice no change. However, because
863 an unmapped account's SID will now change even when using
864 smbpasswd it is possible that any security descriptors on files
865 previously copied from a Samba host to a Windows NTFS partition
866 may now fail to give access. The workaround is to either manually
867 map all affect groups (or add impacted users to the server's
868 passdb) or to manually reset the file's ACL.
871 ######################################################################
875 Changes since 3.0.23b
876 ---------------------
880 o Michael Adam <ma@sernet.de>
881 * Fix incorrect logic in internal_resolve_name() caused by if
885 o Jeremy Allison <jra@samba.org>
886 * Don't store a NULL SID in winbindd's offline cache.
887 * Ensure we store the offline password hash in the correct format.
888 * OS/2 fixes for large Extended Attributes data.
889 * Fix nmbd crashes caused by miscalculation in pushing
891 * Handle times consistently across all client utils including
893 * Fix a file descriptor leak in nmbd sync DNS lookup code.
894 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
896 * Pointer dereference fixes based on the Saturn analysis tool.
897 * Fix memory leak in the AD DC lookup code.
900 o Gerald (Jerry) Carter <jerry@samba.org>
901 * RHEL4 and Fedora packaging updates.
902 * Remove RID algorithm support for unmapped users and groups
903 when using an smbpasswd backend.
904 * Extend the NT token for local users' with the S-1-22-2
905 SID for each supplementary group
906 * BUG 3969: Fix unsigned time comparison with expiration
908 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
909 that winbindd talks to the correct DC when servicing PAM
910 authentication requests.
911 * Do not use the generic IP address sort routines for AD DCs
912 since the SRV lookup include a sorting algorithm based
913 on priority and weight.
914 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
915 * More changes to ensure that the primary group SID for
916 a local user is based on the primary Unix group and not the
917 primaryGroupSID passdb attribute.
918 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
919 to the SID<->uid/gid cache.
922 o Guenther Deschner <gd@samba.org>
923 * Fix msdfs RPC client and server management RPCs.
924 * Align idmap_ad with the current idmap_methods interface.
927 o Volker Lendecke <vl@samba.org>
928 * Re-add support for "username level" when looking up the
929 matching Unix user for an smbpasswd entry.
933 o Simo Sorce <idra@samba.org>
934 * Let innetgr() work without binding its use to a
935 NIS domain to support netgroups in local files.
938 o Ben Winslow <rain@bluecherry.net>
939 * Allow client smb signing to be turned off correctly.
942 --------------------------------------------------
943 ===============================
944 Release Notes for Samba 3.0.23b
946 ===============================
948 Common bugs fixed in 3.0.23b include:
950 o Ambiguity with unqualified names in smb.conf parameters
951 such as "force user" and "valid users".
952 o Errors in 'net ads join' caused by bad IP address in the list
953 of domain controllers.
954 o SMB signing errors in the client and server code.
955 o Domain join failures when using smbpasswd on a Samba PDC.
958 Member servers, domain accounts, and smb.conf
959 =============================================
961 Since Samba 3.0.8, it has been recommended that all domain accounts
962 listed in smb.conf on a member server be fully qualified with the
963 domain name. This is now a requirement. All unqualified names are
964 assumed to be local to the Unix host, either as part of the server's
965 local passdb or in the local system list of accounts (e.g. /etc/passwd
968 The reason for this change is that smbd has transitioned from
969 access checks based on string comparisons to token based
970 authorization. All names are resolved to a SID and then verified
971 against the logged on user's NT user token. Local names will
972 resolve to a local SID, while qualified domain names will resolve
973 to the appropriate domain SID.
975 If the member server is not running winbindd at all, domain
976 accounts will be implicitly mapped to local accounts and their
977 tokens will be modified appropriately to reflect the local
978 SID and group membership.
980 For example, the following share will restrict access to the
981 domain group "Linux Admins" and the local group srvadmin.
985 valid users = +"DOMAIN\Linux Admins" +srvadmin
987 Note that to restrict the [homes] share on a member server to the
988 owner of that directory, it is necessary to prefix the %S value
992 security = {domain,ads}
994 winbind separator = +
1000 ######################################################################
1004 Changes since 3.0.23a
1005 ---------------------
1009 o Michael Adams <ma@sernet.de>
1010 * Fix memory leaks on error paths in 'net ads join'.
1013 o Jeremy Allison <jra@samba.org>
1014 * BUG 3962: Fix memory leak when enumerating print jobs.
1015 * Fix file access flags for the Linux CIFS fs client.
1016 * Fix memory leaks in the smbclient DFS code.
1017 * BUG 3967: Fix SMB signing client bug in trans calls.
1018 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
1019 * Added lookup_name_smbconf() to be called when looking up names
1020 from smb.conf. Unqualified names are assumed to be local.
1021 * BUG 4003: Fix SMB signing server error in NTcancel reply.
1024 o Gerald (Jerry) Carter <jerry@samba.org>
1025 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
1026 viewing or modifying local group membership.
1027 * Make LsaLookupSids() reply include the full SID of unresolved
1029 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
1030 memory in the SRV hostlist in case there is not an A record for
1032 * BUG 3964: normalize the case of usernames prior to getpwnam()
1033 call in the smbpasswd backend.
1034 * Cleanup the 'net ads help join' output and document createupn
1035 and createcomputer options.
1036 * Fix a regression in the ldapsam URI syntax. Allow multiple
1037 LDAP URIs to be grouped by "".
1040 o William Charles <william@charles.name>
1041 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
1045 o Guenther Deschner <gd@samba.org>
1046 * Fix memory leaks in pam_winbind.
1047 * Save the logon script path from the info3 in the PAM session
1048 allowing other PAM modules to pick it up from there.
1051 o Volker Lendecke <vl@samba.org>
1052 * BUG 3991: Fix problem with user tokens on standalone systems
1053 configured to use a username map.
1054 * Fix bug where qualified user or group names in smb.conf
1055 were assumed to use the '\' character as the winbind separator.
1057 --------------------------------------------------
1058 ===============================
1059 Release Notes for Samba 3.0.23a
1061 ===============================
1063 Common bugs fixed in 3.0.23a include:
1065 o Failure to strip the domain name from groups when 'winbind
1066 use default domain = yes'
1067 o Failure in pam_winbind to correctly parse arguments.
1068 o Bad token creation of local users on member servers not
1070 o Failure to add users or groups to ACLs using the Windows
1072 o Failure in file serving code when 'kernel oplocks = yes'.
1074 New features in 3.0.23a include:
1076 o New "createupn" option to "net ads join"
1077 o Rewritten Kerberos keytab generation when 'use kerberos
1082 ######################################################################
1086 Changes since 3.0.23
1087 --------------------
1091 o Jeremy Allison <jra@samba.org>
1092 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
1094 * Fix memory leaks in the AD schema parsing code.
1095 * Fixed bug in interaction with Linux kernel oplocks.
1098 o Gerald (Jerry) Carter <jerry@samba.org>
1099 * Rewrite the detection of the correct DES salting principal name
1100 when joining an Active Directory Domain.
1101 * Rewrite the keytab generation code based on existing SPN,
1102 UPN, and sAMAccountName attributes in the AD machine object.
1103 * Cleanup of dead code from idmap_ad.
1104 * Fix Winbind 32bit/64bit portability issues.
1105 * Fail 'net ads join' and disable the machine account if we cannot
1106 set any SPNs for ourselves.
1107 * Make sure to lower case all usernames before calling the create,
1108 delete, or rename hooks.
1109 * Preserve case for usernames in passdb
1110 * Flush the getpwnam cache after renaming a user
1111 * Add become/unbecome root block in _samr_delete_dom_user() when
1112 trying to verify the account's existence.
1113 * Changed 'net ads join' syntax for specifying an alternate
1114 OU. New syntax is createcomputer=<ou path top to bottom>.
1115 * Add createupn=[UPN] option to 'net ads join' for setting the
1116 userPrincipalName attribute.
1117 * Bug 3920: Restore winbind use default domain behavior for domain
1118 groups. This break local users and 'winbind nested groups' on
1122 o Guenther Deschner <gd@samba.org>
1123 * Don't clear the cache when starting winbindd in off line mode.
1124 * Fix errno reporting in pam_winbind debug messages.
1125 * BUG 3937: Fix segv in libnss_wins.so.
1128 o Volker Lendecke <vl@samba.org>
1129 * Fix memory leaks in the in error paths out of the CLDAP
1131 * AIX portability fixes for DNS client code.
1132 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
1133 * BUG 3949: Fixed authorization issue on domain member
1134 servers not running winbindd.
1137 o Andrew Tridgell <tridge@samba.org>
1138 * Fixed a bug which caused resolve_ads() to spin forever if
1139 one of the DCs isn't resolvable in DNS.
1142 o Simo Sorce <idra@samba.org>
1143 * Debian packaging fixes.
1146 o Dietrich Streifert <dietrich.streifert@visionet.de>
1147 * BUG 3916: Fix error parsing pam_winbind config arguments.
1150 Release Notes for older release follow:
1152 --------------------------------------------------
1154 ==============================
1155 Release Notes for Samba 3.0.23
1157 ==============================
1159 There has been a substantial amount of cleanup work done during
1160 this development cycle. We would like to thank both Coverity
1161 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
1162 for analyzing the Samba source code. As a result, this release
1163 includes fixes for over 400 defects. The coverage was approximately
1164 even with over 200 defects reported by each tool.
1166 Thanks very much to those people who spent time testing the
1167 release candidates and reported their findings. We would like to
1168 especially thank Thomas Bork <tombork@web.de> for his numerous
1169 reports. We believe that the final release is in much better shape
1170 in large part due to his efforts.
1172 New features in 3.0.23 include:
1174 o Improved 'make test'
1175 o New offline mode in winbindd.
1176 o New Kerberos support for pam_winbind.so.
1177 o New handling of unmapped users and groups.
1178 o New non-root share management tools.
1179 o Improved support for local and BUILTIN groups.
1180 o Winbind IDMAP integration with RFC2307 schema objects supported
1182 o Rewritten 'net ads join' to mimic Windows XP without requiring
1183 administrative rights to join a domain.
1186 User and Group changes
1187 ======================
1189 The user and group internal management routines have been
1190 rewritten to prevent overlaps of assigned Relative Identifiers
1191 (RIDs). In the past the has been a potential problem when either
1192 manually mapping Unix groups with the 'net groupmap' command or
1193 when migrating a Windows domain to a Samba domain using 'net rpc
1196 Unmapped users are now assigned a SID in the S-1-22-1 domain and
1197 unmapped groups are assigned a SID in the S-1-22-2 domain.
1198 Previously they were assign a RID within the SAM on the Samba
1199 server. For a DC this would have been under the authority of the
1200 domain SID where as on a member server or standalone host, this
1201 would have been under the authority of the local SAM (hint: net
1204 The result is that any unmapped users or groups on an upgraded
1205 Samba domain controller may be assigned a new SID. Because the
1206 SID rather than a name is stored in Windows security descriptors,
1207 this can cause a user to no longer have access to a resource for
1208 example if a file was copied from a Samba file server to a local
1209 NTFS partition. Any files stored on the Samba server itself will
1210 continue to be accessible because Unix stores the Unix gid and not
1211 the SID for authorization checks.
1213 A further example will help illustrate the change. Assume that a
1214 group named 'developers' exists with a Unix gid of 782 but this
1215 user does not exist in Samba's group mapping table. it would be
1216 perfectly normal for this group to be appear in an ACL editor.
1217 Prior to 3.0.23, the group SID might appear as
1218 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
1219 group SID would be reported as S-1-22-2-782. Any security
1220 descriptors associated with files stored on an NTFS disk partition
1221 would not allow access based on the group permissions if the user
1222 was not a member of the
1223 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
1224 group SID not reported in a user's token is S-1-22-2-782, Windows
1225 would fail the authorization check even though both SIDs in some
1226 respect referred to the same Unix group.
1228 The current workaround is to create a manual domain group mapping
1229 entry for the group 'developers' to point at the
1230 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
1236 The "passdb backend" parameter no long accepts multiple backends
1237 in a chaining configuration. Also be aware that the SQL and XML
1238 based passdb modules have been removed in this release. More
1239 information of external support for a SQL passdb module can be
1240 found at http://pdbsql.sourceforge.net/.
1243 Group Mapping Changes
1244 =====================
1246 The default mapping entries for groups such as "Domain Admins" are
1247 no longer created when using an smbpasswd file or a tdbsam passdb
1248 backend. This means that it is necessary to use 'net groupmap
1249 add' rather than 'net groupmap modify' to set these entries.
1250 This change has no effect on winbindd's IDmap functionality for
1257 There has also been a minor update the Samba LDAP schema file. A
1258 substring matching rule has been added to the sambaSID attribute
1259 definition. For OpenLDAP servers, this will require the addition
1260 of 'index sambaSID sub' to the slapd.conf configuration file. It
1261 will be necessary to run slapindex after making this change. There
1262 has been no change to actual data storage schema.
1265 ######################################################################
1272 Parameter Name Description Default
1273 -------------- ----------- -------
1274 acl group control Deprecated No
1275 add port command New ""
1276 change notify timeout Changed Scope
1277 dmapi support New No
1278 dos filemode Modified No
1279 enable asu support Changed default No
1280 enable core files New Yes
1281 enable privileges Changed default Yes
1282 enable rid algorithm Removed
1283 fam change notify New Yes
1285 host msdfs Changed default Yes
1286 msdfs root Changed default Yes
1287 open files database hash size New 10007
1288 passdb expand explicit Changed default No
1289 strict locking Changed default auto
1290 usershare allow guests New No
1291 usershare max shares New 0
1292 usershare owner only New Yes
1293 usershare path New ${lockdir}
1294 usershare prefix allow list New ""
1295 usershare prefix deny list New ""
1296 usershare template share New ""
1297 winbind enum users Changed default No
1298 winbind enum groups Changed default No
1299 winbind nested groups Changed default Yes
1300 winbind offline logon New No
1301 winbind refresh tickets New No
1302 winbind max idle children Removed
1303 wins partners Removed
1306 Changes since 3.0.22
1307 --------------------
1311 o Jeremy Allison <jra@samba.org>
1312 * Fixes for various Klocwork defect reports.
1313 * Cleanup pdb_get_XXX() methods and ensure that a failure
1314 to allocate memory for a samu user structure is reported
1315 as a failure to the calling function.
1316 * Fix memleak in printing gencache contents.
1317 * Fix warnings reported by gcc4 -O6 on 64-bit systems
1318 * Fix naming conflicts with 'net usershare' structures and
1319 Solaris header files.
1320 * Fix memleaks on error paths from the ASN.1 parsing code.
1321 * Add uid to share_mode_entry structure so we can report who
1323 * Ensure we use sys_write in password chats so we're not
1325 * Ensure all new rid allocation goes through the same pdb_ldap
1327 * BUG 3308: Stop us returning duplicate mid replies on path
1328 based set-EOF trans2 calls.
1329 * Pass RAW-OPLOCK with kernel oplocks off.
1330 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
1331 correctly when doing info level 1 directory scans.
1332 * Add Samba4 replacement for timegm() to work on Solaris.
1333 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
1334 * BUG 3592: Ignore a file in the tar output from smbclient if the
1335 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
1336 Justin Best <justinb@pdxmission.org>).
1337 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
1338 * Push/Pull Kerberos principal and realm names to/from UTF-8.
1339 * Fix incorrect boolean in assert to make POSIX lock tests
1341 * Don't ever set O_SYNC on open unless "strict sync = yes".
1342 * Remove dead printing code.
1343 * Allow configurable guest access to Samba's usershare functionality.
1344 * BUG 3587: Make byte-range locking tdb self-cleaning.
1345 * Ensure every exit error path in the session setup code calls
1347 * Use portable wrapper functions instead of seteuid directly in
1349 * Make "change notify timeout" a per-share parameter.
1350 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
1351 * Fix valgrind-spotted issue in BASE-DELETE test.
1352 * Fix early termination condition in winbindd when trying to
1353 connect to a remote DC.
1354 * Instruct winbindd to ignore fd_set when select() returns -1.
1355 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
1356 with select returning true but no data being available.
1357 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
1359 * BUG 3467: Fix delete on close semantics needed by WinXP Media
1360 Center Ed. for simultaneous recording and playback (thanks to
1361 Jason Qian for the debugging assistance).
1362 * BUG 3347: Save the Unix user token used to set the
1363 delete-on-close flag.
1364 * Fix parsing of SAMR_Q_CONNECT_ANON.
1365 * Add in support for userinfo26 structure and re-enable
1367 * Schannel server fixes. Fix the credentials chaining across
1368 \netlogon pipe disconnects.
1369 * Replace ubqix code in nmbd with an internal tdb.
1370 * Fix struct timespec checks in configure.in.
1371 * Add in server support for the NetSamLogonEx().
1372 * Add support for LsaLookupSids2() and LsaLookupSids3().
1373 * Add LsaLookupNames[2-4]().
1374 * Add support for 'net usershare'.
1375 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
1376 already exists (thanks to Sandeep Tamhankar).
1377 * BUG 3510: Fix 'net rpc join' against a server when
1378 schannel is disabled.
1379 * Get rid of poor errno mapping table. Bounce through NTSTATUS
1381 * Check for SeMachineAccountPrivilege when deleting machine
1383 * Fix a logic bug with multiple oplock contention.
1384 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
1385 Attempt to fix the broken directory handling in the *BSD.
1386 * Allow run time tuning of the locking tdb hash size for
1388 * BUG 3642: Ensure we don't call FD_SET on read with
1390 * BUG 3569: Work around linear posix locking issue on AIX
1391 which was causing high loads due to the tdb CLEAR_IF_FIRST
1392 flag (based on work from William JoJo).
1393 * Fix OS/2 directory delete bug found by kukks.
1394 * Match the Windows 2003 NTLMSSP signature.
1395 * Performance tuning work in core read & write file serving
1397 * Change default to 'strict locking' to better reflect
1399 * Fix error return on session setup. Ensure no data blob is
1400 added if the logon call failed so that Windows clients
1401 interpret the NT_STATUS code correctly.
1402 * Teach Samba the difference between exclusive and batch
1404 * BUG 3592: Ignore a file in a smbtar output if the first
1405 read fails (inspired by Justin Best).
1406 * BUG 3668: Workaround Windows bug with LARGE_READX where if
1407 you ask for exactly 64k bytes it returns 0.
1408 * BUG 3858: Ensure that all files are removed by a wildcard
1409 delete when 'hide unreadable = yes'.
1410 * Fix various issues raised by the Klocwork code analyzer.
1411 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
1412 query reply ("enhanced browsing = yes").
1413 * Fix SMB signing failures in client tools.
1414 * BUG 3909: Avoid EA lookups on MS-DFS links.
1417 o Andrew Bartlett <abartlet@samba.org>
1418 * Work around abort() in the OpenLDAP client libs caused by a NULL
1422 o Timur Bakeyev <timur@com.bat.ru>
1423 * BUG 2961: Fix compile warnings for pam_smbpass.
1424 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
1427 o Alexander Bokovoy <ab@samba.org>
1428 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
1429 * Fix absolute symlinks in the installbin.sh script.
1432 o Max N. Boyarov <m.boyarov@sam-solutions.net>
1433 * Fix crash bug in perfmon daemon example code.
1436 o Nicholas Brealey <nick@brealey.org>
1437 * Compile fix for pam_winbind.
1440 o Gerald (Jerry) Carter <jerry@samba.org>
1441 * Fix 'make install' problem when building outside source/.
1442 * Fix 'net ads join' when the workgroup is set incorrectly in
1444 * Re-add code to include the BUILTIN\Administrators SID when
1445 winbindd is not running, but the user's token includes the
1446 Domain Admin SID. Fixes access problem for managing Services.
1447 * Only call the printer publishing calls if 'security = ads'.
1448 * Normalize printing keys when deleting.
1449 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
1450 * Look at the NT password (not lanman one) when determining if 'smbpasswd
1451 -e' should probably for a password.
1452 * Default eventlog tdbs to mode 0660 to allow easier access by
1453 BUILTIN\Administrators.
1454 * Remove extra call to create_user on member servers without winbindd.
1455 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
1456 AD DC's with out own DNS SRV queries.
1457 * Fix compile error on HP-UX reported by Ryan Novosielski.
1458 * Rewrite 'net ads join' to share common code with 'net rpc join'
1459 and behave more like a Windows XP client.
1460 * Remove --with-ldapsam option from configure (only used for
1461 backwards compatibility for 2.2 smb.conf files).
1462 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
1463 * Remove rhosts authentication module.
1464 * Reimplement 'net ads leave' to disable the machine account in the
1465 domain rather than removing it.
1466 * Rewrite of tdbsam file descriptor handling.
1467 * Add server affinity support when selecting a remote
1469 * Remove chaining of passdb modules.
1470 * Generate a local users primary group SID based on his
1471 or her primary Unix group rather than storing the attribute
1472 in the passdb entry.
1473 * Default primary group SID to 'Domain Users' if the real Unix
1474 primary group maps to the S-1-22-2 domain.
1475 * Refactor memory management in passdb user objects.
1476 * RHEL and Fedora packaging fixes.
1477 * Implement XcvDataPort() spooler call and supporting 'add
1479 * BUG 3534: Ignore lines in the username map file with no right
1481 * Add support for the experimental %(DomainSID) smb.conf
1483 * Add support for parsing SIDs in smb.conf value lists.
1484 * Fix vuid allocation in Kerberos SMBsesssetup reply.
1485 * Ensure that local group membership is included in the
1486 getgroups() NSS reply.
1487 * Automatically create a BUILTIN\{Administrators,Users} if
1488 winbindd is running.
1489 * Automatically grant all privileges to members of the local
1490 Administrators group.
1491 * Protect against NULL cli_state* pointers in
1492 cli_rpc_pipe_open().
1493 * Add a SUBSTR matching rule the the Samba LDAP schema
1494 file for the sambaSID attribute. This will allow for
1495 Searching group mapping entries within a given domain
1496 without reorganizing the directory namespace. Also
1497 requires 'index sambaSID sub' in slapd.conf.
1498 * Fix parsing of 'idmap uid/gid' values that broke when
1499 the range included any whitespace.
1500 * Support renaming local groups (protect against renaming
1502 * Do not allow the root account to be deleted via MS-RPC.
1503 * Fix RID allocation to skip over RIDs that resolve in our
1504 own domain (work around upgraded users and groups).
1505 * Store the name/ip address combination when we do a reverse
1506 look up in case future forward lookups would fail.
1507 Fixes cases where a DC name could not be resolved via
1509 * Allow winbindd to run on standalone servers in order to
1510 provide support for local groups.
1511 * Deprecate 'acl group control' and replace it with added
1512 functionality to 'dos filemode'.
1513 * Ensure that all global memory is freed from pam_winbind
1514 when unloading the shared library (based on work from Arkady
1516 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
1517 libraries and winbindd.
1518 * Add defensive checks about create local accounts (i.e. calling
1519 'add user script') on domain member servers when winbindd
1520 is running but having problems.
1521 * Use system provided killproc() in RedHat init scripts for
1522 more robust shutdown.
1523 * Fix a crash in the printer publishing code when adding a
1524 new printer via the APW.
1525 * Fix broken compile of unsupported smbwrapper utility.
1526 * BUG 3905: Fix smbd startup failure caused by a failure to
1527 create an NT token for the guest account.
1528 * BUG 3908: Fix RPC bind authentication failure which broke
1529 user password changes.
1530 * Ensure that "net ads join" reports failure correctly if
1531 it cannot set the machine account password.
1534 o Mathias Dietz <MDIETZ@de.ibm.com>
1535 * EPERM can be a valid return from getting an xattr.
1536 Don't disable if we get it.
1539 o Guenther Deschner <gd@samba.org>
1540 * Fix memleaks in winbindd ads searches.
1541 * Fix timestamp bug in pam_winbindd which forced users to change
1542 passwords prematurely.
1543 * Small debug message cleanups.
1544 * Small fixes for 'net ads password'.
1545 * BUG 3843: Allow to set passwords directly when creating users
1546 via "net rpc user add"
1547 * Add "rpc shell" to the usage text for the net command.
1548 * Winbindd user aliases lookup fixes for large domains.
1549 * Fix memleak in the CLDAP processing code.
1550 * Enable AD features in winbindd's PAM support only when
1551 communicating with an AD domain controller.
1552 * Set our internal domains to "online" by default in winbindd.
1553 * BUG 3800: Fill the password_policy method in winbindd for
1555 * Fix memory leak when LDAP POSIX attribute queries fail.
1556 * Honor the krb5 principal name change (of the new ads join code)
1557 in the kerberized winbind pam_auth.
1558 * Correctly handle the case when there is no configuration file
1560 * Adding "own-domain" switch to wbinfo which is handy from time
1562 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
1563 * Fix winbindd group enumeration for groups with no members.
1564 * Correct "net ads changetrustpw" to use the sAMAccountName.
1565 * Fix winbindd in ADS domains by removing code using the
1566 UPN and rely upon the sAMAccountName.
1567 * Fix a eDir related memory leak.
1568 * Don't try to add the sn attribute twice to an LDAP
1569 inetOrgPerson + samSamAccount entry.
1570 * Fix winbind function table typo.
1571 * Attempt to send the correct warning from pam_winbind when a password
1572 change was attempted too early.
1573 * Don't use cached credentials when changing passwords.
1574 * Correctly disallow unauthorized access when logging on with the
1575 kerberized pam_winbind and workstation restrictions are in effect.
1576 * Save useless round trips in pam_winbind's auth calls.
1577 * Make the existence of the /etc/security/pam_winbind.conf file
1578 non-critical and fallback to only parse the argv options in that
1580 * Add winbind debug class to the main winbindd process.
1581 * Be consistent between rpc and ads winbind backend: let the
1582 ads backend query the samlogon cache first as well.
1583 * Ignore BUILTIN groups when searching AD for group memberships.
1584 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
1585 * Cleanup credential caches from winbind's linked list.
1586 * Fix 'winbindd -n' for new persistent caches.
1587 * Fix searching by SID in winbindd.
1588 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
1589 * Prefer to use the indexed objectCategory attribute (instead of
1590 objectClass which is not indexed on AD) in LDAP queries.
1591 * Free LDAP result in ads_get_attrname_by_oid().
1592 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
1593 * Prevent passwords of winbindd's list of credential caches from
1594 being swapped to disk using mlock().
1595 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
1596 support the plain posix attributes LDAP schema from win2k3-r2
1597 (based on patches from Howard Wilkinson and Bob Gautier).
1598 * Add more robust code for fallback when lookup_usergroups() fails.
1599 * Fix 'net rpc join' for winbindd running on a Samba DC.
1600 * Add help text for new 'net rpc audit' utility.
1601 * Add net ads search SID.
1602 * samrQueryDomainInfo level 5 should return the domain name, not our
1603 NetBIOS name when we are a DC.
1604 * Add some more client rpc for the querydominfo calls (from samba4 idl).
1605 * Process all the supported info levels in the samr_query_domain_info2
1607 * Wrap the samr_query_domain_info2() call around
1608 samr_query_domain_info().
1609 * Fix segv in smbctool.
1610 * Honor the time_offset also when verifying Kerberos tickets.
1611 * Prevent unnecessary longstanding LDAP connection to eDirectory.
1612 * Fix segv in smbspool.
1613 * BUG 1914: Allow to store 24 password history entries in ldapsam.
1614 * Enhancements to various commands in rpcclient
1615 * Don't force 'Administrator' to change an expired password on
1617 * Add support for offline mode in winbindd.
1618 * Provide support in pam_winbind for initializing a user's
1620 * Implement samr_chgpasswd_user3 server-side.
1621 * Make pam_winbind more robust when detecting domain users.
1622 * Add client side support for SAMR_GET_USRDOM_PWINFO.
1623 * Re-enable strict checking on C++ reserved keywords since Heimdal
1624 0.7.2 has been released.
1625 * Allow renaming of machine accounts in a Samba domain.
1626 * BUG 3539: Let winbindd try to obtain the gecos field from
1627 the msSFU30Gecos attribute when "winbind nss info = sfu" is
1629 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1630 * Return the real ACB-flags in the SamLogon() reply.
1631 * Some client side cleanup for the samr set security object
1633 * Make sure we always reset the userAccountControl bits when
1634 re-joining (net ads join) with an existing account.
1635 * Document some more MSV1_0 bits and their behavior.
1636 * Only set the last rebind timestamp when we did rebind
1637 after a update LDAP operation to avoid the ldap replication
1639 * Fix incorrect error checking in winbindd for domains with
1641 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
1643 * Work around crash bug in MIT krb5 libs when reading a
1644 keytab file. Stop trying to decrypt a ticket as soon as
1645 we have a clear indication that the ticket is bad.
1646 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1647 * Adding client side samr querygroup infolevels 2 & 5.
1648 * Make smbpasswd -a root work for eDirectory where there
1649 is no "account" structural objectclass.
1650 * Make sure we only send out a CLDAP request (net ads) to
1651 an connected AD server.
1652 * Fix a broken LDAP search filter when looking for groups.
1653 * Add in-tree version of iniparser library from
1654 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1655 (rather than linking in loadparm.c). Settings are now stored
1656 in /etc/security/pam_winbind.conf.
1657 * Fix different extended_dn handling in adssearch.pl
1658 (Thanks to Frederic Brin at Novell).
1659 * Fix a memleak in winbindd's credentials cache.
1660 * Protect against crashes in CLDAP request processing.
1661 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1664 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
1665 * Fix parameter type for 'acl compatibility'.
1666 * Fixes for msgtest torture tool.
1667 * Fix crash bug in the file locking code.
1670 o Arek Glabek <aglabek@centeris.com>
1671 * Fix parsing error on input parameters in eventlogadm.
1674 o Paul Green <paulg@samba.org>
1675 * Properly rebuild time limit on systems with executable extensions.
1676 * Fix build on platforms that do not support shared libs.
1677 * Remove dead code in the auth_script module.
1680 o Bjoern Jacke <samba@j3e.de>.
1681 * Fix DMAPI compile failures on AIX and True64.
1682 * Fix AIX PIC suffix (use .o instead of .po).
1683 * Fall back to less-preferred clocks until we find one that we
1684 can use if clock_gmtime() is not available at run-time.
1685 * Fix EA support on AIX platforms.
1686 * Automatically disable file shares with no explicit path set.
1687 * Remove the local hack to set the RO bit on directories in
1688 user profiles when profile acls = yes. Rely on EAs instead.
1689 * Compile fixes for Solaris LDAP client libs.
1690 * Add DMAPI/XDSM support for AIX.
1691 * Find JFS DMAPI libs on Linux when only they are available.
1694 o William Jojo <jojowil@hvcc.edu>
1695 * Fixes for the winbind NSS library on AIX.
1696 * Fix VFS builds on AIX platforms.
1697 * Fixes for the AIX version of libnss_winbind.so
1700 o Leonid Kabanov <lkabanov@mail.ru>
1701 * BUG 3711: Shell portability fixes for 'make test'.
1704 o Volker Lendecke <vl@samba.org>
1705 * Fixes for various Klocwork defect reports.
1706 * Fixes for various Coverity defect reports.
1707 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
1708 * Fix more potential seg-faults when something on our way to a
1709 DC connection fails.
1710 * Never fall back to using the IP address for a DC's name in RPC
1712 * Implement recycle:subdir_mode.
1713 * Activate RPC-AUTHCONTEXT in "make test".
1714 * Portability fixes for 'make test'.
1715 * Correctly set the group RID in init_sam_from_buffer.
1716 * Fix missing prompt in smbclient.
1717 * Return correct error code upon success from _net_srv_pwset().
1718 * Fix Windows XP joins to a Samba domain.
1719 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
1720 when mapped to a non-algorithmic rid.
1721 * Fix regression which upper-cased machine names passed to the
1722 'add machine script'.
1723 * Correct parsing error in parse_net.c for user's with no group
1725 * Fix off by one error in client SPNEGO code and other klocwork
1727 * Memory leak fixes in 'net sam'.
1728 * BUG 3720: Fix uninitialized error return variable.
1729 * Default "passdb expand explicit" to no.
1730 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
1731 * Fix user NT token creation when utilizing a username map.
1732 * More coverity fixes.
1733 * Fix a VUID bug in 'security = share'.
1734 * Correctly fill in the gid for local users.
1735 * Fix some warnings on True64.
1736 * Add special close handling for fake files.
1737 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
1738 * BUG 3435: Fix 'msdfs root = yes' in [homes].
1739 * Instruct winbindd to find a trusted DC on its own when running on
1741 * Fix segv in child winbindd processes caused by a failed tconX
1743 * Dynamically compute the maximum password age based no the
1744 last change time rather than reading the must change time
1745 from the passdb record.
1746 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
1747 * Assign unmapped users to the S-1-22-1 domain and unmapped
1748 groups to the S-1-22-2 domain
1749 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
1750 * Remove sql passdb backends.
1751 * Implement rpccli_samr_set_domain_info()
1752 * Add initial support for 'net sam' command.
1753 * BUG 2413: Remove anonymous connections in 'net rpc info'.
1754 * Implement asynchronous support for trans2 calls.
1755 * Make smbclient -L use RPC to list shares, fall back to RAP.
1756 * Ensure that the global SAM SID is initialized before any
1757 dependent routines are called.
1758 * Enhance consistency checks on local configuration when joining
1760 * Fix a memleak in the server registry code for enumeration
1762 * Fix an invalid munlock() call in winbindd's credentials cache.
1763 * Fix compile warnings when passing NULL to snprintf().
1764 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
1765 token in case anything weird is going on with the 'force user'.
1766 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
1769 o Derrell Lipman <derrell@samba.org>
1771 * BUG 3814: Only set the DFS capability flag in client requests
1772 if the share is a DFS root.
1773 * Fix bug causing previous settings to be re-initialized
1774 when parsing new configuration files.
1775 * BUG 3446: Don't ignore the authentication domain when parsing
1777 * Fix cli_setpathinfo() to actually do what it's supposed to.
1778 * Fix libsmbclient to make correct use of the new "one connection
1779 per server feature".
1782 o Jason Mader <jason@ncac.gwu.edu>
1783 * Numerous compiler warning fixes.
1786 o John E. Malmberg <wb8tyw@qsl.net>
1787 * Make smbldap obey config tests.
1790 o Jim McDonough <jmcd@us.ibm.com>
1791 * Fixes for 'make test' on AIX.
1792 * Ensure we do a wildcard search for SID's starting with the global SAM
1793 sid, not an exact search (from John Janosik).
1794 * Adapt smbclient fix to smbtree to enable long share names.
1795 * Prevent machines and users with no home directory from
1796 getting the previous entries home path when migrating via
1797 'net rpc vampire' (based on a patch from Richard Renard).
1798 * Remove hard-coded LDIF names when dumping a migrated
1799 domain's users and groups.
1800 * BUG 1374: Can't join an OU with name that contains '#'.
1803 o Stefan Metzmacher <metze@samba.org>
1804 * Add more tests to 'make test'.
1805 * Try to make timelimit.c more portable.
1806 * Fix linking of smbmount tools with --enable-socket-wrapper.
1807 * Pass 'target:samba3=yes' to samba4's smbtorture when running
1809 * Miscellaneous fixes for 'make test'.
1810 * Add improved support for 'make test' including making
1811 use of smbtorture from SAMBA_4_0.
1812 * Add --no-process-group to all server programs
1813 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
1814 * Add configure tests --with-selftest-prefix=/tmp/samba-test
1817 o Lars Müller <lmuelle@samba.org>
1818 * Fix lock calls in the python tdb bindings.
1819 * Add -k switch to tdbdump for accessing a single key.
1820 * Debian packaging fixes.
1821 * Add -t|--password-from-stdin option to pdbedit as we had
1823 * Various minor fixes to install scripts used by 'make install'.
1826 o James Peach <jpeach@sgi.com>
1827 * Ensure smbclient always prompts on standard output when in
1829 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
1830 * Introduce command line options to set the remainder of the
1831 parameters in dynconfig.c.
1832 * Avoid pulling in -lpthreads caused by -lrt.
1833 * Fix build failures on IRIX 6.4 due to DMAPI support.
1834 * Isolate the slow CLOCK_REALTIME message in the profiling code.
1835 * Correct comparison logic so that libunwind can be correctly detected.
1836 * Implement a "stacktrace" smbcontrol option using libunwind's remote
1837 stack tracing support (ia64 only).
1838 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
1839 of long group lists.
1840 * New autoconf macro to test for sysconf variables.
1841 * Change profiling data macros to use stack variables rather than
1842 globals. This catches mismatched start/end calls and removes
1843 the need for special nested profiling calls.
1844 * Rewrite AC_LIBTESTFUNC so that it works like the callers
1846 * Use clock_gettime for profiling timstamps if it is available. Use
1847 the fastest clock available on uniprocessors.
1848 * Preserve errno in fcntl lock wrappers.
1849 * Initialize our saved uid and gid so that we can tell when we
1850 created the profiling shmem segment and don't bogusly refuse to
1852 * Add a new option "enable core files" which can be used to disable
1853 automatic core file dumping.
1854 * Update our internal copy of popt to that distributed with the RPM
1856 * Add support for FAM for file change notification.
1857 * Disable sendfile if the 'write cache;' has been enabled.
1858 * Refactor capability interface from being IRIX-specific to
1859 using only the POSIX interface.
1860 * Consolidate core dumping code to aid in debugging.
1861 * Add support for libunwind to generating a backtrace.
1862 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
1863 and --without-ads are specified.
1864 * Allow the user to set winbind nss timeouts in seconds on IRIX.
1865 * Set the FILE_STATUS_OFFLINE bit by observing the events
1866 a DMAPI-based HSM is interested in.
1869 o Tim Potter <tpot@samba.org>
1870 * Build janitorial duties.
1871 * BUG 3725: Put references to $PICFLAGS in quotes.
1874 o Aruna Prabakar <aruna.prabakar@hp.com>
1875 * Show -W option in smbpasswd usage text.
1878 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
1879 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
1884 * Correct syntax error in aclocal.m4.
1887 o Simo Sorce <idra@samba.org>
1888 * Pam modules install fix.
1889 * Allow "net changesecretpw" to accept a password via stdin.
1890 * Implement 'net setdomainsid' command.
1891 * Ensure that sid -> group conversion are done as root.
1892 * BUG 3413: Sanity check for existence of 'ldap admin
1893 dn' before setting a password in secrets.tdb (based on
1894 work by William Jojo).
1895 * New revision of the snprintf replace code.
1896 * Set the correct sid type when looking up a gid.
1899 o Todd Stecher <tstecher@isilon.com>
1900 * Add TCP fallback for our implementation of the CHANGEPW
1904 o Ronan Waide <waider@waider.ie>
1905 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
1909 o Shlomi Yaakobovich <Shlomi@exanet.com>
1910 * Fix for machine password time_t overflow.
1913 --------------------------------------------------
1914 ==============================
1915 Release Notes for Samba 3.0.22
1917 ==============================
1919 This is a security release of Samba. The Samba 3.0.21 release
1920 series (including the patch releases a through c) has been
1921 discovered to expose the clear text of the server's machine
1922 account credentials in the winbind log files when the log
1923 level is set to 5 or higher. This defect has been assigned
1924 the CVE number CAN-2006-1059.
1929 The machine trust account password is the secret shared
1930 between a domain controller and a specific member server.
1931 Access to the member server machine credentials allows
1932 an attacker to impersonate the server in the domain and
1933 gain access to additional information regarding domain
1936 The winbindd daemon included in Samba 3.0.21 and subsequent
1937 patch releases (3.0.21a-c) writes the clear text of server's
1938 machine credentials to its log file at level 5. The winbindd
1939 log files are world readable by default and often log files
1940 are requested on open mailing lists as tools used to debug
1941 server misconfigurations.
1943 This affects servers configured to use domain or ads security
1944 and possibly Samba domain controllers as well (if configured
1949 --------------------------------------------------
1951 ===============================
1952 Release Notes for Samba 3.0.21c
1954 ===============================
1956 Common bugs fixed in 3.0.21c include:
1958 o Access checks when deleting printer driver meta-data.
1959 o Several non-default combinations schannel and SPNEGO support.
1960 o Password changes with NT4 and Win2k pre-SP4 clients.
1961 o High load issues on IRIX caused by a bug when interfacing
1962 with kernel oplocks.
1965 ######################################################################
1969 Changes since 3.0.21b
1970 ---------------------
1974 o Michael Adam <ma@SerNet.DE>
1975 * Add popt to the include path for examples/VFS.
1978 o Jeremy Allison <jra@samba.org>
1979 * Fix bug in the USC2 macros on big-endian CPUs.
1980 * Filter deleted oplocks from the output of smbstatus.
1981 * Remove invalid test check_for_pipe().
1982 * BUG 3515: Fix kernel oplock support on IRIX.
1983 * BUG 3522: Fix return value for mkdir request when the directory
1985 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
1987 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
1989 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
1990 resulting in a client disconnect after negprot.
1991 * BUG 3510: Fix 'net join' against a server with client schannel
1993 * Fix negprot bug causing a 2k client with cached domain
1994 credentials to refuse to connect to a standalone Samba host.
1995 * Ensure that the correct error is checked when encountering a
1996 socket error (fixes crashes in winbindd).
1999 o Andrew Bartlett <abartlet@samba.org>
2000 * Fix domain joins from NT4 clients and password changes.
2003 o Richard Bollinger <rabollinger@gmail.com>.
2004 * Compile fix in pdbedit.
2007 o Gerald (Jerry) Carter <jerry@samba.org>
2008 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
2009 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
2010 * Fix bug in loadparm.c that caused builtin services to be also
2011 listed as external services (e.g. Spooler, NETLOGON, etc..).
2012 * Fix bug in the samr dispinfo enumeration code.
2013 * Add earlier checks to deny deleting a printer driver meta-data.
2016 o Guenther Deschner <gd@samba.org>
2017 * Add Account Policy LDAP attributes for eDirectory schema.
2020 o William JoJo <jojowil@hvcc.edu>
2021 * BUG 1870: Make nmblookup do a node status on all IP's when
2023 * BUG 2353: Fix clitar -F processing.
2026 o Volker Lendecke <vl@samba.org>
2027 * Fix the build for --with-aio-support.
2028 * Fix remote password changing if password must change is set.
2029 * Fix rpcclient to obey the -W parameter.
2030 * Fix segv in smbmount and the profiles tool.
2031 * Fix typo in pdbedit help text (reported by Karolin Seeger).
2035 * Honour the $(DESTDIR) Makefile variable when installing
2039 o Jason Mader <jason@ncac.gwu.edu>
2040 * Compiler warning fixes.
2043 o Lars Müller <lmuelle@samba.org>
2044 * Fix python build with older python versions.
2045 * Update dhcp.conf files in Debian packaging
2046 * SWAT welcome file updates
2047 * Compiler warning fixes.
2048 * Add .2 to the SONAME as version suffix if we link the nss
2050 * Add -t|--password-from-stdin option to pdbedit.
2053 o James Peach <jpeach@sgi.com>
2054 * Continue not enabling valgrind on 64-bit Linux.
2057 o Tim Potter <tpot@samba.org>
2058 * Remove unused #defines.
2061 o Simo Sorce <idra@samba.org>
2062 * Debian packaging updates.
2065 o Qiao Yang <qyang@stbernard.com>
2066 * Make sure to refresh the timestamp on entries in the failed
2067 connection code in winbindd.
2070 --------------------------------------------------
2071 ===============================
2072 Release Notes for Samba 3.0.21b
2074 ===============================
2076 Common bugs fixed in 3.0.21b include:
2078 o Server crashes in smbd.
2079 o Compile issues on 64-bit platforms.
2080 o Crash bugs on big-endian systems.
2081 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
2082 o Over 30 bugzilla reports closed.
2085 ######################################################################
2089 Changes since 3.0.21a
2090 ---------------------
2094 o Jeremy Allison <jra@samba.org>
2095 * Fix the SAMR cache across handles opens and closes.
2096 * Re-add the talloc_describe_all() function for reporting pool
2098 * Merge talloc license change from Samba 4.
2099 * Fix 64-bit compile warnings reported by gcc.
2100 * Add the share path into the sharemode db.
2101 * Consistency fixes: Remove use of uint8_t -> uint8.
2102 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
2103 structure when passing through the messaging API.
2104 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
2106 * Force smbd to exit if the guest account internal setup fails.
2107 * BUG 3419: vfs_full_audit fixes for multiple connections.
2108 * Ensure SWAT lists running processes.
2109 * Fix NTLMv2 interoperability bug between Samba servers.
2110 * Oplock break logic fixes.
2113 o Andrew Bartlett <abartlet@samba.org>
2114 * BUG 3401: Fix crash bug caused by incorrect handling of weak
2115 session keys. Based on original patch from Yau Lam Yiu.
2118 o Alexander Bokovoy <ab@samba.org>
2119 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
2123 o Stefan Burkei <stefan@burkei.de>
2124 * BUG 3248: When doing auth_crap authentication use the client
2125 given workstation name not our own.
2128 o Gerald (Jerry) Carter <jerry@samba.org>
2129 * Fixing net rpc registry enumerate from overwriting the open
2131 * BUG 3380: fix crash when changing printer drivers.
2132 * BUG 3391: ensure we can lookup account policies for failed
2134 * Adding query/set ops for security descriptors on services.
2135 * BUG 3329: Solaris packaging fixes.
2136 * Better formatting for smbstatus output (based on patch from
2138 * Hook the max connections spin box in the share properties
2139 MMC plug-in dialog to the 'max connections' smb.conf parameter
2140 and the 'modify share command' option.
2141 * Work around building libnss_winbind.so on Solaris when
2142 --enable-developer is specified.
2143 * Add vendor patch level string to VERSION.
2144 * Consolidate packaging for RHEL4 and Fedora based on initial
2148 o Albert Chin <@thewrittenword.com>
2149 * BUG 3374: Build failures on True64.
2152 o Guenther Deschner <gd@samba.org>
2153 * Fill in samr_get_dom_pwinfo based on Samba4.
2154 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
2155 * Fixes for adssearch.pl example script.
2156 * Prevent 'net rpc' from dumping clear text password at high log
2157 levels unless built with DEBUG_PASSWORD.
2158 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
2160 * Fix segfault in pdb_nds.c.
2161 * Don't write null sid mappings into the winbindd_cache.tdb.
2162 * Save sid_to_name lookup result in winbindd already after doing
2163 a successful name_to_sid.
2164 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
2165 * BUG 1524, 3205: Support changing expired passwords in
2167 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
2168 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
2169 idmap modules are build and loaded, idmap_rid now will have
2170 to be loaded without prefix, just "rid".
2171 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
2174 o Andrew Esh <Andrew_Esh@adaptec.com>
2175 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
2176 specified on the command line with -H.
2179 o SATOH Fumiyasu <fumiya@samba.gr.jp>
2180 * End profile fixes.
2181 * BUG 3348: Don't assume owning sticky bit directory means
2182 write access allowed.
2183 * Fix double free in on failure path in POSIX acl code.
2186 o Andriy Gapon <avg@icyb.net.ua>
2187 * BUG 3458: Fix crash bug in smbd and winbindd caused by
2188 accessing freed memory.
2191 o Björn Jacke <bj@sernet.de>
2192 * Configure check for Tru64 EA functions (not yet implemented).
2193 * Find Tru64 AIO lib in configure.
2194 * Cut-n-paste fixes in configure.in.
2197 o John Janosik <jpjanosi@us.ibm.com>
2198 * IBM Tivoli Directory Server schema updates.
2201 o Michael James <michael@james.st>
2202 * sid2string fix in adssearch.pl.
2205 o William JoJo <jojowil@hvcc.edu>
2206 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
2207 * BUG 3389: Failures on AIX in linking smbd when the symbol
2208 table for ld exceeds 65536 bytes.
2209 * Add -W to smbpassword so that the ldap admin dn password does
2210 not have to be specified on the command line.
2211 * BUG 3408: Fix for external password change programs on AIX.
2212 * BUG 1779: 64-bit compile fixes.
2215 o Martin Koeppe <mkoeppe@gmx.de>
2216 * BUG 3287: Match SFU behavior for dev/inode numbers.
2219 o Volker Lendecke <vl@samba.org>
2220 * BUG 3291: Fix valgrind error in client connection code.
2221 * BUG 3292: Prevent smbclient from spinning if server terminates
2223 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
2224 connection alive smbclient.
2225 * Add lookupname to rpcclient query_user as a fallback, we now
2226 accept both rid and username.
2227 * Introduce yet another copy of the string_sub function:
2228 talloc_string_sub use by AFS token code in winbindd.
2229 * BUG 3351: pdb_mysql again overwrites password fields.
2230 * BUG 3384: Fix segv in tdbtool.
2231 * Use the same CFLAGS for generating the pch as we use to
2233 * Correct typo when compiling the vfs_catia module.
2234 * Fix automatic recreation of a new tdb sam file.
2237 o Derrell Lipman <derrell@samba.org>
2239 * Fix parsing of file times (w_time and m_time were reversed).
2240 * Add additional libsmbclient test programs.
2241 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
2242 the configuration files.
2243 * Avoid doing a NetBIOS name query for each server and workgroup
2245 * Do not open connection when only looking for cached connection.
2246 * BUG 2651: Add option to log debug messages to stderr instead
2248 * Added flag to not request authentication information.
2249 * Enhancements to smbwrapper example code.
2250 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
2254 o David May <mayd@cygnus.uwa.edu.au>
2255 * BUG 3329: Shell scripting portability fixes on 'make test'.
2258 o Tony Mountifield <tony@softins.co.uk>
2259 * BUG 3327: fix bad access to gencache.tdb after fork() in
2263 o Lars Müller <lmuelle@samba.org>
2264 * BUG 3264: Support backwards compatible setups using
2265 'idmap backend = idmap_rid'.
2266 * Add %w macro for the winbind separator.
2267 * Convert net command to use stderr for error messages rather
2271 o James Peach <jpeach@sgi.com>
2272 * Portability fixes in LDAP code. Don't use non-static array
2274 * Support the TCP_FASTACK socket option if it is available.
2275 * Tell the MIPSPro compiler to push DEBUG calls out of line.
2278 o Makr Proehl <m.proehl@science-computing.de>
2279 * BUG 1336: Print the server role when calling testparm in
2283 o Simo Sorce <idra@samba.org>
2284 * Crackcheck utility enhancement based on patch sent by
2286 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
2287 mode_t is not 32-bits.
2290 o John Terpstra <jht@samba.org>
2291 * RHEL/Fedora spec file patches.
2294 --------------------------------------------------
2295 ===============================
2296 Release Notes for Samba 3.0.21a
2298 ===============================
2300 Common bugs fixed in 3.0.21a include:
2302 o Deadlocks when multiple users access an oplocked file
2306 ######################################################################
2310 Changes since 3.0.21
2311 --------------------
2315 o Gerald (Jerry) Carter <jerry@samba.org>
2316 * RedHat 9 packaging Fixes.
2319 o Guenther Deschner <gd@samba.org>
2320 * eDirectory schema syntax fixes.
2323 o Volker Lendecke <vl@samba.org>
2324 * BUG 3349: Deadlock caused logic error in oplock code.
2326 --------------------------------------------------
2327 ==============================
2328 Release Notes for Samba 3.0.21
2330 ==============================
2332 Common bugs fixed in 3.0.21 include:
2334 o Missing groups in a user's token when logging in via Kerberos
2335 o Incompatibilities with newer MS Windows hotfixes and
2336 embedded OS platforms
2337 o Portability and crash bugs.
2338 o Performance issues in winbindd.
2340 New features introduced in Samba 3.0.21 include:
2342 o Complete NTLMv2 support by consolidating authentication
2343 mechanism used at the CIFS and RPC layers.
2344 o The capability to manage Unix services using the Win32
2345 Service Control API.
2346 o The capability to view external Unix log files via the
2347 Microsoft Event Viewer.
2348 o New libmsrpc share library for application developers.
2349 o Rewrite of CIFS oplock implementation.
2350 o Performance Counter external daemon.
2351 o Winbindd auto-detection query methods when communicating with
2352 a domain controller.
2353 o The ability to enumerate long share names in libsmbclient
2357 ######################################################################
2364 Parameter Name Action
2365 -------------- ------
2366 dfree cache time New
2367 dfree command Per share
2371 passdb expand explicit New
2372 rename user script New
2373 reset on zero vc New
2374 svcctl list Renamed from 'enable svcctl'
2378 Changes since 3.0.20b
2379 ---------------------
2381 o Jeremy Allison <jra@samba.org>
2382 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
2383 * Added 'map readonly' parameter.
2384 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
2386 * Maintain schannel client session keys in volatile
2387 $(privatedir)/schannel_store.tdb.
2388 * BUG 2769: Ensure we mangle filenames ending in a space
2389 * Catch corner case of renaming a symlinked directory into
2391 * Ensure that smb.conf requests for hidden files are honored,
2392 even when DOS attributes are stored in EA's
2393 * Add new auth method "auth_script" for calling an external
2395 * BUG 2152: Fix for mangled filenames when the client does
2396 support long filenames
2397 * Rewritten implementation of client and server DCE/RPC infrastructure
2398 * BUG 3192: Adds a "dfree cache time" parameter.
2399 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
2400 the S_IWGRP mask in the absence of a POSIX ACL.
2401 * Remove use of 'long long' in libsmbclient code.
2402 * Ensure the new canonicalize_servicename() in name/snum hash
2404 * BUG 2922: Integration of FreeBSD AIO patches from Timur
2406 * BUG 3216: Put directory opens into the share mode db so we
2407 can treat them similarly to file opens (delete on close,
2408 share mode violations etc.).
2409 * Fix bug in name mangling code when case sensitivity is enabled.
2410 * Remove external dependencies from the sharemodes library.
2411 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
2412 * Don't misinterpret wild card characters in file names on disk
2413 as they are actually valid characters.
2414 * BUG 3223: Fix bug in account policy management when
2415 account_pol.tdb settings have been migrating to an LDAP
2417 * Allow the hash size of the tdb open (locking) database to be
2419 * Fix error code returns on client spoolss code.
2420 * Remove unneeded strncpy use.
2421 * Fix uninitialized variables warnings.
2422 * Cleanup smbcacls security descriptor parsing and error codes.
2423 * BUG 3224: Correctly use machine_account_name and client_name
2424 when doing netlogon credential setup. Fixes winbindd running
2426 * Backport Samba 4 time zone handling.
2427 * Fix core dump if setmntent() returns NULL.
2428 * Replace old crc32 code with one from the FreeBSD tree.
2429 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
2430 * Remove #define of close -> close_fn macro in libsmbclient.
2431 * Return early if -1 returned from *BSD EA call (reported by
2433 * Name space cleanup by marking local functions static.
2434 * Move samr enumeration cache from per handle basis to a shared
2436 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
2437 OS/2 servers (based on patch from Guenter Kukkukk).
2438 * Ensure default applies to new files (reported by Thomas
2440 * BUG 3293: Use SMBecho to testing the server in client rather
2442 * Merge talloc fixes from Samba 4 branch.
2443 * Add support DCE/RPC cancel operation.
2444 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
2445 when using EA for DOS attributes.
2446 * Fix bug in returning remote time (reported by Thomas Bork).
2447 * No users or groups to return in BUILTIN domain.
2448 * Removed separate "builtin" search enumeration.
2449 * Added count_sam_aliases to return the correct alias count.
2450 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
2451 eDirectory when accessing the universal password.
2452 * Fix deadlock condition in share mode locking code.
2453 * Fix logic bug in unix_mask_match().
2454 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
2458 o Rashid N. Achilov <shelton@granch.ru>
2459 * Add better service description names to the svcctl code.
2462 o Timur Bakeyev <timur@com.bat.ru>
2463 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
2466 o Andrew Bartlett <abartlet@samba.org>
2467 * Remove another ancient NTLMSSP implementation.
2468 * Allow machine account logons work if the client gives the
2472 o Alexander Bokovoy <ab@samba.org>
2473 * Add POSIX statvfs() to VFS api.
2476 o Gerald (Jerry) Carter <jerry@samba.org>
2477 * Eventlog and ServiceControl support.
2478 * BUG 1051: store the directory path so we can send the full
2479 name in the unlink call from smbclient.
2480 * Use reference count strategy for keeping the registry tdb
2482 * Convert internal registry objects to new hierarchical talloc
2483 * Allow the root user a free pass for access checks in the
2484 registry and service control checks.
2485 * Sanity checks in the privilege code to prevent empty SID
2487 * Add basic infrastructure for 'make test' when the socket
2488 wrapper library is configured at compile time
2489 * Convert profiles utility to use the current regfio interface
2490 for reading and writing user profiles
2491 * Remove netsamlogon_cache interface
2492 * Ensure that print jobs are removed even when the cancel
2493 command is received before the print cache has been updated
2494 * Fix linking problem on Solaris when including ACL support.
2495 * Give root a free pass to open the eventlog tdb files.
2496 * Fix segfault in addprinter due to mixing talloc() and
2498 * fix invalid read reported by valgrind in the spoolss
2499 backchannel connection.
2500 * Remove use of 'long long' in perfcounter registry code.
2501 * BUG 3201: make sure request structure is cleared prior to
2502 sending the request to winbindd.
2503 * Don't count open pipes in the num_files_open on a connection
2504 (regression from Samba 2.2).
2505 * Ensure servername hashing code normalizes the name.
2506 * Fix checks for connect() in -lnsl[_s].
2507 * Convert eventlog API to use NTSTATUS return codes rather
2509 * Fix segv in winbindd caused by an uninitialized variable
2510 in winbindd_dual_getsidaliases().
2511 * Allow winbindd to select the appropriate backend methods
2512 based on the DC attributes and not the security parameter.
2513 * Re-add the netsamlogon_cache tdb and ensure that user entries
2514 are updated from the PAC data during Kerberos ticket
2516 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
2517 by mangling machine names in sub_set_smb_name().
2518 * Add smbget to the list of tools built by default.
2519 * Fix clearing of eventlog tdb files.
2520 * Fix sequential reads in eventlog support.
2521 * BUG 2718: Don't use qpathinfo_basic() call when remote server
2523 * Fix build issues with the Sun compiler.
2524 * BUG 3156: Don't use find_service() when explicitly looking
2526 * Fix nss_winbind_solaris.c build breakage on HP-UX.
2527 * Initialize the local group description.
2528 * Disable WINS and NetLogon services in the MMC services
2529 plugin when the associated smb.conf features are not enabled.
2530 * Add checks for invalid characters in new share names on the
2532 * Fix SWAT installation issues with 'make install'.
2533 * Always add the BUILTIN\Administrators SID to a Domain
2537 o Alex Deiter <tiamat@komi.mts.ru>
2538 * BUG 3196: Patch to compile against the Sun LDAP client libs.
2539 (not for AD support; just ldap support).
2542 o Guenther Deschner <gd@samba.org>
2543 * Fixed compile problems and warnings with newer OpenLDAP
2545 * Fix bug when enumerating trusted domains via 'wbinfo -m'
2546 * Parse the MS Kerberos PAC to obtain the user group
2547 membership during logon.
2548 * Add support for SeRestorePrivilege to allow a process to
2549 change the ownership of a file to any arbitrary account
2550 * Fix password history storage when using Novell eDirectory for
2552 * Backport Kerberos PAC parsing from Samba 4 branch in order to
2553 correctly create the NT User Token when logging into a Samba
2555 * Add small helper function to return a PAC_LOGON_INFO.
2556 * Use LDAP bitwise matching rule when searching for groups
2558 * Avoid an infinite loop when retrying to connect in smbspool.
2559 * Memory leak fixes in the Kerberos PAC parsing code.
2560 * Improve NT_STATUS error messages returned from pam_winbind.
2561 * Rename unknown samr group fields in samr structures with
2562 the correct name.removed separate "builtin" search enumeration.
2563 * Cleanup redundant StartTLS code.
2564 * Allow StartTLS support when connecting to Windows 2003 by
2565 setting 'ldap ssl = start_tls'.
2566 * Support raw NTLMSSP session setups in smbspool.
2567 * Add rpccli_samr_chgpasswd3().
2568 * Add 'wbinfo --separator'.
2569 * Uninitialized warnings fixes.
2570 * Fix return value in client spooler code.
2571 * Require forced migration of account policies.
2574 o Steve French <sfrench@us.ibm.com>
2575 * Fix cifs to handle non-numeric uid and gid parameters.
2576 * Merge trunk and SAMBA_3_0 mount.cifs code.
2577 * Cleanup cifs cfs help message.
2580 o Paul Green <paulg@samba.org>
2581 * Update to the latest config.guess and config.sub files.
2584 o Deryck Hodge <deryck@samba.org>
2585 * Allow control of syslog facility and level in audit vfs modules.
2588 o S Murthy Kambhampaty <smk_va@yahoo.com>
2589 * Patches for Fedora RPM specfile and init script
2592 o Krishna Ganugapati <krishnag@centeris.com>
2593 * Use the subtree delete ldap control when running 'net ads
2597 o Volker Lendecke <vl@samba.org>
2598 * New oplock implementation.
2599 * Add assert() call if winbindd cannot locate the domain SID in
2600 secrets.tdb on startup
2601 * Fix an annoying timeout in winbindd when nmbd is not running.
2602 * Speed up loading smb.conf for large numbers of share
2603 definitions by adding an internal hashing of names to snums.
2604 Thanks to Michael Adam.
2605 * Fix potential segv in rpcclient's lsarpc calls.
2606 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
2607 * Fix alignment in getdc response.
2608 * Allow pdbedit to set the domain for a user account.
2609 * Fix fallback logic in rpc binds.
2610 * Fix memleak in message handling code.
2611 * Fix connection bug to port 445 and 139 after a successful
2613 * Add additional calls to initialize_krb5_error_table() for
2614 Kerberos client code.
2615 * Implement the possibility to have AFS users as SIDs in pts.
2616 * Removed unused alternative_name code from winbindd.
2617 * Protect against NULL alternative_name strings in winbindd.
2618 * Define a default panic action with -DEVELOPER is defined.
2619 * Add the capability to reset smbd connections on a zero VC id.
2620 * Allow smb.conf variable expansion to be disabled in passdb
2622 * Add lookupname to rpcclient query_user as a fallback.
2623 * BUG 3292: Prevent smbclient from spinning when the server
2625 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2626 * Add samr_lookup_rids for the builtin domain.
2627 * Memory allocation cleanups in passdb.
2628 * Restrict samr_open_domain() to our domain only.
2629 * Change local_lookup_sid() to local_lookup_rid() since it
2630 is responsible for our domain only.
2631 * Fix some uninitialized variable warnings.
2632 * Fix winbind_lookup_name for the local domain,
2635 o Derrell Lipman <derrell@samba.org>
2636 * Cleanup libmsrpc version numbers.
2637 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
2638 * Fix crash bug in libsmbclient.
2639 * Add long share name support to libsmbclient when enumerating
2643 o Jason Mader <jason@ncac.gwu.edu>
2644 * Removed compiler various warnings.
2647 o Alex Masterov <alex@infobit.ru>
2648 * BUG 3218: Fix XATTR calls on *BSD systems.
2651 o Jim McDonough <jmcd@us.ibm.com>
2652 * Speed up string_to_sid by removing next_token calls and
2653 unneeded strncmp() calls.
2654 * Implement user rename for smbpasswd and LDAP backends.
2655 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2656 * BUG 3187: Fix time zone offset in logon hours restrictions.
2659 o Stefan Metzmacher <metze@samba.org>
2660 * Fix setting of quotas on linux kernel with the struct
2662 * Enable sysquota interface on Linux by default
2663 * Use lp_socket_address() when binding to port 138/udp in nmbd.
2666 o Brian Moran <bmoran@centeris.com>
2667 * Eventlog and ServiceControl support.
2668 * Added eventlogadm tool for writing Eventlog records.
2669 * Fix typo when creating Eventlog source DLL registry paths.
2670 * Add simple script to tail syslog and write records to
2672 * Fix segv in eventlogadm when not event logs are listed in
2676 o Lars Müller <lmuelle@samba.org>
2677 * Only install smbsh manpage if smbwrapper has been successfully
2679 * Ensure setmntent() returns with != NULL in the disk_quotas()
2681 * Add configure switch to disable libmsrpc build.
2682 * Add a soname to libmsrpc.
2685 o Ricky Nance <ricky.nance@gmail.com>
2686 * Updates for the mklogon perl scripts.
2689 o Chris Nicholls <skel@samba.org>
2690 * New libmsrpc library (Google SoC Project).
2691 * Fix libmsrpc build of on the Sun compiler by removing empty
2692 structure declarations.
2695 o James Peach <jpeach@sgi.com>
2696 * Fix parsing error for smb ports parameter.
2699 o Tim Potter <tpot@samba.org>
2700 * BUG 3260: Fix DYNEXP flags on HPUX.
2703 o Marcin Porwit <mporwit@centeris.com>
2704 * Eventlog and ServiceControl support.
2705 * Added basic Performance Counter daemon which can feed data
2706 for the Windows perfmon.exe tool.
2707 * Fix directory permissions in the perfcounter daemon.
2708 * Add the 'File' registry value for the eventlog keys.
2711 o Aruna Prabakar <aruna.prabakar@hp.com.
2712 * Add checks to verify that the spooler is running on HP-UX when
2713 reloading the printer name cache.
2716 o Joel Smith <joel.j.smith@novell.com>
2717 * Add iPrint printing backend support.
2720 o Toomas Soome <Toomas.Soome@mls.ee>
2721 * Implement host lookups in nss_winbind.so.1 on Solaris
2724 o Simo Sorce <idra@samba.org>
2725 * Update Debian packaging.
2728 o John Terpstra <jht@samba.org>
2729 * Add 'net idmap' usage help text.
2732 o Andrew Tridgell <tridge@samba.org>
2733 * Change license notice of standalone talloc library to LGPL.
2736 o Darren Tucker <dtucker@zip.com.au>
2737 o Crash fix for snprintf() code.
2740 o Rainer Weikusat <rainer.weikusat@sncag.com>
2741 * Fix function name typo in skeleton VFS code.
2745 Release Notes for older release follow:
2747 --------------------------------------------------
2748 ===============================
2749 Release Notes for Samba 3.0.20b
2751 ===============================
2753 Common bugs fixed in 3.0.20b include:
2755 o A crash bug in winbindd
2756 o Reporting files as read-only instead of returning the
2757 correct error code of "access denied"
2758 o File system quota support defects
2761 ######################################################################
2766 Changes since 3.0.20a
2767 ---------------------
2772 o Jeremy Allison <jra@samba.org>
2773 * BUG 3088: Fix error condition for files on a read-write share
2774 which cannot be read due to permissions.
2777 o Gerald (Jerry) Carter <jerry@samba.org>
2778 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
2780 * BUG 1473, 3090: Quota detection and compilation problems on
2784 o Marc Balmer <marc@msys.ch>
2785 * Build fixes when builddir != srcdir
2788 o Alex Deiter <tiamat@komi.mts.ru>
2789 * BUG 3145: Fix build issue regarding quota support on Solaris.
2792 o Volker Lendecke <vl@samba.org>
2793 * BUG 3068: Fix for winbindd crashed by empty DC alternative
2797 --------------------------------------------------
2798 ===============================
2799 Release Notes for Samba 3.0.20a
2801 ===============================
2803 Common bugs fixed in 3.0.20a include:
2805 o Stability problems with winbindd.
2806 o Crash bugs caused by incompatibilities on 64-bit systems.
2807 o Missing files from directory listings on AIX servers
2808 o User Manager interoperability problems.
2809 o Minor build difficulties on various platforms such as
2810 Solaris and OpenBSD,
2813 Winbind, security = domain, and Active Directory
2814 ================================================
2816 Recent security updates for Windows 2000 and Windows 2003 have
2817 changed the fashion in which user and group lists can be obtained
2818 from domain controllers. In short, the RPC mechanisms used by
2819 "security = domain" to retrieve users and groups is not compatible
2820 with these changes. The "security = ads" configuration is not
2821 affected by the Windows protocol changes.
2823 Samba developers are actively working to correct this problem in
2824 the 3.0.21 release. In the meantime, Administrators who are unable
2825 to migrate to "security = ads" and must continue using "security =
2826 domain", can define credentials to be used by winbindd for account
2827 enumeration by executing the following command as root.
2829 wbinfo --set-auth-user='DOMAIN\username%password'
2833 ######################################################################
2838 Changes since 3.0.20
2839 --------------------
2844 o Jeremy Allison <jra@samba.org>
2845 * BUG 3065: Fix for legacy clients retrieving a listing of
2847 * Added external library for accessing Samba's share mode
2849 * Fix winbindd credentials chain which caused logon failures
2850 after attempting to authenticate an unknown user.
2851 * Fix recursive looping bug in winbindd.
2852 * Fix build errors on 64-bit systems.
2853 * Posix ACL memory leak and crash bug fixes.
2854 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
2855 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
2856 * Hide dot files and directory logic fixes.
2857 * Correct display of open file modes by smbstatus.
2858 * BUG 3010: Fix missing files bug on AIX systems.
2861 o Gerald (Jerry) Carter <jerry@samba.org>
2862 * Allow the root user to automatically pass se_access_checks()
2863 in the registry and service control server code.
2864 * Ensure that winbindd uses the correct name in the net_auth2()
2865 request when running on a Samba PDC.
2866 * Fix linking problem with tdb utilities.
2867 * BUG 3080: Fix regression in 'net rpc shutdown' command.
2868 * Fix segv in 'net rpc' when the pipe open fails.
2869 * Fix upload bug when installing 64-bit Windows printer drivers.
2870 * Fix regression in the smburi syntax used by smbspool.
2871 * Fix sorting of subkey hash records in registry files.
2872 * Correct REG_CREATE_KEY_EX parsing error.
2873 * Interoperability issues with usrmgr.exe and Samba groups.
2874 * Use the display names and not the Unix names when enumerating
2875 groups in the ldapsam passdb backend.
2876 * Ensure that Windows domain user names are converted to lower case.
2879 o Guenther Deschner <gd@samba.org>
2880 * Prevent BUILTIN sids returned in the user's token from
2881 a Windows DC from being applied to any local group mappings
2883 * Plug memory leaks in the Kerberos keytab code.
2884 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
2885 backend when 'winbind nested groups' is enabled.
2886 * Fix crash bug in winbindd caused by 64-bit build issues.
2887 * Improve debug messages in smbspool.
2888 * Give better error-message when "NDS Universal Password" change fails.
2889 * Fix password history error in the eDirectory schema file.
2890 * Ensure that Windows domain group names are converted to lower case.
2893 o Steve French <sfrench@us.ibm.com>
2894 * Allow disabling mandatory byte range lock mount flag, and fix
2895 corresponding entry in mtab.
2898 o Volker Lendecke <vl@samba.org>
2899 * Fix race condition in the NTcreate&X open code when the
2900 disposition is NTCREATEX_DISP_CREATE.
2901 * Correct logic error when checking the pid for pending print
2902 change notify messages.
2903 * Ensure that winbindd child process complete startup even when
2904 the parent is receiving authentication requests.
2905 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
2906 when authentication fails.
2909 o Jason Mader <jason@ncac.gwu.edu>
2910 * Compile warning fixes.
2913 o Uli Meis <a.sporto@gmail.com>
2914 * Patches for pdb_*sql.c
2917 o Luke Mewburn <lukem@NetBSD.org>
2918 * Autoconf syntax fixes.
2921 o James Peach <jpeach@sgi.com>
2922 * Correct problem with creating a core file in Linux.
2925 o Stefan Metzmacher <metze@samba.org>
2926 * Quota fixes in smbd.
2929 o Peter Rindfuss <rindfuss@wz-berlin.de>
2930 * Patches for pdb_*sql.c
2933 o Jiri Sasek <Jiri.Sasek@Sun.COM>
2934 * Solaris toolchain patches for autoconf scripts.
2937 o Andrew Tridgell <tridge@samba.org>
2938 * Fix for tdb clear-if-first race condition.
2941 o Leo Weppelman <leo@wau.mis.ah.nl>
2942 * BUG 3104: Don't allow time updates to files on read-only shares.
2945 o Steve Williams <steve@celineandsteve.com>
2946 * BUG 3052: Fix compile issues on OpenBSD.
2949 --------------------------------------------------
2950 ==============================
2951 Release Notes for Samba 3.0.20
2953 ==============================
2955 Additional features introduced in Samba 3.0.20 include:
2957 o Support for several new Win32 rpc pipes.
2958 o Improved support for OS/2 clients.
2959 o New 'net rpc service' tool for managing Win32 services.
2960 o Capability to set the owner on new files and directory
2961 based on the parent's ownership.
2962 o Experimental, asynchronous IO file serving support.
2963 o Completed Support for Microsoft Print Migrator.
2964 o New Winbind IDmap plugin (ad) for retrieving uid and gid
2965 from AD servers which maintain the SFU user and group
2967 o Rewritten support for POSIX pathnames when utilizing
2968 the Linux CIFS fs client.
2969 o New asynchronous winbindd.
2970 o Support for Microsoft Print Migrator.
2971 o New Windows NT registry file I/O library.
2972 o New user right (SeTakeOwnershipPrivilege) added.
2973 o New "net share migrate" options.
2976 What happened to 3.0.15 - 3.0.19?
2977 ==================================
2979 After some discussion it was deemed that the amount of changes
2980 going into the next Samba 3.0 release needed something to catch
2981 people's attention. Skipping several releases was chosen as
2982 the best solution with the least overhead. There will be no
2983 3.0.15 - 3.0.19 ever released. The next production release
2984 following 3.0.20 should be 3.0.21.
2986 The original announcement about the version number change can
2987 be found in the samba mailing list archives:
2989 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
2992 Asynchronous Winbind Implementation
2993 ===================================
2995 Winbindd has been completely rewritten in this release to support
2996 an almost completely non-blocking, asynchronous request/reply
2997 model. This means that winbindd will scale much better in
2998 large domain environments and on high latency networks. Neither
2999 the client interface nor the command line tools (i.e. wbinfo) have
3000 changed in their calling conventions or syntax. However, due to
3001 internal structure changes, it is required (more so than normal)
3002 that you install the nss_winbind.so library included in this release.
3005 Support for Microsoft Print Migrator
3006 ====================================
3008 Samba 3.0.20 includes full support for migrating printers from
3009 Windows servers or other Samba servers via the Microsoft Print
3010 Migrator tool. Restoring printers requires a working "add printer
3011 command" defined in smb.conf. Current support also allows
3012 administrators to create a master list of printer drivers which
3013 can be restored in bulk on new (or existing) Samba installations.
3016 Asynchronous IO Support
3017 =======================
3019 Experimental support for async IO has been added to smbd for
3020 certain platforms. To enable this new feature, Samba must be
3021 compiled to include the --with-aio-support configure option.
3022 In addition, the "aio read size" and "aio write size" to non-zero
3023 values. See the smb.conf(5) man page for more details on these
3027 ######################################################################
3034 Parameter Name Action
3035 -------------- ------
3036 acl check permissions New
3037 acl group control New
3038 acl map full control New
3041 enable asu support New
3044 map to guest Modified (new value added)
3045 max stat cache size New
3046 min password length Removed
3047 printer admin Deprecated
3048 username map script New
3049 winbind enable local accounts Removed
3050 winbindd nss info New
3053 Changes since 3.0.14a
3054 ---------------------
3060 o Jeremy Allison <jra@samba.org>
3061 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
3062 * Ensure the old SMB search calls always ask mask_match() to
3063 translate patterns like ????????.???.
3064 * Split out the check_path_syntax() into a findfirst, findnext,
3065 & wildcard versions.
3066 * Fix checks for matching groups in an file ACL against the
3067 user's primary and supplementary group list.
3068 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
3069 LANMAN2 protocol, ensure the EA size is always correctly
3070 set on a query for a file with no EA's.
3071 * BUG 2551: Look at the incoming flags2 flag
3072 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
3073 uppercased on a SMBsearch request, not the protocol level.
3074 * Added "volume" command to smbclient that prints out the
3075 volume name and serial number.
3076 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
3077 * Add support for OS/2 Extended Attributes.
3078 * Correctly check OpenX open modes.
3079 * Ensure allocation size is correctly returned for OpenX.
3080 * Only set allocation on create/truncate for nttrans.
3081 * Fix oplock bug in trans2open() code.
3082 * Remove unix_ERR_XXX global nastiness.
3083 * Only do the strange DOS error for openX, not trans2open.
3084 * Ensure SMBopen replies includes the share modes as well as
3086 * BUG 2581: Add size limit (in kb) to stat cache.
3087 * Fix bug in the trans2 secondary processing.
3088 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
3089 * Add an SMB counter per connection struct for gathering
3091 * BUG 2605: Ensure smbclient doesn't perform commands if
3092 the "chdir" fails in a scripted set.
3093 * Ensure a 'forced group' is added to the list of effective
3094 gids when processing ACLs.
3095 * Refactor rpc_bind structures for better future work.
3096 * BUG 2942: Add missing value in debug message.
3097 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
3098 by 'mangling method = hash'.
3099 * Fix memory leaks in the msdfs trans2 server code.
3100 * Convert msdfs server to be talloc'd based.
3101 * Fix up stackable vfs interface.
3102 * Fix rpc fault when encountering an unknown rpc_bind auth
3104 * BUG 2954: More AIX 5.1 AIO compile fixes.
3105 * Fix valgrind bug in interaction with new aio buffer (found
3107 * BUG 2878: Fix Norton commander not running on OS/2 clients.
3108 * Cleanup SAMR user info structure naming.
3109 * BUG 2889: Fix directly listings from OS/2 clients.
3110 * Added "acl group control" parameter.
3111 * Add debug warning if AddPrinterEx() is called without having
3112 an 'add printer command' defined.
3113 * Add better log messages when modifying ldap entries.
3114 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
3115 when string is unaligned.
3116 * BUG 2918: Fix SMB chaining by ensuring that deferred open
3117 message buffer is nor reused.
3118 * Add support for client setting capabilities to select posix
3119 pathnames on the wire.
3120 * Stop using C++ reserved words so that Samba can be compiled
3121 using g++. Also allows VFS modules in C++.
3122 * More fixes to allow better large directory scaling.
3123 * BUG 2827: Ensure we call the vfs connection hook before
3124 doing a vfs stat. Allows database vfs backends to initialize
3125 with a working connection.
3126 * BUG 2826: Ensure the correct return value for symlink and
3127 readlink in the VFS.
3128 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
3129 * Added AIO support to smbd.
3130 * Add "acl map full control", true by default, to allow people
3131 to change mapping of rwx to full control or not.
3132 * Transition smbd to use NTcreate&X for internal file opens.
3133 * Add checks against the current effective group id (e.g. force
3134 user) when testing write permissions one ACLs.
3135 * Fix FindFirst/FindNext server code when parsing directories
3136 on old IRIX XFS file systems (thanks to Cale Fairchild
3137 for the debugging help).
3138 * BUG 2644: Test for special files to be ignored was reversed.
3139 * Ensure yield_connection() is called on all appropriate error
3141 * Fix EDEADLCK problem with deferred open calls.
3142 * BUG 2622: Remove DPTR_MASK as it makes no sense.
3143 * Fix the write cache based on some VERY good detective work
3145 * BUG 2346: Fix read-only excel file bugs.
3146 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
3147 return ENOSYS if not implemented.
3148 * Add new CAP for POSIX pathnames.
3149 * BUG 2703: Add NULL guard for disp_fields[0].
3150 * BUG 2681: With "strict allocate = yes" we now zero fill when
3151 a file is extended. Should catch disk full errors on write
3153 * Add "acl check permissions" to turn on/off the new
3154 behavior of checking for write access in a directory
3156 * Refactor printing interface to take offset into job.
3157 * Allow mapping of POSIX ACLs to NT perms to differentiate
3158 between directories and files.
3159 * Added encrypt/decrypt function for LSA secrets and trusted
3160 domain passwords on the wire.
3161 * BUG 2729: Resume keys are *mandatory* for a search when
3162 listing a W2K and above server from a FATxx filesystem only.
3163 * BUG 2735: Ensure that smbd mangles control characters in file
3164 and directory names.
3165 * Refactor small pieces of socket handling code (in conjunction
3167 * BUG 2698: Fix infinite listing loop in smbclient caused by
3168 an invalid character set conversion.
3169 * Add client code that will abort a directory listing if we
3170 see the same name twice between packets.
3171 * Performance improvements in trans2 qfilepathinfo code by
3172 removing unnecessary memset() calls.
3173 * Rewrite the RPC bind parsing functions to follow the
3174 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
3175 * BUG 2774: Set sparse flag if needed when returning
3177 * Fix errors listing directories from Windows NT clients
3178 which caused "." and ".." to show up in explorer.exe.
3179 * Merge of error code fixes from SAMBA_4_0 branch.
3180 * BUG 2801: Fix regression in the "delete veto files" option.
3181 * Fix based on work from Shlomi Yaakobovich to catch loops
3182 in corrupted tdb files.
3183 * Allow someone with SeTakeOwnershipPrivilege to chown the
3184 user of a file to herself.
3185 * Fix minor compiler warnings in printing/printing.c.
3186 * Merge new DOS error code from SAMBA_4.
3187 * Fix issue when non-English characters in filenames and
3189 * Fix bogus error message in smbstatus about unknown share modes.
3192 o Andrew Bartlett <abartlet@samba.org>
3193 * Support raw NTLMSSP authentication for Windows Vista
3195 * Fix parallel NTLMSSP processing by removing global state.
3196 * BUG 2684: Add per service hosts allow/deny checks for
3197 printers when connecting via MS-RPC.
3198 * BUG 2391: Fix segv caused by free a static pointer returned
3200 * Support Kerberos authentication in smbd when using a keytab
3201 and participating in a non-Microsoft Kerberos realm.
3204 o Timur Bakeyev <timur@com.bat.ru>
3205 * BUG 2546: Add support for FreeBSD EA API
3206 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
3207 * BUG 2908: Fix string length logic error in msdfs code.
3208 * BUG 2909: Fix typo that caused smbd to call the wrong
3212 o Ed Boraas <ed.boraas@concordia.ab.ca>.
3213 * Added Linux per-socket TCP settings.
3216 o Gerald (Jerry) Carter <jerry@samba.org>
3217 * Added support for \svcctl pipe rpcs.
3218 * Added 'net rpc service' subcommand for managing Win32
3220 * Refactoring work on the rpc [un]marshalling layer and
3222 * Verify privilege name in 'net rpc rights privileges' in
3223 order to provide better error messages.
3224 * Cleanup rpc structures in rpc_spoolss.h.
3225 * Cleanups and fixes for the \winreg server code.
3226 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
3227 * Fix bugs in client spoolss code after refactoring work.
3228 * Fix Valgrind warnings of invalid reads in the spoolss
3230 * Fixed a segv when enumerating services on a Samba host.
3231 * Fix segv in the service control server code.
3232 * Fix crashes in client spoolss calls caused by not checking
3233 for a valid pointer from the caller.
3234 * Fix regression in DeleteDriver() server routines.
3235 * Fix dup_a_regval() when size is 0.
3236 * Fix usrmgr.exe crash when viewing user properties at
3238 * Do not enumerate any privileges when 'enable privileges = no'
3239 and log a message if a client tries.
3240 * BUG 2872: Fix cut-n-paste error when checking pointer value
3241 in ntlmssp_set_workstation().
3242 * Fix upgrade path from earlier nt*tdb files.
3243 * Removed print handle object cache.
3244 * BUG 2853: Don't strip out characters like '$' from printer
3245 names when substituting for the lpq command.
3246 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
3247 * Fix build issues on x86_64-linux systems caused by valgrind
3248 headers. Thanks to Bent Vangli to the suggestions.
3249 * Refactor spoolss client calls.
3250 * Adding 'username map script'.
3251 * Disable schannel on the LSA and SAMR pipes in winbindd client
3252 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
3253 * Cleanup of winreg API functions.
3254 * Add server stubs for RegSetKeySec() and RegGetKeySec().
3255 * Map generic bits to specific bits in reg_open_entry()
3257 * Add write support to registry tdb and printing backends.
3258 * Use tdb lookups rather than hard-coding certain registry
3259 value names and data.
3260 * BUG 2808: don't try to install man pages if they are not
3262 * Fix initialized variables reported by valgrind.
3263 * Normalize key lookups in ntprinters.tdb.
3264 * Mark "enumports command" as deprecated.
3265 * Add missing class file for python share command example.
3266 * Fix smbclient build issue on Solaris.
3267 * BUG 2626: ensure that the calling_name is set to something
3268 after parsing smb.conf (if not set via -n).
3269 * Use "add machine script" when creating a user (ACB_NORMAL)
3270 who has a name ending in '$' (e.g. usrmgr.exe creating
3271 domain trust accounts).
3272 * Add 'rid' synonym for idmap_rid IDMap module.
3273 * Ensure that we set full access on the handle returned
3274 from _samr_create_dom_{alias,group}() so that future
3275 set_{alias,group}() commands succeed.
3276 * Fix bug when looking for internal domains in winbindd
3277 (caused winbindd_getgrgid() for local groups to fail).
3278 * Fix query and set alias info calls (level 1 from the MMC
3279 manage computer plug-in.
3280 * Remove bogus log messages about unknown specversions.
3281 * BUG 2680: copy files from an MS-DFS win2k root share
3282 * BUG 2688: re-implement support for the -P (--port) option
3283 * Support connecting to an 'msdfs proxy' share on a Samba
3285 * Strip the directory path from cups command line printing
3287 * Fix bug that prevented smbclient from creating directories
3289 * Deprecate the "printer admin" parameter in favor of the
3290 SePrintOperatorPrivilege.
3291 * Add the capability to read and write WinNT regf registry
3293 * Implement access checks for RegOpenXXX() server calls.
3294 * Extend registry client rpc calls.
3295 * Add "net rpc registry" set of commands.
3296 * Remove testprns tool.
3297 * Ensure that printer ACLs use the specific bits as well as
3298 the generic bits. Upgrade existing ntprinters.tdb SECDESC
3300 * Add server support for RegSaveKey() for dumping registry
3301 trees to a regf file.
3302 * Add "enable asu support" smb.conf parameter.
3303 * Merge various small file changes from trunk.
3304 * Remove "winbind enable local accounts" support.
3305 * Remove "ldap filter" smb.conf option.
3306 * Remove editreg utility (needs to be rewritten using regfio.c).
3307 * Fix build failure when running 'make torture' without first
3308 running 'make all' first.
3309 * BUG 1261: Remove unusable libbiconv from iconv detection
3311 * Add new option for "map to guest". "Bad Uid" re-enables the
3312 Samba 2.2 behavior of mapping authenticated users to the
3313 guest account if there does not exist a valid Unix account
3314 for the Windows domain user (based on patch from
3315 aruna.prabakar@hp.com).
3316 * Fix a couple of regressions after introduction of new winbindd.
3317 * Fix smbpasswd user password change (still worked by bad error
3318 messages) due to trying to strdup a NULL pointer.
3319 * Implement default security descriptors for the
3320 OpenService[Manager]() calls and check requested access mask
3322 * Include access checks on handle mask for \svcctl operations
3323 such as ControlService() and StartService().
3324 * Implement simulated start and stop service control for
3325 the spooler service as a per smbd service state value.
3326 * Add interface structure for controlling service via rc.init
3327 scripts (incomplete).
3328 * Convert move_driver_to_download_area() to use copy_file()
3329 rather than moving the files.
3330 * Add version number to registry.tdb file since it can be
3332 * Remove over-paranoid assert() call when checking spoolss
3334 * Fix error in EnumPrinterData() reported by valgrind.
3335 * Fix broken help links in SWAT editor caused by new doc layout.
3336 * Ensure that a domain structure in winbind is initialized prior
3337 to assigning the methods for communicating to a DC.
3338 * BUG 3000: Remove background updates of winbind cache and allow
3339 child processes to immediately update and expired cache entry.
3342 o David.Collier-Brown <David.Collier-Brown@sun.com>
3343 * Added panic action script for Solaris.
3346 o Jeremy Cooper <jeremy@ncircle.com>
3347 * Added support for several new \winreg client rpcs.
3350 o <core@road-star.jp>
3351 * BUG 2792: Ensure the shadow copy module hooks seekdir,
3352 telldir, rewinddir to match updated large directory code.
3355 o Guenther Deschner <gd@samba.org>
3356 * Close handles on group creation in rpcclient to better
3357 support mass group account creation.
3358 * Fix account policy key lookup for minimum and maximum
3360 * Fix some compiler warnings and add missing exclude-block
3361 in 'net rpc share migrate'.
3362 * Allow use of a non-default smb.conf by rpcclient.
3363 * Fix querydispinfo search semantics in rpcclient test code.
3364 * Fix querydispinfo server semantics to allow to list more
3366 * Fix server crash bug in ancient OpenPrinter() call.
3367 * Fix a crash bug when enumerating privileges via the LSA
3369 * Fix crash in EnumPrinterKey() client calls caused by previous
3371 * Various compiler warning fixes.
3372 * Fix segfault in the client AddPrinterEx-call of 'net
3374 * Fix build issues when --with-aio-support is enabled.
3375 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
3376 * Honour the CC environment variable in python build.
3377 * Fix searches in pdb_ldap for inter-domain trust accounts.
3378 * Don't expand the %L in %LOGONSERVER% from user attributes.
3379 * Fix bug in 'net rpc vampire' that caused accounts to be created
3380 with no assigned ACB flags.
3381 * Fix enumeration of builtin-aliases.
3382 * Avoid unset rids for builtin-aliases.
3383 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
3384 * More "net rpc share migrate" fixes.
3385 * Merge PADL's idmap_ad plugin (taken from the latest
3386 xad_oss_plugins-tarball).
3387 * Add support for "idmap backend = ad" when "security = ads".
3388 * Add home directory and shell support from AD via "winbindd nss
3389 support = sfu" and "security = ads".
3390 * Provide better feedback when we fail share-manipulation
3391 due to missing scripts.
3392 * Correctly substitute "\" as default winbind separator in
3393 generate_parm_table.py example share command script.
3394 * Document pam_winbind.c to clarify the working status of
3395 require-membership-of option.
3396 * Added client-support for various lsa_query_trust_dom_info()
3397 calls and a rpcclient-tester for some info-levels.
3398 * Add "net rpc trustdom vampire" tool (in conjunction with
3400 * Add missing cli_srvsvc_net_share_set_info-function and
3401 rpcclient-testers (in preparation for net share acl migration).
3402 * Print trusted domain passwords returned via rpcclient in
3404 * Error code fixes when attempting to manipulating
3405 non-existent shares.
3406 * Cleanup "net share migrate" code.
3407 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
3409 * Allow admins to uncheck the "User must change Password at
3410 next Logon" checkbox in User manager (merge from trunk).
3413 o Renaud Duhaut <rd@duhaut.com>
3414 * BUG 1040: Add directory_mode parameter when creating recycle
3418 o Steven Edwards <steven_ed4153@yahoo.com>.
3419 * Use chsize() if we don't have ftruncate().
3422 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
3423 * BUG 1780: Add Kerberos (file based ticket cache) support
3427 o Steve French <sfrench@us.ibm.com>
3428 * Update list of mount options for mount.cifs.
3429 * Add more defines for POSIX extensions to match the newly
3430 added client implementation.
3431 * Add initial support for cifs umount utility.
3432 * Fix cifs mounts to handle commas embedded in prompted
3433 password, and password and credential files.
3434 * Fix cifs mounts to handle domain name and user name in
3435 username field (in form domain\user).
3436 * Add missing error code mappings when a client unsuccessfully
3437 tries to create a hard-link.
3438 * Add support so umount.cifs can update mtab.
3439 * Add two newer mount options to syntax help for mount.cifs.
3440 * Add missing remount flag handling.
3441 * Allow domain= to be specified in credentials file.
3442 * Fix umount.cifs help, allow root to unmount someone else's
3444 * Lock mtab when updating it during umount.cifs, also delete
3445 only one matching entry at a time.
3446 * Fix minor compiler warnings in the mount.cifs helper.
3449 o Deryck Hodge <deryck@samba.org>
3450 * BUG 2137: Encode quotes for display in HTML (original patch
3454 o Olaf Imig <Olaf.Imig@bifab.de>
3455 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
3457 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
3460 o Björn Jacke <bj@sernet.de>
3461 * Added ioctl constants reported by msbackup.exe and filemon.exe.
3464 o Kevin Jamieson <bugzilla@kevinjamieson.com>
3465 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
3468 o John Janosik <jpjanosi@us.ibm.com>
3469 * BUG 2077: Correctly fill in the correct server name when
3470 processing trusted domain logins.
3471 * BUG 2976: Mark logons for unknown domains with a
3472 non-authoritative response.
3475 o William Jojo <jojowil@hvcc.edu>
3479 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3480 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
3484 o Tom Lackemann <cessnatomny@yahoo.com>
3485 * BUG 2242: Patch to ensure that we only set the security
3486 descriptor on an NTtransact create if we created the file.
3489 o Volker Lendecke <vl@samba.org>
3490 * Port some of the non-critical changes from HEAD to 3_0.
3491 The main one is the change in pdb_enum_alias_memberships
3492 to match samr.idl a bit closer.
3493 * Close handles on user creation in rpcclient to better
3494 support mass user account creation.
3495 * Implement client RAP calls for enumusers/enumgroups level 0.
3496 * Implement a new caching API for enumerating the pdb elements.
3497 * Convert the RAP user and group enumeration functions to the
3498 utilized the pdb_search API.
3499 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
3500 RestrictAnonymous environments.
3501 * Internal passdb API changes for better search capabilities
3502 (based on original work by Guenther Deschner).
3503 * Fix various compiler warnings.
3504 * Add chain length statistics to tdbtool.
3505 * Fix set afs ACL calls on files and directories in the root of
3507 * Refactoring work on internal open code
3508 * Correctly initialize the version in a new set of nt*tdb files.
3509 * Remove smb_run_idle_events() from main process loop in smbd
3510 and instead rely upon the timeout processing to handle
3511 dropping idle LDAP connections.
3512 * Fix the bug where users show up as trusting domains.
3513 * Fix an assertion failure in winbindd.
3514 * Fix a memleak in vfs_afsacl.
3515 * Various compiler warning fixes.
3516 * Fix compile when --enable-socket-wrapper is defined.
3517 * Fixes for top level acls in vfs_acl.c.
3518 * Refactor passdb interface functions.
3519 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
3520 * Correct 2 segv's in "net rpc printer migrate".
3521 * Return correct group type from smbd for BUILTIN groups.
3522 * Backport the talloc() layer from Samba 4.
3523 * BUG 2701: Fix segv in ldap reconnection code.
3524 * BUG 2705: Fix segv when connecting from usrmgr.exe.
3525 * Use the SID in the user token for the %s expansion in 'afs
3527 * Memory leak fixes in passdb code.
3528 * BUG 2720: Fixes for "net usersidlist".
3529 * BUG 2725: Fix segv in "net ads user".
3530 * Only allow schannel connections if a successful Auth2
3531 has been previously performed.
3532 * Don't look at gencache.tdb for the trusted domains if
3534 * Rewrite winbindd using an asynchronous process model.
3537 o Herb Lewis <herb@samba.org>
3538 * Compiler warning cleanups.
3539 * smbwrapper Makefile and compile time check cleanups.
3540 * Adding robustness checks for tdbdump and tdbtool.
3541 * Extend tdb command line parsing to arbitrary hex characters.
3542 * Add LOCKING debug class.
3543 * Fix more compiler warnings.
3546 o Derrell Lipman <derrell@samba.org>
3547 * add support for opening a file for write with O_APPEND
3549 * Added smbsh/smbwrapper for Linux to example/libsmbclient
3551 * Fix smbc_stat() from returning incorrect timestamps IFF
3552 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
3553 and not if it used cli-getatr() to retrieve the timestamps
3555 * Fix handful of compiler warnings.
3556 * BUG 2498, 2484: smbc_getxattr() fixes.
3557 * BUG 1133: Added provision for overloading some global
3558 configuration options via the new, per-user file
3559 ~/.smb/smb.conf.append.
3560 * BUG 2543: Properly cache anonymous username when reverting
3561 to anonymous login, in libsmbclient.
3562 * BUG 2505: Fix large file support in libsmbclient.
3563 * BUG 2564: Ensure correct errno when smbc_opendir() was called
3564 with a file rather than a directory.
3565 * Correct deprecated lvalue casts in testsuite/libsmbclient.
3566 * BUG 2663. cli_getattrE() and cli_setattrE() were not
3567 formatting or parsing the timestamp values correctly.
3568 * Correctly detect AF_LOCAL support in configure.
3569 * Fix problem updating file times on Windows 98 hosts using
3571 * Fix compile breakage on Solaris by eliminating the use of
3572 ctime_r() in libsmbclient DEBUG statement.
3575 o Jason Mader <jason@ncac.gwu.edu>
3576 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
3577 * Various compiler warning fixes about mistyped variables.
3578 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
3580 * BUG 2527, 2538: Removed unused variables.
3583 o Marcel <samba.10.maazl@spamgourmet.com>
3584 * Fix regression in OS/2 trans2 open code.
3587 o Jim McDonough <jmcd@us.ibm.com>
3588 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
3589 (in conjunction with Volker).
3590 * BUG 2953: Prevent the credentials chain on DC gets out
3591 of sync with client when NT_STATUS_NO_USER is returned.
3592 * Added subcommands to "net rpc vampire" (mostly done by Don
3593 Watson <dwatson@us.ibm.com>) to allow data to be put into an
3594 ldif file instead of actually writing to the passdb.
3595 * BUG 2736: Add retries to workaround winbind race condition
3596 with detecting idle clients.
3597 * BUG 2953: Additional fixes for domain trusts. Also clears
3598 up the "bad stub" error when attempting to logon to a Samba
3599 domain with a bad username.
3602 o Luke Mewburn <lukem@NetBSD.org>
3603 * Compiler warning fixes.
3606 o Kalim Moghul <kalim@samba.org>
3607 * Removed unused printmode command from smbclient.
3610 o Lars Müller <lmuelle@samba.org>
3611 * Re-enable the VERSION_REVISION option in case of another
3613 * Fix spoolss python bindings after C++ compiler changes and
3615 * BUG 2659: Don't trump on memory in smbtorture.
3616 * BUG 2060: Add -fPIC which is the case for all other Samba
3618 * Fix argv parsing in "net rpc".
3619 * Add support to create position independent executable (PIE)
3620 code if the compiler supports it.
3621 * BUG 2767: Add new options to testparm (--show-all-parameters,
3622 --parameter-name, and --section-name).
3623 * Fix net share migrate files to also migrate the ACLs of
3624 the top level dir of a share.
3627 o Marcel Muller <mueller@maazl.de>
3628 * Patch to fix the OS/2 EA_FROM_LIST info level call.
3629 * Mangled names fix for OS/2 clients.
3630 * Ensure we correctly set the return packet size to include the
3631 pad bytes in reply_readbmpx().
3632 * Fix for bug in SMBwriteBraw that incorrectly returned the
3633 number of bytes written.
3636 o Ricky Nance <ricky.nance@gmail.com>
3637 * Implemented mklogon script generator for domain logon scripts.
3640 o James Peach <jpeach@sgi.com>
3641 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3642 * BUG 2285: Patch for hires timestamps and efficient notify code.
3643 * MS-DFS tidyup patches.
3644 * Build fixes on IRIX.
3645 * IRIX compiler warning fixes.
3646 * BUG 2596: Fix become_root link issues and one IRIX stack
3648 * Fix for null pointer ACL free.
3649 * BUG 2314: Fix const compiler warnings in the quota code.
3652 o Ed Plese <ed@edplese.com>
3653 * Fix faulty logic which caused winbindd to return failure
3654 when a user possessed no supplementary groups.
3657 o Marcin Porwit <mporwit@centeris.com>
3658 * Initial support for the \eventlog pipe.
3659 * Fix a memleak in the eventlog code.
3660 * Miscellaneous fixes for Samba's experimental event log support.
3661 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
3665 o Tim Potter <tpot@samba.org>
3666 * BUG 2940, 2943: Fixed various compiler warnings regarding
3667 mismatched types and unused variables.
3668 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3669 * BUG 2733: Fix incorrect SHLIBEXT is set when running
3670 configure script on HPUX IA.
3671 * Remove unused autoconf #define's.
3672 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3673 * Removed unused function declarations in tdb.h.
3674 * BUG 2895: Don't wrap non-existent functions in the python
3676 * BUG 2623, 2630: $< and $* are not valid in explicit rules
3678 * BUG 2560: Fix compile error lurking where PATH_MAX is not
3680 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3681 * BUG 2611: Add fflush(stdout) after displaying username prompt
3682 in smbsh if username not specified on command line.
3683 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
3684 * BUG 2808: Update install swat message to reflect the fact
3685 that swat/README no longer exists.
3688 o Denis Sbragion <d.sbragion@infotecna.it>
3689 * BUG 2196: Allow absolute path (system wide) recycle bin.
3692 o Fernando Schapachnik <fernando@mecon.gov.ar>
3693 * Add logon hours support for the Postgres backend.
3696 o Richard Sharpe <rsharpe@samba.org>
3697 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
3699 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
3700 * BUG 2362: Quota support fix for DragonFly.
3701 * Fix dragonfly detection in configure.
3704 o Simo Sorce <idra@samba.org>
3705 * Allow Domain Admins to force user sessions to close via the
3706 Windows Server Manager.
3707 * Add support to 'net rpc right privileges <name>' to enumerate
3708 accounts which possess a specific privilege.
3709 * Fix memory issues issues in vfstest (reported by Rainer Link).
3710 * Randomize reloading as to not overload cupsd.
3713 o Smitty <smitty@plainjoe.org>
3714 * Compile fixes for smbget when using --enable-developer.
3715 * Include LUID values to match Windows privileges since
3716 apparently this matters to printmig.exe
3719 o John Terpstra <jht@samba.org>
3720 * Solaris packaging fixes.
3721 * Clean up usage help text in "net rpc user"
3724 o Andrew Tridgell <tridge@samba.org>
3725 * Merge socket wrapper library fixes from Samba 4.
3728 o Brett Trotter <blt@iastate.edu>
3729 * Fix definition of global_sid_* in vfs_acl.c.
3732 o Mark Weaver <mark-clist@npsl.co.uk>
3733 * Patch to fix sys_select so it can't drop signals if another
3734 fd is ready to read.
3737 o Jelmer Vernooij <jelmer@samba.org>
3738 * Remove --with-manpage-languages configure option.
3739 * Merge socket wrapper fixes for IRIX systems from the
3741 * Add socket_wrapper library to 3.0. Can be enabled by passing
3742 --enable-socket-wrapper to configure.
3743 * Fix build of the various sql pdb backends after new talloc.
3746 o Qiao Yang <qyang@stbernard.com>
3747 * Use our own DC when getting the SID for a domain.
3751 Release Notes for older release follow:
3753 --------------------------------------------------
3754 ===============================
3755 Release Notes for Samba 3.0.14a
3757 ===============================
3759 Common bugs fixed in 3.0.14a include:
3761 o Compatibility issues between Winbind and Windows 2003 SP1
3762 domain controllers (*2k3sp1*).
3763 o MS-DFS errors with Windows XP SP2 clients.
3764 o High CPU loads caused by infinite loops in the FindNext()
3766 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
3770 ######################################################################
3774 Changes since 3.0.14
3775 --------------------
3779 o Jeremy Allison <jra@samba.org>
3780 * Fixed invalid SMB_ASSERT() triggered by checking access on
3784 Changes since 3.0.13
3785 --------------------
3790 Parameter Name Action
3791 -------------- ------
3792 dos filetimes Enabled by default
3797 o Jeremy Allison <jra@samba.org>
3798 * Prevent nt_status code support when negotiating protocols
3800 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
3801 as this SMB is DOS codepage only.
3802 * BUG 2585: Fix printf() issues in smbpasswd which caused
3804 * BUG 2563: Fix infinite loop on non-existent file with
3806 * BUG 2581 (partial): Ensure if realloc fails on an internal
3807 tdb we fail gracefully.
3808 * Ensure that 'dos filetimes' works with ACLs.
3809 * Set 'dos filetimes = yes' as the default for smb.conf.
3812 o Gerald (Jerry) Carter <jerry@samba.org>
3813 * Workaround autoconf issue to prevent debug symbols from
3814 being included in the default build.
3815 * Disable schannel on the \lsarpc pipe in order to successfully
3816 enumerate users and groups (*2k3sp1*)
3817 * Fix parsing error in rpc binds which broke NTLMSSP
3818 authentication. And as a result broke CTL+ALT+DEL password
3819 changes from a Windows 2003 SP1 member of a Samba domain
3821 * Revert change to FindFirst() server code that broke WinXP
3822 SP2 clients from launching *.exe files from a dfs target
3824 * BUG 2588: Force smbclient to send netbios messages to port
3825 139 unless otherwise instructed (based on patch from Thomas
3829 o Volker Lendecke <vl@samba.org>
3830 * Fix build on FreeBSD 4 where Winbind is not supported.
3831 * Fix 'wbinfo --user-sids' when using domain local groups.
3832 * Restrict domain local groups reported by 'wbinfo -r' to
3833 the Samba server domain and not the users domain.
3836 o Lin Li <linl@xandros.com>
3837 * Ensure that winbind initializes internal trusted domain
3838 structures when enumerating users and groups.
3841 o Tim Potter <tpot@samba.org>
3842 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
3844 * Fix compiler warnings.
3847 o <psz@maths.usyd.edu.au>
3848 * Fix for possible root squash NFS bugs.
3851 o Simo Sorce <irda@samba.org>
3852 * Debian packaging fixes.
3855 --------------------------------------------------
3856 ==============================
3857 Release Notes for Samba 3.0.13
3859 ==============================
3861 Common bugs fixed in 3.0.13 include:
3863 o Infinite FindNext() loop from Windows 9x client when
3864 copying or deleting files on a Samba file share using
3866 o Numerous smbclient bugs when listing directories.
3867 o Failures in smbclient when connecting to a Windows 9x
3871 ######################################################################
3875 Changes since 3.0.12
3876 --------------------
3878 o Jeremy Allison <jra@samba.org>
3879 * Fix typo bug in smbclient where flags overwrote info level
3880 in the cli_list_new().
3881 * Fix old smbclient bug where ff_searchcount was being compared
3882 to -1 resulting in processing a filename twice.
3883 * Fix segv in smbclient caused by overwriting the last 2 bytes
3885 * BUG 2530: Fix potential segv in smbclient when talking to a
3886 Windows 9x file server.
3887 * Fix last entry offset in cli_list_new() when using a
3888 FindFirst/FindNext info level of 0x104.
3889 * BUG 2501: Stop Win98 from looping doing FindNext on a
3890 singleton directory.
3891 * BUG 2521: Fix error in access checks when user group ACLs.
3894 o Gerald (Jerry) Carter <jerry@samba.org>
3895 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
3896 to delete all versions of a driver.
3897 * BUG 2517: use the realm from smb.conf for 'net ads info' when
3898 'disable netbios = yes'.
3899 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
3901 * Update RedHat packaging files to require cups support. Also
3902 remove requirement for 'idmap {uid,gid}' settings in smb.conf
3903 from winbindd init script.
3904 * BUG 2516: fix compile issue on True64.
3908 o Guenther Deschner <gd@samba.org>
3909 * Check for the correct cli-struct when copying files in 'net
3910 rpc printer' routines.
3913 o Herb Lewis <herb@samba.org>
3914 * Fix incorrect test in 'net rpc user' when the user is not
3915 a member of any groups.
3918 o Jim McDonough <jmcd@us.ibm.com>
3919 * Make sure that enum_group_members() searches the correct suffix.
3922 --------------------------------------------------
3923 ==============================
3924 Release Notes for Samba 3.0.12
3926 ==============================
3928 Common bugs fixed in 3.0.12 include:
3930 o Winbind failures when using 'disable netbios = yes'
3931 o Failure to establish a trust relationship via 'net rpc trust
3933 o Various portability & compiler issues.
3934 o Read only file deletion failure caused by new delete semantics
3935 in Windows XP SP2 and the MS 04-044 security hotfix.
3936 o Error messages from shared Excel workbooks residing on Samba
3938 o Missing files in the output of smbclient -c 'dir' when run
3939 against Windows file servers.
3940 o Inability for Print Administrators to pause/resume/purge print
3943 Additional features introduced in Samba 3.0.12:
3945 o Performance enhancements when serving directories containing
3946 large number of files.
3947 o MS-DFS support added to smbclient.
3948 o More performance improvements when using Samba/OpenLDAP based
3949 DC's via the 'ldapsam:trusted=yes' option.
3950 o Support for the Novell NDS universal password when using the
3951 ldapsam passdb backend.
3952 o New 'net rpc trustdom {add,del}' functionality to eventually
3953 replace 'smbpasswd {-a,-x} -i'.
3954 o New libsmbclient functionality.
3958 =======================
3959 Large Directory Support
3960 =======================
3962 Samba 3.0.12pre1 introduces a specific mechanism for dealing
3963 with file services that frequently contain a large number of files
3964 per directory. Historically Samba's performance has suffered
3965 in such environments due to the translation from case
3966 insensitive lookups by Windows client to the case sensitive
3967 storage mechanisms used by UNIX filesystems.
3969 Configuration details along with a short HOWTO can be found at:
3971 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
3974 ==================================
3975 libsmbclient Binary Compatibility
3976 ==================================
3978 Please note that a change has been made to the _SMBCCTX structure
3979 in source/include/libsmbclient.h. This change is not backwards
3980 compatible with applications linked against the libsmbclient.so
3981 library from Samba 3.0.11. However, it is compatible with all
3982 other Samba 3.0.x releases. This means that it will be most likely
3983 be necessary to recompile any applications linked against the
3984 3.0.11 version of the library.
3987 ######################################################################
3994 Parameter Name Action
3995 -------------- ------
3996 allocation roundup size New
3997 log nt token command New
3998 write cache Deprecated
4002 Changes since 3.0.11
4003 --------------------
4007 o Jeremy Allison <jra@samba.org>
4008 * BUG 2146: Return correct allocation sizes so as not to crash
4010 * BUG 962: Ensure that parsing of service names in smb.conf is
4012 * BUG 2201, 2227: Support new delete semantics used by MS04-044
4014 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
4015 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
4016 * Add special hooks when serving directories containing large
4018 * Ensure that WINS negative name query responses and WACK
4019 packets use the correct RR type of 0xA instead of reflecting
4020 back what the query RR type was (0x20).
4021 * BUG 2310: Only do 16-bit normalization on small dfree request.
4022 * BUG 2323: Correct authentication failure when using plaintext
4023 passwords from Windows XP clients.
4024 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
4025 work around issues building MS Visual Studio 6.0 project
4026 on a Samba file share while restoring the pre-3.0.21pre1
4027 behavior by default.
4028 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
4029 stat when checking for existence of a pathname.
4030 * Check the sticky bit on the parent directory for supporting
4031 the new WinXP SP2 file deletion semantics.
4032 * Various oplock, share mode, and byte range locking fixes
4033 found by Connectathon tests.
4034 * BUG 2271: Fix resume key issues in trans2FindFirst() client
4035 code (inspired by patch from Satwik Hebbar).
4036 * BUG 2382, 2045: More pending modtime and delayed write fixes
4037 for MS Excel (incorporates partial patches from
4038 ke_miyata@itg.hitachi.co.jp).
4039 * Debug log message cleanups.
4040 * Add case insensitive search for a principal match on logon
4041 verification in the system keytab (based on patch by
4042 Michael Brown <mbrown@fensystems.co.uk>).
4043 * Revert the previous SMB signing change from Nalin Dahyabhai
4044 when using DES keys.
4045 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
4046 * Fix FindFirst() server code to deal with resume names of ".."
4047 and "." (found by Jim McDonough).
4048 * BUG 2451: Fix missing functions in full audit VFS module.
4049 * Ensure that smbd logs failures reported by DISK_FREE()
4050 (reported by Ying Li <ying.li2@hp.com>).
4051 * Ensure that smbclient obeys the max protocol argument again.
4052 * BUG 2335: Return correct error code for OS/2 clients (based on
4053 negotiated protocol level).
4054 * BUG 2460, 2464: remove dead code and unused variables
4055 (reported by Jason Mader).
4058 o Andrew Bartlett <abartlet@samba.org>
4059 * Avoid length-limited intermediate copy of NT and LM responses
4061 * Debug message cleanups in the NTLMSSP implementation.
4064 o Manuel Baena <mbaena@lcc.uma.es>
4065 * Print actual error message in smbmnt.c:fullpath().
4068 o Vince Brimhall <vbrimhall@novell.com>
4069 * Add support for Novell NDS universal password.
4070 * BUG 2424: Ensure that uidNumber and gidNumber use match
4072 * BUG 2453: Change the way pdb_nds.c handles users with no
4073 Universal or Simple Password.
4074 * NDS schema file corrections.
4077 o Gerald (Jerry) Carter <jerry@samba.org>
4078 * Add trans2 client call for checking dfs referrals
4079 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
4080 when checking directories on modern CIFS servers.
4081 * Add MS-DFS support to smbclient.
4082 * Code cleanup of adt_tree.[ch].
4083 * Add missing checks to allow root to manage user rights.
4084 * Allow domain admins to manage rights assignments on domain members
4086 * BUG 2333: Use the lpq command to pass in the correct printer name
4087 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
4089 * BUG 1439: make sure to initialize pointer to prevent invalid
4091 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
4093 * Add cups-devel to BuidlRequires directive in Fedora spec file.
4094 * BUG 858: Fix order of popt args evaluation so we don't crash
4095 when given no command line args.
4096 * Remove dependency on bash for source/autogen.sh.
4097 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
4098 * Implement MS-DFS for recursive directory listings in smbclient.
4099 * BUG 2394: Fix nmbd linking issue on IRIX.
4100 * Only display the publish check box in the client's printer
4101 properties dialog if we are a member of an AD domain.
4102 * BUG 2363: allow 'in use' driver to be removed as long as
4103 one 'Windows NT x86' driver remains.
4104 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
4106 * Enforce better printer.tdb cache consistency when removing
4107 jobs from a print queue via SMB.
4108 * Ensure that pause/resume/purge print queue commands are run
4109 with the appropriate level of privilege necessary to actually
4111 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
4112 for 'printing = cups' installations that do not actually have
4114 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
4115 * BUG 2215: Rewrite questionable code that was causing gcc to
4117 * Add server support for LsaLookupPrivValue().
4118 * Various small compile fixes and cleanup warnings.
4119 * BUG 2456: Fix compile failure on non-gcc platforms due to
4120 non-standard pragma.
4123 o Kevin Dalley <kevin@kelphead.org>
4124 * BUG 2398: Don't force smbclient to assume a dry run if the
4125 target tarfile is /dev/null.
4128 o Guenther Deschner <gd@samba.org>
4129 * Fix crash bug in the client-spoolss enumdataex-call.
4130 * Expand the valid-workstation-scheme by expanding names
4131 beginning with a plus (+) as a unix group.
4132 * Allow own netbios name to be set in smbclient's session setup.
4133 * Better handling of LDAP over IPC connections that have expired
4135 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
4136 * Add examples/misc/adssearch.pl.
4137 * BUG 2343: Build fixes.
4138 * Support get_user_info_7 in SAMR server RPC.
4139 * Fix server_role in the samr_query_dom_info calls.
4140 * Add example perl script to check for multiple LDAP entries
4141 after running 'net rpc vampire'.
4142 * Add more output when listing printer forms via rpcclient.
4143 * Debug log message cleanup.
4146 o Steve French <sfrench@us.ibm.com>
4147 * On failed mount (ENXIO) retry share name in uppercase (fix
4148 mount to FastConnect AIX SMB server).
4149 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
4150 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
4151 it with a user name.
4152 * Update for new CIFS POSIX info levels.
4153 * Ignore users mount parm in mount.cifs.
4155 o SATOH Fumiyasu <fumiya@samba.gr.jp>
4156 * BUG 1549: Don't truncate service names in smbstatus.
4159 o William Jojo <jojowil@hvcc.edu>
4160 * BUG 2445: Patch to avoid default ACLs on AIX.
4163 o S Murthy Kambhampaty <smk_va@yahoo.com>
4164 * Add idmap_rid module to Fedora and RedHat spec files.
4167 o Volker Lendecke <vl@samba.org>
4168 * BUG 2401: Flush internal getpwnam() cache after deleting a
4170 * BUG 1604: Make winbind work with more than 10 trusted domains.
4171 * Cleanup various compiler warnings.
4172 * Fix a memory leaks in privileges code and passdb backends.
4173 * Fixes for samr_lookup_sids() client call.
4174 * Optimize _samr_query_groupmem with LDAP backend for large
4176 * Support SIDs as %s replacements in the afs username map
4178 * Add 'log nt token command' parameter. If set, %s is replaced
4179 with the user sid, and %t takes all the group sids.
4180 * Do not use the "Local Unix Group"-default description for
4181 all kinds of group-mappings.
4182 * Fix uninitialized variable in Linux nss_winbind library.
4183 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
4184 * Implement 'net afs impersonate'.
4187 o Herb Lewis <herb@samba.org>
4188 * Fix build problem when HAVE_POSIX_ACL is not defined.
4189 * BUG 2417: Add help lines for net rpc group addmem and
4193 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
4194 * Add support to libsmbclient for getting and setting DOS
4195 attributes using EA functions.
4196 * Fix libsmbclient's URL encoding/decoding.
4197 * Replace browse listing URI queries with an internal options
4198 structure (previous method violated the SMB URI syntax).
4199 * Allow tree connects to be multiplexed over a single CIFS server
4201 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
4202 can determine a dead tree connection.
4203 * Implement better solution for backwards binary compatibility
4204 in libsmbclient while adding new fields to struct _SMBCCTX.
4207 o Mark Loeser <halcy0n@gentoo.org>
4208 * BUG 2443: Compile fix for gcc4.
4211 o Jim McDonough <jmcd@us.ibm.com>
4212 * BUG 2338: Fix coredump when OS/2 checks for long file name
4213 support (with .+,;=[].) (thanks to Guenter Kukkukk).
4216 o Jason Mader <jason@ncac.gwu.edu>
4217 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
4221 o Jim McDonough <jmcd@us.ibm.com>
4222 * Fixes for server schannel implementation when 'restrict
4223 anonymous = 1' is set in smb.conf.
4224 * Fix bug in server side lookupsids reply that crashed lsass.exe
4226 * Fix 'net rpc trustdom establish'.
4227 * BUG 2062: Turn off broadcast for all 390 NICs.
4228 * Fix 'net rpc trustdom add' to correctly add new domain trust
4229 accounts. This will eventually replace 'smbpasswd -a -i'.
4230 * Implement 'net rpc trustdom del', including client side of
4231 samr_remove_sid_from_foreign_domain.
4232 * Bring IBM Directory Server schema up to date with openldap
4234 * Allow for better protection of sensitive attributes in IBM
4238 o Stefan Metzmacher <metze@samba.org>
4239 * Fix memleaks in the nttrans code.
4242 o Mike Nix <mnix@wanm.com.au>
4243 * Add SMBsplopen and SMBsplclose client calls.
4246 o Justin Ossevoort <justin@snt.utwente.nl>
4247 * BUG 2316: Fix crashes in pdb_pgsql.
4250 o James Peach <jpeach@sgi.com>
4251 * Fixes in string handling code.
4252 * Fix oplock2 test in client smbtorture.
4255 o Tim Potter <tpot@samba.org>
4256 * Fix up example pdb modules after prototype change for
4258 * BUG 2058: Fix for shared object creation in examples.
4259 * BUG 2315: Fix segv in LSA privileges server code.
4260 * Build fixes for python wrapper libraries.
4263 o Richard Sharpe <rsharpe@samba.org>
4264 * BUG 2044: Fix segv in profiles tool.
4265 * Fix bogus error messages when enumerating user group
4266 membership via 'net rpc'.
4269 o Simo Sorce <idra@samba.org>
4270 * Debian packaging fixes.
4273 o John Terpstra <jht@samba.org>
4274 * Add the capability to set account description using pdbedit.
4277 o Doug VanLeuven <roamdad@sonic.net>
4278 * Add more case/realm/name permutations to the Kerberos keytab.
4279 * AIX compile fixes.
4282 o Jelmer Vernooij <jelmer@samba.org>
4283 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
4284 * BUG 1957: Implement minimal update of fields in mySQL pdb
4288 o Torsten Werner <torsten.werner@assyst-intl.com>
4289 * BUG 2405: Define 'lpstat' printcap output on HPUX.
4292 o Shlomi Yaakobovich" <Shlomi@exanet.com>
4293 * Detect infinite loops when traversing tdbs.
4296 --------------------------------------------------
4297 ==============================
4298 Release Notes for Samba 3.0.11
4300 ==============================
4302 Common bugs fixed in 3.0.11 include:
4304 o Crash in smbd when using CUPS printing.
4305 o Parsing error of other SIDs included in the user_info_3
4306 structure returned from domain controllers.
4307 o Inefficiencies when searching non-AD LDAP directories.
4308 o Failure to expand variables in user domain attributes
4309 in tdbsam and ldapsam.
4311 o Failure to retrieve certain attribute when migrating from
4312 a Windows DC to a Samba DC via 'net rpc vampire'.
4313 o Numerous printing bugs bugs including memory
4314 bloating on large/busy print servers.
4315 o Compatibility issues with Exchange 5.5 SP4.
4318 Additional features introduced in Samba 3.0.11:
4320 o Winbindd performance improvements.
4321 o More 'net rpc vampire' functionality.
4322 o Support for the Windows privilege model to assign rights
4324 o New administrative options to the 'net rpc' command.
4331 If "ldap user suffix" or "ldap machine suffix" are defined in
4332 smb.conf, all user-accounts must reside below the user suffix,
4333 and all machine and inter-domain trust-accounts must be located
4334 below the machine suffix. Previous Samba releases would fall
4335 back to searching the 'ldap suffix' in some cases.
4342 Samba 3.0.11 supports the following assignable rights
4344 SeMachineAccountPrivilege Add machines to domain
4345 SePrintOperatorPrivilege Manage printers
4346 SeAddUsersPrivilege Add users and groups to the domain
4347 SeRemoteShutdownPrivilege Force shutdown from a remote system
4348 SeDiskOperatorPrivilege Manage disk shares
4350 These rights can be assigned to arbitrary users or groups
4351 via the 'net rpc rights grant/revoke' command. More details
4352 of Samba's privilege implementation can be found in the
4353 Samba-HOWTO-Collection.
4356 ######################################################################
4360 Changes since 3.0.10
4361 --------------------
4366 Parameter Name Action
4367 -------------- ------
4368 afs token lifetime New
4369 enable privileges New
4370 ldap password sync Alias
4371 min password length Deprecated
4372 winbind enable local accounts Deprecated
4377 o Jeremy Allison <jra@samba.org>
4378 * Extend vfs to add seekdir/telldir/rewinddir.
4379 * Fix dirent return.
4380 * Fix bugs when handling secondary trans2 requests.
4381 * Implementation of get posix acls in UNIX extensions.
4382 * Added set posix acl functionality into the UNIX extensions code.
4383 * Updated config.guess/config.sub .
4384 * Fix error reply when 'follow symlinks = no'.
4385 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
4387 * Fixes for LARGE_READX support.
4388 * Fix the problem we get on Linux where sendfile fails, but we've
4389 already sent the header using send().
4390 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
4392 * BUG 2088: Ensure inherit permissions is only applied on a new
4393 file, not an existing one.
4394 * Don't go fishing for the krb5 authorization data unless we know
4396 * Fixes for libsmbclient to ensure that interrupted system calls
4397 are restarted minus the already expired portion of the timeout
4398 (based on work by Derrell Lipman).
4399 * More Unicode string parsing fixes.
4400 * Convert the winreg pipe to use WERROR returns.
4401 * Make all LDAP timeouts consistent (input from Joe Meadows
4402 <jameadows@webopolis.com>).
4403 * BUG 2231: Remove double "\\" from client findfirst.
4404 * BUG 2238: Fix memory leak in shadow copy vfs.
4405 * Return correct DOS/NT error code on transact named pipe on
4407 * BUG 2211: Fix security descriptor parsing bug (based on work by
4408 Mrinal Kalakrishnan <mail@mrinal.net>).
4409 * BUG 2270: Fix memory leaks in cups printing backend support
4410 (based on work by Lars Mueller).
4411 * BUG 2255: Fix debug level in Kerberos error messages.
4412 * BUG 2110: Ensure we convert to ucs2 correctly after the
4413 CAN-2004-0930 patch.
4414 * Make strict locking an enum. Auto means use oplock optimization.
4415 * Fix client & server to allow 127k READX calls.
4416 * More *alloc fixes (includes additional fixes by Albert Chin.
4417 * Catch sendfile errors correctly and return the correct values
4418 we want the caller to return.
4419 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
4420 for better use by desktop environments such as GNOME.
4421 * Ensure we can't remove a level II oplock without having the
4422 shared memory area locked.
4425 o Timur Bakeyev <timur@com.bat.ru>
4426 * BUG 2100: change the way we check for errors after a dlopen().
4427 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
4430 o Andrew Bartlett <abartlet@samba.org>
4431 * Clarify error message when 'lanman auth = no'.
4432 * Remove the unnecessary UTF-8 conversion calls in the calls to
4433 auth_winbind from smbd.
4434 * Don't store the auth-user credentials with the cli_state* as
4435 this can cause the schannel setup to fail when the auth-user
4436 domain is not our primary domain.
4439 o Grigory Batalov <bga@altlinux.org>
4440 * Fix encoding while receiving of a message which was actually
4441 sent using STR_ASCII.
4444 o Daniel Beschorner <db@unit-netz.de>
4445 * BUG 603: Correct access mask check for _samr_lookup_domain()
4446 to work with Windows RAS server
4449 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
4450 * Fix missing printer_tdb reference decrement.
4453 o Gerald (Jerry) Carter <jerry@samba.org>
4454 * BUG 2073: fall back to smb_name if current_user_info is not
4455 available in lp_file_list_changed().
4456 * Fixes the spurious 'register_message_flags: tdb fetch failed'
4458 * Don't run the background LPQ daemon when we are running in
4460 * prevent the background LPQ daemon from updating the print queue
4461 cache just because multiple smbd processes sent a message that
4463 * consolidate printer searches to use find_service rather than
4465 * BUG 2091: don't remove statically defined printers in
4466 remove_stale_printers().
4467 * Fix logic error in add_a_form() that only compared N characters
4468 instead of the entire form name.
4469 * BUG 2107: fix memory bloating caused by large numbers of
4470 print_queue_updates() requests sent via messages.tdb.
4471 * Check the setprinter(3) based on the access permissions on
4472 the handle and avoid the call to print_access_check().
4473 * Re-instantiate previous semantics for calling init_unistr2()
4474 with a NULL source buffer.
4475 * Support Windows privilege model for assigning rights
4476 to specific SIDs. Based on work by Simo Sorce in the trunk
4477 svn branch. This feature is controlled by the 'enable
4478 privileges = [yes|no]' smb.conf(5) option.
4479 * Add some smb.conf scripts for add/delete/change shares and
4480 deleting cups printers.
4481 * Expand variables in the profile path, logon home and logon script
4482 values when using either tdbsam or ldapsam.
4483 * Add Domain Admins (Full Control) to the default printer security
4484 descriptor if we are a DC.
4485 * RedHat and Fedora Packaging fixes for perl dependencies.
4486 * Remove unused schema items from OpenLDAP schema file.
4487 * Remove duplicate enumeration of "Windows x86" architecture
4488 when listing printer drivers via rpcclient.
4489 * Fail set_privileges() if 'enable privileges = no' to prevent
4491 * Fix segfault in cups_queue_get().
4492 * Tighten restrictions on changing user passwords when
4493 the connected user possesses the SeMachineAccountPrivilege.
4494 * Ensure we set NETBIOSNAME.domainname for the long machine name
4495 when publishing printers in AD (based on input from Rob Foehl).
4496 * Mark 'winbind enable local accounts' as deprecated.
4497 * Mark testprns tool as deprecated.
4498 * Allow root to grant/revoke privilege assignments.
4499 * Correct interaction between user rights and se_access_check() on
4501 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
4503 * BUG 2262: Add support in configure.in for *freebsd6*.
4504 * BUG 2266: Portability fixes for quota code on FreeBSD4.
4505 * BUG 2264: Remove shutdown and abortshutdown commands from
4506 rpcclient in favor of using the same functions in 'net'.
4507 * BUG 2295: Prevent smbd from returning an empty server name
4508 in certain lanman api calls.
4509 * BUG 2290: Fix autogen.sh script in examples (based on original
4510 patch from Lars Mueller).
4511 * Fix bug enumerating domain trusts in security = ads.
4512 * Fix segv in rpcclient's dsenumdomtrusts.
4513 * Fix bug in expansion of %U and %G in included filenames.
4514 * BUG 2291: Restrict creation of server trust and domain trust
4515 accounts to members of the "Domain Admins" group.
4517 o Nadav Danieli <nadavd@exanet.com>
4518 * Short circuit some is_locked() tests if we are oplocked.
4521 o Guenther Deschner <gd@samba.org>
4522 * Allow 'localhost' as a valid server name in the smbd for the
4524 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
4525 Mewburn for the input).
4526 * BUG 2059: Add additional checks needed after logic change to the
4527 HAVE_WRFILE_KEYTAB detection test.
4528 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
4529 Samba DC. Allow us to lookup at least our own SID.
4530 * More fixes to have proper German in swat (Thanks to Reiner
4531 Klaproth and Björn Jacke.
4532 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
4533 setting security descriptors with smbcacls and using with
4534 the -S or -M switch.
4535 * Include the munged_dial, bad_password_count, logon_count, and
4536 logon_hours attributes when running 'net rpc vampire'.
4537 * Fix segfault in idmap_rid.
4538 * When winbindd is operating in the multi-mapping mode of
4539 idmap_rid, allow BUILTIN domain-mapping.
4540 * Display infolevel 12 in query_dom_info in rpcclient.
4541 * Fix bug in winbindd's lowercasing of usernames.
4542 * Allow -v or -l for displaying verbose groupmap-listing
4543 as well as "verbose".
4544 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
4546 * Close LDAP-Connection before retrying to open a new connection
4548 * Marking "min password length" as depreciated.
4549 * Implement SAMR query_dom_info-call info-level 8 server- and
4550 client-side, based on samba4-idl.
4551 * Allow rpcclient to define a port to use when connecting
4553 * Allow Account Lockout with Lockout Duration "forever" (until
4554 admin unlocks) to be set and displayed in User Manager.
4555 * Allow to set acb_mask in rpcclient's enumdomusers.
4556 * Add more generic rootDSE inspection function to check
4557 for given controls or extensions and remember these on a
4559 * Improve LDAP search efficiency by passing the acb_mask to
4561 * Fixes for ldapsam_enum_group_memberships().
4562 * Add createdomgroup to rpcclient.
4563 * Add "net rpc user RENAME"-command.
4564 * Display sam_user_info_7 in rpcclient.
4565 * Make multi-domain-mode in idmap_rid accessible from outside
4566 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
4567 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
4568 "Lockout Duration: Forever".
4569 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
4571 * Require assignment of Administrator SID in the passdb
4572 backend. Fall back to the default name of 'Administrator' if
4573 the lookup fails rather than using the first name in the
4574 default 'admin users' list.
4575 * Enhance LDAP failure debug messages.
4576 * BUG 2291: Call the 'add machine script' for server trust and
4577 domain trust accounts as well as workstation accounts.
4580 o Levente Farkas <lfarkas@lfarkas.org>
4581 * BUG 2299: Better logrotate scripts for RedHat and Fedora
4585 o Jay Fenlason <fenlason@redhat.com>
4586 * Fix crash in 'net join' due to calling free on
4588 * Several patches from RedHat's Fedora Core RPMS.
4591 o Rob Foehl <rwf@loonybin.net>.
4592 * Compiler warnings.
4593 * Try modifying printer published attributes before adding it a
4595 * Solaris packaging fixes.
4596 * Don't force the cups printer-make-and-model tag as the comment
4597 for autoloaded printers.
4598 * Implement caching of names from printcap to support a true
4599 'printcap cache time'.
4602 o Johann Hanne <jhml@gmx.net>
4603 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
4606 o Jeff Hardy <hardyjm@potsdam.edu>
4607 * Example script for 'add print command' when using CUPS.
4610 o Deryck Hodge <deryck@samba.org>
4611 * Add -P (--password-only-menu) to SWAT for displaying only the
4612 password change page to non-root users.
4615 o David Hu <david.hu@hp.com>
4616 * Copy structure from print_queue_update() message rather than
4617 referencing it. Fixes seg fault on HP-UX.
4620 o Buck Huppmann <buckh@pobox.com>
4621 * BUG 2186: Don't free uninitialized credentials.
4622 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
4623 dnsDomainName != realm.
4626 o Björn Jacke <bjoern@j3e.de>
4627 * BUG 2040: Ensure the locale is reset to C to get ASCII-
4628 compatible toupper/lower functions.
4631 o William Jojo <jojowil@hvcc.edu>
4632 * Fix HPUX sendfile and add configure.in tests and code for
4634 * AIX 5.3 compile fixes.
4637 o Volker Lendecke <vl@samba.org>
4638 * Optimize anonymous session setups by workstations in a
4640 * Reimplment the QueryUserAliases() server RPC reply.
4641 * Re-add the getpwnam-cache for performance.
4642 * Cache the result of a pdb_getsampwnam for later SID lookup
4644 * Unify the means of localtaing a user's global groups on a
4646 * Fix bug when serving the 'Start Menu' in a roaming user profile..
4647 * Map more pre-defined NT security descriptors to AFS acls.
4648 * Add timeout to AD search requests.
4649 * If a connection to a DC is requested (in winbindd), open
4650 connections simultaneously to all DCs found.
4652 * Fix logic error in handling of 'printcap name' parameter.
4653 * Prevent winbindd from SPAM'ing the log files with 'user root
4655 * Backport samr_DomInfo2 IDL specification from Samba 4.
4656 * Implement smbstatus -n, don't lookup users and groups.
4657 * Implement simple mapping that maps the space to another character
4658 defined by afsacl:space.
4659 * Add support for 'net idmap delete <idmap-file> <SID>'.
4660 * Add new parameter 'afs token lifetime' tells the AFS client
4661 when to throw away a token (patch from kllin@it.su.se).
4662 * Initial work to allow support for multiple pipe opens on a
4664 * Ensure that we still retrieve the netbios name of any DC
4665 listed as a 'password server' to work around cases where the
4666 DC was defined using an IP address or fqdn.
4667 * Fix memleak in winbindd connection code.
4668 * Fix cli_samr_queryuseraliases.
4669 * Allow wbinfo --user-sids to expand expand domain local groups.
4670 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4671 * Fix parsing of other_sids in net_user_info3.
4672 * Correct bad failure logic when user was not a member of any
4673 domain local groups.
4676 o Jason Mader <jason@ncac.gwu.edu>
4677 * BUG 2113, 2289: Remove dead code.
4680 o Jim McDonough <jmcd@us.ibm.com>
4681 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
4682 clients. If it fails, fall back to WINREG.
4683 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4684 * BUG 2198: Set password last change time when running 'net rpc
4686 * Add "refuse machine password change" policy field.
4689 o Luke Mewburn <lukem@NetBSD.org>
4690 * BUG 2150: shmget() - Use POSIX definitions instead of non-
4694 o Stefan Metzmacher <metze@samba.org>
4698 o Buchan Milne <bgmilne@mandrake.org>
4699 * Mandrake packaging fixes.
4702 o Lars Mueller <lmuelle@samba.org>
4703 * Fix build of libsmbclient on x86_64.
4704 * BUG 2013: Fix testsuite build issues when libsmbclient.so
4705 is installed in a non-default location.
4706 * BUG 2050: Calculate max_fd for select correctly.
4707 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
4711 o Jason Mader <jason@ncac.gwu.edu>
4712 * BUG 2069: Remove unused variables.
4713 * BUG 2075: Remove dead code paths.
4714 * BUG 2083: Fix compiler warnings caused by bad type casts.
4717 o James Peach <jpeach@sgi.com>
4718 * Fix rewinddir -> rewind_dir when using VFS macros.
4721 o Gavrie Philipson <gavrie@disksites.com>
4722 * BUG 1838: Remove stale printers imeeddiately when
4723 processing a SIGHUP and during smb.conf reload.
4726 o Tim Potter <tpot@samba.org>
4727 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
4728 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
4729 * Change the license for the winbindd external interface
4731 * HP-UX compile fixes.
4732 * Compile fixes after new setsampwent() API.
4735 o Richard Renard <rrenard@idealx.com>
4736 * Update Netscape DS 5.2 LDAP schema.
4739 o Simo Sorce <idra@samba.org>
4740 * Backport pdbedit changes from trunk.
4741 * Allows the add/change share command to create the shared
4742 directory directory on disk.
4743 * Log a warning in testparm if a print command is defined for
4744 a print service using 'printing = cups'.
4746 o Jelmer Vernooij <jelmer@samba.org>
4747 * Bug fixes for pdb_{xml,pqsql,xml}
4748 * Fixes for pdb_mysql.
4751 o Andrew Tridgell <tridge@samba.org>
4752 * Bring Samba3 into line with the Samba4 password change code.
4755 o Shiro Yamada <shiro@miraclelinux.com>
4756 * BUG 2190: Force SWAT to display parameters in unix charset and
4760 --------------------------------------------------
4761 ==============================
4762 Release Notes for Samba 3.0.10
4764 ==============================
4766 Common bugs fixed in 3.0.10 include:
4768 o Fix for security issues described in CAN-2004-1154.
4777 o Jeremy Allison <jra@samba.org>
4778 * Added checks surrounding all *alloc() calls to fix
4780 * Fix long standing memory size bug in bitmap_allocate().
4781 * Remove bogus error check in deferred open file serving
4785 o Thomas Bork <tombork@web.de>
4786 * Fix autoconf script on platforms using a version of GNU ld
4787 that does not include a date stamp in the output of --version.
4790 o Luke Mewburn <lukem@NetBSD.org>
4791 * Fix the swat install script to deal with the new image
4792 destination directory used by the docs.
4796 --------------------------------------------------
4798 =============================
4799 Release Notes for Samba 3.0.9
4801 =============================
4803 Common bugs fixed in 3.0.9 include:
4805 o Problem updating roaming user profiles.
4806 o Crash in smbd when printing from a Windows 9x client.
4807 o Unresolved symbols in libsmbclient which caused
4808 applications such as KDE's konqueror to fail when
4809 accessing smb:// URLs.
4819 o Jeremy Allison <jra@samba.org>
4820 * Correctly detect errno for no acl/ea support.
4821 * BUG 2036: Fix seg fault in 'net ads join'.
4824 o Gerald (Jerry) Carter <jerry@samba.org>
4825 * Solaris packaging fixes.
4826 * Fix seg fault in lanman printing code.
4827 * BUG 2017: fix testparm reporting for the passwd program
4829 * Fix output of smbstatus to match the man page.
4830 * BUG 2027: fix conflict with declaration MD5_CTX in system
4832 * 2028: Avoid false error messages when copying a long
4833 printer name to the device mode.
4836 o Guenther Deschner <gd@samba.org>
4837 * Allow deldriverex in rpcclient to delete drivers for a
4838 specific architecture and a specific version.
4839 * Fix a couple of rpcclient spoolss commands (setprinter,
4840 setprintername, getdriver) w.r.t to printer-naming scheme.
4841 Allow 'localhost' in the server string for certain server-side
4843 * BUG 2015: Do not fail on setting file attributes with
4844 acl support enabled.
4847 o Michel Gravey <michel.gravey@optogone.com>
4848 * Fix build when using gcc 3.0.
4851 o Volker Lendecke <vl@samba.org>
4852 * Fix tdb open logic when checking our local_pid after
4856 o Jim McDonough <jmcd@us.ibm.com>
4857 * BUG 1932: Fix crash in 'net getlocalsid' when run as
4861 o Luke Mewburn <lukem@NetBSD.org>
4862 BUG 1661: Fix KRB5_SETPW-defines
4865 o Buchan Milne <bgmilne@mandrake.org>
4866 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
4869 o Lars Mueller <lmuelle@samba.org>
4870 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
4873 o Martin Zielinski <mz@seh.de>
4874 * Add DeletePrinterDriverEx() functionality to rpcclient.
4877 --------------------------------------------------
4879 =============================
4880 Release Notes for Samba 3.0.8
4882 =============================
4884 Common bugs fixed in 3.0.8 include:
4886 o Compile fixes for HP-UX
4887 o Fixes for the printer publishing code used when joined to
4889 o Incompatibilities with file system quotas.
4890 o Several bugs in the spoolss printing code and print system
4892 o Inconsistencies in the username map functionality when
4893 configured on domain member servers.
4894 o Various compile warnings and errors on various platforms.
4895 o Fixes for Kerberos interoperability with Windows 200x
4896 domains when using DES keys.
4897 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
4898 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
4901 New features included in the 3.0.8 release are:
4903 o New migration functionality added the the net tool
4904 for files/directories, printers, and shares.
4905 o New experimental idmap backend for assigning uids/gids
4906 directly based on the user/group RID when acting as a
4907 member of single domain without any trusts.
4908 o Additional printer migration support for XP/2003 platforms.
4911 ===========================
4912 Change in Winbindd Behavior
4913 ===========================
4915 All usernames returned by winbindd are now converted to lower
4916 case for better consistency. This means any winbind installation
4917 relying on the winbind username will need to rename existing
4918 directories and/or files based on the username (%u and %U) to lower
4919 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
4920 include mail spool files, home directories, valid user lines in
4924 ======================
4925 Change in Username Map
4926 ======================
4928 Previous Samba releases would only support reading the fully qualified
4929 username (e.g. DOMAIN\user) from the username map when performing a
4930 Kerberos login from a client. However, when looking up a map
4931 entry for a user authenticated by NTLM[SSP], only the login name would be
4932 used for matches. This resulted in inconsistent behavior sometimes
4933 even on the same server.
4935 Samba 3.0.8 obeys the following rules when applying the username
4938 * When performing local authentication, the username map is
4939 applied to the login name before attempting to authenticate
4941 * When relying upon a external domain controller for validating
4942 authentication requests, smbd will apply the username map
4943 to the fully qualified username (i.e. DOMAIN\user) only
4944 after the user has been successfully authenticated.
4947 ######################################################################
4956 Parameter Name Action
4957 -------------- ------
4958 force printername New
4959 sendfile disabled by default
4965 o Jeremy Allison <jra@samba.org>
4966 * Ensure extended security bit is on only if we negotiated
4968 * Simplify statcache to use an in-memory tdb.
4969 * If you're selecting a hash algorithm for tdb, you need
4970 to do it at open time.
4971 * Removed old dir caching code - not being used now we
4972 have the statcache anyway.
4973 * Simplify the mangle hash code to use an in-memory tdb.
4974 * Merge iconv changes from Samba 4 branch.
4975 * Fix parsing of names ending in dot and a few other error
4977 * BUG 1667: Smbpasswd file could be left locked on some
4979 * Fixes for smbclient tar functionality.
4980 * BUG 1743: Fix logic bug the deferred open code.
4981 * Don't try to set security descriptors on shares where
4982 this has been turned off.
4983 * Return correct error codes on old SEARCH call.
4984 * Ensure we set errno = E2BIG when we overflow in the
4985 fast-path character conversion code.
4986 * Fix the roundup problem (returning 1mb roundup) for
4987 non-Windows clients.
4988 * Added 'stat' command to smbclient to exercise the
4989 UNIX_FILE_BASIC info level.
4990 * Fix bug where we could incorrectly set sparse attribute.
4991 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
4992 (reported by Taj Khattra <taj.khattra@gmail.com>).
4993 * Remove locked keys tdb code.
4994 * BUG 1886: Prevent delete on close being set for readonly files
4995 (and return the correct error code).
4996 * Ensure we pass most of the new lock tests except for the cancel
4997 lock which is yet to be added (merged from Samba 4 branch).
4998 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
4999 * BUG 1956: Ensure errno is saved and restored consistently on a
5001 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
5002 that all of the appropriate service principal names are set
5003 upon joining an AD domain.
5004 * Fix the correct use of resume name in the trans2 code.
5005 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
5006 correct salt used when generated the DES key after joining an
5008 * Enhanced krb5 detection routines in the autoconf scripts.
5011 o Andrew Bartlett <abartlet@samba.org>
5012 * Avoid changing the machine account password in the passdb
5013 backend, when it has 'already been changed'. This occurs
5014 in situations where the secure channel between the workstation
5015 and the DC breaks down, such as occurred in the MS04-11
5017 * Fix utility name in error message in ntlm_auth.
5018 * Fix NTLMv2 for use with pam_winbind.
5019 * Remove conversion to and from UTF8 on the winbind pipe.
5020 * Allow 'require_membership_of' and 'require-membership-of'.
5021 * Fix the error code for 'you didn't specify a domain' in
5023 * Use sys_getgroups() rather than scanning all groups
5024 when generating SAMR replies.
5027 o Igor Belyi <sambauser@katehok.ac93.org>
5028 * Ensure pdb user is deleted first before deleting UNIX
5029 user (LDAP backend needs this ordering).
5032 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
5033 * Fix core dump in 'net rpc vampire'.
5036 o Vince Brimhall <vbrimhall@novell.com>
5037 * Make ldapsam_compat robust against NULL attributes.
5040 o Gerald Carter <jerry@samba.org>
5041 * Don't limit the number of groups returned by winbindd_getgroups()
5043 * BUG 1519: Match Windows 2000 behavior when opening a
5044 printer using a servername in the form of an IP address or
5046 * BUG 1907: remove extra slashes from the printer name in
5047 getprinterdriverdir_1().
5048 * Fix standard_sub_snum() to use the current user's gid.
5049 * Fix background queue update bug (based on Volker's initial work
5051 * Add 'force printername' service parameter for people that want
5052 to enforce printername == sharename for spoolss printing.
5053 * Ensure consistent usage of the username map. Use the fully
5054 qualified DOMAIN\user format for 'security = domain|ads' and
5055 apply after authentication has succeeded.
5056 * Cosmetic fix for getent output -- lowercase the username only
5057 and not the complete domain\username string.
5058 * Packaging fixes for Solaris, Redhat, & Fedora.
5061 o Sean Chandler <sean.chandler@verizon.net>
5062 * Fix memlieak in cliconnect.c.
5065 o Darren Chew <darrenc@vicscouts.asn.au>
5066 * Solaris packaging fixes.
5069 o Nalin Dahyabhai <nalin@redhat.com>
5070 * SMB signing fix for 56-bit DES session keys.
5073 o Guenther Deschner <gd@samba.org>
5074 * add IA64 to the architecture table of printer-drivers.
5075 * Add file/share/printer migration functionality to
5077 * Show correct help for net groupmap commands.
5078 * Fix deadlock loop in winbind's required_membership_sid
5080 * Bring the same level of "required_membership"-functionality
5081 that ntlm_auth uses, to pam_winbindd as well.
5082 * Prevent "net lookup kdc" from seg-faulting when
5083 using our own implementation of krb5_lookup_kdc with
5085 * Adding getprinter level 7 to rpcclient.
5086 * Support migrating printers|shares|files from Server A
5087 to Server B while running the net-command on client C.
5088 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
5089 failure of this call non-critical (Thanks to Love @ Heimdal
5090 for the explanation and patch).
5091 * Fix typos in net's usage-output.
5092 * Fix the paranoia-check to ensure the ldap-attribute and the
5093 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
5095 * Fix several bugs in the _samr_query_useraliases() rpc reply.
5096 * Check correct string length when verifying password-policies
5097 and using extended characters (Thanks to Uwe Morgenroth from CC
5098 Compunet and Volker).
5099 * Make 'password history'-behavior in ldapsam more consistent.
5100 * Adding "Windows x64" as architecture string and driverdir "x64"
5101 for the 64bit AMD platform.
5102 * BUG 1343: Readd WKGUID-binding to match the correct default-
5103 locations of new User-, Group- and Machine-Accounts in Active
5104 Directory (this got lost during the last trunk-merge).
5105 * Fix printer-migration w.r.t. to new naming-convention for
5107 * Allow to migrate win2k3/xp-drivers as well.
5108 * Add client-side support of triggering ads printer publishing
5109 over msrpc setprinter calls inside the net-tool.
5110 * Add the idmap_rid module (written in conjunction with
5111 Sumit Bose <sbose@suse.de>).
5112 * BUG 1661: Fix build with recent heimdal releases.
5113 * Prevent idmap_rid from making unnecessary calls to domain
5114 controllers for trusted domains.
5117 o Arthur van Dongen <avdongen@xs4all.nl>
5118 * Fix typos in pam_winbind log messages and SuSE
5122 o Rob Foehl <rwf@loonybin.net>
5123 * Typo fixes for log messages in printer publishing code.
5124 * Fix memory leak in printer publishing code.
5125 * Ensure print_backend_init() only gets called once.
5126 * Have smbd check the published status of all printers
5128 * Cleanup up the XXX_a_printer() API for consistency.
5129 * Refactored the printer publishing code and include better
5133 o Steve French <sfrench@us.ibm.com>
5134 * Fix IP address override in mount.cifs mount helper and clean
5135 up warning messages from the sparse tool and expand syntax help.
5136 * Strip guest mount option off before sending to kernel mount
5137 routine to avoid logging spurious message.
5140 o Satoh Fumiyasu <fumiya@samba.gr.jp>
5141 * BUG 1732: Limit share names returned by RAP based on windows
5142 character width, not unix character width.
5143 * BUG 1498: Ensure that acl entries are stored in the correct
5147 o Brett Funderburg <brett@deepfile.com>
5148 * Pass create options parameter to nt_create_andx() function
5149 from the python bindings.
5150 * BUG 1864: Add sd->type field to security descriptor Python
5152 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
5153 when trying to return the security descriptor for a file.
5154 * BUG 1884: Fixes for the Python bindings to use the value
5155 of the desired_access filed passed into the lsa_open_policy()
5159 o Michael Gravey <michel.gravey@optogone.com>
5160 * BUG 1776: Fix warnings when building modules caused by
5161 certain versions of GNU ld not using the the default
5162 --allow-shlib-undefined flag.
5165 o Chris Hertel <crh@samba.org>
5166 * Fix logic bug in splay tree data structure when finding
5168 * Fix bug where an invalid MAC address would be printed by
5169 a node status lookup from nmblookup.
5172 o Uli Iske <iske@elkb.de>
5173 * Update the DNS/eDirectory LDAP schema file.
5176 o Björn Jacke <bjacke@sernet.de>
5177 * BUG 1766: Unify charset-handling in Content-Type:-headers to
5178 UTF-8. Reformat msgstr in msg-files to UTF-8.
5179 * Do not use display charset for swat output.
5180 * Convert the share names correctly from unix encoding to web
5181 encoding and vice versa.
5182 * Convert files from status page from unix charset to UTF-8.
5185 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
5186 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
5189 o Tom Lackemann <cessnatomny@yahoo.com>
5190 * BUG 1954: Fix memory leak in posix acl code.
5193 o Volker Lendecke <vl@samba.org>
5194 * Robustnss fix for winbindd when sending multiple requests
5195 at a high rate for a slow operation.
5196 * Solve the problem of user sids ending up with gid's
5198 * Use sys_fork instead of fork for the dual daemon so that
5199 we get the correct debug pid in the logfiles.
5200 * Based on patch from jmcd, implement special lists for the LDAP
5201 user attributes to delete.
5202 * Fix creation of aliases via usrmgr. Winbind was too strict
5203 checking the type of sids.
5204 * Lowercase all usernames returned by winbind.
5205 * BUG 1545, 1823: Only issue the ldap extended password change
5206 operation if the ldap server supports it. Also ignore object
5207 class violation errors from the extended operation.
5208 * Optimization for 'idmap backend = ldap': When asking sid2id
5209 for the wrong type, don't ask ldap when we have the opposite mapping
5211 * Fix ldapsam_compat homeDrive.
5212 * Add usersidlist and allowedusers subcommands to the net tool
5213 in order to support scanning a file server's share and list
5214 all users who have permission to connect there.
5215 * Allow for multiple DC's to be named as #1c names in lmhosts.
5216 * Memory leak fixes.
5217 * Fix checks for the local pid of an smbd process after
5221 o Herb Lewis <herb@samba.org>
5222 * Added tdbtool to be built by default.
5225 o Love <lha@stacken.kth.se>
5226 * BUG 1955: Inconsistent error return.
5229 o Sorin Manolache <sorinm@gmail.com>
5233 o Jim McDonough <jmcd@us.ibm.com>
5234 * Allow 'net ads lookup' to rely on command line arguments
5235 if contacting an ADS server fails; utilize cldap for lookups.
5236 * Fixup formatting errors in TDB_LOG calls; add printf attribute
5237 support to tdb log functions.
5240 o Bill McGonigle <bill+samba@bfccomputing.com>
5241 * BUG 1926: Type in debug message.
5245 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
5249 o Luke Mewburn <lukem@NetBSD.org>
5250 * BUG 1782: Prevent testparm from displaying parameter synonyms.
5253 o Stefan Metzmacher <metze@samba.org>
5254 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
5255 * Fix client quota support.
5256 * Fix opening of system quota file.
5259 o Lars Mueller <lmuelle@samba.org>
5260 * Small fixes for autogen.sh to deal with version detection
5261 of autoconf and autoheader; fixes for examples using
5262 libtool to adhere to stricter syntax of newer version.
5265 o Henrik Nordstrom <hno@squid-cache.org>
5266 * Allow winbindd to return the correct number of groups
5267 when the groups array must be enlarged.
5270 o Narayana Pattipati <narayana.pattipati@wipro.com>
5271 * Solaris autoconf detection fixes.
5274 o Tim Potter <tpot@samba.org>
5275 * BUG 1360: (correct fix) Use -Wl when passing flags to
5277 * HP-UX compile fixes (from JBravo on #samba-technical).
5278 * BUG 1731: More HP-UX compiles fixes.
5279 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
5280 spits the dummy otherwise.
5281 * Fix bug in Python printerdata wrapper.
5282 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
5283 <bugzilla-samba@thewrittenword.com>).
5284 * Fix parameter confusion in priming of name-to-sid cache
5285 (Found by Qiao Yang).
5286 * BUG 1888: Remove '..' from all pre-processor commands.
5287 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
5291 o Matt Selsky <selsky@columbia.edu>
5292 * BUG 350: use autoconf 2.57 feature for checking header file
5293 preprocessing (fixes configure warnings on Solaris).
5296 o Richard Renard <rrenard@idealx.com>
5297 * Fix usermgr.exe and trust relationships.
5300 o Paul Szabo <psz@maths.usyd.edu.au>
5301 * Fix to make find_workgroup use the same
5302 truncation as create_workgroup.
5305 o Richard Sharpe <rsharpe@samba.org>
5306 * Ensure cli_write() can support writes >= 65536 bytes.
5309 o Simo Sorce <idra@samba.org>
5310 * Added check password script code in examples/auth/crackcheck/
5311 * Fix memory corruption bug caused in freeing static memory.
5314 o Andrew Tridgell <tridge@samba.org>
5315 * Remove lp_use_mmap() from map_file() since the latter
5316 is for read only and does not require coherence.
5317 * Ensure that the uuid pack/unpack routines do not go past
5318 the end of the structure.
5319 * Converted Samba 3 tree to use the new utf-16 aware iconv
5321 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
5322 * Ensure configure only uses '=' instead of the bashism '=='.
5323 * Reduces the number of tdb locking calls made on file IO.
5326 o Jelmer Vernooij <jelmer@samba.org>
5327 * Convert internal data to UTF-8 before calling libxml2.
5328 * Complain if 'password chat' doesn't contain the %u variable
5329 (based on a patch by Ronan Waide).
5333 * BUG 1541: Fix recursive ls in smbclient.
5336 o Igor Zhbanov <bsg@uniyar.ac.ru>
5337 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
5340 --------------------------------------------------
5342 =============================
5343 Release Notes for Samba 3.0.7
5345 =============================
5347 Common bugs fixed in 3.0.7 include:
5349 o Fixes for two Denial of Service vulnerabilities
5350 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
5351 o Winbind failure to return user entries under certain
5353 o Syntax errors in the OpenLDAP schema file (samba.schema).
5354 o Printing errors caused by not setting default values
5355 for the various printing commands.
5364 Parameter Name Action
5365 -------------- ------
5366 winbind enable local accounts disabled by default
5371 o Jeremy Allison <jra@samba.org>
5372 * Fix parsing of names ending in dot and a few other error
5374 * BUG 1674: Move the symlinks checks into reduce_name().
5375 * Fix memleak when checking the valid names smb.conf option.
5376 * Fix memleak on error return path in the file open code.
5377 * More paranoia checks in the hash2 mangling code.
5378 * Fix syntax error in configure.in.
5379 * Match Win2k3's behavior for pathname parsing error returns.
5380 * Make nmbd more robust against bad netbios packets
5382 * Add more checks for invalid ASN.1 packets for SPNEGO packets
5386 o Andrew Bartlett <abartlet@samba.org>
5387 * Janitor work in loadparm.c -- remove unused parameters.
5390 o Gerald Carter <jerry@samba.org>
5391 * BUG 1464: Ensure that printing commands are initialized even
5392 if the 'printing' parameter is not explicitly set.
5393 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
5394 Adharsh Praveen <rprav@india.hp.com>)
5395 * Work around parsing error in the print change notify code.
5396 * remove duplicate declaration of getprintprocdir from
5398 * Only use sAMAccountName and not userPrincipalName when looking
5399 up a username in AD since the breaks winbindd (lookup_name()
5400 only works with the sAMAccountName).
5401 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
5402 filling in the username in the user_info3.
5403 * Fix logic bug in the check for creating a user's home directory
5404 in register_vuid(); caused home directory to be mismatched to
5405 the first share in smb.conf under certain conditions.
5406 * BUG 1656: rename auto.a to auto.smb.
5407 * Ensure that we assign our pid to print jobs (and not our
5408 parent's pid); ensures that spooling jobs from dead smbds
5409 are removed from the tdb.
5410 * Disable 'winbind enable local accounts' by default.
5411 * Adding some initial checks for DragonFly (same as
5415 o Guenther Deschner <gd@samba.org>
5416 * Use SMB_ASSERT() to track down NULL printer names in
5418 * Revert fix for BUG 1474 to avoid unnecessary packaging
5422 o Olaf Flebbe <o.flebbe@science-computing.de>.
5423 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
5425 * BUG 1626: More compile fixes.
5428 o Rob Foehl <rwf@loonybin.net>
5429 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
5430 by attempts to sanitize the defined attributes.
5433 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5434 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
5437 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
5438 * BUG 1657: Remove used initialized variable,
5439 * BUG 1658: Add a little bit of const.
5442 o Volker Lendecke <vl@samba.org>
5443 * If there's garbage in the pidfile, we should not panic
5444 but assume that no one else is around. We can't find the
5448 o Jim McDonough <jmcd@us.ibm.com>
5449 * Fixup format string in the tdb error messages.
5452 o Jonas Olsson <lexicon@lysator.liu.se>
5453 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
5454 reporting the list in usrmgr.exe.
5457 o Tim Potter <tpot@samba.org>
5458 * Fix out-of-tree builds (problem with the script to generate
5459 the svn version number).
5460 * BUG 1360: Need to use -Wl when passing flags to the linker.
5461 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
5462 doesn't have one of its own.
5464 o Simo Sorce <idra@samba.org>
5465 * Fixup compile issues on AIX caused by broken strlen() and
5467 * Update debian packaging files.
5470 o Dimitri van der Spek <dwspek@aboveit.nl>
5471 * Use the correct counter when copying group rids from the
5472 user_info3 struct in pam_winbind.
5475 o Qiao Yang <qyang@stbernard.com>
5476 * BUG 1622: Only cache the user
5479 --------------------------------------------------
5481 =============================
5482 Release Notes for Samba 3.0.6
5484 =============================
5486 Common bugs fixed in 3.0.6 include:
5488 o Schannel failure in winbindd.
5489 o Numerous memory leaks.
5490 o Incompatibilities between the 'write list' and 'force user'
5492 o Premature optimization of the open_directory() internal
5493 function that broke tools such as the ArcServe backup
5494 agent, Macromedia HomeSite, and Robocopy.
5495 o Corrupt workgroup names in nmbd's browse.dat.
5496 o Sharing violation errors commonly seen when opening
5497 when serving Microsoft Office documents from a Samba
5499 o Browsing problems caused by an apostrophe (') in the
5500 computer's description field.
5501 o Problems creating special file types from UNIX CIFS
5502 clients and enabling 'unix extensions'.
5503 o Fix stalls in smbd caused by inaccessible LDAP servers.
5504 o Remove various memory leaks.
5505 o Fix issues in the password lockout feature.
5507 New features introduced in this release include:
5509 O Support symlinks created by CIFS clients which
5510 can be followed on the server.
5511 o Using a cups server other than localhost.
5512 o Maintaining the service principal entry in the system
5513 keytab for integration with other kerberized services.
5514 Please refer to the 'use Kerberos keytab' entry in
5515 smb.conf(5). When using the heimdal Kerberos libraries,
5516 you must also specify the following in /etc/krb5.conf:
5518 default_keytab_name = FILE:/etc/krb5.keytab
5519 o Support for maintaining individual printer names
5520 stored separately from the printer's sharename.
5521 o Support for maintaining user password history.
5522 o Support for honoring the logon times for user in a
5526 ============================================
5527 unix extensions = yes (default) and symlinks
5528 ============================================
5530 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
5531 clients supporting the UNIX extensions to the CIFS protocol
5532 can create symlinks to absolute paths which will be **followed**
5533 by the server. This functionality has been requested in order
5534 to correctly support certain applications when the user's home
5535 directory is mounted using some type of CIFS client (e.g. the
5536 cifsvfs in the Linux 2.6 kernel).
5538 If this behavior is not acceptable for your production environment
5539 you can set 'wide links = no' in the specific share declaration in
5540 the server's smb.conf. Be aware that disabling wide link support
5541 out of a share in Samba may impact the server's performance due
5542 to the fact that smbd will now have to check each path additional
5543 times before traversing it.
5546 ========================
5547 Password History Support
5548 ========================
5550 The new password history feature allows smbd to check the new
5551 password in password change requests against a list of the user's
5552 previous passwords. The number of previous passwords to save can
5553 be set using pdbedit (4 in this example):
5555 root# pdbedit -P "password history" -C 4
5557 When using the ldapsam passdb backend, it is vital to secure the
5558 following attributes from access by non-administrative users:
5562 * sambaPasswordHistory
5564 You should refer to your directory server's documentation on how
5565 to implement this restriction.
5574 Parameter Name Action
5575 -------------- ------
5577 defer sharing violations New
5578 force unknown acl user New
5580 printcap cache time New
5581 use Kerberos keytab New
5585 o Jeremy Allison <jra@samba.org>
5586 * Correct path parsing bug that broke DeletePrinterDriverEx().
5587 * Fix bugs in check_path_syntax() caught by asserts.
5588 * Internal change - rearrange internal global case setting
5589 variables to a per connection basis.
5590 * BUG 1345: Fix premature optimization in unix_convert().
5591 * Allow clients to truncate a locked file.
5592 * BUG 1319: Always check to see if a user as write access
5593 to a share, even when 'force user' is set.
5594 * Fix specific case of open that doesn't cause oplock break,
5595 or share mode check.
5596 * Correct sid type is WKN_GROUP, not alias. Added some
5597 more known types (inspired by patch from Jianliang Lu).
5598 * Allow creation of absolute symlink paths via CIFS clients.
5599 * Fix charset bug in when invoking send_mailslot().
5600 * When using widelinks = no, use realpath to canonicalize
5601 the connection path on connection create for the user.
5602 * Enhance stat open code.
5603 * Fix unix extensions mknod code path.
5604 * Allow unix domain socket creation via unix extensions.
5605 * Auto disable the 'store dos attribute' parameter if the
5606 underlying filesystem doesn't support EAs.
5607 * Implement deferred open code to fix a bug with Excel files
5609 * BUG 1427: Catch bad path errors at the right point. Ensure
5610 all our pathname parsing is consistent.
5611 * Fix SMB signing error introduced by the new deferred open
5613 * Change default setting for case sensitivity to "auto". (see
5614 commit message -- r1154 -- for details).
5615 * Add new remote client arch -- CIFSFS.
5616 * Allow smbd to maintain the service principal entry in the
5617 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
5618 Guenther Deschner, et. al.).
5619 * Fix longstanding memleak bug with logfile name.
5620 * Fix incorrect type in printer publishing (struct uuid,
5622 * Heimdal compile fixes after introduction of the new ketyab
5624 * Ensure we check attributes correctly on rename request.
5625 * Ensure we defer a sharing violation on rename correctly.
5626 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
5628 * Fix bogus error message when using "mangling method = hash"
5630 * Turn on sendfile by default for non-Win9x clients.
5631 * Handle non-io opens that cause oplock breaks correctly.
5632 * Ensure ldap replication sleep time is not more than 5 seconds.
5633 * Add support for storing a user's password history.
5634 LDAP portion of the code was based on a patch from
5635 Jianliang Lu <j.lu@tiesse.com>.
5636 * Correct memory leaks found in the password change code.
5637 * Fix support for the mknod command with the Linux CIFS client.
5638 * Remove support for passing the new password to smbpasswd
5639 on the command line without using the -s option.
5640 * Ensure home directory service number is correctly reused
5641 (inspired by patches from Michael Collin Nielsen
5642 <michael@hum.aau.dk>).
5643 * Fix to stop printing accounts from resetting the bas
5644 password and account lockout flags.
5645 * If a account was locked out by an admin (and has a bad
5646 password count of zero) leave it locked out until an admin
5647 unlocks it (but log a message).
5648 * Ensure we return the same ACL revision on the wire that
5650 * BUG 1578: Hardcode replacement for invalid characters as '_'
5651 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5652 * Fix hashed password history for LDAP backends.
5653 * Enforce logon hours restrictions if confiogured (based on code
5654 from Richard Renard <rrenard@idealx.com>).
5655 * BUG 1606: Force smbd to disable sendfile with DOS clients
5656 and ensure that the chained header is filled in for ...&X
5658 * BUG 1602: Fix access to shares when all symlink support
5663 o Tom Alsberg <alsbergt@cs.huji.ac.il>
5664 * Allow pdbedit to export a single user from a passdb backend.
5667 o Andrew Bartlett <abartlet@samba.org>
5668 * Fix parsing bug in GetDomPwInfo().
5669 * Fix segfault in 'ntlm_auth --diagnostics'.
5670 * Re-enable code to allow sid_to_gid() to perform a group
5671 mapping lookup before checking with winbindd.
5672 * Fix memory leak in the trans2 signing code.
5673 * Allow more flexible GSS-SPENGO client and server operation
5675 * Improve smbd's internal random number generation.
5676 * Fix a few outstanding long password changes in smbd.
5677 * Fix LANMAN2 session setup code.
5680 o Eric Boehm <boehm@nortelnetworks.com>
5681 BUG 703: Final touches on netgroup case lookups.
5684 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
5685 * Ensure error status codes don't get overwritten in
5686 lsa_lookup_sids() server code.
5687 * Correct bug that caused smbd to overwrite certain error
5688 codes when returning up the call stack.
5689 * Ensure the correct sid type returned for builtin sids.
5692 o Gerald Carter <jerry@samba.org>
5693 * Fix a few bugs in the Fedora Packaging files.
5694 * Fix for setting the called name to by our IP if the
5695 called name was *SMBSERVER and *SMBSERV. Fixes issue
5696 with connecting to printers via \\ip.ad.dr.ess\printer
5698 * BUG 1315: fix for schannel client connections to servers
5699 when we haven't specifically negotiated AUTH_PIPE_SEAL.
5700 * Allow PrinterDriverData valuenames with embedded backslashes
5701 (Fixes bug with one of the Konica Fiery drivers).
5702 * Fixed string length miscalculation in netbios names that
5703 resulted in corrupt workgroup names in browse.dat.
5704 * When running smbd as a daemon, launch child smbd to update
5705 the lpq cache listing in the background.
5706 * Allow printers "Printers..." folder to be renamed to a string
5707 other than the share name.
5708 * Allow winbindd to use domain trust account passwords when
5709 running on a Samba DC to establish an schannel to remote
5711 * Fix bad merge and ensure that we always use tdb_open_log()
5712 instead of tdb_open_ex() (the former call enforce the 'use
5714 * BUG 1221: revert old change that used single and double
5715 quotes as delimeters in next_token(), and change
5716 print_parameter() to print out parm values surrounded by
5717 double quotes (instead of single quotes).
5718 * Prevent home directories added during the SMBsesssetup&X from
5719 being removed as unused services.
5720 * Invalidate the print object cache for open printer handles when
5721 smbd receives a message that an attribute on a given printer
5723 * Cause the configure script to exit if --enable-cups[=yes] is
5724 defined and the system does not have the cups devel files
5726 * BUG 1297: Prevent map_username() from being called twice
5728 * Ensure that we use the userPrincipalName AD attribute
5729 value for LDAP SASL binds.
5730 * Ensure we remove the tdb entry when deleting a job that
5732 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
5733 client sends a FindNextPrintChangeNotify() request without
5734 previously sending a FindFirstPrintChangeNotify(). Return
5735 the same error code as Windows 2000 SP4.
5736 * BUG 1516: Manually declare ldap_open_with_timeout() to
5737 workaround compiler errors on IRIX (or other systems without
5739 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
5741 * Corrected syntax error in the OID for sambaUnixIdPool,
5742 sambaSidEntry, & sambaIdmapEntry object classes.
5743 * Tighten the cache consistency with the ntprinters.tdb entry
5744 an the in memory cache associated with open printer handles.
5745 * Make sure that register_messages_flags() doesn't overwrite
5746 the originally registered flags.
5749 o Fabien Chevalier <fabien.chevalier@supelec.fr>
5750 * Debian BUG 252591: Ensure that the return value from the
5751 number of available interfaces is initialized in case no
5752 interfaces are actually available.
5755 o Guenther Deschner <gd@sernet.de>
5756 * Implement 'rpcclient setprintername'.
5757 * Add local groups to the user's NT_TOKEN since they are
5758 actually supported now.
5759 * Heimdal compile fixes after introduction of the new keytab
5761 * Correctly honor the info level parameter in 'rpcclient
5763 * Reintroduce 'force unknown acl user' parameter. When getting a
5764 security descriptor for a file, if the owner sid is not known,
5765 the owner uid is set to the current uid. Same for group sid.
5766 * Ensure that REG_SZ values in the SetPrinterData actually
5767 get written in UNICODE strings rather than ASCII.
5768 * Ensure that the last Kerberos error return is not invalid.
5769 * Display share ACL entries from rpcclient.
5770 * Correct infinite loop in pam_winbind's verification of
5771 group membership in the 'other sids' field in the user_info3
5775 o Fabian Franz <FabianFranz@gmx.de>
5776 * Support specifying a port in the device URL passed to smbspool.
5779 o Steve French <sfrench@us.ibm.com>
5780 * Handle -S and user mount parms in mount.cifs.
5781 * Fix user unmount of shares mount with suid mount.cifs.
5782 * prevent infinite recusion in reopen_logs() when expanding
5783 the smb.conf variable %I.
5786 o Bjoern Jacke <bj@sernet.de>
5787 * Install libsmbclient into $(LIBDIR), not into hard coded
5788 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
5789 and an explicit configure --libdir setting.
5792 o <kawasa_r@itg.hitachi.co.jp>
5793 * Correct more memory leaks and initialization bugs.
5794 * Fix bug that prevented core dumps from being generated
5796 * Connect to the winbind pipe in non-blocking mode to
5797 prevent processes from hanging.
5798 * Memory leak fixes.
5801 o Stephan Kulow <coolo@suse.de>
5802 * Fix crash bug in libsmbclient.
5805 o Volker Lendecke <vl@samba.org>
5806 * Added vfs_full_audit module.
5807 * Add vfs_afsacl.c which can display & set AFS acls via
5808 the NT security editor.
5809 * Fix crash bug caused by trying to Base64 encode a NULL string.
5810 * Fix DOS error code bug in reply_chkpath().
5811 * Correct misunderstanding of the max_size field in
5812 cli_samr_enum_als_groups; it is more like an account_control
5813 field with individual bits what to retrieve.
5814 * Implement 'net rpc group rename' -- rename domain groups.
5815 * Implement the 'cups server' option. This makes it possible
5816 to have virtual smbd's connect to different cups daemons.
5817 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
5818 * Fix sid_to_gid() calls in winbindd to prevent loops.
5819 * Ensure that local_sid_to_gid() sets the type of the group on
5821 * Make sure that the clients are given back the IP address to
5822 which they connected in the case of a multi-homed host. Only
5823 affects strings the spoolss printing replies.
5824 * Fix the bad password lockout. This has not worked as pdb_ldap.c
5825 did not ask for the modifyTimestamp attribute, so it could
5826 not find it. Try not to regress by not putting that attrib
5827 in the main list but append it manually for the relevant searches.
5828 * Fix two memleaks in login_cache.c.
5829 * fixes memory bloat when unmarshalling strings.
5830 * Fix compile errors using gcc 3.2 on SuSE 8.2.
5831 * Fix the build for systems without Kerberos headers.
5832 * Allow winbindd to handle authentication requests only when
5833 started without either an 'idmap uid' or 'idmap gid' range.
5834 * Fix the build for systems without ldap headers.
5835 * Fix interaction between share security descriptor and the
5836 'read only' smb.conf option.
5837 * Fix bug that caused _samr_lookupsids() with more than 32 (
5838 MAX_REF_DOMAINS) SIDs to fail.
5839 * Allow the 'idmap backend' parameter to accept a list of
5840 LDAP servers for failover purposes.
5841 * Revert code in smbd to remove a tdb when it has become
5843 * Add paranoid checks when mapping SIDs to a uid/gid to
5844 ensure that the type is correct.
5845 * Initial work on getting client support for sending mailslot
5847 * Add 'ldap timeout' parameter.
5848 * Dont always uppercase 'afs username map'.
5849 * Expand aliases for getusersids as well.
5850 * Improved NT->AFS ACL mapping VFS module.
5853 o Herb Lewis <herb@samba.org>
5854 * Add the acls debug class.
5855 * Fix logic bug in netbios name truncate routine.
5856 * Fix smbd crash caused by smbtorture IOCTL test.
5857 * Fix errno tromping before calling iconv to reset the
5859 * need to leave empty dacl so we can remove last ACE.
5862 o Jianliang Lu <Jianliang.Lu@getronics.com>
5863 * Fix to stop smbd hanging on missing group member in
5865 * Make sure Samba returns the correct group types.
5866 * Reset the bad password count password counts upon a successful login.
5869 o Jason Mader <jason@ncac.gwu.edu>
5870 * BUG 1385: Don't use non-consts in a structure initialization.
5873 o Jim McDonough <jmcd@us.ibm.com>
5874 * BUG 1279: SMBjobid fix for Samba print servers running on
5875 Big-Endian platforms.
5878 o Joe Meadows <jameadows@webopolis.com>
5879 * Add optional timeout parameter to ldap open calls.
5880 * Allow get_dc_list() to check the negative cache.
5883 o Stefan Metzmacher <metze@samba.org>
5884 * fix a configure logic bug for linux/XFS quotas when
5885 using --with-sys-quotas.
5886 * Use quota debug class in quota code.
5887 * print out the SVN revision by configure,
5890 o Buchan Milne <bgmilne@mandrake.org>
5891 * Mandrake packaging fixes.
5894 o Lars Mueller <lmuelle@samba.org>
5895 * BUG 1279: Added 'printcap cache time' parameter.
5896 * Fix afs related build issues on SuSE.
5897 * Fix compiler warnings in the Kerberos client code.
5900 o James Peach <jpeach@sgi.com>
5901 * More iconv detection fixes for IRIX.
5902 * Compile fixed for systems that do not have C99/UNIX98 compliant
5903 vsnprintf by default.
5904 * Prevent smbd from attempting to use sendfile at all if it is
5905 not supported by the server's OS.
5906 * Allow SWAT to search for index.html when serving html files
5911 * Implement NFS quota support on FreeBSD.
5914 o Tim Potter <tpot@samba.org>
5915 * BUG 1360: Use -Bsymbolic when creating shared libraries to
5916 avoid conflicts with identical symbols in the global namespace
5917 when loading libnss_wins.so.
5920 o Richard Renard <rrenard@idealx.com>
5921 * Save the current password as it is being changed into the
5922 password history list.
5925 o Richard Sharpe <rsharpe@samba.org>
5926 * Fix error return codes on some lock messages.
5927 * BUG 1178: Make the libsmbclient routines callable
5929 * BUG 1333: Make sure we return an error code when
5931 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
5932 share mode locking requests fail.
5935 o Simo Sorce <idra@samba.org>
5936 * Update Debian stable & unstable packaging.
5937 * Tidy up parametric options in testparm output.
5940 o Richard Sharpe <rsharpe@samba.org>
5941 * Add sigchild handling to winbindd to restart the child
5942 daemon if necessary.
5945 o Tom Shaw <tomisfaraway@gmail.com>
5946 * Use winbindd_fill_pwent() consistently.
5949 o Nick Thompson <nickthompson@agere.com>
5950 * Protect smbd against broken filesystems which return zero
5954 o Andrew Tridgell <tridge@samba.org>
5955 * Fixed bug in handling of timeout in socket connections.
5958 o Nick Wellnhofer <wellnhofer@aevum.de>
5959 * Prevent lp_interfaces() list from being corrupted. Fixes
5960 bug where nmbd would lose the list of network interfaces
5961 on the system and consequently shutdown.
5964 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
5965 * Fix ntlm_auth memory leaks.
5968 o Jelmer Vernooij <jelmer@samba.org>
5969 * Additional NT status to unix error mappings.
5970 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
5971 get duplicate symbol errors.
5972 * Return an error when the last command read from stdin
5974 * Prepare for better error checking in tar.
5975 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
5978 --------------------------------------------------
5980 =============================
5981 Release Notes for Samba 3.0.5
5983 =============================
5985 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
5986 the exception of correcting the two security issues outlined
5989 ######################## SECURITY RELEASE ########################
5991 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
5992 CVE ID: CAN-2004-0600, CAN-2004-0686
5993 (http://cve.mitre.org/)
5996 This is the latest stable release of Samba. This is the version
5997 that production Samba servers should be running for all current
6000 It has been confirmed that versions of Samba 3 prior to v3.0.4
6001 are vulnerable to two potential buffer overruns. The individual
6002 details are given below.
6008 Affected Versions: Samba 3.0.2 and later
6010 The internal routine used by the Samba Web Administration
6011 Tool (SWAT v3.0.2 and later) to decode the base64 data
6012 during HTTP basic authentication is subject to a buffer
6013 overrun caused by an invalid base64 character. It is
6014 recommended that all Samba v3.0.2 or later installations
6015 running SWAT either (a) upgrade to v3.0.5, or (b) disable
6016 the swat administration service as a temporary workaround.
6018 This same code is used internally to decode the
6019 sambaMungedDial attribute value when using the ldapsam
6020 passdb backend. While we do not believe that the base64
6021 decoding routines used by the ldapsam passdb backend can
6022 be exploited, sites using an LDAP directory service with
6023 Samba are strongly encouraged to verify that the DIT only
6024 allows write access to sambaSamAccount attributes by a
6025 sufficiently authorized user.
6027 The Samba Team would like to heartily thank Evgeny Demidov
6028 for analyzing and reporting this bug.
6034 Affected Versions: Samba 3.0.0 and later
6036 A buffer overrun has been located in the code used to support
6037 the 'mangling method = hash' smb.conf option. Please be aware
6038 that the default setting for this parameter is 'mangling method
6039 = hash2' and therefore not vulnerable.
6041 Affected Samba 3 installations can avoid this possible security
6042 bug by using the default hash2 mangling method. Server
6043 installations requiring the hash mangling method are encouraged
6044 to upgrade to Samba 3.0.5.
6047 ##################################################################
6049 --------------------------------------------------
6051 =============================
6052 Release Notes for Samba 3.0.4
6054 =============================
6056 Common bugs fixed in Samba 3.0.4 include:
6058 o Password changing after applying the patch described in
6059 the Microsoft KB828741 article to Windows clients.
6061 o Managing print jobs via Windows on Big-Endian servers.
6062 o Several memory leaks in winbindd and smbd.
6063 o Compile issues on AIX and *BSD.
6066 --------------------
6071 o Jeremy Allison <jra@samba.org>
6072 * Fix path processing for DeletePrinterDriverEx().
6073 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
6077 o Andrew Bartlett <abartlet@samba.org>
6078 * Fix alignment bug in GetDomPwInfo().
6081 o Alexander Bokovoy <ab@samba.org>
6082 * Fix utime[s]() issues in smbwrapper on systems
6083 that can boot both the 2.4 and 2.6 Linux kernels.
6086 o Gerald Carter <jerry@samba.org>
6087 * Fedora packaging fixes.
6088 * BUG 1302: Fix seg fault by not trying to optimize a list of
6089 invalid gids using the wrong array size.
6090 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
6091 seen when 'security = share'.
6092 * Fix problems when using IBM's compiler on AIX.
6093 * Link Developer's Guide, Example Guide, and multi-page HOWTO
6094 into SWAT's welcome page.
6095 * BUG 1293: fix double free in printer publishing code.
6098 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
6099 * Fix for handling timeouts in socket connections.
6102 o Michel Gravey <michel.gravey@optogone.com>
6103 * BUG 483: patch from to fix password hash creation in SWAT.
6106 o Volker Lendecke <vl@samba.org>
6107 * Close the open NT pipes before the tdis.
6108 * Fix AFS related build issues.
6109 * Handle error conditions when base64 encoding a blob of 0 bytes.
6112 o Herb Lewis <herb@samba.org>
6113 * Added 'acls' debug class.
6115 o kawasa_r@itg.hitachi.co.jp
6116 * Multiple variable initialization and memory leak fixes.
6119 o Stephan Kulow <coolo@suse.de>
6120 * Fix string length bug in libsmbclient that caused KDE's
6122 * BUG 429: More libsmbclient fixes.
6125 o Jim McDonough <jmcd@us.ibm.com>
6126 * BUG 1007, 1279: Store the print job using a little-endian key.
6130 o Compile fix for OpenBSD (ENOTSUP not supported).
6133 o Stefan Metzmacher <metze@samba.org>
6134 * Correct bug in disks quota views from explorer.
6137 o Tim Potter <tpot@samba.org>
6138 BUG 1305: Correct debug output.
6141 o Richard Sharpe <rsharpe@samba.org>
6142 * Fix incorrect error code mapping.
6145 o Jelmer Vernooij <jelmer@samba.org>
6146 * Add additional NT_STATUS errorm mappings.
6149 --------------------------------------------------
6151 =============================
6152 Release Notes for Samba 3.0.3
6154 =============================
6157 Common bugs fixed in Samba 3.0.3 include:
6159 o Crash bugs and change notify issues in Samba's printing code.
6160 o Honoring secondary group membership on domain member servers.
6161 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
6162 o Substitution errors for %[UuGg] in smb.conf.
6163 o winbindd crashes when using ADS security mode.
6164 o SMB signing errors.
6165 o Delays in winbindd startup caused by unnecessary
6166 connections to trusted domain controllers.
6167 o Various small memory leaks.
6168 o Winbindd failing due to expired Kerberos tickets.
6170 New features introduced in Samba 3.0.3 include:
6172 o Improved support for i18n character sets.
6173 o Support for account lockout policy based on
6174 bad password attempts.
6175 o Improved support for long password changes (>14
6176 characters) and strong password enforcement.
6177 o Support for Windows aliases (i.e. nested groups).
6178 o Experimental support for storing DOS attribute on files
6179 and folders in Extended Attributes.
6180 o Support for local nested groups via winbindd.
6181 o Specifying options to be passed directly to the CUPS libraries.
6183 Please be aware that the Samba source code repository was
6184 migrated from CVS to Subversion on April 4, 2004. Details on
6185 accessing the Samba source tree via anonymous svn can be found
6186 at http://svn.samba.org/samba/subversion.html.
6189 Changes since 3.0.2a
6190 --------------------
6194 Parameter Name Action
6195 -------------- ------
6198 only user Deprecated
6199 store dos attributes New
6201 winbind nested groups New
6207 o Jeremy Allison <jra@samba.org>
6208 * Ensure that Kerberos mutex is always properly unlocked.
6209 * Removed Heimdal "in-memory keytab" support.
6210 * Fixup the 'multiple-vuids' bugs in our server code.
6211 * Correct return code from lsa_lookup_sids() on unmapped
6212 sids (based on work by vl@samba.org).
6213 * Fix the "too many fcntl locks" scalability problem
6215 * Fixup correct (as per W2K3) returns for lookupsids
6216 as well as lookupnames.
6217 * Fixups for delete-on-close semantics as per Win2k3 behavior.
6218 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
6219 * Fix "unable to initialize" bug when smbd hasn't been run with
6220 new system and a user is being added via pdbedit/smbpasswd.
6221 * Added NTrename SMB (0xA5).
6222 * Fixup correct timeout values for blocking lock timeouts.
6223 * Fix various bugs reported by 'gentest'.
6224 * More locking fixes in the case where we own the lock.
6225 * Fix up regression in IS_NAME_VALID and renames.
6226 * Don't set allocation size on directories.
6227 * Return correct error code on fail if file exists and target
6229 * Added client "hardlink" comment to test doing NT rename with
6230 hard links. Added hardlink_internals() code - UNIX extensions
6231 now use this as well.
6232 * Use a common function to parse all pathnames from the wire for
6233 much closer emulation of Win2k3 error return codes.
6234 * Implement check_path_syntax() and rewrite string sub
6235 functions for better multibyte support.
6236 * Ensure msdfs referrals are multibyte safe.
6237 * Allow msdfs symlink syntax to be more forgiving.
6238 eg. sym_link -> msdfs://server/share/path/in/share
6239 or sym_link -> msdfs:\\server\share\path\in\share.
6240 * Cleanup multibyte netbios name support in nmbd ( based on patch
6241 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
6242 * Fix check_path_syntax() for multibyte encodings which have
6243 no '\' as second byte (based on work by ab@samba.org.
6244 * Fix the "dfs self-referrals as anonymous user" problem
6245 (based on patch from vl@samba.org).
6246 * BUG 1064: Ensure truncate attribute checking is done correctly
6247 on "hidden" dot files.
6248 * Fix bug in anonymous dfs self-referrals again.
6249 * Fix get/set of EA's in client library
6250 * Added support for OS/2 EA's in smbd server.
6251 * Added 'ea support' parameter to smb.conf.
6252 * Added 'store dos attributes' parameter to smb.conf.
6253 * Fix wildcard identical rename.
6254 * Fix reply_ctemp - make compatible with w2k3.
6255 * Fix wildcard unlink.
6256 * Fix wildcard src with wildcard dest renames.
6257 * BUG 1139: Fix based on suggestion by jdev@panix.com.
6258 swap lookups for user and group - group will do an
6259 algorithmic lookup if it fails, user won't.
6260 * Make EA's lookups case independent.
6261 * Fix SETPATHINFO in 'unix extensions' support.
6262 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
6263 the UNIX info levels, and the short case preserve names.
6266 o Timur Bakeyev <timur@com.bat.ru>
6267 * BUG 1144: only set --with-fhs when the argument is 'yes'
6268 * BUG 1152: Allow python modules to build despite libraries added
6269 to LDFLAGS instead of LDPATH.
6270 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
6273 o Craig Barratt <cbarratt@users.sourceforge.net>
6274 * BUG 389: Allow multiple exclude arguments with smbclient
6275 tar -Xr options (better support for Amanda backup client).
6278 o Andrew Bartlett <abartlet@samba.org>
6279 * Include support for linking with cracklib for enforcing strong
6281 * Add support for >14 character password changes from Windows
6283 * Add 'admin set password' capability to 'net rpc'.
6284 * Allow 'net rpc samdump' to work with any joined domain
6285 regardless of smb.conf settings.
6286 * Use an allocated buffer for count_chars.
6287 * Add sanity checks for changes in the domain SID in an
6289 * Implement python unit tests for Samba's multibyte string
6291 * Remove 'unicode' smb.conf option.
6292 * BUG 1138: Fix support for 'optional' SMB signing and other
6294 * BUG 169: Fix NTLMv2-only behavior.
6295 * Ensure 'net' honors the 'netbios name' in the smb.conf by
6297 * Support SMB signing on connections using only the LANMAN
6298 password and generate the correct the 'session key' for these
6300 * Implement --required-membership-of=, an ntlm_auth option
6301 that restricts all authentication to members of this particular
6303 * Improve our fall back code for password changes.
6304 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
6305 after the server had said something (such as an error).
6306 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
6309 o Alexander Bokovoy <ab@samba.org>
6310 * Fix incorrect size calculation of the directory name
6312 * Fix problems with very long filenames in both smbd and smbclient
6313 caused by truncating paths during character conversions.
6314 * Fix smbfs problem with Tree Disconnect issued before smbfs
6318 o Gerald Carter <jerry@samba.org>
6319 * BUG 850: Fix 'make installmodules' bug on True64.
6320 * BUG 66: mark 'only user' deprecated.
6321 * Remove corrupt tdb and shutdown (only for printing tdbs,
6322 connections, sessionid & locking).
6323 * decrement smbd counter in connections.tdb in smb_panic().
6324 * RedHat specfile updates.
6325 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
6326 * BUG 1147; bad pointer case in get_stored_queue_info()
6328 * BUG 761: read the config file before initialized default
6329 values for printing options; don't default to bsd printing
6331 * Allow the 'printing' parameter to be set on a per share basis.
6332 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
6333 * BUG 848: don't create winbind local users/groups that already
6335 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
6337 * BUG 488: fix the 'show client in col 1' button and correctly
6338 enumerate active connections.
6339 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
6340 problem when storing the updating pid for the lpq cache.
6341 * BUG 1007 (partial): Fix print change notify bugs.
6342 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
6343 and winbind use default domain = yes. Also ensures that
6344 * BUG 1151: Ensure that winbindd users are passed through
6346 * Fix client rpc binds for ASU derived servers (pc netlink,
6348 * BUG 417, 1128: Ensure that the current_user_info is set
6349 consistently so that %[UuGg] is expanded correctly.
6350 * BUG 1195: Fix crash in winbindd when the ADS server is
6352 * BUG 1185: Set reconnect time to be the same as the
6353 'winbind cache time'.
6354 * Ensure that we return the sec_desc in smb_io_printer_info_2.
6355 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
6356 * BUG 1095: Honor the '-l' option in smbclient.
6357 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
6359 * Ensure server schannel uses the auth level requested by the
6361 * Removed --with-cracklib option due to potential crash issue.
6362 * Fix -lcrypto linking problem with wbinfo.
6363 * BUG 761: allow printing parameter to set defaults on a per
6365 * Add 'cups options' parameter to allow raw printing without
6366 changing /etc/cups/cupsd.conf.
6367 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
6369 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
6370 * BUG 1288: resolve any machine netbios name (0x00) and not just
6372 * BUG 1199: Fix potential symlink issue in
6373 examples/printing/smbprint.
6376 o Robert Dahlem <Robert.Dahlem@gmx.net>
6377 * BUG 1048: Don't return short names when when 'mangled names = no'
6380 o Guenther Deschner <gd@suse.com>
6381 * Remove hard coded attribute name in the ads ranged retrieval
6383 * Add --with-libdir and --with-mandir to autoconf script.
6386 o Bostjan Golob <golob@gimb.org>
6387 * BUG 1046: Fix getpwent_list() so that the username is not
6388 overwritten by other fields.
6391 o Landon Fuller <landonf@opendarwin.org>
6392 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
6393 to fix user/group enumeration on systems whose libc does not
6394 call setgrent() before trying to enumerate users (i.e.
6398 o Steve French <sfrench@us.ibm.com>
6399 * Update mount.cifs to version 1.1.
6400 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
6401 * Fixes to minor security bug in the mount helper.
6402 * Fix credential file mounting for cifs vfs.
6403 * Fix free of incremented pointer in cifsvfs mount helper.
6404 * Fix path canonicalization of the mount target path and help
6405 text display in the cifs mount helper.
6406 * Add missing guest mount option for mount.cifs.
6409 o SATOH Fumiyasu <fumiya@miraclelinux.com>
6410 * BUG 1055; formatting fixes for 'net share'.
6411 * BUG 692: correct truncation of share names and workgroup
6413 * BUG 1088: use strchr_m() for query_host (smbclient -L).
6414 * Patch from to internally count characters correctly.
6417 o Paul Green <paulg@samba.org>
6418 * Update VOS _POSIX_C_SOURCE macro to 200112L.
6419 * Fix bug in configure.ion by moving the first use of
6420 AC_CHECK_HEADERS so it is always executed.
6421 * Fix configure.in to only use $BLDSHARED to select whether to
6422 build static or shared libraries.
6425 o Pat Haywarrd <Pat.Hayward@propero.net>
6426 * Make the session_users list dynamic (max of 128K).
6429 o Cal Heldenbrand <calzplace@yahoo.com>
6430 * Fix for for 'pam_smbpass migrate' functionality.
6433 o Chris Hertel <crh@samba.org>
6434 * fix enumeration of shares 12 characters in length via
6438 o Ulrich Holeschak <ulrich@holeschak.de>
6439 * BUG 932: fix local password change using pam_smbpass
6442 o Krischan Jodies <kj@sernet.de>
6443 * Implement 'net rpc group delete'
6446 o John Klinger <john.klinger@lmco.com>
6447 * Return NSS_SUCCESS once the max number of gids possible
6448 has been found in initgroups() on Solaris.
6449 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
6452 o Volker Lendecke <vl@samba.org>
6453 * Fix success message for net groupmap modify.
6454 * Fix errors when enumerating members of groups in 'net rpc'.
6455 * Match Windows behavior in samr_lookup_names() by returning
6456 ALIAS(4) when you search in BUILTIN.
6457 * Fix server SAMR code to be able to set alias info for
6459 * Fix duplication of logic when creating groups via smbd.
6460 * Ensure that the HWM values are set correctly after running
6462 * Add 'net rpc group add'.
6463 * Implement 'net groupmap set' and 'net groupmap cleanup'.
6464 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
6465 * Fix wb_delgrpmem (wbinfo -o).
6466 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
6467 * Fix sambaUserWorkstations on a Samba DC.
6468 * Implement wbinfo -k: Have winbind generate an AFS token after
6469 authenticating the user.
6470 * Add expand_msdfs VFS module for providing referrals based on the
6471 the client's IP address.
6472 * Implement client side NETLOGON GetDCName function.
6473 * Fix caching of name->sid lookups.
6474 * Add support in winbindd for expanding nested local groups.
6475 * Fix memleak in winbindd.
6477 * Don't list domain groups from BUILTIN.
6478 * Fix memleak in policy handle utility functions.
6479 * Decrease winbindd startup time by only contacting trusted
6480 domains as necessary.
6481 * Allow winbindd to ask the DC for its domain for a trusted
6483 * Fix Netscape DS schema based on comments from
6484 <thomas.mueller@christ-wasser.de>.
6485 * Correct case where adding a domain user to a XP local group
6486 did a lsalookupname on the user without domain prefix, and
6488 * Fix segfault in winbindd caused by 'wbinfo -a'.
6491 o Herb Lewis <herb@samba.org>
6492 * Fix typo for tag in proto file.
6493 * Add missing #ifdef HAVE_BICONV stuff.
6494 * Truncate Samba's netbios name at the first '.' (not
6498 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
6499 * Bug fixes and enhancements to libsmbclient library.
6502 o Jianliang Lu <j.lu@tiesse.com>
6503 * Enforce the 'user must change password at next login' flag.
6504 * Decode meaning of 'fields present' flags (improves support
6507 * Don't force an upper case domain name in the ntlmssp code.
6510 o L. Lucius <ib@digicron.com>.
6514 o Jim McDonough <jmcd@us.ibm.com>
6515 * Add versioning support to tdbsam.
6516 * Update the IBM Directory Server schema with the OpenLDAP
6518 * Various decoding fixes to improve usrmgr.exe support.
6519 * Fix statfs redeclaration of statfs struct on ppc
6520 * Implement support for password lockout of Samba domain
6521 controllers and standalone servers.
6522 * Get MungedDial attribute actually working with full TS
6523 strings in it for pdb_ldap.
6524 * BUG 1208 (partial): Improvements for working with expired krb5
6525 tickets in winbindd.
6526 * Use timegm, or our already existing replacement instead of
6527 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
6528 * Remove modifyTimestamp from list of our attributes.
6529 * Fix lsalookupnames to check for domain users as well as local
6531 * Merge struct uuid replacement for GUID from trunk.
6532 * BUG 1208: Finish support for handling expired tickets in
6533 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
6536 o Stefan Metzmacher <metze@samba.org>
6537 * Implement new VERSION schema based on subversion revision
6539 * Add shadow_copy vfs module.
6540 * Fix segault in login_cache support.
6543 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
6544 o BUG 979 -- Fix quota display on AIX.
6547 o James Peach <jpeach@sgi.com>
6548 * Correct check for printf() format when using the SGI MIPSPro
6550 * BUG 1038: support backtrace for 'panic action' on IRIX.
6551 * BUG 768: Accept profileing arg to IRIX init script.
6552 * BUG 748: Relax arg parsing to sambalp script (IRIX).
6553 * BUG 758: Fix pdma build.
6554 * Search IRIX ABI paths for libiconv. Based on initial fix from
6558 o Kurt Pfeifle <kpfeifle@danka.de>
6559 * Add example shell script for migrating drivers and printers
6560 from a Windows print server to a Samba print server using
6561 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
6564 o Tim Potter <tpot@samba.org>
6565 * Fix logic bug in tdb non-blocking lock routines when
6567 * BUG 1025: Include sys/acl.h in check for broken nisplus
6569 * BUG 1066: s/printf/d_printf/g in SWAT.
6570 * BUG 1098: rename internal msleep() function to fix build
6572 * BUG 1112: Fix for writable printerdata problem in python bindings.
6573 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
6574 * BUG 1155: enclose use of fchown() with guards.
6575 * Relicense tdb python module as LGPL.
6578 o Richard Sharpe <rsharpe@samba.org>
6579 * Add support to smbclient for multiple logins on the same
6580 session (based on work by abartlet@samba.org).
6581 * Correct blocking condition in smbd's use of accept() on IRIX.
6582 * Add support for printing out the MAC address on nmblookup.
6585 o Simo Sorce <idra@samba.org>
6586 * Replace unknown_3 with fields_present in SAMR code.
6587 * More length checks in strlcat().
6590 o Andrew Tridgell <tridge@samba.org>
6591 * Rewrote the AIX UESS backend for winbindd.
6592 * Fixed compilation with --enable-dmalloc.
6593 * Change tdb license to LGPL (see source/tdb/tdb.c).
6594 * Force winbindd to use schannel in clients connections to
6598 o Jelmer Vernooij <jelmer@samba.org>
6599 * Fix ETA Calculation when resuming downloads in smbget.
6600 * Add -O (for writing downloaded files to standard out)
6601 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
6602 * Fix syntax error in example mysql table
6605 o TAKEDA yasuma <yasuma@miraclelinux.com>
6606 * BUG 900: fix token processing in cmd_symlink, cmd_link,
6607 cmd_chown, cmd_chmod smbclient functions.
6610 o Shiro Yamada <shiro@miraclelinux.com>
6611 * BUG 1129: install image files for SWAT.
6614 --------------------------------------------------
6616 ==============================
6617 Release Notes for Samba 3.0.2a
6619 ==============================
6621 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6622 to address, in particular, a problem when using pdbedit to
6623 sanitize (--force-initialized-passwords) Samba's tdbsam
6624 backend. This is the latest stable release of Samba. This
6625 is the version that all production Samba servers should be
6626 running for all current bug-fixes.
6628 ******************* Attention! Achtung! Kree! *********************
6630 Beginning with Samba 3.0.2, passwords for accounts with a last
6631 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6632 ldapsam, etc...) of zero (0) will be regarded as uninitialized
6633 strings. This will cause authentication to fail for such
6634 accounts. If you have valid passwords that meet this criteria,
6635 you must update the last change time to a non-zero value. If you
6636 do not, then 'pdbedit --force-initialized-passwords' will disable
6637 these accounts and reset the password hashes to a string of X's.
6639 ******************* Attention! Achtung! Kree! *********************
6648 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6649 details. The list of changes per contributor are as follows:
6652 o Jeremy Allison <jra@samba.org>
6653 * Added paranoia checks in parsing code.
6656 o Andrew Bartlett <abartlet@samba.org>
6657 * Ensure that changes to uninitialized passwords in ldapsam
6658 are written to the DIT.
6661 o Gerald (Jerry) Carter <jerry@samba.org>
6662 * Fixed iterator in tdbsam.
6663 * Fix bug that disabled accounts with a valid NT password
6664 hash, but no LanMan hash.
6667 o Steve French <sfrench@us.ibm.com>
6668 * Added missing nosetuid and noexec options.
6671 o Bostjan Golob <golob@gimb.org>
6672 * BUG 1046: Don't overwrite usernames of entries returned
6676 o Sebastian Krahmer <krahmer@suse.de>
6677 * Fixed potential crash bug in NTLMSSP parsing code.
6680 o Tim Potter <tpot@samba.org>
6681 * Fixed logic in tdb_brlock error checking.
6684 o Urban Widmark <urban@teststation.com>
6685 * Set nosuid,nodev flags in smbmnt by default.
6688 --------------------------------------------------
6690 =============================
6691 Release Notes for Samba 3.0.2
6693 =============================
6695 It has been confirmed that previous versions of Samba 3.0 are
6696 susceptible to a password initialization bug that could grant an
6697 attacker unauthorized access to a user account created by the
6698 mksmbpasswd.sh shell script.
6700 The Common Vulnerabilities and Exposures project (cve.mitre.org)
6701 has assigned the name CAN-2004-0082 to this issue.
6703 Samba administrators not wishing to upgrade to the current
6704 version should download the 3.0.2 release, build the pdbedit
6707 root# pdbedit-3.0.2 --force-initialized-passwords
6709 This will disable all accounts not possessing a valid password
6710 (e.g. the password field has been set a string of X's).
6712 Samba servers running 3.0.2 are not vulnerable to this bug
6713 regardless of whether or not pdbedit has been used to sanitize
6716 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
6719 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
6720 o Logging onto a Samba domain from Windows XP clients.
6721 o Problems with the %U and %u smb.conf variables in relation to
6722 Windows 9x/ME clients.
6723 o Kerberos failures due to an invalid in memory keytab detection
6725 o Updates to the ntlm_auth tool.
6726 o Fixes for various SMB signing errors.
6727 o Better separation of WINS and DNS queries for domain controllers.
6728 o Issues with nss_winbind FreeBSD and Solaris.
6729 o Several crash bugs in smbd and winbindd.
6730 o Output formatting fixes for smbclient for better compatibility
6731 with scripts based on the 2.2 version.
6740 Parameter Name Action
6741 -------------- ------
6742 ldap replication sleep New
6743 read size removed (unused)
6744 source environment removed (unused)
6750 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6751 details. The list of changes per contributor are as follows:
6753 o Jeremy Allison <jra@samba.org>
6754 * Revert change that broke Exchange clear text samlogons.
6755 * Fix gcc 3.4 warning in MS-DFS code.
6756 * Tidy up of NTLMSSP code.
6757 * Fixes for SMB signing errors
6758 * BUG 815: Workaround NT4 bug to support plaintext
6759 password logins and UNICODE.
6760 * Fix SMB signing bug when copying large files.
6761 * Correct error logic in mkdir_internals() (caused a panic
6762 when combined with --enable-developer).
6763 * BUG 830: Protect against crashes due to bad character
6767 o Petri Asikainen <paca@sci.fi>
6768 * BUG 330, 387:Fix single valued attribute updates when
6769 working with Novell NDS.
6772 o Andrew Bartlett <abartlet@samba.org>
6773 * Correctly handle per-pipe NTLMSSP inside a NULL session.
6774 * Fix segfault in gencache
6775 * Fix early free() of encrypted_session_key.
6776 * Change DC lookup routines to more carefully separate
6777 DNS names (realms) from NetBIOS domain names.
6778 * Add new sid_to_dn() function for internal winbindd use.
6779 * Refactor cli_ds_enum_domain_trusts().
6780 * BUG 707: Implement range retrieval of ADS attributes (based
6781 on work from Volker <vl@samba.org> and Guenther Deschner
6783 * Automatically initialize the signing engine if a session key
6785 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
6786 encoded strings, only form input in SWAT.
6787 * Resets the NTLMSSP state for new negotiate packets.
6788 * Add 2-byte alignments in net_samlogon() queries to parse
6789 odd-length plain text passwords.
6790 * Allow Windows groups with no members in winbindd.
6791 * Allow normal authentication in the absence of a server
6792 generated session key.
6793 * More optimizations for looking up UNIX group lists.
6794 * Clean up error codes and return values for pam_winbindd
6795 and winbindd PAM interface.
6796 * Fix string return values in ntlm_auth tool.
6797 * Fix segfault when 'security = ads' but no realm is defined.
6798 * BUG 722: Allow winbindd to map machine accounts to uids.
6799 * More cleanups for winbindd's find_our_domain().
6800 * More clearly detect whether a domain controller is an NT4
6801 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
6802 * Increase separation between DNS queries for hosts and queries
6803 for AD domain controllers.
6804 * Include additional NT_STATUS to PAM error mappings.
6805 * Password initialization fixes.
6808 o Justin Baugh <justin.baugh@request.com>
6809 * BUG 948: Implement missing functions required for FreeBSD
6810 nss_winbind support.
6813 o Alexander Bokovoy <ab@samba.org>
6814 * BUG 922: Make sure enable fast path for strlower_m() and
6818 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
6819 * Fix crash when using 'security = server' and 'encrypt
6820 passwords = no' by always initializing the session key.
6823 o Dmitry Butskoj <buc@odusz.elektra.ru>
6824 * Fix for special files being hidden from admins.
6827 o Gerald (Jerry) Carter <jerry@samba.org>
6828 * Fix bug in the lanman session key generation. Caused
6829 "decode_pw: incorrect password length" error messages.
6830 * Save the right case for the located user name in
6831 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
6832 * BUG 897: Add well known rid for pre win2k compatible access
6834 * BUG 887: Correct typo in delete user script example.
6835 * Use short lived TALLOC_CTX* for allocating printer objects
6836 from the print handle cache.
6837 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
6838 * Fix several warnings reported by the SUN Forte C compiler.
6839 * Fully control DNS queries for AD DC's using 'name resolve order'.
6840 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
6841 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
6842 * BUG 936: fix bind credentials for schannel binds in smbd.
6843 * BUG 446: Fix output of smbclient for better compatibility
6844 with scripts based on the 2.2 version (including Amanda).
6845 * BUG 891, 949: Fedora packaging fixes.
6846 * Fix bug that caused rpcclient to incorrectly retrieve
6847 the SID for a server (this causing all calls that required
6848 this information to fail).
6849 * BUG 977: Don't create a homes share for a user if a static
6850 share already exists by the same name.
6851 * Removed unused smb.conf options.
6852 * Password initialization fixes.
6853 * Set the disable flag for template accounts created by
6855 * Disable any account has no passwords and does not have the
6856 ACB_PWNOTREQ bit set.
6859 o Guenther Deschner <gd@suse.com>
6860 * Install smbwrapper.so should be put into the $(libdir)
6862 * Add the capability to specify the new user password
6863 for "net ads password" on the command line.
6864 * Correctly detect AFS headers on SuSE.
6867 o James Flemer <jflemer@uvm.edu>
6868 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
6869 HAVE_SYS_ATTRIBUTES_H.
6872 o Luke Howard <lukeh@PADL.COM>
6873 * Fix segfault in session setup reply caused by a early free().
6876 o Stoian Ivanov <sdr@bultra.com>
6877 * Implement grepable output for smbclient -L.
6880 o LaMont Jones <lamont@debian.org>
6881 * BUG 225328 (Debian): Correct false failure LFS test that resulted
6882 in _GNU_SOURCE not being defined (thus resulting in strndup()
6886 o Volker Lendecke <vl@samba.org>
6887 * BUG 583: Ensure that user names always contain the short
6888 version of the domain name.
6889 * Fix our parsing of the LDAP uri.
6890 * Don't show the 'afs username map' in the SWAT basic view.
6891 * Fix SMB signing issues in relation to failed NTLMSSP logins.
6892 * BUG 924: Fix return codes in smbtorture harness.
6893 * Always lower-case usernames before handing it to AFS code.
6894 * Add a German translation for SWAT.
6895 * Fix a segfaults in winbindd.
6896 * Fix the user's domain passed to register_vuid() from
6897 reply_spnego_Kerberos().
6898 * Add NSS example code in nss_winbind to convert UNIX
6899 id's <-> Windows SIDs.
6900 * Display more descriptive error messages for login via 'net'.
6901 * Fix compiler warning in the net tool.
6902 * Fix length bug when decoding base64 strings.
6903 * Ensure we don't call getpwnam() inside a loop that is iterating
6904 over users with getpwent(). This broke on glibc 2.3.2.
6907 o Herb Lewis <herb@samba.org>
6908 * Fix bit rot in psec.
6911 o Jianliang Lu <j.lu@tiesse.com>
6912 * Ensure we delete the group mapping before calling the delete
6914 * Define well known RID for managing the "Power Users" group.
6915 * BUG 381: check builtin (not local) group SID when updating
6917 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
6921 o John Klinger <john.klinger@lmco.com>
6922 * Implement initgroups() call in nss_winbind on Solaris.
6925 o Jim McDonough <jmcd@us.ibm.com>
6926 * Fix regression in net rpc join caused by recent changes
6927 to cli_lsa_query_info_policy().
6928 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
6932 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
6933 * BUG 570: Ensure that configure honors the LDFLAGS variable.
6936 o Stefan Metzmacher <metze@samba.org>
6937 * Implement LDAP rebind sleep patch.
6938 * Revert to 2.2 quota code because of so many broken quota files
6940 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
6941 XFS_USER_QUOTA -> USRQUOTA
6942 XFS_GROUP_QUOTA -> GRPQUOTA
6943 * Fix disk_free calculation with group quotas.
6944 * Add debug class 'quota' and a lot of DEBUG()'s
6946 * Fix sys_chown() when no chown() is present.
6947 * Add SIGABRT to fault handling in order to catch got a
6948 backtrace if an error occurs the OpenLDAP client libs.
6952 * Allow an existing LDAP machine account to be re-used when
6953 joining an AD domain.
6956 o James Peach <jpeach@sgi.com>
6957 * BUG 889: Change smbd to use pread/pwrite on platforms that
6958 support these calls. Can lead to a significant speed increase.
6961 o Tim Potter <tpot@samba.org>
6962 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
6963 * BUG 924: Fix typo in RW2 torture test.
6966 o Richard Sharpe <rsharpe@samba.org>
6967 * Small fixes to torture.c to cleanup the error handling
6968 and prevent crashes.
6971 o J. Tournier <jerome.tournier@IDEALX.com>
6972 * Small fixes for the smbldap-tool scripts.
6975 o Andrew Tridgell <tridge@samba.org>
6976 * Fix src len check in pull_usc2().
6979 o Jelmer Vernooij <jelmer@samba.org>
6980 * Put functions for generating SQL queries in pdb_sql.c
6981 * Add pgSQL backend (based on patch by Hamish Friedlander)
6982 * BUG 908: Fix -s option to smbcontrol.
6983 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
6984 * Fix for libnss_wins on IRIX platforms.
6985 * Fix swatdir for --with-fhs.
6988 --------------------------------------------------
6990 =============================
6991 Release Notes for Samba 3.0.1
6993 =============================
6995 Some of the more common bugs in 3.0.0 addressed in the release
6998 o Substitution problems with smb.conf variables.
6999 o Errors in return codes which caused some applications
7000 to fail to open files.
7001 o General Protection Faults on Windows 2000/XP clients
7002 using Samba point-n-print features.
7003 o Several miscellaneous crash bugs.
7004 o Access problems when enumerating group mappings are
7005 stored in an LDAP Directory.
7006 o Several common SWAT bugs when writing changes to
7008 o Internal inconsistencies when 'winbind use default
7014 ----------------------
7016 Parameter Name Action
7017 -------------- ------
7018 hide local users Removed
7019 mangled map Deprecated
7020 mangled stack Removed
7021 passwd chat timeout New
7027 o Change the interface for init_unistr2 to not take a length
7028 but a flags field. We were assuming that
7029 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
7030 o Allow d_printf() to handle strings with escaped quotation
7031 marks since the msg file includes the escape character (bug 489).
7032 o Fix bad html table row termination in SWAT wizard code (bug 413).
7033 o Fix to parse the level-2 strings.
7034 o Fix for "valid users = %S" in [homes]. Fix read/write
7036 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
7037 This is the same way AC_CHECK_LIB works (bug 508).
7038 o Testparm output fixes for clarity.
7039 o Fix broken wins hook functionality -- i18n bug (bug 528).
7040 o Take care of condition where DOS and NT error codes must differ.
7041 o Default to using only built-in charsets when a working iconv
7042 implementation cannot be located.
7043 o Wrap internals of sys_setgroups() so the sys_XX() call can
7044 be done unconditionally (bug 550).
7045 o Remove duplicate smbspool link on SWAT's front page (bug 541).
7046 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
7047 --enable-debug=[yes|no] works correctly.
7048 o Allow ^C to interrupt smbpasswd if using our getpass
7049 (e.g. smbpasswd command).
7050 o Support signing only on RPC's (bug 167).
7051 o Correct bug that prevented Excel 2000 clients from opening
7052 files marked as read-only.
7053 o Portability fix bugs 546 - 549).
7054 o Explicitly initialize the value of AR for vendor makes that don't
7055 do this (e.g. HPUX 11). (bug 552).
7056 o More i18n fixes for SWAT (bug 413).
7057 o Change the cwd before the postexec script to ensure that a
7058 umount will succeed.
7059 o Correct double free that caused winbindd to crash when a DC
7060 is rebooted (bug 437).
7061 o Fix incorrect mode sum (bug 562).
7062 o Canonicalize SMB_INFO_ALLOCATION in the same was as
7063 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
7064 o Add script to generate *msg files.
7065 o Add Dutch SWAT translation file.
7066 o Make sure to call get_user_groups() with the full winbindd
7067 name for a user if he/she has one (bug 406).
7068 o Fix up error code returns from Samba4 tester. Ensure invalid
7069 paths are validated the same way.
7070 o Allow Samba3 to pass the Samba4 RAW-READ tests.
7071 o Refuse to configure if --with-expsam=$BACKEND was used but no
7072 libraries were found for $BACKEND.
7073 o Move sysquotas autoconf tests to a separate file.
7074 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
7076 o Make sure that the files that contain the static_init_$subsystem;
7077 macro get recompiled after configure by removing the object
7079 o Ensure canceling a blocking lock returns the correct error
7081 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
7082 o Updated Japanese welcome file in SWAT.
7083 o Fix to nt-time <-> unix-time functions reversible.
7084 o Ensure that winbindd uses the the escaped DN when querying
7086 o Fix portability issues when compiling (bug 505, 550)
7087 o Compile fix for tdbbackup when Samba needs to override
7088 non-C99 compliant implementations of snprintf().
7089 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
7090 o Make sure we break out of samsync loop on error.
7091 o Ensure error code path doesn't free unmalloc()'d memory
7093 o Add configure test for krb5_keytab_entry keyblock vs key
7096 o Modified testparm so that all output so all debug output goes
7097 to stderr, and all file processing goes to stdout.
7098 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
7100 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
7101 we have a devmode before copying a string to the devicename.
7102 o Support mapping REALM.COM\user to a local user account (without
7103 running winbindd) for compatibility with 2.2.x release.
7104 o Ensure we don't use mmap() on blacklisted systems.
7105 o fixed a number of bugs and memory leaks in the AIX
7107 o Call initgroups() in SWAT before becomming the user so that
7108 secondary group permissions can be used when writing to
7110 o Fix signing problems when reverse connecting back to a
7111 client for printer notify
7112 o Fix signing problems caused by a miss-sequence bug.
7113 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
7114 Fixes NEXUS tools running on Win9x clients (bug 64).
7115 o Don't leave the domain field uninitialized in cli_lsa.c if some
7116 SID could not be mapped.
7117 o Fix segfault in mount.cifs helper when there is no options
7118 specified during mount.
7119 o Change the \n after the password prompt to go to tty instead
7120 of stdout (bug 668).
7121 o Stop net -P from prompting for machine account password (bug 451).
7122 o Change in behavior to Not only change the effective uid but also
7123 the real uid when becoming unprivileged.
7124 o Cope with Exchange 5.5 cleartext pop password auth.
7125 o New files for support of initshutdown pipe. Win2k doesn't
7126 respond properly to all requests on the winreg pipe, so we need
7127 to handle this new pipe (bug 534).
7128 o Added more va_copy() checks in configure.in.
7129 o Include fixes for libsmbclient build problems.
7130 o Missing UNIX -> DOS codepage conversion in lanman.c.
7131 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
7132 o Parameterize the listen backlog in smbd and make it larger by
7133 default. A backlog of 5 is way too small these days.
7134 o Check for an invalid fid before dereferencing the fsp pointer
7136 o Remove invalid memory frees and return codes in pdb_ldap.c.
7137 o Prompt for password when invoking --set-auth-user and no
7139 o Bind the nmbd sending socket to the 'socket address'.
7140 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
7141 $LDFLAGS occurs before any library specification (bug 661).
7142 o Fix large number of printf() calls for 64-bit size_t.
7143 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
7144 keyblock in the krb5 structs.
7145 o Remove #include <compat.h> in hopes to avoid problems with
7146 apache header files.
7147 o Correct winbindd build problems on HP-UX 11.
7148 o Lowercase netgroups lookups (bug 703).
7149 o Use the actual size of the buffer in strftime instead of a made
7150 up value which just happens to be less than sizeof(fstring).
7152 o Add ldaplibs to pdbedit link line (bug 651).
7153 o Fix crash bug in smbclient completion (bug 659).
7154 o Fix packet length for browse list reply (bug 771).
7155 o Fix coredump in cli_get_backup_list().
7156 o Make sure that we expand %N (bug 612).
7157 o Allow rpcclient adddriver command to specify printer driver
7159 o Compile tdbdump by default.
7160 o Apply patches to fix iconv detection for FreeBSD.
7161 o Do not allow the 'guest account' to be added to a passdb backend
7162 using smbpasswd or pdbedit (bug 624).
7163 o Save LDFLAGS during iconv detection (bug 57).
7164 o Run krb5 logins through the username map if the winbindd
7165 lookup fails (bug 698).
7166 o Add const for lp_set_name_resolve_order() to avoid compiler
7168 o Add support for the %i macro in smb.conf to stand in for the for
7169 the local IP address to which a client connected.
7170 o Allow winbindd to match local accounts to domain SID when
7171 'winbind trusted domains only = yes' (bug 680).
7172 o Remove code in idmap_ldap that searches the user suffix and group
7173 suffix. It's not needed and provides inconsistent functionality
7174 from the tdb backend.
7175 o Patch to handle munged dial string for Windows 2000 TSE.
7176 Thanks to Gaz de France, Direction de la Recherche, Service
7177 Informatique Métier for their supporting this work by Aurelien
7178 Degrémont <adegremont@idealx.com>.
7179 o Correct the "smbldap_open: cannot access when not root error"
7180 messages when looking up group information (bug 281).
7181 o Skip over the winbind separator when looking up a user.
7182 This fixes the bug that prevented local users from
7183 matching an AD user when not running winbindd (bug 698).
7184 o Fix a problem with configure on *BSD systems. Make sure
7185 we add -liconv etc to LDFLAGS.
7186 o Fix core dump bug when "security = server" and the authentication
7188 o Correct crash bug due to an empty munged dial string.
7189 o Show files locked by a specific user (smbstatus -u 'user')
7191 o Fix bug preventing print jobs from display in the queue
7192 monitor used by Windows NT and later clients (bug 660).
7193 o Fix several reported problems with point-n-print from
7194 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
7195 reply (bug 338, 527 & 643).
7196 o Fix a handful of potential memory leaks in the LDAP code used
7197 by ldapsam[_compat] and the LDAP idmap backend.
7198 o Fix for pdbedit error code returns (bug 763).
7199 o Make sure we only enumerate group mapping entries (not
7200 /etc/group) even when doing local aliases.
7201 o Relax check on the pipe name in a dce/rpc bind response to work
7202 around issues with establishing trusts to a Windows 2003 domain.
7203 o Ensure we mangle names ending in '.' in hash2 mangling method.
7204 o Correct parsing issues with munged dial string.
7205 o Fix bugs in quota support for XFS.
7206 o Add a cleaner method for applications that need to provide
7207 name->SID mappings to do this via NSS rather than having to
7208 know the winbindd pipe protocol.
7209 o Adds a variant of the winbindd_getgroups() call called
7210 winbindd_getusersids() that provides direct SID->SIDs listing of
7211 a users supplementary groups. This is enough to allow non-Samba
7212 applications to do ACL checking.
7213 o Make sure we don't append the 'ldap suffix' when writing out the
7214 'ldap XXX suffix' values in SWAT (bug 328).
7215 o Fix renames across file systems.
7216 o Ensure that items in a list of strings containing whitespace are
7217 written out surrounded by single quotes. This means that both
7218 double and single quotes are now used to surround strings in
7220 o Enable SWAT to correctly determine if winbindd is running (bug
7222 o Include WWW-Authenticate field in 401 response for bad auth
7224 o Add support for NTLM2 (NTLMv2 session security).
7225 o Add support for variable-length session keys.
7226 o More privilege fixes for group enumeration in LDAP (bug 281).
7227 o Use the dns name (or IP) as the originating client name when
7228 using CUPS (bug 467).
7229 o Fix various SMB signing bugs.
7230 o Fix ACL propagation on a DFS root (bug 263).
7231 o Disable NTLM2 for RPC pipes.
7232 o Allow the client to specify the NTLM2 flags got NTLMSSP
7234 o Change the name of the job passed off to cups from "Test Page"
7235 to "smbprn.00000033 Test Page" so that we can get the smb
7236 jobid back. This allow users to delete jobs with cups printing
7237 backend (partial work on bug 770).
7238 o Fix build of winbindd with static pdb modules.
7239 o Retrieve the correct ACL group bits if the file has an ACL
7241 o Implement "net rpc group members": Get members of a domain group
7242 in human-readable format.
7243 o Add MacOSX (Darwin) specific charset module code.
7244 o Use samr_dispinfo(level == 1) for enumerating domain users so we
7245 can include the full name in gecos field (bug 587).
7246 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
7247 o Implement 'net rpc group list [global|local|builtin]*' for a
7248 select listing of the respective user databases.
7249 o Don't automatically set NT status code flag unless client tells
7251 o Add 'net status [sessions|shares] [parseable]'.
7252 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
7254 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
7256 o Fix inverted logic in hosts allow/deny checks caused by
7257 s/strcmp/strequal/ (bug 846).
7258 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
7259 o Fix typo in 'hash' mangling algorithm.
7260 o Support munged dial for ldapsam (bug 800).
7261 o Fix process_incoming_data() to return the number of bytes handled
7262 this call whether we have a complete PDU or not; fixes bug
7263 with multiple PDU request rpc's broken over SMBwriteX calls
7265 o Fix incorrect smb flags2 for connections to pre-NT servers
7266 (causes smbclient to fail to OS2 for example) (bug 821).
7267 o Update version string in smbldap-tools Makefile to 0.8.2.
7268 o Correct a problem with "net rpc vampire" mis-parsing the
7269 alias member info reply.
7270 o Ensure the ${libdir} is created by the installclientlib script.
7271 o Fix detection of Windows 2003 client architecture in the smb.conf
7273 o Ensure that smbd calls the add user script for a missing UNIX
7274 user on Kerberos auth call (bug 445).
7275 o Fix bugs in hosts allow/deny when using a mismatched
7276 network/netmask pair.
7277 o Protect alloc_sub_basic() from crashing when the source string
7278 is NULL (partial work on bug 687).
7279 o Fix spinlocks on IRIX.
7280 o Corrected some bad destination paths when running "configure
7282 o Add packaging files for Fedora Core 1.
7283 o Correct bug in SWAT install script for non-english languages.
7284 o Support character set ISO-8859-1 internally (bug 558).
7285 o Fixed more LDAP access errors when looking up group mappings
7287 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
7288 resolution to fail on local files on on domain members
7290 o Fix uninitialized variable in passdb.c.
7291 o Fix formal parameter type in get_static() in nsswitch/wins.c.
7292 o Fix problem mounting directories when mount.cifs is installed
7293 with the setuid bit on.
7294 o Fix bug that prevent --mandir from overriding the defaults
7295 given in the --with-fhs macro.
7296 o Fix bug in in-memory Kerberos keytab detection routines
7301 ######################################################################
7303 The original 3.0.0 release notes follow
7304 =======================================
7305 WHATS NEW IN Samba 3.0.0
7307 =======================================
7313 1) Active Directory support. Samba 3.0 is now able to
7314 join a ADS realm as a member server and authenticate
7315 users using LDAP/Kerberos.
7317 2) Unicode support. Samba will now negotiate UNICODE on the wire
7318 and internally there is now a much better infrastructure for
7319 multi-byte and UNICODE character sets.
7321 3) New authentication system. The internal authentication system
7322 has been almost completely rewritten. Most of the changes are
7323 internal, but the new auth system is also very configurable.
7325 4) New default filename mangling system.
7327 5) A new "net" command has been added. It is somewhat similar to
7328 the "net" command in windows. Eventually we plan to replace
7329 numerous other utilities (such as smbpasswd) with subcommands
7332 6) Samba now negotiates NT-style status32 codes on the wire. This
7333 improves error handling a lot.
7335 7) Better Windows 2000/XP/2003 printing support including publishing
7336 printer attributes in active directory.
7338 8) New loadable module support for passdb backends and character
7341 9) New default dual-daemon winbindd support for better performance.
7343 10) Support for migrating from a Windows NT 4.0 domain to a Samba
7344 domain and maintaining user, group and domain SIDs.
7346 11) Support for establishing trust relationships with Windows NT 4.0
7349 12) Initial support for a distributed Winbind architecture using
7350 an LDAP directory for storing SID to uid/gid mappings.
7352 13) Major updates to the Samba documentation tree.
7354 14) Full support for client and server SMB signing to ensure
7355 compatibility with default Windows 2003 security settings.
7357 15) Improvement of ACL mapping features based on code donated by
7358 Andreas Grünbacher.
7361 Plus lots of other improvements!
7364 Additional Documentation
7365 ------------------------
7367 Please refer to Samba documentation tree (included in the docs/
7368 subdirectory) for extensive explanations of installing, configuring
7369 and maintaining Samba 3.0 servers and clients. It is advised to
7370 begin with the Samba-HOWTO-Collection for overviews and specific
7371 tasks (the current book is up to approximately 400 pages) and to
7372 refer to the various man pages for information on individual options.
7374 We are very glad to be able to include the second edition of
7375 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
7376 (O'Reilly & Associates) in this release. The book is available
7377 on-line at http://samba.org/samba/docs/ and is included with
7378 the Samba Web Administration Tool (SWAT). Thanks to the authors and
7379 publisher for making "Using Samba" under the GNU Free Documentation
7383 ######################################################################
7384 Upgrading from a previous Samba 3.0 beta
7385 ########################################
7387 Beginning with Samba 3.0.0beta3, the RID allocation functions
7388 have been moved into winbindd. Previously these were handled
7389 by each passdb backend. This means that winbindd must be running
7390 to automatically allocate RIDs for users and/or groups. Otherwise,
7391 smbd will use the 2.2 algorithm for generating new RIDs.
7393 If you are using 'passdb backend = tdbsam' with a previous Samba
7394 3.0 beta release (or possibly alpha), it may be necessary to
7395 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
7396 to winbindd_idmap.tdb. To do this:
7398 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
7400 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
7402 3) run: (note that 'tdb>' is the tool's prompt for input)
7404 root# ./tdbtool /usr/local/samba/private/passdb.tdb
7405 tdb> show RID_COUNTER
7409 [000] 0A 52 00 00 .R.
7411 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
7415 If you are using 'passdb backend = ldapsam', it will be necessary to
7416 store idmap entries in the LDAP directory as well (i.e. idmap backend
7417 = ldap). Refer to the 'net idmap' command for more information on
7418 migrating SID<->UNIX id mappings from one backend to another.
7420 If the RID_COUNTER record does not exist, then these instructions are
7421 unneccessary and the new RID_COUNTER record will be correctly generated
7426 ########################
7427 Upgrading from Samba 2.2
7428 ########################
7430 This section is provided to help administrators understand the details
7431 involved with upgrading a Samba 2.2 server to Samba 3.0.
7437 Many of the options to the GNU autoconf script have been modified
7438 in the 3.0 release. The most noticeable are:
7440 * removal of --with-tdbsam (is now included by default; see section
7441 on passdb backends and authentication for more details)
7443 * --with-ldapsam is now on used to provided backward compatible
7444 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
7445 backend and authentication section for more details
7447 * inclusion of non-standard passdb modules may be enabled using
7448 --with-expsam. This includes an XML backend and a mysql backend.
7450 * removal of --with-msdfs (is now enabled by default)
7452 * removal of --with-ssl (no longer supported)
7454 * --with-utmp now defaults to 'yes' on supported systems
7456 * --with-sendfile-support is now enabled by default on supported
7463 This section contains a brief listing of changes to smb.conf options
7464 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
7465 complete descriptions of new or modified parameters.
7467 Removed Parameters (order alphabetically):
7470 * alternate permissions
7473 * code page directory
7475 * domain admin group
7476 * domain guest group
7477 * force unknown acl user
7483 * printer driver file
7484 * printer driver location
7486 * source environment
7494 New Parameters (new parameters have been grouped by function):
7498 * abort shutdown script
7501 User and Group Account Management
7502 ---------------------------------
7504 * add machine script
7505 * add user to group script
7506 * algorithmic rid base
7507 * delete group script
7508 * delete user from group script
7510 * set primary group script
7516 * passwd chat timeout
7520 * client lanman auth
7521 * client NTLMv2 auth
7527 * paranoid server security
7536 * hide special files
7537 * hide unwriteable files
7539 * kernel change notify
7549 * max reported print jobs
7551 UNICODE and Character Sets
7552 --------------------------
7558 SID to uid/gid Mappings
7559 -----------------------
7563 * winbind enable local accounts
7564 * winbind trusted domains only
7565 * template primary group
7566 * enable rid algorithm
7573 * ldap machine suffix
7575 * ldap replication sleep
7578 General Configuration
7579 ---------------------
7583 Modified Parameters (changes in behavior):
7585 * encrypt passwords (enabled by default)
7586 * mangling method (set to 'hash2' by default)
7589 * restrict anonymous (integer value)
7590 * security (new 'ads' value)
7591 * strict locking (enabled by default)
7592 * unix extensions (enabled by default)
7593 * winbind cache time (increased to 5 minutes)
7594 * winbind uid (deprecated in favor of 'idmap uid')
7595 * winbind gid (deprecated in favor of 'idmap gid')
7601 This section contains brief descriptions of any new databases
7602 introduced in Samba 3.0. Please remember to backup your existing
7603 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
7604 upgrade databases as they are opened (if necessary), but downgrading
7605 from 3.0 to 2.2 is an unsupported path.
7607 Name Description Backup?
7608 ---- ----------- -------
7609 account_policy User policy settings yes
7610 gencache Generic caching db no
7611 group_mapping Mapping table from Windows yes
7612 groups/SID to unix groups
7613 winbindd_idmap ID map table from SIDS to UNIX yes
7615 namecache Name resolution cache entries no
7616 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
7617 returned as part of a successful
7618 net_sam_logon request
7619 printing/*.tdb Cached output from 'lpq no
7620 command' created on a per print
7622 registry Read-only samba registry skeleton no
7623 that provides support for exporting
7624 various db tables via the winreg RPCs
7630 The following issues are known changes in behavior between Samba 2.2 and
7631 Samba 3.0 that may affect certain installations of Samba.
7633 1) When operating as a member of a Windows domain, Samba 2.2 would
7634 map any users authenticated by the remote DC to the 'guest account'
7635 if a uid could not be obtained via the getpwnam() call. Samba 3.0
7636 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
7637 current work around to re-establish the 2.2 behavior.
7639 2) When adding machines to a Samba 2.2 controlled domain, the
7640 'add user script' was used to create the UNIX identity of the
7641 machine trust account. Samba 3.0 introduces a new 'add machine
7642 script' that must be specified for this purpose. Samba 3.0 will
7643 not fall back to using the 'add user script' in the absence of
7644 an 'add machine script'
7647 ######################################################################
7648 Passdb Backends and Authentication
7649 ##################################
7651 There have been a few new changes that Samba administrators should be
7652 aware of when moving to Samba 3.0.
7654 1) encrypted passwords have been enabled by default in order to
7655 inter-operate better with out-of-the-box Windows client
7656 installations. This does mean that either (a) a samba account
7657 must be created for each user, or (b) 'encrypt passwords = no'
7658 must be explicitly defined in smb.conf.
7660 2) Inclusion of new 'security = ads' option for integration
7661 with an Active Directory domain using the native Windows
7662 Kerberos 5 and LDAP protocols.
7664 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
7665 type which is neccessary for servers on which the
7666 administrator password has not been changed, or Kerberos-enabled
7667 SMB connections to servers that require Kerberos SMB signing.
7668 Besides this one difference, either MIT or Heimdal Kerberos
7669 distributions are usable by Samba 3.0.
7672 Samba 3.0 also includes the possibility of setting up chains
7673 of authentication methods (auth methods) and account storage
7674 backends (passdb backend). Please refer to the smb.conf(5)
7675 man page for details. While both parameters assume sane default
7676 values, it is likely that you will need to understand what the
7677 values actually mean in order to ensure Samba operates correctly.
7679 The recommended passdb backends at this time are
7681 * smbpasswd - 2.2 compatible flat file format
7682 * tdbsam - attribute rich database intended as an smbpasswd
7683 replacement for stand alone servers
7684 * ldapsam - attribute rich account storage and retrieval
7685 backend utilizing an LDAP directory.
7686 * ldapsam_compat - a 2.2 backward compatible LDAP account
7689 Certain functions of the smbpasswd(8) tool have been split between the
7690 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
7691 utility. See the respective man pages for details.
7694 ######################################################################
7698 This section outlines the new features affecting Samba / LDAP
7704 A new object class (sambaSamAccount) has been introduced to replace
7705 the old sambaAccount. This change aids us in the renaming of
7706 attributes to prevent clashes with attributes from other vendors.
7707 There is a conversion script (examples/LDAP/convertSambaAccount) to
7708 modify and LDIF file to the new schema.
7712 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
7713 $ convertSambaAccount --sid=<Domain SID> \
7714 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
7715 --changetype=[modify|add]
7717 The <DOM SID> can be obtained by running 'net getlocalsid
7718 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
7719 the format of the generated LDIF output--either create new entries
7720 or modify existing entries.
7722 The old sambaAccount schema may still be used by specifying the
7723 "ldapsam_compat" passdb backend. However, the sambaAccount and
7724 associated attributes have been moved to the historical section of
7725 the schema file and must be uncommented before use if needed.
7726 The 2.2 object class declaration for a sambaAccount has not changed
7727 in the 3.0 samba.schema file.
7729 Other new object classes and their uses include:
7731 * sambaDomain - domain information used to allocate rids
7732 for users and groups as necessary. The attributes are added
7733 in 'ldap suffix' directory entry automatically if
7734 an idmap uid/gid range has been set and the 'ldapsam'
7735 passdb backend has been selected.
7737 * sambaGroupMapping - an object representing the
7738 relationship between a posixGroup and a Windows
7739 group/SID. These entries are stored in the 'ldap
7740 group suffix' and managed by the 'net groupmap' command.
7742 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
7743 automatically and contains the next available 'idmap uid' and
7746 * sambaIdmapEntry - object storing a mapping between a
7747 SID and a UNIX uid/gid. These objects are created by the
7748 idmap_ldap module as needed.
7750 * sambaSidEntry - object representing a SID alone, as a Structural
7751 class on which to build the sambaIdmapEntry.
7754 New Suffix for Searching
7755 ------------------------
7757 The following new smb.conf parameters have been added to aid in directing
7758 certain LDAP queries when 'passdb backend = ldapsam://...' has been
7761 * ldap suffix - used to search for user and computer accounts
7762 * ldap user suffix - used to store user accounts
7763 * ldap machine suffix - used to store machine trust accounts
7764 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
7765 * ldap idmap suffix - location of sambaIdmapEntry objects
7767 If an 'ldap suffix' is defined, it will be appended to all of the
7768 remaining sub-suffix parameters. In this case, the order of the suffix
7769 listings in smb.conf is important. Always place the 'ldap suffix' first
7772 Due to a limitation in Samba's smb.conf parsing, you should not surround
7773 the DN's with quotation marks.
7779 Samba 3.0 supports an ldap backend for the idmap subsystem. The
7780 following options would inform Samba that the idmap table should be
7781 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
7786 idmap backend = ldap:ldap://onterose/
7787 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
7788 idmap uid = 40000-50000
7789 idmap gid = 40000-50000
7791 This configuration allows winbind installations on multiple servers to
7792 share a uid/gid number space, thus avoiding the interoperability problems
7793 with NFS that were present in Samba 2.2.
7797 ######################################################################
7798 Trust Relationships and a Samba Domain
7799 ######################################
7801 Samba 3.0.0beta2 is able to utilize winbindd as the means of
7802 allocating uids and gids to trusted users and groups. More
7803 information regarding Samba's support for establishing trust
7804 relationships can be found in the Samba-HOWTO-Collection included
7805 in the docs/ directory of this release.
7807 First create your Samba PDC and ensure that everything is
7808 working correctly before moving on the trusts.
7810 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
7811 4.0 domain named WINDOWS:
7813 1) create the trust account for SAMBA in "User Manager for Domains"
7814 2) connect the trust from the Samba domain using
7815 'net rpc trustdom establish GLASS'
7817 To create a trustlationship with SAMBA as the trusted domain:
7819 1) create the initial trust account for GLASS using
7820 'smbpasswd -a -i GLASS'. You may need to create a UNIX
7821 account for GLASS$ prior to this step (depending on your
7822 local configuration).
7823 2) connect the trust from a WINDOWS DC using "User Manager
7826 Now join winbindd on the Samba PDC to the SAMBA domain using
7827 the normal steps for adding a Samba server to an NT4 domain:
7828 (note that smbd & nmbd must be running at this point)
7830 root# net rpc join -U root
7831 Password: <enter root password from smbpasswd file here>
7833 Start winbindd and test the join with 'wbinfo -t'.
7835 Now test the trust relationship by connecting to the SAMBA DC
7836 (e.g. POGO) as a user from the WINDOWS domain:
7838 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
7841 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
7843 $ smbclient //crystal/netlogon -U root -W WINDOWS
7846 ######################################################################
7850 Beginning with Samba3.0.0beta3, winbindd has been given new account
7851 manage functionality equivalent to the 'add user script' family of
7852 smb.conf parameters. The idmap design has also been changed to
7853 centralize control of foreign SID lookups and matching to UNIX
7857 Brief Description of Changes
7858 ----------------------------
7860 1) The sid_to_uid() family of functions (smbd/uid.c) have been
7861 reverted to the 2.2.x design. This means that when resolving a
7862 SID to a UID or similar mapping:
7864 a) First consult winbindd
7865 b) perform a local lookup only if winbindd fails to
7866 return a successful answer
7868 There are some variations to this, but these two rules generally
7871 2) All idmap lookups have been moved into winbindd. This means that
7872 a server must run winbindd (and support NSS) in order to achieve
7873 any mappings of SID to dynamically allocated UNIX ids. This was
7874 a conscious design choice.
7876 3) (OBSOLETE) New functions have been added to winbindd to emulate
7877 the 'add user script' family of smbd functions without requiring
7878 that external scripts be defined. This functionality is controlled
7879 by the 'winbind enable local accounts' smb.conf parameter (enabled
7882 However, this account management functionality is only supported
7883 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
7884 must be shared among multiple Samba servers (such as a PDC and BDCs),
7885 it will be necessary to define your own 'add user script', et. al.
7886 programs that place the accounts/groups in some form of directory
7887 such as NIS or LDAP. This requirement was deemed beyond the scope
7888 of winbind's account management functions. Solutions for
7889 distributing UNIX system information have been deployed and tested
7890 for many years. We saw no need to reinvent the wheel.
7892 4) A member of a Samba controlled domain running winbindd is now able
7893 to map domain users directly onto existing UNIX accounts while still
7894 automatically creating accounts for trusted users and groups. This
7895 behavior is controlled by the 'winbind trusted domains only' smb.conf
7896 parameter (disabled by default to provide 2.2.x winbind behavior).
7898 5) Group mapping support is wrapped in the local_XX_to_XX() functions
7899 in smbd/uid.c. The reason that group mappings are not included
7900 in winbindd is because the purpose of Samba's group map is to
7901 match any Windows SID with an existing UNIX group. These UNIX
7902 groups can be created by winbindd (see next section), but the
7903 SID<->gid mapping is retreived by smbd, not winbindd.
7909 * security = server running winbindd to allocate accounts on demand
7911 * Samba PDC running winbindd to handle the automatic creation of UNIX
7912 identities for machine trust accounts
7914 * Automtically creating UNIX user and groups when migrating a Windows NT
7915 4.0 PDC to a Samba PDC. Winbindd must be running when executing
7916 'net rpc vampire' for this to work.
7919 ######################################################################
7923 * There are several bugs currently logged against the 3.0 codebase
7924 that affect the use of NT 4.0 GUI domain management tools when run
7925 against a Samba 3.0 PDC. This bugs should be released in an early
7928 Please refer to https://bugzilla.samba.org/ for a current list of bugs
7929 filed against the Samba 3.0 codebase.
7932 ######################################################################
7933 Reporting bugs & Development Discussion
7934 #######################################
7936 Please discuss this release on the samba-technical mailing list or by
7937 joining the #samba-technical IRC channel on irc.freenode.net.
7939 If you do report problems then please try to send high quality
7940 feedback. If you don't provide vital information to help us track down
7941 the problem then you will probably be ignored.
7943 A new bugzilla installation has been established to help support the
7944 Samba 3.0 community of users. This server, located at
7945 https://bugzilla.samba.org/, has replaced the older jitterbug server
7946 previously located at http://bugs.samba.org/.