1 ===============================
2 Release Notes for Samba 3.0.25a
4 ===============================
6 This is the second production release of the Samba 3.0.25 code
7 base and is the version that servers should be run for for all
10 Major bug fixes included in Samba 3.0.25a are:
12 o Missing supplementary Unix group membership when using "force
14 o Premature expiration of domain user passwords when using a
15 Samba domain controller.
16 o Failure to open the Windows object picker against a server
17 configured to use "security = domain".
18 * Authentication failures when using security = server.
21 Changes to MS-DFS Root Share Behavior
22 =====================================
24 Please be aware that the initial value for the "msdfs root" share
25 parameter was changed in the 3.0.25 release series and that this
26 option is now disabled by default. Windows clients frequently require
27 a reboot in order to clear any cached information about MS-DFS
28 root shares on a server and you may experience failures accessing
29 file services on Samba 3.0.25 servers until the client reboot
30 is performed. Alternately, you may explicitly re-enable the
31 parameter in smb.conf. Please refer to the smb.conf(5) man page
36 ######################################################################
43 o Michael Adam <obnox@samba.org>
44 * Fix logic in detection of the need to replace dlopen, et. al.
45 * Add HP-UX ACL VFS module.
46 * Fix build of Tru64 ACL VFS module.
49 o Jeremy Allison <jra@samba.org>
50 * BUG 4622: Fix authentication failures in security = server.
51 * Fix pointer marshalling in srvsvc parsing code.
52 * BUG 4630: Fix conversion of 8 byte time_t and NT_TIME values.
53 * Ensure that if we're blocked on a POSIX lock we know nothing
54 about that we retry the lock every 10 seconds instead of waiting
55 for the standard select timeout.
58 o Alexander Bokovoy <ab@samba.org>
59 * Add -pie support to Python's setup.py.
60 * Strip STYPE_TEMPORARY and STYPE_HIDDEN when printing share
61 listing from 'net rap shares".
62 * Fix argument parsing in "net rap server domain".
65 o Gerald (Jerry) Carter <jerry@samba.org>
66 * BUG 4616: Don't return a dns or forest name when replying to the
67 DsGetPrimaryRoleInfo() and configured for security = domain.
68 * Trim noise by removing redundant WARNING log message that would
70 * Fix truncation of supplementary Unix groups when using "force group".
73 o Guenther Deschner <gd@samba.org>
74 * Always fallback to NTLM authentication in pam_winbind when the
75 user's account has UF_DONT_REQUIRE_PREAUTH set.
78 o Steve French <sfrench@us.ibm.com>
79 * Valgrind fixes in mount.cifs.
82 o Volker Lendecke <vl@samba.org>
83 * Fix crash bug in the Solaria ACL VFS module caused by
84 uninitialized variables.
87 o Derrell Lipman <derrell@samba.org>
88 * BUG 4601: Fix smbc_getxattr() to properly return the required
89 size of the buffer needed to contain the extended attributes.
90 * BUG 4599: Fix failure when setting attributes.
91 * BUG 4634: Type of the size parameter to getpeername in
92 libsmbclient code was wrong.
95 o Jim McDonough <jmcd@us.ibm.com>
96 * BUG 4630: Fix special case of unix_to_nt_time() for TIME_T_MAX
97 and the output from http_timestring().
100 o Stefan Metzmacher <metze@samba.org>
101 * Merge gdb_backtrace script changes form SAMBA_4_0.
104 o Lars Mueller <lars@samba.org>
105 * Allow idmap_ldap to be built as a shared lib.
108 o James Peach <jpeach@apple.com>
109 * BUG 4426: Move FAM libraries from smbd to vfs_fam_notify.
110 * BUG 2287: Replace unnecessary AC_TRY_RUN with AC_TRY_LINK.
111 * BUG 4589: Fix typo in pdbedit output.
114 o Simo Sorce <idra@samba.org>
115 * Short circuit Unix Users and Unix Groups Domain SID checks
116 in smbd to avoid unnecessary calls to winbindd.
119 Release notes for older releases follow:
121 --------------------------------------------------
122 ==============================
123 Release Notes for Samba 3.0.25
125 ==============================
127 The 3.0.25 release is an upgrade release over the 3.0.23/3.0.24
128 series which means that a substantial amount of development has
129 occurred and many new features have been added since the last
130 Samba production release. We would like to thank everyone in
131 the Samba community that help to test the preview snapshots and
132 release candidates. We believe that the this production release
133 is in much better shape due to your help.
135 Major features included in the 3.0.25 code base include:
137 o Significant improvements in the winbind off-line logon support.
138 o Support for secure DDNS updates as part of the 'net ads join'
140 o Rewritten IdMap interface which allows for TTL based caching and
142 o New plug-in interface for the "winbind nss info" parameter.
143 o New file change notify subsystem which is able to make use of
145 o Support for passing Windows security descriptors to a VFS
146 plug-in allowing for multiple Unix ACL implements to running side
147 by side on the Same server.
148 o Improved compatibility with Windows Vista clients including
149 improved read performance with Linux servers.
150 o Man pages for IdMap and VFS plug-ins.
152 Security Fixes included in the Samba 3.0.25 release are:
155 Versions: Samba 3.0.23d - 3.0.25pre2
156 Local SID/Name translation bug can result in
157 user privilege elevation
160 Versions: Samba 3.0.0 - 3.0.24
161 Multiple heap overflows allow remote code execution
164 Versions: Samba 3.0.0 - 3.0.24
165 Unescaped user input parameters are passed as
166 arguments to /bin/sh allowing for remote command
170 Off-line Logons and AD Site Support
171 ===================================
173 Winbind's capability to support offline logons has been greatly
174 improved with the 3.0.25 release including support for locating
175 domain controllers asynchronously using Active Directory Site
179 New IdMap Interface for Winbindd
180 ================================
182 The 3.0.25 release of Samba includes a rewritten IdMap interface
183 for winbindd which replaces the "idmap backend" parameter. Please
184 refer to the "idmap domains" description in the smb.conf(5) man
185 page for more details.
191 The "net ads join" command is now able to register the host's DNS A
192 records with Windows 2000 SP4 and 2003 DNS servers. This
193 feature must be enabled at compile time using the --with-dnsupdate
194 when running the ./configure script. There is also a related "net ads
195 dns" command for refreshing a host's records which could be launched
196 from a dhcp client script when a new IP address is obtained.
199 Support for Additional ACL Modules
200 ==================================
202 Samba's POSIX ACL support has been moved inside of the VFS layer
203 which means it is now possible to support multiple ACL implementations
204 on the same server including NFSv4 and GPFS ACLs.
210 Windows Vista introduces pipe-lined read support for improved
211 performance when transferring files. The new vfs_readahead plugin
212 allows Linux file servers to utilize additional Kernel buffers
213 for caching files in order to avoid Disk I/O wait time when serving
214 Vista clients. If you experience poor read performance between
215 Linux servers and Vista clients, please test the vfs_readahead
216 module by adding the following lines to the share definition
220 vfs objects = readahead
222 Note that this plugin will result in additional RAM requirements
223 due to the increased amount of kernel buffer caches used by smbd.
224 Please refer to vfs_readahead(8) for more information.
227 Windows Vista, Office 2007, and Offline Files
228 =============================================
230 Research surrounding offline files, Windows Vista, and Microsoft
231 Office 2007 has revealed a incompatibility between these
232 applications and the "map acl inherit = no" setting in smb.conf.
233 Users requiring support client side caching (csc) and offline
234 files are encouraged to enable the "map acl inherit" for any
235 affected share definitions in the server's configuration.
236 Future versions of Samba will enable this setting by default.
238 Please refer to the smb.conf(5) man page for more details on
242 ######################################################################
249 Parameter Name Description Default
250 -------------- ----------- -------
251 change notify timeout Removed n/a
252 change notify New Yes
253 debug prefix timestamp New No
254 fam change notify Removed n/a
256 idmap alloc backend New ""
257 idmap cache time New 900
258 idmap negative cache time New 120
259 kernel change notify Per share Yes
260 lock spin count Removed n/a
261 max stat cache size Modified 1024KB
262 msdfs root Modified no
263 printjob username New %U
264 winbind normalize names New no
269 Changes since 3.0.25rc3
270 -----------------------
273 o Jeremy Allison <jra@samba.org>
274 * Fix memory corruption bug during string processing.
275 * Instantiate idiom that malloc/tallocs of array of 0 elements
277 * Fix marshalling bugs in samr code based on incorrect
279 * Fix DFS MS-RPC enumeration reply when we have no DFS shares.
280 * Fix memory corruption when enumerating accounts in the
281 LsaPrivilege database.
282 * Fixes for CVE-2007-2444, CVE-2007-2446, and CVE-2007-2447.
285 o Gerald (Jerry) Carter <jerry@samba.org>
286 * Fix memory corruption when adding/removing members from Local
290 o Guenther Deschner <gd@samba.org>
291 * Prevent leaking on full NET_USER_INFO_3 structure memory on each
293 * Plug memory leak in client SPNEGO session setup code.
294 * Don't clear cached U/SID and UG/SID entries when we want to
298 o Steve French <sfrench@us.ibm.com>
299 * Allow prepaths in mount.cifs.
300 * Don't prompt for a password in mount.cifs when sec=none has been
304 o Steve Langasek <vorlon@debian.org>
305 * BUG 4600: Fix compilation of --with-python.
308 o Volker Lendecke <vl@samba.org>
309 * Fix memory corruption bug in string_replace().
310 * Fix valgrind error in parse_domain_user().
311 * Fix compilation of explicit --without-winbind.
312 * Fix an uninitialized variable and other compiler warnings.
313 * Fix memory leak in smbd's claim session code.
314 * BUG 4613: Fix incorrect password expiration caused by stomping on
315 the time values in the NET_USER_INFO_3 for remote users.
316 * Fixes for CVE-2007-2446.
319 o Stefan Metzmacher <metze@samba.org>
320 * Add AC_GNU_SOURCE macro in libreplace for systems which don't have it.
321 * Fix libreplace compiler warnings.
324 o Jens Nissen <jens.nissen@gmx.net>
325 * Fix memory leak on the file/directory ACL processing code.
328 o Simo Sorce <idra@samba.org>
329 * Memory allocation cleanups and sanity checks after the malloc(0)
331 * Fix socket leak in idmap_ldap.c.
332 * Fix failure in "net idmap restore".
333 * Fix crash bug in idmap_ldap's get_credentials() code.
334 * Fixes for CVE-2007-2446.
337 o Alison Winters <alisonw@sgi.com>
338 * Add missing return calls in sendfilereadbraw.
348 o Michael Adam <ma@sernet.de>
349 * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.
350 This makes the difference between the get and set calls for
351 SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE.
352 * Prevent collision from config.h created by stand alone component
356 o Jeremy Allison <jra@samba.org>
357 * Fix CIFS POSIX unlink behavior.
358 * Change POSIX_UNLINK to allow clients to differentiate between
360 * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
361 * Refactor MS-DFS server and client code.
362 * Support deep MS-DFS referrals in Samba client applications.
363 * Change the VFS interface to use struct timespec for utimes.
364 * Fix build failures on *BSD platforms caused by introduction of
366 * Optimize exit path in the byte-range locking code in smbd to
367 only read the locking db if there are outstanding lock requests.
368 * Fix long-standing bug in our chain processing code.
369 * BUG 4384: Fix bug in old search code.
370 * Add support for the UNIX_INFO2 info level.
371 * Add in the "create info" field to the reply from POSIX_OPEN
373 * Refactor the sessionsetupX code a little to allow us to return
374 a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
375 * Fix memory leaks in the LDAP sasl bind code.
376 * Fix crash in vfs audit/full audit modules caused by API changes.
377 * Fix connection problem between pre-3.0.25 smbclient and new DFS
379 * Fix valgrind errors in credentials.c.
380 * Fix logic error in CIFS POSIX extensions for open() and mkdir().
381 * Fix if logic error when checking for password resets of machine
382 trust accounts in Samba's passdb.
383 * Ensure we use the same technique to pull the share mode data out
385 * Fixes buffer parsing in the server side Lanman and RAP calls.
386 * Fix GetPrinter() info level 3 to fix displaying and setting
387 security descriptors on printers from WinXP x86_64 clients.
388 * Return correct error code to the trans2 GetDfsReferral() request
389 from Vista clients (fixes listing share contents in the Vista
391 * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
393 * Consolidate the become_root_uid_only() calls to only use
395 * Add vfs_readahead module to deal with the pipe-lined reads
397 * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
398 clients trying to utilize offline file support.
399 * BUG 4494: Make sure to fail immediately if sendfile fails and
400 don't continue on to call chain_reply() (based on report from
402 * Remove tdb.h from the libsmbsharemodes.so header file.
403 * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
405 * Add initial version to winbindd_cache.tdb file. Automatically
406 delete existing non-versioned cache files.
407 * Fix the storage size of time_t in winbindd_cache.tdb to be 8
409 * Cope with signature errors on sessionsetupX logins where the
410 server just reflects our signature back to us. Allow the upper
411 layer to see the real error.
412 * BUG 4512: Limit the volume label for a share to 32 UNICODE
414 * Allow arbitrary bases in int and ulong parsing in smb.conf.
415 * Fix off-by-one error in tconX parsing.
416 * Winbind off-line logon fixes.
417 * Support for AD sites when locating domain controllers.
418 * Fix libsmbclient bug with Konqueror and NetApp filers that need
419 a leading / in OpenAndX calls.
420 * BUG 4187: Possible crash in signing on/off code.
421 * Fix memory leaks in pam_winbind.c.
422 * Fix a bug in the sequence number store/fetch routines in
424 * Fix the problem with Linux clients requesting O_WRONLY on write-only
426 * Fix a class of memory allocation bugs in the handling of user tokens.
427 * Fix crash bug in winbindd caused by a bug in the messaging dispatch
429 * Fix memory bloat in trans calls caused by talloc()'ing memory off the
431 * Fix wildcard renames with SMBmv.
432 * Fixes for pathname handling code.
433 * Add in the wdel smbclient command to perform wildcard deletes.
434 * Fix a bug that causes smbd to 'hang' intermittently while updating
435 the trusted domain cache.
436 * Cleanup error path processing in reduce_name().
437 * Fixes for smbtorture tests (BASE-DELETE, ...)
438 * Delete on close fixes ("I completely understand it this time").
439 * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
441 * More fixes for Unix Extensions include support for POSIX locking.
442 * NTLMv2 fixes for Vista clients.
443 * Add an optimized lookup for Domain Users and only report the current
444 user (which is generally what the calling application wants to know
446 * Fixes for supporting the Vista backup utility based on work by Joe
447 Meadows <jameadows@webopolis.com>.
448 * Fix 4377: Fix rename of "foo" -> "Foo".
449 * BUG 4188: Fix for Vista delete directory bug.
450 * BUG 4400: Add support for processing large Krb5 tickets in SMB
451 sesssetup&X. Based on work by <todd.stecher@isilon.com>.
452 * Fix trans2 file size reporting for Linux CIFS client.
453 * Allow Well-Known and Local Groups to be stored in POSIX ACLs
454 as long as there is a SID/gid mapping entry available.
455 * Fix memory corruption bug in the CIFS POSIX open/mkdir.
456 * BUG 4536: Correctly delete symlinks pointing to a directory.
459 o Danilo Almeida <dalmeida@centeris.com>
460 * Add additional debug support for pam_winbind.
461 * Add support for listing multiple groups in pam_winbind's
462 require-membership-of option which act as a logical OR.
465 o Andrew Bartlett <abartlet@samba.org>
466 * Ensure debug messages from tools print the correct config file
467 location if the file was defined as a command line option.
470 o Andrew Benham <andrew.benham@thus.net>
471 * BUG 4290: Properly compute time to password expiration in message
475 o Alexander Bokovoy <ab@samba.org>
476 * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
477 * Add GPFS-provided DMAPI support
480 o Kai Blin <kai.blin@gmail.com>
481 * Match Windows NTLMSSP flags.
484 o Gerald (Jerry) Carter <jerry@samba.org>
485 * Implement pluggable "winbind nss info" interface.
486 * Removal of unmaintained smbwrapper utility.
487 * Fix server affinity bugs in the 'net ads join' code to include
488 support for AD sites.
489 * Implement DDNS update client code.
490 * Upper case the host/sAMAccountName in the keytab file.
491 * Fix lookupname call in winbindd when joined to a child domain and
492 trying to resolve a SID in a sibling domain.
493 * Fix password changes against a Windows 2000 DC using pam_winbind.
494 * Fix crash in "pdbedit -L -w"
495 * Add "winbind normalize names" option.
496 * BUG 4093: Make %a resolve correctly for Windows Vista and Windows
498 * Printing fixes for Windows Vista.
499 * Protect the sasl bind against a NULL principal string in the
501 * Fix some "cannot access LDAP when no root" bugs.
502 * NSS and PAM fixes on AIX.
503 * Cached credentials and Krb5 ticket renewal fixes in winbindd.
504 * Fix server affinity bug in Winbind's ADS connection handling.
505 * Fix crash when enumerating local group membership in usrmgr.exe
507 * Rework parsing for NetFileEnum() and NetSessionEnum()
508 * Add server stub for NetFileClose()
509 * Return correct information for sessions and open files
510 including session duration, number of open files, and open pipes.
511 * Fixes for "winbind normalize names" functionality:
512 - Fix getgroups() call called using a normalized name
513 - Fix some more name mappings that could cause for example
514 a user to be unable to unlock the screen as the username
515 would not match in the PAM authenticate call.
516 * Blacklist BUILTIN and MACHINE domains from the idmap domains as
517 these should only be handled by the winbindd_passdb.c backend.
518 * Allow the alloc init to fail for backwards compatible
519 configurations such as with idmap_ad.
520 * Remove the deprecated flags from idmap backend, et. al. These
521 are mutually exclusive with the "idmap domains".
522 * Add the osname and osver options to 'net ads join'
523 * Ensure winbindd honors the "idmap domains" option and not
524 default to idmap_tdb.
525 * Fix memory corruption caused by calling free() on talloc()'d
526 memory when adding and removing users from local groups.
527 * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
528 the schema_mode option when using "winbind nss info = template".
529 * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
530 idmap alloc backend has been defined. Do not defined a default
532 * Fix "make install" to include creating the links between
533 idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
534 * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
536 * BUG 4508: Remove potential loops in the idmap API by requiring
537 the caller defined the SID type rather than having the idmap layer
538 call back up to determine the SID type when allocating
540 * Don't inherit the offline flag for winbindd_domains that have
541 not been initialized yet.
542 * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
543 * Fix deadlock and timeout conditions in idmap_rid.
546 o Steven Danneman <steven.danneman@isilon.com>
548 * Fix core dump when config file in same directory.
551 o Mathias Dietz <mdietz@de.ibm.com>
552 * Initial implementation of the GPFS VFS module.
553 * Work on NFSv4 ACL VFS plugin.
554 * Add support for share modes to the GPFS VFS plugin.
557 o Guenther Deschner <gd@samba.org>
558 * Winbind off-line logon fixes.
559 * Support for AD sites when locating domain controllers.
560 * Various fixes for 'net ads' user management functions.
561 * Add an CLDAP client written in Perl.
562 * Cleanups to the Krb5 ticket refresh code in winbindd.
563 * Fixes for various error messages from pam_winbind when password
564 policies are being enforced.
565 * Implement grace logons for offline authentications in pam_winbind.
566 * Fixes for idmap_ad.
568 * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
569 with short lived service tickets
570 * Implement basic AD group policy library
571 * Adding experimental krb5 lib locator plugin.
572 * Ensure that Samba clients are correctly reported by the %a
573 smb.conf as "Samba" and not "Vista".
574 * Prevent a user from issuing a PAM_DELETE_CREDS request in
575 pam_close_session() for another user.
576 * Fix tdb keynames in netsamlogon_clear_cached_user().
577 * Add missing proto_exists dependency for the Winbind NSS target
579 * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
580 * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
581 * Memory allocation error checks in libgpo.
584 o Steve French <sfrench@us.ibm.com>
585 * Fix mount.cifs compile on old libc missing bind mount #define.
588 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
589 * Fix memory leaks in the error paths used by winbindd's credential
591 * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
592 * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
595 o Krishna Ganugapati <krishnag@centeris.com>
596 * Implement DDNS update client code.
599 o YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
600 * BUG 4346: Fix type reported for hidden shares via MS-RPC.
603 o David Hu <david.hu@hp.com>
604 * BUG 4267: Fix memory leaks in ldapsam.
607 o Bjoern Jacke <bj@sernet.de>
608 * BUG 4244: Limit stat cache to a default of 1MB.
611 o William Jojo <jojowil@hvcc.edu>
612 * BUG 3713: Re-add reporting what the profiles tool does (-v).
613 * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
614 * BUG 4447: Fix compile failure on AIX 5.2.
617 o Taj Khattra <taj.khattra@gmail.com>
618 * Fix missing lock count release in transaction cancel.
621 o Zack Kirsch <zack.kirsch@isilon.com>
622 * Fix memory leaks on some error paths.
623 * Memory leak fixes on error paths in various places.
626 o Derrell Lipman <derrell@samba.org>
627 * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
628 * BUG 4309: Prevent netbios keepalive on port 445 which causes
629 Vista to disconnect Samba clients.
630 * Ensure that the libsmbclient example programs link with the
631 libsmbclient library that's part of the current tree.
634 o Volker Lendecke <vl@samba.org>
635 * Replace snum references with a structure based array.
636 * Allow changing of the hashsize when running tdbbackup.
637 * Implement secure DDNS update code
638 * Klocwork, Coverity, and IBM Checker fixes.
639 * BUG 4273: Fix crash in 'net rpc vampire'
640 * Refactor older SMB file serving code.
641 * Refactor open directory file serving code.
642 * Implement support for inotify when serving CIFS change notification
643 requests (includes merge work from SAMBA_4_0).
644 * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
645 RAW-UNLINK, RAW-CLOSE, ...)
646 * Refactor delete on close file server code.
647 * MS-DFS fixes for Vista clients.
648 * BUG 4372: Long timeout in LDAP setup when accessing files after
650 * Change the static array for the in-memory mirrors of the hash chain
651 locks to a dynamically allocated one.
652 * Use inotify for file change notification on Linux.
653 * Revert "msdfs root" to default to "no".
655 * Fix memory leaks when returning user lists to clients via SAMR calls.
656 * BUG 4365: Fix NTLMv2 implementation on Samba member servers not
658 * Reduce contention on the tdb free list by periodic reclamation
659 of dead tdb records into groups
660 * Split tdb free lists per hash chain.
662 * Add winbindd_priv_request_response() request that kills the
663 existing winbind pipe connection if it's not privileged to prevent
664 race conditions during the challenge/response authentication sequence.
665 * BUG 4460: Fix compile error in winbind_nss_irix.c.
666 * Fix Coverity bug reports.
667 * Fixes buffer parsing in the server side Lanman and RAP calls.
670 o David Leonard <dleonard@vintela.com>.
671 * Fix file descriptor leak from an error path in winbindd.
672 * BUG 4369: Fix smbclient's showacls on files in subdirectories.
675 o Herb Lewis <herb@samba.org>
676 * Cleanups to sharesec utility.
677 * Compiler warning cleanups.
678 * Compiler warning fixes.
679 * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
681 * Add "debug prefix timestamp" to allow syslog type timestamps to be
682 added in the Samba log files.
683 * Fix compile error in nmbd_incomingdgrams.c.
684 * Allow profiling level to be set on startup.
687 o Ying Li <ying.li2@hp.com>
688 * Use the default tdb idmap plugin when neither idmap domains
689 nor idmap backend have been defined.
692 o Jason Mader <jason@ncac.gwu.edu>
693 * Various compile warning fixes.
694 * Initial patch set for strptime() in libreplace.
697 o Don McCall <don.mccall@hp.com>
698 * Fix compile bug in vfs_default on platforms without utimes().
699 * HP-UX compile fixes.
702 o Jim McDonough <jmcd@us.ibm.com>
703 * Bug fixes for GPFS VFS module.
704 * Fix "password never expires" policy which would be incorrectly
705 require all users to change their password at login time.
706 * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
708 * Fix crate_user() access checks when setting the "User Cannot
709 Change Password" flag.
712 o Stefan Metzmacher <metze@samba.org>
713 * POSIX ACL compile warning fixes.
714 * Fix --with-fhs, where confdir is set to \${sysconfdir} but
715 sysconfdir wasn't defined in the Makefile.
716 * Add localstatedir to configure.in for completeness.
717 * BUG 4496: Fix libreplace failure on ulibc systems.
718 * Merge numerous libreplace fixes from the SAMBA_4_0 code base
719 (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
720 * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
721 * Portability fixes for dlopen() (merge from SAMBA_4_0)
722 * Sync libreplace (merge from SAMBA_4_0)
725 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
729 o Gomati Mohanan <gomati.mohanan@in.ibm.com>
730 * Work on NFSv4 ACL VFS plugin.
733 o Lars Mueller <lars@samba.org>
734 * Provide better feedback about deprecated use of multiple passdb
735 backends. Use the first backend to have at least this one working.
736 * Fix make install to include smbmount, et. al. docs.
737 * Merge more proto_exists dependency fixes from SAMBA_3_0.
739 * Log the reason for failures when not creating a core file on a
740 crash due to restrictive permissions on the log file directory.
743 o James Peach <jpeach@apple.com>
744 * Replace exit_server with exit_server_cleanly where appropriate.
745 * Add docs for VFS modules.
746 * Portability fixes for autoconf and character set modules on
748 * Only attempt to reload the config file after the fork point
749 if we are in daemon mode.
750 * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
751 * Changing the FindFirst response for the UNIX_INFO2 level to
752 include a length field before the name.
753 * Add call to chflags(2) in the default VFS module.
756 o Andy Polyakov <appro@fy.chalmers.se>
757 * Pull the CUPS comment and location attributes when not overridden
758 by values stored in Samba's ntprinters.tdb.
759 * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF
760 header parsing code in smbd.
763 o J Raynor <raynorj@mn.rr.com>
764 * Make sure we are privileged when doing DMAPI operations on systems
765 that don't have capability support.
768 o Jorge Santos <jorge_a_santos@hotmail.com>
769 * BUG 4500: Fix compile bug in quota.c.
772 o Jiri Sasek <jiri.sasek@sun.com>
773 * Fix incorrect Krb5 linking on Solaris.
774 * Fix possible NULL dereference in adt_tree.c
777 o Karolin Seeger <ks@sernet.de>
778 * Fix a compile problem in shadow_copy_test.c.
779 * Add 'net sam policy' commands.
780 * Fixes for "net usershare" and "guest_ok=y"
783 o Robert Shearman <rob@codeweavers.com>
784 * Allow NULL domain and username in the form of user@domain to be
785 interpreted correctly by ntlm_auth for use by Wine applications.
788 o Simo Sorce <idra@samba.org>
789 * Remove redundant log messages from idmap_ad.c.
790 * BUG 3974: Fix ambiguity between the -N option and the -T
792 * Fix linking flags used when creating shared libraries.
793 * Offline logon fixes in the idmap backend manager.
794 * Cleanup initialization code in the sfu and rfc2307 nss_info
795 plugins to protect against a crash if called before the idmap_ad
796 module has been initialized.
797 * Protect against crashes in get_dc_name() in the idmap_ad code
798 when we are working offline.
799 * BUG 4438, 4440: Fix bugs in "net sam provision".
800 * Initial implementation of new IdMap interface.
801 * Fix crash in pam_winbind caused by referencing a pointer after the
802 memory had been freed.
803 * Implement escaping function for ldap RDN values.
806 o Peter Somogyi <SOMOGYI@de.ibm.com>
807 * Work on NFSv4 ACL VFS plugin.
810 o Andrew Tridgell <tridge@samba.org>
811 * Fix an integer overflow in the ndr library code used by PIDL.
814 o Jelmer Vernooij <jelmer@samba.org>
815 * Implement support for IDL autogenerated code to
816 handle the MS-RPC parsing functions.
819 o Don Watson <dwwatson@us.ibm.com>
820 * Fixes for 'net rpc vampire' and the guest account
823 o Martin Zielinski <mz@seh.de>
824 * Printing fixes for Windows Vista clients.
827 --------------------------------------------------
828 ==============================
829 Release Notes for Samba 3.0.24
831 ==============================
834 Important issues addressed in 3.0.24 include:
836 o Fixes for the following security advisories:
837 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
838 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
839 NSS library on Solaris)
840 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
843 ######################################################################
847 Changes since 3.0.23d
848 ---------------------
853 o Jeremy Allison <jra@samba.org>
854 * Fix for CVE-2007-0452 & CVE-2007-0454
857 o Olivier Gay <ouah@ouah.org>
858 * Fix for CVE-2007-0453
861 o Volker Lendecke <vl@samba.org>
862 * Fix for CVE-2007-0452
865 --------------------------------------------------
866 ===============================
867 Release Notes for Samba 3.0.23d
869 ===============================
871 This is the latest stable release of Samba. This is the version
872 that production Samba servers should be running for all current
873 bug-fixes. Please read the changes in this section and for the
874 original 3.0.23 release regarding new features and difference
875 in behavior from previous releases.
877 Important issues addressed in 3.0.23d include:
879 o Stability fixes for winbindd
880 o Portability fixes on FreeBSD and Solaris operating systems.
882 ######################################################################
886 Changes since 3.0.23c
887 ---------------------
892 o Jeremy Allison <jra@samba.org>
893 * Changes to ntlm_auth to better support Firefox's NTLM
895 * Make the "max usershares" parameter an advisory limit.
896 * BUG 4095: Cleanup bad substitution causing the username
897 to be translated to domain\user twice in spnego path.
898 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
899 [un]become_root() pairs.
900 * Ensure we always return the canonicalized name
901 * Add in fixes to mangling dir code.
902 * Do not assume that gencache can always be opened for RW access.
904 * Always initialize variables in winbindd request/response
906 * Fix libsmbclient bug with Konqueror and NetApp filers that
907 need a leading / in OpenAndX calls.
908 * Added showacls toggle in the smbclient code.
909 * Add a suffix to the pidfile's program name if this is a process
910 with a non-default configuration file name.
911 * Fix protection from invalid struct tm values.
912 * BUG 4187: Possible crash in signing on/off code.
913 * BUG 4214: Fix crash bug in find_forced_group().
914 * BUG 4224: Fix enforcement of the deadtime parameter.
917 o Timur Bakeyev <timur@com.bat.ru>
918 * BUG 3856: Set the nss soname version on FreeBSD.
919 * BUG 4109: Fix bug causing smbd to turn off winbindd and
920 fail to disable the _NO_WINBIND environment.
921 * BUG 3868: Prevent --with-aio-support from trimming the
922 $LIBS variable in configure.in.
925 o Dmitry Butskoy <dmitry@butskoy.name>
926 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
927 outside the idmap range if 'winbind trusted domains
931 o Gerald (Jerry) Carter <jerry@samba.org>
932 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
933 call to ensure it finds the Unix user first.
934 * Only grant privs to Administrators if privileges are enabled
935 to avoid bogus error messages in the logs.
938 o Alex Deiter <tiamat@komi.mts.ru>
939 * BUG 3524: Fix for quota support on Solaris.
942 o Guenther Deschner <gd@samba.org>
943 * Close socket when the CLDAP request has failed.
944 * Memory leak fixes in the libads/ldap.c code.
945 * Printer publishing fixes for "net ads".
946 * Fix error code returns in the CLDAP client code.
947 * Do not anonymously query for AD schema items in winbindd.
948 * Protect against storing null-sids in the winbind cache.
949 * Fallback to non-paging LDAP searches for anonymous bound
951 * More workarounds when nscd.
952 * Fix error code typoe in the GetDcName() netlogon call
953 (including two new error codes).
954 * Fix valgrind warnings in pam_winbind
955 * Add two missing refresh_sequence_number calls where they are
956 missing just before writing to the winbind cache tdb.
957 * Attempt to locate a valid domain controller before prompting
958 for credentials in "net ads".
959 * Set 35 second timeout in winbindd's netlogon code when sending
961 * Stop "net ads {user,group} delete" from doing funny things.
962 * Fix container handling for "net ads user" and "net ads group"
964 * Fix various memleaks and seg faults in "net ads {user,group}".
967 o Udo Eberhardt <udo.eberhardt@thesycon.de>
968 * BUG 4100: Fix crash in the server spooler code by initializing
969 values for smb_io_notify_info_data_strings.
972 o Olaf Flebbe <o.flebbe@science-computing.de>
973 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
976 o David Hu <david.hu@hp.com>
977 * BUG 4212: Fix memleak in the default_ou_string handling.
980 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
981 * BUG 4229: Compile fix for systems without kerberos.
984 o Volker Lendecke <vl@samba.org>
985 * NTLMSSP LanMan session key fixes.
986 * Various potential seg fault fixes.
987 * Extra logic in share access checks for bad smb.conf parameter
989 * Fixes to allow smbclient to connect to Vista RC1 workstations.
990 * Fix bad search filter in ldapsam when enumerating group
994 o Jim McDonough <jmcd@us.ibm.com>
995 * Correctly handle the password expiration policy on Samba DCs.
998 o Nils Nordman <nils.nordman@nordman.org>
999 * BUG 4085: Allow smbpasswd to change expired passwords on
1003 o Simo Sorce <idra@samba.org>
1004 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
1005 * Better fqdn handling when parsing the /etc/hosts file.
1006 * Fix crash bug in pam_winbind.
1008 o Andrew Tridgell <tridge@samba.org>
1009 * Fix string alignment problem in password change code.
1013 * BUG 4211: Logic error when enforcing "acl group control"
1017 Release Notes for older release follow:
1019 --------------------------------------------------
1020 ===============================
1021 Release Notes for Samba 3.0.23c
1023 ===============================
1025 We would like to thank the developers of the Saturn code analysis
1026 tool from Stanford University (http://glide.stanford.edu/saturn).
1027 This release includes several code fixes based on its reports.
1029 Common bugs fixed in 3.0.23c include:
1031 o Authentication failures in pam_winbind when the AD domain
1032 policy is set to not expire passwords.
1033 o Authorization failures when using smb.conf options such
1034 as "valid users" with the smbpasswd passdb backend.
1037 RID Algorithms & Passdb
1038 =======================
1040 Starting with the 3.0.23c release, the officially supported passdb
1041 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
1042 with regards to the historical RID algorithm for unmapped users
1043 and groups (i.e. accounts not in the passdb or group mapping table).
1044 The resulting behavior is that all unmapped users are resolved
1045 to a SID in the S-1-22-1 domain and all unmapped groups resolve
1046 to a SID in the S-1-22-2 domain. Previously, when using the
1047 smbpasswd passdb, such users and groups would resolve to an
1048 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
1049 However, the smbpasswd backend still utilizes the RID algorithm
1050 when creating new user accounts or allocating a RID for a new
1051 group mapping entry.
1053 With the changes in the 3.0.23c release, it is now possible to
1054 resolve a uid/gid, name, or SID in any direction and always obtain
1055 a symmetric mapping. This is important so that values for smb.conf
1056 parameters such as "valid users" resolve to the same SIDs as those
1057 included in the local user's initial token.
1059 Most installations will notice no change. However, because
1060 an unmapped account's SID will now change even when using
1061 smbpasswd it is possible that any security descriptors on files
1062 previously copied from a Samba host to a Windows NTFS partition
1063 may now fail to give access. The workaround is to either manually
1064 map all affect groups (or add impacted users to the server's
1065 passdb) or to manually reset the file's ACL.
1068 ######################################################################
1072 Changes since 3.0.23b
1073 ---------------------
1077 o Michael Adam <ma@sernet.de>
1078 * Fix incorrect logic in internal_resolve_name() caused by if
1082 o Jeremy Allison <jra@samba.org>
1083 * Don't store a NULL SID in winbindd's offline cache.
1084 * Ensure we store the offline password hash in the correct format.
1085 * OS/2 fixes for large Extended Attributes data.
1086 * Fix nmbd crashes caused by miscalculation in pushing
1088 * Handle times consistently across all client utils including
1090 * Fix a file descriptor leak in nmbd sync DNS lookup code.
1091 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
1093 * Pointer dereference fixes based on the Saturn analysis tool.
1094 * Fix memory leak in the AD DC lookup code.
1097 o Gerald (Jerry) Carter <jerry@samba.org>
1098 * RHEL4 and Fedora packaging updates.
1099 * Remove RID algorithm support for unmapped users and groups
1100 when using an smbpasswd backend.
1101 * Extend the NT token for local users' with the S-1-22-2
1102 SID for each supplementary group
1103 * BUG 3969: Fix unsigned time comparison with expiration
1105 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
1106 that winbindd talks to the correct DC when servicing PAM
1107 authentication requests.
1108 * Do not use the generic IP address sort routines for AD DCs
1109 since the SRV lookup include a sorting algorithm based
1110 on priority and weight.
1111 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
1112 * More changes to ensure that the primary group SID for
1113 a local user is based on the primary Unix group and not the
1114 primaryGroupSID passdb attribute.
1115 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
1116 to the SID<->uid/gid cache.
1119 o Guenther Deschner <gd@samba.org>
1120 * Fix msdfs RPC client and server management RPCs.
1121 * Align idmap_ad with the current idmap_methods interface.
1124 o Volker Lendecke <vl@samba.org>
1125 * Re-add support for "username level" when looking up the
1126 matching Unix user for an smbpasswd entry.
1130 o Simo Sorce <idra@samba.org>
1131 * Let innetgr() work without binding its use to a
1132 NIS domain to support netgroups in local files.
1135 o Ben Winslow <rain@bluecherry.net>
1136 * Allow client smb signing to be turned off correctly.
1139 --------------------------------------------------
1140 ===============================
1141 Release Notes for Samba 3.0.23b
1143 ===============================
1145 Common bugs fixed in 3.0.23b include:
1147 o Ambiguity with unqualified names in smb.conf parameters
1148 such as "force user" and "valid users".
1149 o Errors in 'net ads join' caused by bad IP address in the list
1150 of domain controllers.
1151 o SMB signing errors in the client and server code.
1152 o Domain join failures when using smbpasswd on a Samba PDC.
1155 Member servers, domain accounts, and smb.conf
1156 =============================================
1158 Since Samba 3.0.8, it has been recommended that all domain accounts
1159 listed in smb.conf on a member server be fully qualified with the
1160 domain name. This is now a requirement. All unqualified names are
1161 assumed to be local to the Unix host, either as part of the server's
1162 local passdb or in the local system list of accounts (e.g. /etc/passwd
1165 The reason for this change is that smbd has transitioned from
1166 access checks based on string comparisons to token based
1167 authorization. All names are resolved to a SID and then verified
1168 against the logged on user's NT user token. Local names will
1169 resolve to a local SID, while qualified domain names will resolve
1170 to the appropriate domain SID.
1172 If the member server is not running winbindd at all, domain
1173 accounts will be implicitly mapped to local accounts and their
1174 tokens will be modified appropriately to reflect the local
1175 SID and group membership.
1177 For example, the following share will restrict access to the
1178 domain group "Linux Admins" and the local group srvadmin.
1182 valid users = +"DOMAIN\Linux Admins" +srvadmin
1184 Note that to restrict the [homes] share on a member server to the
1185 owner of that directory, it is necessary to prefix the %S value
1189 security = {domain,ads}
1191 winbind separator = +
1193 valid users = DOM+%S
1197 ######################################################################
1201 Changes since 3.0.23a
1202 ---------------------
1206 o Michael Adams <ma@sernet.de>
1207 * Fix memory leaks on error paths in 'net ads join'.
1210 o Jeremy Allison <jra@samba.org>
1211 * BUG 3962: Fix memory leak when enumerating print jobs.
1212 * Fix file access flags for the Linux CIFS fs client.
1213 * Fix memory leaks in the smbclient DFS code.
1214 * BUG 3967: Fix SMB signing client bug in trans calls.
1215 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
1216 * Added lookup_name_smbconf() to be called when looking up names
1217 from smb.conf. Unqualified names are assumed to be local.
1218 * BUG 4003: Fix SMB signing server error in NTcancel reply.
1221 o Gerald (Jerry) Carter <jerry@samba.org>
1222 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
1223 viewing or modifying local group membership.
1224 * Make LsaLookupSids() reply include the full SID of unresolved
1226 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
1227 memory in the SRV hostlist in case there is not an A record for
1229 * BUG 3964: normalize the case of usernames prior to getpwnam()
1230 call in the smbpasswd backend.
1231 * Cleanup the 'net ads help join' output and document createupn
1232 and createcomputer options.
1233 * Fix a regression in the ldapsam URI syntax. Allow multiple
1234 LDAP URIs to be grouped by "".
1237 o William Charles <william@charles.name>
1238 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
1242 o Guenther Deschner <gd@samba.org>
1243 * Fix memory leaks in pam_winbind.
1244 * Save the logon script path from the info3 in the PAM session
1245 allowing other PAM modules to pick it up from there.
1248 o Volker Lendecke <vl@samba.org>
1249 * BUG 3991: Fix problem with user tokens on standalone systems
1250 configured to use a username map.
1251 * Fix bug where qualified user or group names in smb.conf
1252 were assumed to use the '\' character as the winbind separator.
1254 --------------------------------------------------
1255 ===============================
1256 Release Notes for Samba 3.0.23a
1258 ===============================
1260 Common bugs fixed in 3.0.23a include:
1262 o Failure to strip the domain name from groups when 'winbind
1263 use default domain = yes'
1264 o Failure in pam_winbind to correctly parse arguments.
1265 o Bad token creation of local users on member servers not
1267 o Failure to add users or groups to ACLs using the Windows
1269 o Failure in file serving code when 'kernel oplocks = yes'.
1271 New features in 3.0.23a include:
1273 o New "createupn" option to "net ads join"
1274 o Rewritten Kerberos keytab generation when 'use kerberos
1279 ######################################################################
1283 Changes since 3.0.23
1284 --------------------
1288 o Jeremy Allison <jra@samba.org>
1289 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
1291 * Fix memory leaks in the AD schema parsing code.
1292 * Fixed bug in interaction with Linux kernel oplocks.
1295 o Gerald (Jerry) Carter <jerry@samba.org>
1296 * Rewrite the detection of the correct DES salting principal name
1297 when joining an Active Directory Domain.
1298 * Rewrite the keytab generation code based on existing SPN,
1299 UPN, and sAMAccountName attributes in the AD machine object.
1300 * Cleanup of dead code from idmap_ad.
1301 * Fix Winbind 32bit/64bit portability issues.
1302 * Fail 'net ads join' and disable the machine account if we cannot
1303 set any SPNs for ourselves.
1304 * Make sure to lower case all usernames before calling the create,
1305 delete, or rename hooks.
1306 * Preserve case for usernames in passdb
1307 * Flush the getpwnam cache after renaming a user
1308 * Add become/unbecome root block in _samr_delete_dom_user() when
1309 trying to verify the account's existence.
1310 * Changed 'net ads join' syntax for specifying an alternate
1311 OU. New syntax is createcomputer=<ou path top to bottom>.
1312 * Add createupn=[UPN] option to 'net ads join' for setting the
1313 userPrincipalName attribute.
1314 * Bug 3920: Restore winbind use default domain behavior for domain
1315 groups. This break local users and 'winbind nested groups' on
1319 o Guenther Deschner <gd@samba.org>
1320 * Don't clear the cache when starting winbindd in off line mode.
1321 * Fix errno reporting in pam_winbind debug messages.
1322 * BUG 3937: Fix segv in libnss_wins.so.
1325 o Volker Lendecke <vl@samba.org>
1326 * Fix memory leaks in the in error paths out of the CLDAP
1328 * AIX portability fixes for DNS client code.
1329 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
1330 * BUG 3949: Fixed authorization issue on domain member
1331 servers not running winbindd.
1334 o Andrew Tridgell <tridge@samba.org>
1335 * Fixed a bug which caused resolve_ads() to spin forever if
1336 one of the DCs isn't resolvable in DNS.
1339 o Simo Sorce <idra@samba.org>
1340 * Debian packaging fixes.
1343 o Dietrich Streifert <dietrich.streifert@visionet.de>
1344 * BUG 3916: Fix error parsing pam_winbind config arguments.
1347 Release Notes for older release follow:
1349 --------------------------------------------------
1351 ==============================
1352 Release Notes for Samba 3.0.23
1354 ==============================
1356 There has been a substantial amount of cleanup work done during
1357 this development cycle. We would like to thank both Coverity
1358 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
1359 for analyzing the Samba source code. As a result, this release
1360 includes fixes for over 400 defects. The coverage was approximately
1361 even with over 200 defects reported by each tool.
1363 Thanks very much to those people who spent time testing the
1364 release candidates and reported their findings. We would like to
1365 especially thank Thomas Bork <tombork@web.de> for his numerous
1366 reports. We believe that the final release is in much better shape
1367 in large part due to his efforts.
1369 New features in 3.0.23 include:
1371 o Improved 'make test'
1372 o New offline mode in winbindd.
1373 o New Kerberos support for pam_winbind.so.
1374 o New handling of unmapped users and groups.
1375 o New non-root share management tools.
1376 o Improved support for local and BUILTIN groups.
1377 o Winbind IDMAP integration with RFC2307 schema objects supported
1379 o Rewritten 'net ads join' to mimic Windows XP without requiring
1380 administrative rights to join a domain.
1383 User and Group changes
1384 ======================
1386 The user and group internal management routines have been
1387 rewritten to prevent overlaps of assigned Relative Identifiers
1388 (RIDs). In the past the has been a potential problem when either
1389 manually mapping Unix groups with the 'net groupmap' command or
1390 when migrating a Windows domain to a Samba domain using 'net rpc
1393 Unmapped users are now assigned a SID in the S-1-22-1 domain and
1394 unmapped groups are assigned a SID in the S-1-22-2 domain.
1395 Previously they were assign a RID within the SAM on the Samba
1396 server. For a DC this would have been under the authority of the
1397 domain SID where as on a member server or standalone host, this
1398 would have been under the authority of the local SAM (hint: net
1401 The result is that any unmapped users or groups on an upgraded
1402 Samba domain controller may be assigned a new SID. Because the
1403 SID rather than a name is stored in Windows security descriptors,
1404 this can cause a user to no longer have access to a resource for
1405 example if a file was copied from a Samba file server to a local
1406 NTFS partition. Any files stored on the Samba server itself will
1407 continue to be accessible because Unix stores the Unix gid and not
1408 the SID for authorization checks.
1410 A further example will help illustrate the change. Assume that a
1411 group named 'developers' exists with a Unix gid of 782 but this
1412 user does not exist in Samba's group mapping table. it would be
1413 perfectly normal for this group to be appear in an ACL editor.
1414 Prior to 3.0.23, the group SID might appear as
1415 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
1416 group SID would be reported as S-1-22-2-782. Any security
1417 descriptors associated with files stored on an NTFS disk partition
1418 would not allow access based on the group permissions if the user
1419 was not a member of the
1420 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
1421 group SID not reported in a user's token is S-1-22-2-782, Windows
1422 would fail the authorization check even though both SIDs in some
1423 respect referred to the same Unix group.
1425 The current workaround is to create a manual domain group mapping
1426 entry for the group 'developers' to point at the
1427 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
1433 The "passdb backend" parameter no long accepts multiple backends
1434 in a chaining configuration. Also be aware that the SQL and XML
1435 based passdb modules have been removed in this release. More
1436 information of external support for a SQL passdb module can be
1437 found at http://pdbsql.sourceforge.net/.
1440 Group Mapping Changes
1441 =====================
1443 The default mapping entries for groups such as "Domain Admins" are
1444 no longer created when using an smbpasswd file or a tdbsam passdb
1445 backend. This means that it is necessary to use 'net groupmap
1446 add' rather than 'net groupmap modify' to set these entries.
1447 This change has no effect on winbindd's IDmap functionality for
1454 There has also been a minor update the Samba LDAP schema file. A
1455 substring matching rule has been added to the sambaSID attribute
1456 definition. For OpenLDAP servers, this will require the addition
1457 of 'index sambaSID sub' to the slapd.conf configuration file. It
1458 will be necessary to run slapindex after making this change. There
1459 has been no change to actual data storage schema.
1462 ######################################################################
1469 Parameter Name Description Default
1470 -------------- ----------- -------
1471 acl group control Deprecated No
1472 add port command New ""
1473 change notify timeout Changed Scope
1474 dmapi support New No
1475 dos filemode Modified No
1476 enable asu support Changed default No
1477 enable core files New Yes
1478 enable privileges Changed default Yes
1479 enable rid algorithm Removed
1480 fam change notify New Yes
1482 host msdfs Changed default Yes
1483 msdfs root Changed default Yes
1484 open files database hash size New 10007
1485 passdb expand explicit Changed default No
1486 strict locking Changed default auto
1487 usershare allow guests New No
1488 usershare max shares New 0
1489 usershare owner only New Yes
1490 usershare path New ${lockdir}
1491 usershare prefix allow list New ""
1492 usershare prefix deny list New ""
1493 usershare template share New ""
1494 winbind enum users Changed default No
1495 winbind enum groups Changed default No
1496 winbind nested groups Changed default Yes
1497 winbind offline logon New No
1498 winbind refresh tickets New No
1499 winbind max idle children Removed
1500 wins partners Removed
1503 Changes since 3.0.22
1504 --------------------
1508 o Jeremy Allison <jra@samba.org>
1509 * Fixes for various Klocwork defect reports.
1510 * Cleanup pdb_get_XXX() methods and ensure that a failure
1511 to allocate memory for a samu user structure is reported
1512 as a failure to the calling function.
1513 * Fix memleak in printing gencache contents.
1514 * Fix warnings reported by gcc4 -O6 on 64-bit systems
1515 * Fix naming conflicts with 'net usershare' structures and
1516 Solaris header files.
1517 * Fix memleaks on error paths from the ASN.1 parsing code.
1518 * Add uid to share_mode_entry structure so we can report who
1520 * Ensure we use sys_write in password chats so we're not
1522 * Ensure all new rid allocation goes through the same pdb_ldap
1524 * BUG 3308: Stop us returning duplicate mid replies on path
1525 based set-EOF trans2 calls.
1526 * Pass RAW-OPLOCK with kernel oplocks off.
1527 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
1528 correctly when doing info level 1 directory scans.
1529 * Add Samba4 replacement for timegm() to work on Solaris.
1530 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
1531 * BUG 3592: Ignore a file in the tar output from smbclient if the
1532 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
1533 Justin Best <justinb@pdxmission.org>).
1534 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
1535 * Push/Pull Kerberos principal and realm names to/from UTF-8.
1536 * Fix incorrect boolean in assert to make POSIX lock tests
1538 * Don't ever set O_SYNC on open unless "strict sync = yes".
1539 * Remove dead printing code.
1540 * Allow configurable guest access to Samba's usershare functionality.
1541 * BUG 3587: Make byte-range locking tdb self-cleaning.
1542 * Ensure every exit error path in the session setup code calls
1544 * Use portable wrapper functions instead of seteuid directly in
1546 * Make "change notify timeout" a per-share parameter.
1547 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
1548 * Fix valgrind-spotted issue in BASE-DELETE test.
1549 * Fix early termination condition in winbindd when trying to
1550 connect to a remote DC.
1551 * Instruct winbindd to ignore fd_set when select() returns -1.
1552 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
1553 with select returning true but no data being available.
1554 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
1556 * BUG 3467: Fix delete on close semantics needed by WinXP Media
1557 Center Ed. for simultaneous recording and playback (thanks to
1558 Jason Qian for the debugging assistance).
1559 * BUG 3347: Save the Unix user token used to set the
1560 delete-on-close flag.
1561 * Fix parsing of SAMR_Q_CONNECT_ANON.
1562 * Add in support for userinfo26 structure and re-enable
1564 * Schannel server fixes. Fix the credentials chaining across
1565 \netlogon pipe disconnects.
1566 * Replace ubqix code in nmbd with an internal tdb.
1567 * Fix struct timespec checks in configure.in.
1568 * Add in server support for the NetSamLogonEx().
1569 * Add support for LsaLookupSids2() and LsaLookupSids3().
1570 * Add LsaLookupNames[2-4]().
1571 * Add support for 'net usershare'.
1572 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
1573 already exists (thanks to Sandeep Tamhankar).
1574 * BUG 3510: Fix 'net rpc join' against a server when
1575 schannel is disabled.
1576 * Get rid of poor errno mapping table. Bounce through NTSTATUS
1578 * Check for SeMachineAccountPrivilege when deleting machine
1580 * Fix a logic bug with multiple oplock contention.
1581 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
1582 Attempt to fix the broken directory handling in the *BSD.
1583 * Allow run time tuning of the locking tdb hash size for
1585 * BUG 3642: Ensure we don't call FD_SET on read with
1587 * BUG 3569: Work around linear posix locking issue on AIX
1588 which was causing high loads due to the tdb CLEAR_IF_FIRST
1589 flag (based on work from William JoJo).
1590 * Fix OS/2 directory delete bug found by kukks.
1591 * Match the Windows 2003 NTLMSSP signature.
1592 * Performance tuning work in core read & write file serving
1594 * Change default to 'strict locking' to better reflect
1596 * Fix error return on session setup. Ensure no data blob is
1597 added if the logon call failed so that Windows clients
1598 interpret the NT_STATUS code correctly.
1599 * Teach Samba the difference between exclusive and batch
1601 * BUG 3592: Ignore a file in a smbtar output if the first
1602 read fails (inspired by Justin Best).
1603 * BUG 3668: Workaround Windows bug with LARGE_READX where if
1604 you ask for exactly 64k bytes it returns 0.
1605 * BUG 3858: Ensure that all files are removed by a wildcard
1606 delete when 'hide unreadable = yes'.
1607 * Fix various issues raised by the Klocwork code analyzer.
1608 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
1609 query reply ("enhanced browsing = yes").
1610 * Fix SMB signing failures in client tools.
1611 * BUG 3909: Avoid EA lookups on MS-DFS links.
1614 o Andrew Bartlett <abartlet@samba.org>
1615 * Work around abort() in the OpenLDAP client libs caused by a NULL
1619 o Timur Bakeyev <timur@com.bat.ru>
1620 * BUG 2961: Fix compile warnings for pam_smbpass.
1621 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
1624 o Alexander Bokovoy <ab@samba.org>
1625 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
1626 * Fix absolute symlinks in the installbin.sh script.
1629 o Max N. Boyarov <m.boyarov@sam-solutions.net>
1630 * Fix crash bug in perfmon daemon example code.
1633 o Nicholas Brealey <nick@brealey.org>
1634 * Compile fix for pam_winbind.
1637 o Gerald (Jerry) Carter <jerry@samba.org>
1638 * Fix 'make install' problem when building outside source/.
1639 * Fix 'net ads join' when the workgroup is set incorrectly in
1641 * Re-add code to include the BUILTIN\Administrators SID when
1642 winbindd is not running, but the user's token includes the
1643 Domain Admin SID. Fixes access problem for managing Services.
1644 * Only call the printer publishing calls if 'security = ads'.
1645 * Normalize printing keys when deleting.
1646 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
1647 * Look at the NT password (not lanman one) when determining if 'smbpasswd
1648 -e' should probably for a password.
1649 * Default eventlog tdbs to mode 0660 to allow easier access by
1650 BUILTIN\Administrators.
1651 * Remove extra call to create_user on member servers without winbindd.
1652 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
1653 AD DC's with out own DNS SRV queries.
1654 * Fix compile error on HP-UX reported by Ryan Novosielski.
1655 * Rewrite 'net ads join' to share common code with 'net rpc join'
1656 and behave more like a Windows XP client.
1657 * Remove --with-ldapsam option from configure (only used for
1658 backwards compatibility for 2.2 smb.conf files).
1659 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
1660 * Remove rhosts authentication module.
1661 * Reimplement 'net ads leave' to disable the machine account in the
1662 domain rather than removing it.
1663 * Rewrite of tdbsam file descriptor handling.
1664 * Add server affinity support when selecting a remote
1666 * Remove chaining of passdb modules.
1667 * Generate a local users primary group SID based on his
1668 or her primary Unix group rather than storing the attribute
1669 in the passdb entry.
1670 * Default primary group SID to 'Domain Users' if the real Unix
1671 primary group maps to the S-1-22-2 domain.
1672 * Refactor memory management in passdb user objects.
1673 * RHEL and Fedora packaging fixes.
1674 * Implement XcvDataPort() spooler call and supporting 'add
1676 * BUG 3534: Ignore lines in the username map file with no right
1678 * Add support for the experimental %(DomainSID) smb.conf
1680 * Add support for parsing SIDs in smb.conf value lists.
1681 * Fix vuid allocation in Kerberos SMBsesssetup reply.
1682 * Ensure that local group membership is included in the
1683 getgroups() NSS reply.
1684 * Automatically create a BUILTIN\{Administrators,Users} if
1685 winbindd is running.
1686 * Automatically grant all privileges to members of the local
1687 Administrators group.
1688 * Protect against NULL cli_state* pointers in
1689 cli_rpc_pipe_open().
1690 * Add a SUBSTR matching rule the the Samba LDAP schema
1691 file for the sambaSID attribute. This will allow for
1692 Searching group mapping entries within a given domain
1693 without reorganizing the directory namespace. Also
1694 requires 'index sambaSID sub' in slapd.conf.
1695 * Fix parsing of 'idmap uid/gid' values that broke when
1696 the range included any whitespace.
1697 * Support renaming local groups (protect against renaming
1699 * Do not allow the root account to be deleted via MS-RPC.
1700 * Fix RID allocation to skip over RIDs that resolve in our
1701 own domain (work around upgraded users and groups).
1702 * Store the name/ip address combination when we do a reverse
1703 look up in case future forward lookups would fail.
1704 Fixes cases where a DC name could not be resolved via
1706 * Allow winbindd to run on standalone servers in order to
1707 provide support for local groups.
1708 * Deprecate 'acl group control' and replace it with added
1709 functionality to 'dos filemode'.
1710 * Ensure that all global memory is freed from pam_winbind
1711 when unloading the shared library (based on work from Arkady
1713 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
1714 libraries and winbindd.
1715 * Add defensive checks about create local accounts (i.e. calling
1716 'add user script') on domain member servers when winbindd
1717 is running but having problems.
1718 * Use system provided killproc() in RedHat init scripts for
1719 more robust shutdown.
1720 * Fix a crash in the printer publishing code when adding a
1721 new printer via the APW.
1722 * Fix broken compile of unsupported smbwrapper utility.
1723 * BUG 3905: Fix smbd startup failure caused by a failure to
1724 create an NT token for the guest account.
1725 * BUG 3908: Fix RPC bind authentication failure which broke
1726 user password changes.
1727 * Ensure that "net ads join" reports failure correctly if
1728 it cannot set the machine account password.
1731 o Mathias Dietz <MDIETZ@de.ibm.com>
1732 * EPERM can be a valid return from getting an xattr.
1733 Don't disable if we get it.
1736 o Guenther Deschner <gd@samba.org>
1737 * Fix memleaks in winbindd ads searches.
1738 * Fix timestamp bug in pam_winbindd which forced users to change
1739 passwords prematurely.
1740 * Small debug message cleanups.
1741 * Small fixes for 'net ads password'.
1742 * BUG 3843: Allow to set passwords directly when creating users
1743 via "net rpc user add"
1744 * Add "rpc shell" to the usage text for the net command.
1745 * Winbindd user aliases lookup fixes for large domains.
1746 * Fix memleak in the CLDAP processing code.
1747 * Enable AD features in winbindd's PAM support only when
1748 communicating with an AD domain controller.
1749 * Set our internal domains to "online" by default in winbindd.
1750 * BUG 3800: Fill the password_policy method in winbindd for
1752 * Fix memory leak when LDAP POSIX attribute queries fail.
1753 * Honor the krb5 principal name change (of the new ads join code)
1754 in the kerberized winbind pam_auth.
1755 * Correctly handle the case when there is no configuration file
1757 * Adding "own-domain" switch to wbinfo which is handy from time
1759 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
1760 * Fix winbindd group enumeration for groups with no members.
1761 * Correct "net ads changetrustpw" to use the sAMAccountName.
1762 * Fix winbindd in ADS domains by removing code using the
1763 UPN and rely upon the sAMAccountName.
1764 * Fix a eDir related memory leak.
1765 * Don't try to add the sn attribute twice to an LDAP
1766 inetOrgPerson + samSamAccount entry.
1767 * Fix winbind function table typo.
1768 * Attempt to send the correct warning from pam_winbind when a password
1769 change was attempted too early.
1770 * Don't use cached credentials when changing passwords.
1771 * Correctly disallow unauthorized access when logging on with the
1772 kerberized pam_winbind and workstation restrictions are in effect.
1773 * Save useless round trips in pam_winbind's auth calls.
1774 * Make the existence of the /etc/security/pam_winbind.conf file
1775 non-critical and fallback to only parse the argv options in that
1777 * Add winbind debug class to the main winbindd process.
1778 * Be consistent between rpc and ads winbind backend: let the
1779 ads backend query the samlogon cache first as well.
1780 * Ignore BUILTIN groups when searching AD for group memberships.
1781 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
1782 * Cleanup credential caches from winbind's linked list.
1783 * Fix 'winbindd -n' for new persistent caches.
1784 * Fix searching by SID in winbindd.
1785 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
1786 * Prefer to use the indexed objectCategory attribute (instead of
1787 objectClass which is not indexed on AD) in LDAP queries.
1788 * Free LDAP result in ads_get_attrname_by_oid().
1789 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
1790 * Prevent passwords of winbindd's list of credential caches from
1791 being swapped to disk using mlock().
1792 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
1793 support the plain posix attributes LDAP schema from win2k3-r2
1794 (based on patches from Howard Wilkinson and Bob Gautier).
1795 * Add more robust code for fallback when lookup_usergroups() fails.
1796 * Fix 'net rpc join' for winbindd running on a Samba DC.
1797 * Add help text for new 'net rpc audit' utility.
1798 * Add net ads search SID.
1799 * samrQueryDomainInfo level 5 should return the domain name, not our
1800 NetBIOS name when we are a DC.
1801 * Add some more client rpc for the querydominfo calls (from samba4 idl).
1802 * Process all the supported info levels in the samr_query_domain_info2
1804 * Wrap the samr_query_domain_info2() call around
1805 samr_query_domain_info().
1806 * Fix segv in smbctool.
1807 * Honor the time_offset also when verifying Kerberos tickets.
1808 * Prevent unnecessary longstanding LDAP connection to eDirectory.
1809 * Fix segv in smbspool.
1810 * BUG 1914: Allow to store 24 password history entries in ldapsam.
1811 * Enhancements to various commands in rpcclient
1812 * Don't force 'Administrator' to change an expired password on
1814 * Add support for offline mode in winbindd.
1815 * Provide support in pam_winbind for initializing a user's
1817 * Implement samr_chgpasswd_user3 server-side.
1818 * Make pam_winbind more robust when detecting domain users.
1819 * Add client side support for SAMR_GET_USRDOM_PWINFO.
1820 * Re-enable strict checking on C++ reserved keywords since Heimdal
1821 0.7.2 has been released.
1822 * Allow renaming of machine accounts in a Samba domain.
1823 * BUG 3539: Let winbindd try to obtain the gecos field from
1824 the msSFU30Gecos attribute when "winbind nss info = sfu" is
1826 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1827 * Return the real ACB-flags in the SamLogon() reply.
1828 * Some client side cleanup for the samr set security object
1830 * Make sure we always reset the userAccountControl bits when
1831 re-joining (net ads join) with an existing account.
1832 * Document some more MSV1_0 bits and their behavior.
1833 * Only set the last rebind timestamp when we did rebind
1834 after a update LDAP operation to avoid the ldap replication
1836 * Fix incorrect error checking in winbindd for domains with
1838 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
1840 * Work around crash bug in MIT krb5 libs when reading a
1841 keytab file. Stop trying to decrypt a ticket as soon as
1842 we have a clear indication that the ticket is bad.
1843 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1844 * Adding client side samr querygroup infolevels 2 & 5.
1845 * Make smbpasswd -a root work for eDirectory where there
1846 is no "account" structural objectclass.
1847 * Make sure we only send out a CLDAP request (net ads) to
1848 an connected AD server.
1849 * Fix a broken LDAP search filter when looking for groups.
1850 * Add in-tree version of iniparser library from
1851 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1852 (rather than linking in loadparm.c). Settings are now stored
1853 in /etc/security/pam_winbind.conf.
1854 * Fix different extended_dn handling in adssearch.pl
1855 (Thanks to Frederic Brin at Novell).
1856 * Fix a memleak in winbindd's credentials cache.
1857 * Protect against crashes in CLDAP request processing.
1858 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1861 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
1862 * Fix parameter type for 'acl compatibility'.
1863 * Fixes for msgtest torture tool.
1864 * Fix crash bug in the file locking code.
1867 o Arek Glabek <aglabek@centeris.com>
1868 * Fix parsing error on input parameters in eventlogadm.
1871 o Paul Green <paulg@samba.org>
1872 * Properly rebuild time limit on systems with executable extensions.
1873 * Fix build on platforms that do not support shared libs.
1874 * Remove dead code in the auth_script module.
1877 o Bjoern Jacke <samba@j3e.de>.
1878 * Fix DMAPI compile failures on AIX and True64.
1879 * Fix AIX PIC suffix (use .o instead of .po).
1880 * Fall back to less-preferred clocks until we find one that we
1881 can use if clock_gmtime() is not available at run-time.
1882 * Fix EA support on AIX platforms.
1883 * Automatically disable file shares with no explicit path set.
1884 * Remove the local hack to set the RO bit on directories in
1885 user profiles when profile acls = yes. Rely on EAs instead.
1886 * Compile fixes for Solaris LDAP client libs.
1887 * Add DMAPI/XDSM support for AIX.
1888 * Find JFS DMAPI libs on Linux when only they are available.
1891 o William Jojo <jojowil@hvcc.edu>
1892 * Fixes for the winbind NSS library on AIX.
1893 * Fix VFS builds on AIX platforms.
1894 * Fixes for the AIX version of libnss_winbind.so
1897 o Leonid Kabanov <lkabanov@mail.ru>
1898 * BUG 3711: Shell portability fixes for 'make test'.
1901 o Volker Lendecke <vl@samba.org>
1902 * Fixes for various Klocwork defect reports.
1903 * Fixes for various Coverity defect reports.
1904 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
1905 * Fix more potential seg-faults when something on our way to a
1906 DC connection fails.
1907 * Never fall back to using the IP address for a DC's name in RPC
1909 * Implement recycle:subdir_mode.
1910 * Activate RPC-AUTHCONTEXT in "make test".
1911 * Portability fixes for 'make test'.
1912 * Correctly set the group RID in init_sam_from_buffer.
1913 * Fix missing prompt in smbclient.
1914 * Return correct error code upon success from _net_srv_pwset().
1915 * Fix Windows XP joins to a Samba domain.
1916 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
1917 when mapped to a non-algorithmic rid.
1918 * Fix regression which upper-cased machine names passed to the
1919 'add machine script'.
1920 * Correct parsing error in parse_net.c for user's with no group
1922 * Fix off by one error in client SPNEGO code and other klocwork
1924 * Memory leak fixes in 'net sam'.
1925 * BUG 3720: Fix uninitialized error return variable.
1926 * Default "passdb expand explicit" to no.
1927 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
1928 * Fix user NT token creation when utilizing a username map.
1929 * More coverity fixes.
1930 * Fix a VUID bug in 'security = share'.
1931 * Correctly fill in the gid for local users.
1932 * Fix some warnings on True64.
1933 * Add special close handling for fake files.
1934 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
1935 * BUG 3435: Fix 'msdfs root = yes' in [homes].
1936 * Instruct winbindd to find a trusted DC on its own when running on
1938 * Fix segv in child winbindd processes caused by a failed tconX
1940 * Dynamically compute the maximum password age based no the
1941 last change time rather than reading the must change time
1942 from the passdb record.
1943 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
1944 * Assign unmapped users to the S-1-22-1 domain and unmapped
1945 groups to the S-1-22-2 domain
1946 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
1947 * Remove sql passdb backends.
1948 * Implement rpccli_samr_set_domain_info()
1949 * Add initial support for 'net sam' command.
1950 * BUG 2413: Remove anonymous connections in 'net rpc info'.
1951 * Implement asynchronous support for trans2 calls.
1952 * Make smbclient -L use RPC to list shares, fall back to RAP.
1953 * Ensure that the global SAM SID is initialized before any
1954 dependent routines are called.
1955 * Enhance consistency checks on local configuration when joining
1957 * Fix a memleak in the server registry code for enumeration
1959 * Fix an invalid munlock() call in winbindd's credentials cache.
1960 * Fix compile warnings when passing NULL to snprintf().
1961 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
1962 token in case anything weird is going on with the 'force user'.
1963 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
1966 o Derrell Lipman <derrell@samba.org>
1968 * BUG 3814: Only set the DFS capability flag in client requests
1969 if the share is a DFS root.
1970 * Fix bug causing previous settings to be re-initialized
1971 when parsing new configuration files.
1972 * BUG 3446: Don't ignore the authentication domain when parsing
1974 * Fix cli_setpathinfo() to actually do what it's supposed to.
1975 * Fix libsmbclient to make correct use of the new "one connection
1976 per server feature".
1979 o Jason Mader <jason@ncac.gwu.edu>
1980 * Numerous compiler warning fixes.
1983 o John E. Malmberg <wb8tyw@qsl.net>
1984 * Make smbldap obey config tests.
1987 o Jim McDonough <jmcd@us.ibm.com>
1988 * Fixes for 'make test' on AIX.
1989 * Ensure we do a wildcard search for SID's starting with the global SAM
1990 sid, not an exact search (from John Janosik).
1991 * Adapt smbclient fix to smbtree to enable long share names.
1992 * Prevent machines and users with no home directory from
1993 getting the previous entries home path when migrating via
1994 'net rpc vampire' (based on a patch from Richard Renard).
1995 * Remove hard-coded LDIF names when dumping a migrated
1996 domain's users and groups.
1997 * BUG 1374: Can't join an OU with name that contains '#'.
2000 o Stefan Metzmacher <metze@samba.org>
2001 * Add more tests to 'make test'.
2002 * Try to make timelimit.c more portable.
2003 * Fix linking of smbmount tools with --enable-socket-wrapper.
2004 * Pass 'target:samba3=yes' to samba4's smbtorture when running
2006 * Miscellaneous fixes for 'make test'.
2007 * Add improved support for 'make test' including making
2008 use of smbtorture from SAMBA_4_0.
2009 * Add --no-process-group to all server programs
2010 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
2011 * Add configure tests --with-selftest-prefix=/tmp/samba-test
2014 o Lars Müller <lmuelle@samba.org>
2015 * Fix lock calls in the python tdb bindings.
2016 * Add -k switch to tdbdump for accessing a single key.
2017 * Debian packaging fixes.
2018 * Add -t|--password-from-stdin option to pdbedit as we had
2020 * Various minor fixes to install scripts used by 'make install'.
2023 o James Peach <jpeach@sgi.com>
2024 * Ensure smbclient always prompts on standard output when in
2026 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
2027 * Introduce command line options to set the remainder of the
2028 parameters in dynconfig.c.
2029 * Avoid pulling in -lpthreads caused by -lrt.
2030 * Fix build failures on IRIX 6.4 due to DMAPI support.
2031 * Isolate the slow CLOCK_REALTIME message in the profiling code.
2032 * Correct comparison logic so that libunwind can be correctly detected.
2033 * Implement a "stacktrace" smbcontrol option using libunwind's remote
2034 stack tracing support (ia64 only).
2035 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
2036 of long group lists.
2037 * New autoconf macro to test for sysconf variables.
2038 * Change profiling data macros to use stack variables rather than
2039 globals. This catches mismatched start/end calls and removes
2040 the need for special nested profiling calls.
2041 * Rewrite AC_LIBTESTFUNC so that it works like the callers
2043 * Use clock_gettime for profiling timstamps if it is available. Use
2044 the fastest clock available on uniprocessors.
2045 * Preserve errno in fcntl lock wrappers.
2046 * Initialize our saved uid and gid so that we can tell when we
2047 created the profiling shmem segment and don't bogusly refuse to
2049 * Add a new option "enable core files" which can be used to disable
2050 automatic core file dumping.
2051 * Update our internal copy of popt to that distributed with the RPM
2053 * Add support for FAM for file change notification.
2054 * Disable sendfile if the 'write cache;' has been enabled.
2055 * Refactor capability interface from being IRIX-specific to
2056 using only the POSIX interface.
2057 * Consolidate core dumping code to aid in debugging.
2058 * Add support for libunwind to generating a backtrace.
2059 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
2060 and --without-ads are specified.
2061 * Allow the user to set winbind nss timeouts in seconds on IRIX.
2062 * Set the FILE_STATUS_OFFLINE bit by observing the events
2063 a DMAPI-based HSM is interested in.
2066 o Tim Potter <tpot@samba.org>
2067 * Build janitorial duties.
2068 * BUG 3725: Put references to $PICFLAGS in quotes.
2071 o Aruna Prabakar <aruna.prabakar@hp.com>
2072 * Show -W option in smbpasswd usage text.
2075 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
2076 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
2081 * Correct syntax error in aclocal.m4.
2084 o Simo Sorce <idra@samba.org>
2085 * Pam modules install fix.
2086 * Allow "net changesecretpw" to accept a password via stdin.
2087 * Implement 'net setdomainsid' command.
2088 * Ensure that sid -> group conversion are done as root.
2089 * BUG 3413: Sanity check for existence of 'ldap admin
2090 dn' before setting a password in secrets.tdb (based on
2091 work by William Jojo).
2092 * New revision of the snprintf replace code.
2093 * Set the correct sid type when looking up a gid.
2096 o Todd Stecher <tstecher@isilon.com>
2097 * Add TCP fallback for our implementation of the CHANGEPW
2101 o Ronan Waide <waider@waider.ie>
2102 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
2106 o Shlomi Yaakobovich <Shlomi@exanet.com>
2107 * Fix for machine password time_t overflow.
2110 --------------------------------------------------
2111 ==============================
2112 Release Notes for Samba 3.0.22
2114 ==============================
2116 This is a security release of Samba. The Samba 3.0.21 release
2117 series (including the patch releases a through c) has been
2118 discovered to expose the clear text of the server's machine
2119 account credentials in the winbind log files when the log
2120 level is set to 5 or higher. This defect has been assigned
2121 the CVE number CAN-2006-1059.
2126 The machine trust account password is the secret shared
2127 between a domain controller and a specific member server.
2128 Access to the member server machine credentials allows
2129 an attacker to impersonate the server in the domain and
2130 gain access to additional information regarding domain
2133 The winbindd daemon included in Samba 3.0.21 and subsequent
2134 patch releases (3.0.21a-c) writes the clear text of server's
2135 machine credentials to its log file at level 5. The winbindd
2136 log files are world readable by default and often log files
2137 are requested on open mailing lists as tools used to debug
2138 server misconfigurations.
2140 This affects servers configured to use domain or ads security
2141 and possibly Samba domain controllers as well (if configured
2146 --------------------------------------------------
2148 ===============================
2149 Release Notes for Samba 3.0.21c
2151 ===============================
2153 Common bugs fixed in 3.0.21c include:
2155 o Access checks when deleting printer driver meta-data.
2156 o Several non-default combinations schannel and SPNEGO support.
2157 o Password changes with NT4 and Win2k pre-SP4 clients.
2158 o High load issues on IRIX caused by a bug when interfacing
2159 with kernel oplocks.
2162 ######################################################################
2166 Changes since 3.0.21b
2167 ---------------------
2171 o Michael Adam <ma@SerNet.DE>
2172 * Add popt to the include path for examples/VFS.
2175 o Jeremy Allison <jra@samba.org>
2176 * Fix bug in the USC2 macros on big-endian CPUs.
2177 * Filter deleted oplocks from the output of smbstatus.
2178 * Remove invalid test check_for_pipe().
2179 * BUG 3515: Fix kernel oplock support on IRIX.
2180 * BUG 3522: Fix return value for mkdir request when the directory
2182 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
2184 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
2186 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
2187 resulting in a client disconnect after negprot.
2188 * BUG 3510: Fix 'net join' against a server with client schannel
2190 * Fix negprot bug causing a 2k client with cached domain
2191 credentials to refuse to connect to a standalone Samba host.
2192 * Ensure that the correct error is checked when encountering a
2193 socket error (fixes crashes in winbindd).
2196 o Andrew Bartlett <abartlet@samba.org>
2197 * Fix domain joins from NT4 clients and password changes.
2200 o Richard Bollinger <rabollinger@gmail.com>.
2201 * Compile fix in pdbedit.
2204 o Gerald (Jerry) Carter <jerry@samba.org>
2205 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
2206 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
2207 * Fix bug in loadparm.c that caused builtin services to be also
2208 listed as external services (e.g. Spooler, NETLOGON, etc..).
2209 * Fix bug in the samr dispinfo enumeration code.
2210 * Add earlier checks to deny deleting a printer driver meta-data.
2213 o Guenther Deschner <gd@samba.org>
2214 * Add Account Policy LDAP attributes for eDirectory schema.
2217 o William JoJo <jojowil@hvcc.edu>
2218 * BUG 1870: Make nmblookup do a node status on all IP's when
2220 * BUG 2353: Fix clitar -F processing.
2223 o Volker Lendecke <vl@samba.org>
2224 * Fix the build for --with-aio-support.
2225 * Fix remote password changing if password must change is set.
2226 * Fix rpcclient to obey the -W parameter.
2227 * Fix segv in smbmount and the profiles tool.
2228 * Fix typo in pdbedit help text (reported by Karolin Seeger).
2232 * Honour the $(DESTDIR) Makefile variable when installing
2236 o Jason Mader <jason@ncac.gwu.edu>
2237 * Compiler warning fixes.
2240 o Lars Müller <lmuelle@samba.org>
2241 * Fix python build with older python versions.
2242 * Update dhcp.conf files in Debian packaging
2243 * SWAT welcome file updates
2244 * Compiler warning fixes.
2245 * Add .2 to the SONAME as version suffix if we link the nss
2247 * Add -t|--password-from-stdin option to pdbedit.
2250 o James Peach <jpeach@sgi.com>
2251 * Continue not enabling valgrind on 64-bit Linux.
2254 o Tim Potter <tpot@samba.org>
2255 * Remove unused #defines.
2258 o Simo Sorce <idra@samba.org>
2259 * Debian packaging updates.
2262 o Qiao Yang <qyang@stbernard.com>
2263 * Make sure to refresh the timestamp on entries in the failed
2264 connection code in winbindd.
2267 --------------------------------------------------
2268 ===============================
2269 Release Notes for Samba 3.0.21b
2271 ===============================
2273 Common bugs fixed in 3.0.21b include:
2275 o Server crashes in smbd.
2276 o Compile issues on 64-bit platforms.
2277 o Crash bugs on big-endian systems.
2278 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
2279 o Over 30 bugzilla reports closed.
2282 ######################################################################
2286 Changes since 3.0.21a
2287 ---------------------
2291 o Jeremy Allison <jra@samba.org>
2292 * Fix the SAMR cache across handles opens and closes.
2293 * Re-add the talloc_describe_all() function for reporting pool
2295 * Merge talloc license change from Samba 4.
2296 * Fix 64-bit compile warnings reported by gcc.
2297 * Add the share path into the sharemode db.
2298 * Consistency fixes: Remove use of uint8_t -> uint8.
2299 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
2300 structure when passing through the messaging API.
2301 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
2303 * Force smbd to exit if the guest account internal setup fails.
2304 * BUG 3419: vfs_full_audit fixes for multiple connections.
2305 * Ensure SWAT lists running processes.
2306 * Fix NTLMv2 interoperability bug between Samba servers.
2307 * Oplock break logic fixes.
2310 o Andrew Bartlett <abartlet@samba.org>
2311 * BUG 3401: Fix crash bug caused by incorrect handling of weak
2312 session keys. Based on original patch from Yau Lam Yiu.
2315 o Alexander Bokovoy <ab@samba.org>
2316 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
2320 o Stefan Burkei <stefan@burkei.de>
2321 * BUG 3248: When doing auth_crap authentication use the client
2322 given workstation name not our own.
2325 o Gerald (Jerry) Carter <jerry@samba.org>
2326 * Fixing net rpc registry enumerate from overwriting the open
2328 * BUG 3380: fix crash when changing printer drivers.
2329 * BUG 3391: ensure we can lookup account policies for failed
2331 * Adding query/set ops for security descriptors on services.
2332 * BUG 3329: Solaris packaging fixes.
2333 * Better formatting for smbstatus output (based on patch from
2335 * Hook the max connections spin box in the share properties
2336 MMC plug-in dialog to the 'max connections' smb.conf parameter
2337 and the 'modify share command' option.
2338 * Work around building libnss_winbind.so on Solaris when
2339 --enable-developer is specified.
2340 * Add vendor patch level string to VERSION.
2341 * Consolidate packaging for RHEL4 and Fedora based on initial
2345 o Albert Chin <@thewrittenword.com>
2346 * BUG 3374: Build failures on True64.
2349 o Guenther Deschner <gd@samba.org>
2350 * Fill in samr_get_dom_pwinfo based on Samba4.
2351 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
2352 * Fixes for adssearch.pl example script.
2353 * Prevent 'net rpc' from dumping clear text password at high log
2354 levels unless built with DEBUG_PASSWORD.
2355 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
2357 * Fix segfault in pdb_nds.c.
2358 * Don't write null sid mappings into the winbindd_cache.tdb.
2359 * Save sid_to_name lookup result in winbindd already after doing
2360 a successful name_to_sid.
2361 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
2362 * BUG 1524, 3205: Support changing expired passwords in
2364 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
2365 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
2366 idmap modules are build and loaded, idmap_rid now will have
2367 to be loaded without prefix, just "rid".
2368 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
2371 o Andrew Esh <Andrew_Esh@adaptec.com>
2372 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
2373 specified on the command line with -H.
2376 o SATOH Fumiyasu <fumiya@samba.gr.jp>
2377 * End profile fixes.
2378 * BUG 3348: Don't assume owning sticky bit directory means
2379 write access allowed.
2380 * Fix double free in on failure path in POSIX acl code.
2383 o Andriy Gapon <avg@icyb.net.ua>
2384 * BUG 3458: Fix crash bug in smbd and winbindd caused by
2385 accessing freed memory.
2388 o Björn Jacke <bj@sernet.de>
2389 * Configure check for Tru64 EA functions (not yet implemented).
2390 * Find Tru64 AIO lib in configure.
2391 * Cut-n-paste fixes in configure.in.
2394 o John Janosik <jpjanosi@us.ibm.com>
2395 * IBM Tivoli Directory Server schema updates.
2398 o Michael James <michael@james.st>
2399 * sid2string fix in adssearch.pl.
2402 o William JoJo <jojowil@hvcc.edu>
2403 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
2404 * BUG 3389: Failures on AIX in linking smbd when the symbol
2405 table for ld exceeds 65536 bytes.
2406 * Add -W to smbpassword so that the ldap admin dn password does
2407 not have to be specified on the command line.
2408 * BUG 3408: Fix for external password change programs on AIX.
2409 * BUG 1779: 64-bit compile fixes.
2412 o Martin Koeppe <mkoeppe@gmx.de>
2413 * BUG 3287: Match SFU behavior for dev/inode numbers.
2416 o Volker Lendecke <vl@samba.org>
2417 * BUG 3291: Fix valgrind error in client connection code.
2418 * BUG 3292: Prevent smbclient from spinning if server terminates
2420 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
2421 connection alive smbclient.
2422 * Add lookupname to rpcclient query_user as a fallback, we now
2423 accept both rid and username.
2424 * Introduce yet another copy of the string_sub function:
2425 talloc_string_sub use by AFS token code in winbindd.
2426 * BUG 3351: pdb_mysql again overwrites password fields.
2427 * BUG 3384: Fix segv in tdbtool.
2428 * Use the same CFLAGS for generating the pch as we use to
2430 * Correct typo when compiling the vfs_catia module.
2431 * Fix automatic recreation of a new tdb sam file.
2434 o Derrell Lipman <derrell@samba.org>
2436 * Fix parsing of file times (w_time and m_time were reversed).
2437 * Add additional libsmbclient test programs.
2438 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
2439 the configuration files.
2440 * Avoid doing a NetBIOS name query for each server and workgroup
2442 * Do not open connection when only looking for cached connection.
2443 * BUG 2651: Add option to log debug messages to stderr instead
2445 * Added flag to not request authentication information.
2446 * Enhancements to smbwrapper example code.
2447 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
2451 o David May <mayd@cygnus.uwa.edu.au>
2452 * BUG 3329: Shell scripting portability fixes on 'make test'.
2455 o Tony Mountifield <tony@softins.co.uk>
2456 * BUG 3327: fix bad access to gencache.tdb after fork() in
2460 o Lars Müller <lmuelle@samba.org>
2461 * BUG 3264: Support backwards compatible setups using
2462 'idmap backend = idmap_rid'.
2463 * Add %w macro for the winbind separator.
2464 * Convert net command to use stderr for error messages rather
2468 o James Peach <jpeach@sgi.com>
2469 * Portability fixes in LDAP code. Don't use non-static array
2471 * Support the TCP_FASTACK socket option if it is available.
2472 * Tell the MIPSPro compiler to push DEBUG calls out of line.
2475 o Makr Proehl <m.proehl@science-computing.de>
2476 * BUG 1336: Print the server role when calling testparm in
2480 o Simo Sorce <idra@samba.org>
2481 * Crackcheck utility enhancement based on patch sent by
2483 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
2484 mode_t is not 32-bits.
2487 o John Terpstra <jht@samba.org>
2488 * RHEL/Fedora spec file patches.
2491 --------------------------------------------------
2492 ===============================
2493 Release Notes for Samba 3.0.21a
2495 ===============================
2497 Common bugs fixed in 3.0.21a include:
2499 o Deadlocks when multiple users access an oplocked file
2503 ######################################################################
2507 Changes since 3.0.21
2508 --------------------
2512 o Gerald (Jerry) Carter <jerry@samba.org>
2513 * RedHat 9 packaging Fixes.
2516 o Guenther Deschner <gd@samba.org>
2517 * eDirectory schema syntax fixes.
2520 o Volker Lendecke <vl@samba.org>
2521 * BUG 3349: Deadlock caused logic error in oplock code.
2523 --------------------------------------------------
2524 ==============================
2525 Release Notes for Samba 3.0.21
2527 ==============================
2529 Common bugs fixed in 3.0.21 include:
2531 o Missing groups in a user's token when logging in via Kerberos
2532 o Incompatibilities with newer MS Windows hotfixes and
2533 embedded OS platforms
2534 o Portability and crash bugs.
2535 o Performance issues in winbindd.
2537 New features introduced in Samba 3.0.21 include:
2539 o Complete NTLMv2 support by consolidating authentication
2540 mechanism used at the CIFS and RPC layers.
2541 o The capability to manage Unix services using the Win32
2542 Service Control API.
2543 o The capability to view external Unix log files via the
2544 Microsoft Event Viewer.
2545 o New libmsrpc share library for application developers.
2546 o Rewrite of CIFS oplock implementation.
2547 o Performance Counter external daemon.
2548 o Winbindd auto-detection query methods when communicating with
2549 a domain controller.
2550 o The ability to enumerate long share names in libsmbclient
2554 ######################################################################
2561 Parameter Name Action
2562 -------------- ------
2563 dfree cache time New
2564 dfree command Per share
2568 passdb expand explicit New
2569 rename user script New
2570 reset on zero vc New
2571 svcctl list Renamed from 'enable svcctl'
2575 Changes since 3.0.20b
2576 ---------------------
2578 o Jeremy Allison <jra@samba.org>
2579 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
2580 * Added 'map readonly' parameter.
2581 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
2583 * Maintain schannel client session keys in volatile
2584 $(privatedir)/schannel_store.tdb.
2585 * BUG 2769: Ensure we mangle filenames ending in a space
2586 * Catch corner case of renaming a symlinked directory into
2588 * Ensure that smb.conf requests for hidden files are honored,
2589 even when DOS attributes are stored in EA's
2590 * Add new auth method "auth_script" for calling an external
2592 * BUG 2152: Fix for mangled filenames when the client does
2593 support long filenames
2594 * Rewritten implementation of client and server DCE/RPC infrastructure
2595 * BUG 3192: Adds a "dfree cache time" parameter.
2596 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
2597 the S_IWGRP mask in the absence of a POSIX ACL.
2598 * Remove use of 'long long' in libsmbclient code.
2599 * Ensure the new canonicalize_servicename() in name/snum hash
2601 * BUG 2922: Integration of FreeBSD AIO patches from Timur
2603 * BUG 3216: Put directory opens into the share mode db so we
2604 can treat them similarly to file opens (delete on close,
2605 share mode violations etc.).
2606 * Fix bug in name mangling code when case sensitivity is enabled.
2607 * Remove external dependencies from the sharemodes library.
2608 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
2609 * Don't misinterpret wild card characters in file names on disk
2610 as they are actually valid characters.
2611 * BUG 3223: Fix bug in account policy management when
2612 account_pol.tdb settings have been migrating to an LDAP
2614 * Allow the hash size of the tdb open (locking) database to be
2616 * Fix error code returns on client spoolss code.
2617 * Remove unneeded strncpy use.
2618 * Fix uninitialized variables warnings.
2619 * Cleanup smbcacls security descriptor parsing and error codes.
2620 * BUG 3224: Correctly use machine_account_name and client_name
2621 when doing netlogon credential setup. Fixes winbindd running
2623 * Backport Samba 4 time zone handling.
2624 * Fix core dump if setmntent() returns NULL.
2625 * Replace old crc32 code with one from the FreeBSD tree.
2626 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
2627 * Remove #define of close -> close_fn macro in libsmbclient.
2628 * Return early if -1 returned from *BSD EA call (reported by
2630 * Name space cleanup by marking local functions static.
2631 * Move samr enumeration cache from per handle basis to a shared
2633 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
2634 OS/2 servers (based on patch from Guenter Kukkukk).
2635 * Ensure default applies to new files (reported by Thomas
2637 * BUG 3293: Use SMBecho to testing the server in client rather
2639 * Merge talloc fixes from Samba 4 branch.
2640 * Add support DCE/RPC cancel operation.
2641 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
2642 when using EA for DOS attributes.
2643 * Fix bug in returning remote time (reported by Thomas Bork).
2644 * No users or groups to return in BUILTIN domain.
2645 * Removed separate "builtin" search enumeration.
2646 * Added count_sam_aliases to return the correct alias count.
2647 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
2648 eDirectory when accessing the universal password.
2649 * Fix deadlock condition in share mode locking code.
2650 * Fix logic bug in unix_mask_match().
2651 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
2655 o Rashid N. Achilov <shelton@granch.ru>
2656 * Add better service description names to the svcctl code.
2659 o Timur Bakeyev <timur@com.bat.ru>
2660 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
2663 o Andrew Bartlett <abartlet@samba.org>
2664 * Remove another ancient NTLMSSP implementation.
2665 * Allow machine account logons work if the client gives the
2669 o Alexander Bokovoy <ab@samba.org>
2670 * Add POSIX statvfs() to VFS api.
2673 o Gerald (Jerry) Carter <jerry@samba.org>
2674 * Eventlog and ServiceControl support.
2675 * BUG 1051: store the directory path so we can send the full
2676 name in the unlink call from smbclient.
2677 * Use reference count strategy for keeping the registry tdb
2679 * Convert internal registry objects to new hierarchical talloc
2680 * Allow the root user a free pass for access checks in the
2681 registry and service control checks.
2682 * Sanity checks in the privilege code to prevent empty SID
2684 * Add basic infrastructure for 'make test' when the socket
2685 wrapper library is configured at compile time
2686 * Convert profiles utility to use the current regfio interface
2687 for reading and writing user profiles
2688 * Remove netsamlogon_cache interface
2689 * Ensure that print jobs are removed even when the cancel
2690 command is received before the print cache has been updated
2691 * Fix linking problem on Solaris when including ACL support.
2692 * Give root a free pass to open the eventlog tdb files.
2693 * Fix segfault in addprinter due to mixing talloc() and
2695 * fix invalid read reported by valgrind in the spoolss
2696 backchannel connection.
2697 * Remove use of 'long long' in perfcounter registry code.
2698 * BUG 3201: make sure request structure is cleared prior to
2699 sending the request to winbindd.
2700 * Don't count open pipes in the num_files_open on a connection
2701 (regression from Samba 2.2).
2702 * Ensure servername hashing code normalizes the name.
2703 * Fix checks for connect() in -lnsl[_s].
2704 * Convert eventlog API to use NTSTATUS return codes rather
2706 * Fix segv in winbindd caused by an uninitialized variable
2707 in winbindd_dual_getsidaliases().
2708 * Allow winbindd to select the appropriate backend methods
2709 based on the DC attributes and not the security parameter.
2710 * Re-add the netsamlogon_cache tdb and ensure that user entries
2711 are updated from the PAC data during Kerberos ticket
2713 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
2714 by mangling machine names in sub_set_smb_name().
2715 * Add smbget to the list of tools built by default.
2716 * Fix clearing of eventlog tdb files.
2717 * Fix sequential reads in eventlog support.
2718 * BUG 2718: Don't use qpathinfo_basic() call when remote server
2720 * Fix build issues with the Sun compiler.
2721 * BUG 3156: Don't use find_service() when explicitly looking
2723 * Fix nss_winbind_solaris.c build breakage on HP-UX.
2724 * Initialize the local group description.
2725 * Disable WINS and NetLogon services in the MMC services
2726 plugin when the associated smb.conf features are not enabled.
2727 * Add checks for invalid characters in new share names on the
2729 * Fix SWAT installation issues with 'make install'.
2730 * Always add the BUILTIN\Administrators SID to a Domain
2734 o Alex Deiter <tiamat@komi.mts.ru>
2735 * BUG 3196: Patch to compile against the Sun LDAP client libs.
2736 (not for AD support; just ldap support).
2739 o Guenther Deschner <gd@samba.org>
2740 * Fixed compile problems and warnings with newer OpenLDAP
2742 * Fix bug when enumerating trusted domains via 'wbinfo -m'
2743 * Parse the MS Kerberos PAC to obtain the user group
2744 membership during logon.
2745 * Add support for SeRestorePrivilege to allow a process to
2746 change the ownership of a file to any arbitrary account
2747 * Fix password history storage when using Novell eDirectory for
2749 * Backport Kerberos PAC parsing from Samba 4 branch in order to
2750 correctly create the NT User Token when logging into a Samba
2752 * Add small helper function to return a PAC_LOGON_INFO.
2753 * Use LDAP bitwise matching rule when searching for groups
2755 * Avoid an infinite loop when retrying to connect in smbspool.
2756 * Memory leak fixes in the Kerberos PAC parsing code.
2757 * Improve NT_STATUS error messages returned from pam_winbind.
2758 * Rename unknown samr group fields in samr structures with
2759 the correct name.removed separate "builtin" search enumeration.
2760 * Cleanup redundant StartTLS code.
2761 * Allow StartTLS support when connecting to Windows 2003 by
2762 setting 'ldap ssl = start_tls'.
2763 * Support raw NTLMSSP session setups in smbspool.
2764 * Add rpccli_samr_chgpasswd3().
2765 * Add 'wbinfo --separator'.
2766 * Uninitialized warnings fixes.
2767 * Fix return value in client spooler code.
2768 * Require forced migration of account policies.
2771 o Steve French <sfrench@us.ibm.com>
2772 * Fix cifs to handle non-numeric uid and gid parameters.
2773 * Merge trunk and SAMBA_3_0 mount.cifs code.
2774 * Cleanup cifs cfs help message.
2777 o Paul Green <paulg@samba.org>
2778 * Update to the latest config.guess and config.sub files.
2781 o Deryck Hodge <deryck@samba.org>
2782 * Allow control of syslog facility and level in audit vfs modules.
2785 o S Murthy Kambhampaty <smk_va@yahoo.com>
2786 * Patches for Fedora RPM specfile and init script
2789 o Krishna Ganugapati <krishnag@centeris.com>
2790 * Use the subtree delete ldap control when running 'net ads
2794 o Volker Lendecke <vl@samba.org>
2795 * New oplock implementation.
2796 * Add assert() call if winbindd cannot locate the domain SID in
2797 secrets.tdb on startup
2798 * Fix an annoying timeout in winbindd when nmbd is not running.
2799 * Speed up loading smb.conf for large numbers of share
2800 definitions by adding an internal hashing of names to snums.
2801 Thanks to Michael Adam.
2802 * Fix potential segv in rpcclient's lsarpc calls.
2803 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
2804 * Fix alignment in getdc response.
2805 * Allow pdbedit to set the domain for a user account.
2806 * Fix fallback logic in rpc binds.
2807 * Fix memleak in message handling code.
2808 * Fix connection bug to port 445 and 139 after a successful
2810 * Add additional calls to initialize_krb5_error_table() for
2811 Kerberos client code.
2812 * Implement the possibility to have AFS users as SIDs in pts.
2813 * Removed unused alternative_name code from winbindd.
2814 * Protect against NULL alternative_name strings in winbindd.
2815 * Define a default panic action with -DEVELOPER is defined.
2816 * Add the capability to reset smbd connections on a zero VC id.
2817 * Allow smb.conf variable expansion to be disabled in passdb
2819 * Add lookupname to rpcclient query_user as a fallback.
2820 * BUG 3292: Prevent smbclient from spinning when the server
2822 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2823 * Add samr_lookup_rids for the builtin domain.
2824 * Memory allocation cleanups in passdb.
2825 * Restrict samr_open_domain() to our domain only.
2826 * Change local_lookup_sid() to local_lookup_rid() since it
2827 is responsible for our domain only.
2828 * Fix some uninitialized variable warnings.
2829 * Fix winbind_lookup_name for the local domain,
2832 o Derrell Lipman <derrell@samba.org>
2833 * Cleanup libmsrpc version numbers.
2834 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
2835 * Fix crash bug in libsmbclient.
2836 * Add long share name support to libsmbclient when enumerating
2840 o Jason Mader <jason@ncac.gwu.edu>
2841 * Removed compiler various warnings.
2844 o Alex Masterov <alex@infobit.ru>
2845 * BUG 3218: Fix XATTR calls on *BSD systems.
2848 o Jim McDonough <jmcd@us.ibm.com>
2849 * Speed up string_to_sid by removing next_token calls and
2850 unneeded strncmp() calls.
2851 * Implement user rename for smbpasswd and LDAP backends.
2852 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2853 * BUG 3187: Fix time zone offset in logon hours restrictions.
2856 o Stefan Metzmacher <metze@samba.org>
2857 * Fix setting of quotas on linux kernel with the struct
2859 * Enable sysquota interface on Linux by default
2860 * Use lp_socket_address() when binding to port 138/udp in nmbd.
2863 o Brian Moran <bmoran@centeris.com>
2864 * Eventlog and ServiceControl support.
2865 * Added eventlogadm tool for writing Eventlog records.
2866 * Fix typo when creating Eventlog source DLL registry paths.
2867 * Add simple script to tail syslog and write records to
2869 * Fix segv in eventlogadm when not event logs are listed in
2873 o Lars Müller <lmuelle@samba.org>
2874 * Only install smbsh manpage if smbwrapper has been successfully
2876 * Ensure setmntent() returns with != NULL in the disk_quotas()
2878 * Add configure switch to disable libmsrpc build.
2879 * Add a soname to libmsrpc.
2882 o Ricky Nance <ricky.nance@gmail.com>
2883 * Updates for the mklogon perl scripts.
2886 o Chris Nicholls <skel@samba.org>
2887 * New libmsrpc library (Google SoC Project).
2888 * Fix libmsrpc build of on the Sun compiler by removing empty
2889 structure declarations.
2892 o James Peach <jpeach@sgi.com>
2893 * Fix parsing error for smb ports parameter.
2896 o Tim Potter <tpot@samba.org>
2897 * BUG 3260: Fix DYNEXP flags on HPUX.
2900 o Marcin Porwit <mporwit@centeris.com>
2901 * Eventlog and ServiceControl support.
2902 * Added basic Performance Counter daemon which can feed data
2903 for the Windows perfmon.exe tool.
2904 * Fix directory permissions in the perfcounter daemon.
2905 * Add the 'File' registry value for the eventlog keys.
2908 o Aruna Prabakar <aruna.prabakar@hp.com.
2909 * Add checks to verify that the spooler is running on HP-UX when
2910 reloading the printer name cache.
2913 o Joel Smith <joel.j.smith@novell.com>
2914 * Add iPrint printing backend support.
2917 o Toomas Soome <Toomas.Soome@mls.ee>
2918 * Implement host lookups in nss_winbind.so.1 on Solaris
2921 o Simo Sorce <idra@samba.org>
2922 * Update Debian packaging.
2925 o John Terpstra <jht@samba.org>
2926 * Add 'net idmap' usage help text.
2929 o Andrew Tridgell <tridge@samba.org>
2930 * Change license notice of standalone talloc library to LGPL.
2933 o Darren Tucker <dtucker@zip.com.au>
2934 o Crash fix for snprintf() code.
2937 o Rainer Weikusat <rainer.weikusat@sncag.com>
2938 * Fix function name typo in skeleton VFS code.
2942 Release Notes for older release follow:
2944 --------------------------------------------------
2945 ===============================
2946 Release Notes for Samba 3.0.20b
2948 ===============================
2950 Common bugs fixed in 3.0.20b include:
2952 o A crash bug in winbindd
2953 o Reporting files as read-only instead of returning the
2954 correct error code of "access denied"
2955 o File system quota support defects
2958 ######################################################################
2963 Changes since 3.0.20a
2964 ---------------------
2969 o Jeremy Allison <jra@samba.org>
2970 * BUG 3088: Fix error condition for files on a read-write share
2971 which cannot be read due to permissions.
2974 o Gerald (Jerry) Carter <jerry@samba.org>
2975 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
2977 * BUG 1473, 3090: Quota detection and compilation problems on
2981 o Marc Balmer <marc@msys.ch>
2982 * Build fixes when builddir != srcdir
2985 o Alex Deiter <tiamat@komi.mts.ru>
2986 * BUG 3145: Fix build issue regarding quota support on Solaris.
2989 o Volker Lendecke <vl@samba.org>
2990 * BUG 3068: Fix for winbindd crashed by empty DC alternative
2994 --------------------------------------------------
2995 ===============================
2996 Release Notes for Samba 3.0.20a
2998 ===============================
3000 Common bugs fixed in 3.0.20a include:
3002 o Stability problems with winbindd.
3003 o Crash bugs caused by incompatibilities on 64-bit systems.
3004 o Missing files from directory listings on AIX servers
3005 o User Manager interoperability problems.
3006 o Minor build difficulties on various platforms such as
3007 Solaris and OpenBSD,
3010 Winbind, security = domain, and Active Directory
3011 ================================================
3013 Recent security updates for Windows 2000 and Windows 2003 have
3014 changed the fashion in which user and group lists can be obtained
3015 from domain controllers. In short, the RPC mechanisms used by
3016 "security = domain" to retrieve users and groups is not compatible
3017 with these changes. The "security = ads" configuration is not
3018 affected by the Windows protocol changes.
3020 Samba developers are actively working to correct this problem in
3021 the 3.0.21 release. In the meantime, Administrators who are unable
3022 to migrate to "security = ads" and must continue using "security =
3023 domain", can define credentials to be used by winbindd for account
3024 enumeration by executing the following command as root.
3026 wbinfo --set-auth-user='DOMAIN\username%password'
3030 ######################################################################
3035 Changes since 3.0.20
3036 --------------------
3041 o Jeremy Allison <jra@samba.org>
3042 * BUG 3065: Fix for legacy clients retrieving a listing of
3044 * Added external library for accessing Samba's share mode
3046 * Fix winbindd credentials chain which caused logon failures
3047 after attempting to authenticate an unknown user.
3048 * Fix recursive looping bug in winbindd.
3049 * Fix build errors on 64-bit systems.
3050 * Posix ACL memory leak and crash bug fixes.
3051 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
3052 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
3053 * Hide dot files and directory logic fixes.
3054 * Correct display of open file modes by smbstatus.
3055 * BUG 3010: Fix missing files bug on AIX systems.
3058 o Gerald (Jerry) Carter <jerry@samba.org>
3059 * Allow the root user to automatically pass se_access_checks()
3060 in the registry and service control server code.
3061 * Ensure that winbindd uses the correct name in the net_auth2()
3062 request when running on a Samba PDC.
3063 * Fix linking problem with tdb utilities.
3064 * BUG 3080: Fix regression in 'net rpc shutdown' command.
3065 * Fix segv in 'net rpc' when the pipe open fails.
3066 * Fix upload bug when installing 64-bit Windows printer drivers.
3067 * Fix regression in the smburi syntax used by smbspool.
3068 * Fix sorting of subkey hash records in registry files.
3069 * Correct REG_CREATE_KEY_EX parsing error.
3070 * Interoperability issues with usrmgr.exe and Samba groups.
3071 * Use the display names and not the Unix names when enumerating
3072 groups in the ldapsam passdb backend.
3073 * Ensure that Windows domain user names are converted to lower case.
3076 o Guenther Deschner <gd@samba.org>
3077 * Prevent BUILTIN sids returned in the user's token from
3078 a Windows DC from being applied to any local group mappings
3080 * Plug memory leaks in the Kerberos keytab code.
3081 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
3082 backend when 'winbind nested groups' is enabled.
3083 * Fix crash bug in winbindd caused by 64-bit build issues.
3084 * Improve debug messages in smbspool.
3085 * Give better error-message when "NDS Universal Password" change fails.
3086 * Fix password history error in the eDirectory schema file.
3087 * Ensure that Windows domain group names are converted to lower case.
3090 o Steve French <sfrench@us.ibm.com>
3091 * Allow disabling mandatory byte range lock mount flag, and fix
3092 corresponding entry in mtab.
3095 o Volker Lendecke <vl@samba.org>
3096 * Fix race condition in the NTcreate&X open code when the
3097 disposition is NTCREATEX_DISP_CREATE.
3098 * Correct logic error when checking the pid for pending print
3099 change notify messages.
3100 * Ensure that winbindd child process complete startup even when
3101 the parent is receiving authentication requests.
3102 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
3103 when authentication fails.
3106 o Jason Mader <jason@ncac.gwu.edu>
3107 * Compile warning fixes.
3110 o Uli Meis <a.sporto@gmail.com>
3111 * Patches for pdb_*sql.c
3114 o Luke Mewburn <lukem@NetBSD.org>
3115 * Autoconf syntax fixes.
3118 o James Peach <jpeach@sgi.com>
3119 * Correct problem with creating a core file in Linux.
3122 o Stefan Metzmacher <metze@samba.org>
3123 * Quota fixes in smbd.
3126 o Peter Rindfuss <rindfuss@wz-berlin.de>
3127 * Patches for pdb_*sql.c
3130 o Jiri Sasek <Jiri.Sasek@Sun.COM>
3131 * Solaris toolchain patches for autoconf scripts.
3134 o Andrew Tridgell <tridge@samba.org>
3135 * Fix for tdb clear-if-first race condition.
3138 o Leo Weppelman <leo@wau.mis.ah.nl>
3139 * BUG 3104: Don't allow time updates to files on read-only shares.
3142 o Steve Williams <steve@celineandsteve.com>
3143 * BUG 3052: Fix compile issues on OpenBSD.
3146 --------------------------------------------------
3147 ==============================
3148 Release Notes for Samba 3.0.20
3150 ==============================
3152 Additional features introduced in Samba 3.0.20 include:
3154 o Support for several new Win32 rpc pipes.
3155 o Improved support for OS/2 clients.
3156 o New 'net rpc service' tool for managing Win32 services.
3157 o Capability to set the owner on new files and directory
3158 based on the parent's ownership.
3159 o Experimental, asynchronous IO file serving support.
3160 o Completed Support for Microsoft Print Migrator.
3161 o New Winbind IDmap plugin (ad) for retrieving uid and gid
3162 from AD servers which maintain the SFU user and group
3164 o Rewritten support for POSIX pathnames when utilizing
3165 the Linux CIFS fs client.
3166 o New asynchronous winbindd.
3167 o Support for Microsoft Print Migrator.
3168 o New Windows NT registry file I/O library.
3169 o New user right (SeTakeOwnershipPrivilege) added.
3170 o New "net share migrate" options.
3173 What happened to 3.0.15 - 3.0.19?
3174 ==================================
3176 After some discussion it was deemed that the amount of changes
3177 going into the next Samba 3.0 release needed something to catch
3178 people's attention. Skipping several releases was chosen as
3179 the best solution with the least overhead. There will be no
3180 3.0.15 - 3.0.19 ever released. The next production release
3181 following 3.0.20 should be 3.0.21.
3183 The original announcement about the version number change can
3184 be found in the samba mailing list archives:
3186 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
3189 Asynchronous Winbind Implementation
3190 ===================================
3192 Winbindd has been completely rewritten in this release to support
3193 an almost completely non-blocking, asynchronous request/reply
3194 model. This means that winbindd will scale much better in
3195 large domain environments and on high latency networks. Neither
3196 the client interface nor the command line tools (i.e. wbinfo) have
3197 changed in their calling conventions or syntax. However, due to
3198 internal structure changes, it is required (more so than normal)
3199 that you install the nss_winbind.so library included in this release.
3202 Support for Microsoft Print Migrator
3203 ====================================
3205 Samba 3.0.20 includes full support for migrating printers from
3206 Windows servers or other Samba servers via the Microsoft Print
3207 Migrator tool. Restoring printers requires a working "add printer
3208 command" defined in smb.conf. Current support also allows
3209 administrators to create a master list of printer drivers which
3210 can be restored in bulk on new (or existing) Samba installations.
3213 Asynchronous IO Support
3214 =======================
3216 Experimental support for async IO has been added to smbd for
3217 certain platforms. To enable this new feature, Samba must be
3218 compiled to include the --with-aio-support configure option.
3219 In addition, the "aio read size" and "aio write size" to non-zero
3220 values. See the smb.conf(5) man page for more details on these
3224 ######################################################################
3231 Parameter Name Action
3232 -------------- ------
3233 acl check permissions New
3234 acl group control New
3235 acl map full control New
3238 enable asu support New
3241 map to guest Modified (new value added)
3242 max stat cache size New
3243 min password length Removed
3244 printer admin Deprecated
3245 username map script New
3246 winbind enable local accounts Removed
3247 winbindd nss info New
3250 Changes since 3.0.14a
3251 ---------------------
3257 o Jeremy Allison <jra@samba.org>
3258 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
3259 * Ensure the old SMB search calls always ask mask_match() to
3260 translate patterns like ????????.???.
3261 * Split out the check_path_syntax() into a findfirst, findnext,
3262 & wildcard versions.
3263 * Fix checks for matching groups in an file ACL against the
3264 user's primary and supplementary group list.
3265 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
3266 LANMAN2 protocol, ensure the EA size is always correctly
3267 set on a query for a file with no EA's.
3268 * BUG 2551: Look at the incoming flags2 flag
3269 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
3270 uppercased on a SMBsearch request, not the protocol level.
3271 * Added "volume" command to smbclient that prints out the
3272 volume name and serial number.
3273 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
3274 * Add support for OS/2 Extended Attributes.
3275 * Correctly check OpenX open modes.
3276 * Ensure allocation size is correctly returned for OpenX.
3277 * Only set allocation on create/truncate for nttrans.
3278 * Fix oplock bug in trans2open() code.
3279 * Remove unix_ERR_XXX global nastiness.
3280 * Only do the strange DOS error for openX, not trans2open.
3281 * Ensure SMBopen replies includes the share modes as well as
3283 * BUG 2581: Add size limit (in kb) to stat cache.
3284 * Fix bug in the trans2 secondary processing.
3285 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
3286 * Add an SMB counter per connection struct for gathering
3288 * BUG 2605: Ensure smbclient doesn't perform commands if
3289 the "chdir" fails in a scripted set.
3290 * Ensure a 'forced group' is added to the list of effective
3291 gids when processing ACLs.
3292 * Refactor rpc_bind structures for better future work.
3293 * BUG 2942: Add missing value in debug message.
3294 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
3295 by 'mangling method = hash'.
3296 * Fix memory leaks in the msdfs trans2 server code.
3297 * Convert msdfs server to be talloc'd based.
3298 * Fix up stackable vfs interface.
3299 * Fix rpc fault when encountering an unknown rpc_bind auth
3301 * BUG 2954: More AIX 5.1 AIO compile fixes.
3302 * Fix valgrind bug in interaction with new aio buffer (found
3304 * BUG 2878: Fix Norton commander not running on OS/2 clients.
3305 * Cleanup SAMR user info structure naming.
3306 * BUG 2889: Fix directly listings from OS/2 clients.
3307 * Added "acl group control" parameter.
3308 * Add debug warning if AddPrinterEx() is called without having
3309 an 'add printer command' defined.
3310 * Add better log messages when modifying ldap entries.
3311 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
3312 when string is unaligned.
3313 * BUG 2918: Fix SMB chaining by ensuring that deferred open
3314 message buffer is nor reused.
3315 * Add support for client setting capabilities to select posix
3316 pathnames on the wire.
3317 * Stop using C++ reserved words so that Samba can be compiled
3318 using g++. Also allows VFS modules in C++.
3319 * More fixes to allow better large directory scaling.
3320 * BUG 2827: Ensure we call the vfs connection hook before
3321 doing a vfs stat. Allows database vfs backends to initialize
3322 with a working connection.
3323 * BUG 2826: Ensure the correct return value for symlink and
3324 readlink in the VFS.
3325 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
3326 * Added AIO support to smbd.
3327 * Add "acl map full control", true by default, to allow people
3328 to change mapping of rwx to full control or not.
3329 * Transition smbd to use NTcreate&X for internal file opens.
3330 * Add checks against the current effective group id (e.g. force
3331 user) when testing write permissions one ACLs.
3332 * Fix FindFirst/FindNext server code when parsing directories
3333 on old IRIX XFS file systems (thanks to Cale Fairchild
3334 for the debugging help).
3335 * BUG 2644: Test for special files to be ignored was reversed.
3336 * Ensure yield_connection() is called on all appropriate error
3338 * Fix EDEADLCK problem with deferred open calls.
3339 * BUG 2622: Remove DPTR_MASK as it makes no sense.
3340 * Fix the write cache based on some VERY good detective work
3342 * BUG 2346: Fix read-only excel file bugs.
3343 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
3344 return ENOSYS if not implemented.
3345 * Add new CAP for POSIX pathnames.
3346 * BUG 2703: Add NULL guard for disp_fields[0].
3347 * BUG 2681: With "strict allocate = yes" we now zero fill when
3348 a file is extended. Should catch disk full errors on write
3350 * Add "acl check permissions" to turn on/off the new
3351 behavior of checking for write access in a directory
3353 * Refactor printing interface to take offset into job.
3354 * Allow mapping of POSIX ACLs to NT perms to differentiate
3355 between directories and files.
3356 * Added encrypt/decrypt function for LSA secrets and trusted
3357 domain passwords on the wire.
3358 * BUG 2729: Resume keys are *mandatory* for a search when
3359 listing a W2K and above server from a FATxx filesystem only.
3360 * BUG 2735: Ensure that smbd mangles control characters in file
3361 and directory names.
3362 * Refactor small pieces of socket handling code (in conjunction
3364 * BUG 2698: Fix infinite listing loop in smbclient caused by
3365 an invalid character set conversion.
3366 * Add client code that will abort a directory listing if we
3367 see the same name twice between packets.
3368 * Performance improvements in trans2 qfilepathinfo code by
3369 removing unnecessary memset() calls.
3370 * Rewrite the RPC bind parsing functions to follow the
3371 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
3372 * BUG 2774: Set sparse flag if needed when returning
3374 * Fix errors listing directories from Windows NT clients
3375 which caused "." and ".." to show up in explorer.exe.
3376 * Merge of error code fixes from SAMBA_4_0 branch.
3377 * BUG 2801: Fix regression in the "delete veto files" option.
3378 * Fix based on work from Shlomi Yaakobovich to catch loops
3379 in corrupted tdb files.
3380 * Allow someone with SeTakeOwnershipPrivilege to chown the
3381 user of a file to herself.
3382 * Fix minor compiler warnings in printing/printing.c.
3383 * Merge new DOS error code from SAMBA_4.
3384 * Fix issue when non-English characters in filenames and
3386 * Fix bogus error message in smbstatus about unknown share modes.
3389 o Andrew Bartlett <abartlet@samba.org>
3390 * Support raw NTLMSSP authentication for Windows Vista
3392 * Fix parallel NTLMSSP processing by removing global state.
3393 * BUG 2684: Add per service hosts allow/deny checks for
3394 printers when connecting via MS-RPC.
3395 * BUG 2391: Fix segv caused by free a static pointer returned
3397 * Support Kerberos authentication in smbd when using a keytab
3398 and participating in a non-Microsoft Kerberos realm.
3401 o Timur Bakeyev <timur@com.bat.ru>
3402 * BUG 2546: Add support for FreeBSD EA API
3403 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
3404 * BUG 2908: Fix string length logic error in msdfs code.
3405 * BUG 2909: Fix typo that caused smbd to call the wrong
3409 o Ed Boraas <ed.boraas@concordia.ab.ca>.
3410 * Added Linux per-socket TCP settings.
3413 o Gerald (Jerry) Carter <jerry@samba.org>
3414 * Added support for \svcctl pipe rpcs.
3415 * Added 'net rpc service' subcommand for managing Win32
3417 * Refactoring work on the rpc [un]marshalling layer and
3419 * Verify privilege name in 'net rpc rights privileges' in
3420 order to provide better error messages.
3421 * Cleanup rpc structures in rpc_spoolss.h.
3422 * Cleanups and fixes for the \winreg server code.
3423 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
3424 * Fix bugs in client spoolss code after refactoring work.
3425 * Fix Valgrind warnings of invalid reads in the spoolss
3427 * Fixed a segv when enumerating services on a Samba host.
3428 * Fix segv in the service control server code.
3429 * Fix crashes in client spoolss calls caused by not checking
3430 for a valid pointer from the caller.
3431 * Fix regression in DeleteDriver() server routines.
3432 * Fix dup_a_regval() when size is 0.
3433 * Fix usrmgr.exe crash when viewing user properties at
3435 * Do not enumerate any privileges when 'enable privileges = no'
3436 and log a message if a client tries.
3437 * BUG 2872: Fix cut-n-paste error when checking pointer value
3438 in ntlmssp_set_workstation().
3439 * Fix upgrade path from earlier nt*tdb files.
3440 * Removed print handle object cache.
3441 * BUG 2853: Don't strip out characters like '$' from printer
3442 names when substituting for the lpq command.
3443 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
3444 * Fix build issues on x86_64-linux systems caused by valgrind
3445 headers. Thanks to Bent Vangli to the suggestions.
3446 * Refactor spoolss client calls.
3447 * Adding 'username map script'.
3448 * Disable schannel on the LSA and SAMR pipes in winbindd client
3449 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
3450 * Cleanup of winreg API functions.
3451 * Add server stubs for RegSetKeySec() and RegGetKeySec().
3452 * Map generic bits to specific bits in reg_open_entry()
3454 * Add write support to registry tdb and printing backends.
3455 * Use tdb lookups rather than hard-coding certain registry
3456 value names and data.
3457 * BUG 2808: don't try to install man pages if they are not
3459 * Fix initialized variables reported by valgrind.
3460 * Normalize key lookups in ntprinters.tdb.
3461 * Mark "enumports command" as deprecated.
3462 * Add missing class file for python share command example.
3463 * Fix smbclient build issue on Solaris.
3464 * BUG 2626: ensure that the calling_name is set to something
3465 after parsing smb.conf (if not set via -n).
3466 * Use "add machine script" when creating a user (ACB_NORMAL)
3467 who has a name ending in '$' (e.g. usrmgr.exe creating
3468 domain trust accounts).
3469 * Add 'rid' synonym for idmap_rid IDMap module.
3470 * Ensure that we set full access on the handle returned
3471 from _samr_create_dom_{alias,group}() so that future
3472 set_{alias,group}() commands succeed.
3473 * Fix bug when looking for internal domains in winbindd
3474 (caused winbindd_getgrgid() for local groups to fail).
3475 * Fix query and set alias info calls (level 1 from the MMC
3476 manage computer plug-in.
3477 * Remove bogus log messages about unknown specversions.
3478 * BUG 2680: copy files from an MS-DFS win2k root share
3479 * BUG 2688: re-implement support for the -P (--port) option
3480 * Support connecting to an 'msdfs proxy' share on a Samba
3482 * Strip the directory path from cups command line printing
3484 * Fix bug that prevented smbclient from creating directories
3486 * Deprecate the "printer admin" parameter in favor of the
3487 SePrintOperatorPrivilege.
3488 * Add the capability to read and write WinNT regf registry
3490 * Implement access checks for RegOpenXXX() server calls.
3491 * Extend registry client rpc calls.
3492 * Add "net rpc registry" set of commands.
3493 * Remove testprns tool.
3494 * Ensure that printer ACLs use the specific bits as well as
3495 the generic bits. Upgrade existing ntprinters.tdb SECDESC
3497 * Add server support for RegSaveKey() for dumping registry
3498 trees to a regf file.
3499 * Add "enable asu support" smb.conf parameter.
3500 * Merge various small file changes from trunk.
3501 * Remove "winbind enable local accounts" support.
3502 * Remove "ldap filter" smb.conf option.
3503 * Remove editreg utility (needs to be rewritten using regfio.c).
3504 * Fix build failure when running 'make torture' without first
3505 running 'make all' first.
3506 * BUG 1261: Remove unusable libbiconv from iconv detection
3508 * Add new option for "map to guest". "Bad Uid" re-enables the
3509 Samba 2.2 behavior of mapping authenticated users to the
3510 guest account if there does not exist a valid Unix account
3511 for the Windows domain user (based on patch from
3512 aruna.prabakar@hp.com).
3513 * Fix a couple of regressions after introduction of new winbindd.
3514 * Fix smbpasswd user password change (still worked by bad error
3515 messages) due to trying to strdup a NULL pointer.
3516 * Implement default security descriptors for the
3517 OpenService[Manager]() calls and check requested access mask
3519 * Include access checks on handle mask for \svcctl operations
3520 such as ControlService() and StartService().
3521 * Implement simulated start and stop service control for
3522 the spooler service as a per smbd service state value.
3523 * Add interface structure for controlling service via rc.init
3524 scripts (incomplete).
3525 * Convert move_driver_to_download_area() to use copy_file()
3526 rather than moving the files.
3527 * Add version number to registry.tdb file since it can be
3529 * Remove over-paranoid assert() call when checking spoolss
3531 * Fix error in EnumPrinterData() reported by valgrind.
3532 * Fix broken help links in SWAT editor caused by new doc layout.
3533 * Ensure that a domain structure in winbind is initialized prior
3534 to assigning the methods for communicating to a DC.
3535 * BUG 3000: Remove background updates of winbind cache and allow
3536 child processes to immediately update and expired cache entry.
3539 o David.Collier-Brown <David.Collier-Brown@sun.com>
3540 * Added panic action script for Solaris.
3543 o Jeremy Cooper <jeremy@ncircle.com>
3544 * Added support for several new \winreg client rpcs.
3547 o <core@road-star.jp>
3548 * BUG 2792: Ensure the shadow copy module hooks seekdir,
3549 telldir, rewinddir to match updated large directory code.
3552 o Guenther Deschner <gd@samba.org>
3553 * Close handles on group creation in rpcclient to better
3554 support mass group account creation.
3555 * Fix account policy key lookup for minimum and maximum
3557 * Fix some compiler warnings and add missing exclude-block
3558 in 'net rpc share migrate'.
3559 * Allow use of a non-default smb.conf by rpcclient.
3560 * Fix querydispinfo search semantics in rpcclient test code.
3561 * Fix querydispinfo server semantics to allow to list more
3563 * Fix server crash bug in ancient OpenPrinter() call.
3564 * Fix a crash bug when enumerating privileges via the LSA
3566 * Fix crash in EnumPrinterKey() client calls caused by previous
3568 * Various compiler warning fixes.
3569 * Fix segfault in the client AddPrinterEx-call of 'net
3571 * Fix build issues when --with-aio-support is enabled.
3572 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
3573 * Honour the CC environment variable in python build.
3574 * Fix searches in pdb_ldap for inter-domain trust accounts.
3575 * Don't expand the %L in %LOGONSERVER% from user attributes.
3576 * Fix bug in 'net rpc vampire' that caused accounts to be created
3577 with no assigned ACB flags.
3578 * Fix enumeration of builtin-aliases.
3579 * Avoid unset rids for builtin-aliases.
3580 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
3581 * More "net rpc share migrate" fixes.
3582 * Merge PADL's idmap_ad plugin (taken from the latest
3583 xad_oss_plugins-tarball).
3584 * Add support for "idmap backend = ad" when "security = ads".
3585 * Add home directory and shell support from AD via "winbindd nss
3586 support = sfu" and "security = ads".
3587 * Provide better feedback when we fail share-manipulation
3588 due to missing scripts.
3589 * Correctly substitute "\" as default winbind separator in
3590 generate_parm_table.py example share command script.
3591 * Document pam_winbind.c to clarify the working status of
3592 require-membership-of option.
3593 * Added client-support for various lsa_query_trust_dom_info()
3594 calls and a rpcclient-tester for some info-levels.
3595 * Add "net rpc trustdom vampire" tool (in conjunction with
3597 * Add missing cli_srvsvc_net_share_set_info-function and
3598 rpcclient-testers (in preparation for net share acl migration).
3599 * Print trusted domain passwords returned via rpcclient in
3601 * Error code fixes when attempting to manipulating
3602 non-existent shares.
3603 * Cleanup "net share migrate" code.
3604 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
3606 * Allow admins to uncheck the "User must change Password at
3607 next Logon" checkbox in User manager (merge from trunk).
3610 o Renaud Duhaut <rd@duhaut.com>
3611 * BUG 1040: Add directory_mode parameter when creating recycle
3615 o Steven Edwards <steven_ed4153@yahoo.com>.
3616 * Use chsize() if we don't have ftruncate().
3619 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
3620 * BUG 1780: Add Kerberos (file based ticket cache) support
3624 o Steve French <sfrench@us.ibm.com>
3625 * Update list of mount options for mount.cifs.
3626 * Add more defines for POSIX extensions to match the newly
3627 added client implementation.
3628 * Add initial support for cifs umount utility.
3629 * Fix cifs mounts to handle commas embedded in prompted
3630 password, and password and credential files.
3631 * Fix cifs mounts to handle domain name and user name in
3632 username field (in form domain\user).
3633 * Add missing error code mappings when a client unsuccessfully
3634 tries to create a hard-link.
3635 * Add support so umount.cifs can update mtab.
3636 * Add two newer mount options to syntax help for mount.cifs.
3637 * Add missing remount flag handling.
3638 * Allow domain= to be specified in credentials file.
3639 * Fix umount.cifs help, allow root to unmount someone else's
3641 * Lock mtab when updating it during umount.cifs, also delete
3642 only one matching entry at a time.
3643 * Fix minor compiler warnings in the mount.cifs helper.
3646 o Deryck Hodge <deryck@samba.org>
3647 * BUG 2137: Encode quotes for display in HTML (original patch
3651 o Olaf Imig <Olaf.Imig@bifab.de>
3652 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
3654 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
3657 o Björn Jacke <bj@sernet.de>
3658 * Added ioctl constants reported by msbackup.exe and filemon.exe.
3661 o Kevin Jamieson <bugzilla@kevinjamieson.com>
3662 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
3665 o John Janosik <jpjanosi@us.ibm.com>
3666 * BUG 2077: Correctly fill in the correct server name when
3667 processing trusted domain logins.
3668 * BUG 2976: Mark logons for unknown domains with a
3669 non-authoritative response.
3672 o William Jojo <jojowil@hvcc.edu>
3676 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3677 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
3681 o Tom Lackemann <cessnatomny@yahoo.com>
3682 * BUG 2242: Patch to ensure that we only set the security
3683 descriptor on an NTtransact create if we created the file.
3686 o Volker Lendecke <vl@samba.org>
3687 * Port some of the non-critical changes from HEAD to 3_0.
3688 The main one is the change in pdb_enum_alias_memberships
3689 to match samr.idl a bit closer.
3690 * Close handles on user creation in rpcclient to better
3691 support mass user account creation.
3692 * Implement client RAP calls for enumusers/enumgroups level 0.
3693 * Implement a new caching API for enumerating the pdb elements.
3694 * Convert the RAP user and group enumeration functions to the
3695 utilized the pdb_search API.
3696 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
3697 RestrictAnonymous environments.
3698 * Internal passdb API changes for better search capabilities
3699 (based on original work by Guenther Deschner).
3700 * Fix various compiler warnings.
3701 * Add chain length statistics to tdbtool.
3702 * Fix set afs ACL calls on files and directories in the root of
3704 * Refactoring work on internal open code
3705 * Correctly initialize the version in a new set of nt*tdb files.
3706 * Remove smb_run_idle_events() from main process loop in smbd
3707 and instead rely upon the timeout processing to handle
3708 dropping idle LDAP connections.
3709 * Fix the bug where users show up as trusting domains.
3710 * Fix an assertion failure in winbindd.
3711 * Fix a memleak in vfs_afsacl.
3712 * Various compiler warning fixes.
3713 * Fix compile when --enable-socket-wrapper is defined.
3714 * Fixes for top level acls in vfs_acl.c.
3715 * Refactor passdb interface functions.
3716 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
3717 * Correct 2 segv's in "net rpc printer migrate".
3718 * Return correct group type from smbd for BUILTIN groups.
3719 * Backport the talloc() layer from Samba 4.
3720 * BUG 2701: Fix segv in ldap reconnection code.
3721 * BUG 2705: Fix segv when connecting from usrmgr.exe.
3722 * Use the SID in the user token for the %s expansion in 'afs
3724 * Memory leak fixes in passdb code.
3725 * BUG 2720: Fixes for "net usersidlist".
3726 * BUG 2725: Fix segv in "net ads user".
3727 * Only allow schannel connections if a successful Auth2
3728 has been previously performed.
3729 * Don't look at gencache.tdb for the trusted domains if
3731 * Rewrite winbindd using an asynchronous process model.
3734 o Herb Lewis <herb@samba.org>
3735 * Compiler warning cleanups.
3736 * smbwrapper Makefile and compile time check cleanups.
3737 * Adding robustness checks for tdbdump and tdbtool.
3738 * Extend tdb command line parsing to arbitrary hex characters.
3739 * Add LOCKING debug class.
3740 * Fix more compiler warnings.
3743 o Derrell Lipman <derrell@samba.org>
3744 * add support for opening a file for write with O_APPEND
3746 * Added smbsh/smbwrapper for Linux to example/libsmbclient
3748 * Fix smbc_stat() from returning incorrect timestamps IFF
3749 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
3750 and not if it used cli-getatr() to retrieve the timestamps
3752 * Fix handful of compiler warnings.
3753 * BUG 2498, 2484: smbc_getxattr() fixes.
3754 * BUG 1133: Added provision for overloading some global
3755 configuration options via the new, per-user file
3756 ~/.smb/smb.conf.append.
3757 * BUG 2543: Properly cache anonymous username when reverting
3758 to anonymous login, in libsmbclient.
3759 * BUG 2505: Fix large file support in libsmbclient.
3760 * BUG 2564: Ensure correct errno when smbc_opendir() was called
3761 with a file rather than a directory.
3762 * Correct deprecated lvalue casts in testsuite/libsmbclient.
3763 * BUG 2663. cli_getattrE() and cli_setattrE() were not
3764 formatting or parsing the timestamp values correctly.
3765 * Correctly detect AF_LOCAL support in configure.
3766 * Fix problem updating file times on Windows 98 hosts using
3768 * Fix compile breakage on Solaris by eliminating the use of
3769 ctime_r() in libsmbclient DEBUG statement.
3772 o Jason Mader <jason@ncac.gwu.edu>
3773 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
3774 * Various compiler warning fixes about mistyped variables.
3775 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
3777 * BUG 2527, 2538: Removed unused variables.
3780 o Marcel <samba.10.maazl@spamgourmet.com>
3781 * Fix regression in OS/2 trans2 open code.
3784 o Jim McDonough <jmcd@us.ibm.com>
3785 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
3786 (in conjunction with Volker).
3787 * BUG 2953: Prevent the credentials chain on DC gets out
3788 of sync with client when NT_STATUS_NO_USER is returned.
3789 * Added subcommands to "net rpc vampire" (mostly done by Don
3790 Watson <dwatson@us.ibm.com>) to allow data to be put into an
3791 ldif file instead of actually writing to the passdb.
3792 * BUG 2736: Add retries to workaround winbind race condition
3793 with detecting idle clients.
3794 * BUG 2953: Additional fixes for domain trusts. Also clears
3795 up the "bad stub" error when attempting to logon to a Samba
3796 domain with a bad username.
3799 o Luke Mewburn <lukem@NetBSD.org>
3800 * Compiler warning fixes.
3803 o Kalim Moghul <kalim@samba.org>
3804 * Removed unused printmode command from smbclient.
3807 o Lars Müller <lmuelle@samba.org>
3808 * Re-enable the VERSION_REVISION option in case of another
3810 * Fix spoolss python bindings after C++ compiler changes and
3812 * BUG 2659: Don't trump on memory in smbtorture.
3813 * BUG 2060: Add -fPIC which is the case for all other Samba
3815 * Fix argv parsing in "net rpc".
3816 * Add support to create position independent executable (PIE)
3817 code if the compiler supports it.
3818 * BUG 2767: Add new options to testparm (--show-all-parameters,
3819 --parameter-name, and --section-name).
3820 * Fix net share migrate files to also migrate the ACLs of
3821 the top level dir of a share.
3824 o Marcel Muller <mueller@maazl.de>
3825 * Patch to fix the OS/2 EA_FROM_LIST info level call.
3826 * Mangled names fix for OS/2 clients.
3827 * Ensure we correctly set the return packet size to include the
3828 pad bytes in reply_readbmpx().
3829 * Fix for bug in SMBwriteBraw that incorrectly returned the
3830 number of bytes written.
3833 o Ricky Nance <ricky.nance@gmail.com>
3834 * Implemented mklogon script generator for domain logon scripts.
3837 o James Peach <jpeach@sgi.com>
3838 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3839 * BUG 2285: Patch for hires timestamps and efficient notify code.
3840 * MS-DFS tidyup patches.
3841 * Build fixes on IRIX.
3842 * IRIX compiler warning fixes.
3843 * BUG 2596: Fix become_root link issues and one IRIX stack
3845 * Fix for null pointer ACL free.
3846 * BUG 2314: Fix const compiler warnings in the quota code.
3849 o Ed Plese <ed@edplese.com>
3850 * Fix faulty logic which caused winbindd to return failure
3851 when a user possessed no supplementary groups.
3854 o Marcin Porwit <mporwit@centeris.com>
3855 * Initial support for the \eventlog pipe.
3856 * Fix a memleak in the eventlog code.
3857 * Miscellaneous fixes for Samba's experimental event log support.
3858 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
3862 o Tim Potter <tpot@samba.org>
3863 * BUG 2940, 2943: Fixed various compiler warnings regarding
3864 mismatched types and unused variables.
3865 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3866 * BUG 2733: Fix incorrect SHLIBEXT is set when running
3867 configure script on HPUX IA.
3868 * Remove unused autoconf #define's.
3869 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3870 * Removed unused function declarations in tdb.h.
3871 * BUG 2895: Don't wrap non-existent functions in the python
3873 * BUG 2623, 2630: $< and $* are not valid in explicit rules
3875 * BUG 2560: Fix compile error lurking where PATH_MAX is not
3877 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3878 * BUG 2611: Add fflush(stdout) after displaying username prompt
3879 in smbsh if username not specified on command line.
3880 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
3881 * BUG 2808: Update install swat message to reflect the fact
3882 that swat/README no longer exists.
3885 o Denis Sbragion <d.sbragion@infotecna.it>
3886 * BUG 2196: Allow absolute path (system wide) recycle bin.
3889 o Fernando Schapachnik <fernando@mecon.gov.ar>
3890 * Add logon hours support for the Postgres backend.
3893 o Richard Sharpe <rsharpe@samba.org>
3894 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
3896 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
3897 * BUG 2362: Quota support fix for DragonFly.
3898 * Fix dragonfly detection in configure.
3901 o Simo Sorce <idra@samba.org>
3902 * Allow Domain Admins to force user sessions to close via the
3903 Windows Server Manager.
3904 * Add support to 'net rpc right privileges <name>' to enumerate
3905 accounts which possess a specific privilege.
3906 * Fix memory issues issues in vfstest (reported by Rainer Link).
3907 * Randomize reloading as to not overload cupsd.
3910 o Smitty <smitty@plainjoe.org>
3911 * Compile fixes for smbget when using --enable-developer.
3912 * Include LUID values to match Windows privileges since
3913 apparently this matters to printmig.exe
3916 o John Terpstra <jht@samba.org>
3917 * Solaris packaging fixes.
3918 * Clean up usage help text in "net rpc user"
3921 o Andrew Tridgell <tridge@samba.org>
3922 * Merge socket wrapper library fixes from Samba 4.
3925 o Brett Trotter <blt@iastate.edu>
3926 * Fix definition of global_sid_* in vfs_acl.c.
3929 o Mark Weaver <mark-clist@npsl.co.uk>
3930 * Patch to fix sys_select so it can't drop signals if another
3931 fd is ready to read.
3934 o Jelmer Vernooij <jelmer@samba.org>
3935 * Remove --with-manpage-languages configure option.
3936 * Merge socket wrapper fixes for IRIX systems from the
3938 * Add socket_wrapper library to 3.0. Can be enabled by passing
3939 --enable-socket-wrapper to configure.
3940 * Fix build of the various sql pdb backends after new talloc.
3943 o Qiao Yang <qyang@stbernard.com>
3944 * Use our own DC when getting the SID for a domain.
3948 Release Notes for older release follow:
3950 --------------------------------------------------
3951 ===============================
3952 Release Notes for Samba 3.0.14a
3954 ===============================
3956 Common bugs fixed in 3.0.14a include:
3958 o Compatibility issues between Winbind and Windows 2003 SP1
3959 domain controllers (*2k3sp1*).
3960 o MS-DFS errors with Windows XP SP2 clients.
3961 o High CPU loads caused by infinite loops in the FindNext()
3963 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
3967 ######################################################################
3971 Changes since 3.0.14
3972 --------------------
3976 o Jeremy Allison <jra@samba.org>
3977 * Fixed invalid SMB_ASSERT() triggered by checking access on
3981 Changes since 3.0.13
3982 --------------------
3987 Parameter Name Action
3988 -------------- ------
3989 dos filetimes Enabled by default
3994 o Jeremy Allison <jra@samba.org>
3995 * Prevent nt_status code support when negotiating protocols
3997 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
3998 as this SMB is DOS codepage only.
3999 * BUG 2585: Fix printf() issues in smbpasswd which caused
4001 * BUG 2563: Fix infinite loop on non-existent file with
4003 * BUG 2581 (partial): Ensure if realloc fails on an internal
4004 tdb we fail gracefully.
4005 * Ensure that 'dos filetimes' works with ACLs.
4006 * Set 'dos filetimes = yes' as the default for smb.conf.
4009 o Gerald (Jerry) Carter <jerry@samba.org>
4010 * Workaround autoconf issue to prevent debug symbols from
4011 being included in the default build.
4012 * Disable schannel on the \lsarpc pipe in order to successfully
4013 enumerate users and groups (*2k3sp1*)
4014 * Fix parsing error in rpc binds which broke NTLMSSP
4015 authentication. And as a result broke CTL+ALT+DEL password
4016 changes from a Windows 2003 SP1 member of a Samba domain
4018 * Revert change to FindFirst() server code that broke WinXP
4019 SP2 clients from launching *.exe files from a dfs target
4021 * BUG 2588: Force smbclient to send netbios messages to port
4022 139 unless otherwise instructed (based on patch from Thomas
4026 o Volker Lendecke <vl@samba.org>
4027 * Fix build on FreeBSD 4 where Winbind is not supported.
4028 * Fix 'wbinfo --user-sids' when using domain local groups.
4029 * Restrict domain local groups reported by 'wbinfo -r' to
4030 the Samba server domain and not the users domain.
4033 o Lin Li <linl@xandros.com>
4034 * Ensure that winbind initializes internal trusted domain
4035 structures when enumerating users and groups.
4038 o Tim Potter <tpot@samba.org>
4039 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
4041 * Fix compiler warnings.
4044 o <psz@maths.usyd.edu.au>
4045 * Fix for possible root squash NFS bugs.
4048 o Simo Sorce <irda@samba.org>
4049 * Debian packaging fixes.
4052 --------------------------------------------------
4053 ==============================
4054 Release Notes for Samba 3.0.13
4056 ==============================
4058 Common bugs fixed in 3.0.13 include:
4060 o Infinite FindNext() loop from Windows 9x client when
4061 copying or deleting files on a Samba file share using
4063 o Numerous smbclient bugs when listing directories.
4064 o Failures in smbclient when connecting to a Windows 9x
4068 ######################################################################
4072 Changes since 3.0.12
4073 --------------------
4075 o Jeremy Allison <jra@samba.org>
4076 * Fix typo bug in smbclient where flags overwrote info level
4077 in the cli_list_new().
4078 * Fix old smbclient bug where ff_searchcount was being compared
4079 to -1 resulting in processing a filename twice.
4080 * Fix segv in smbclient caused by overwriting the last 2 bytes
4082 * BUG 2530: Fix potential segv in smbclient when talking to a
4083 Windows 9x file server.
4084 * Fix last entry offset in cli_list_new() when using a
4085 FindFirst/FindNext info level of 0x104.
4086 * BUG 2501: Stop Win98 from looping doing FindNext on a
4087 singleton directory.
4088 * BUG 2521: Fix error in access checks when user group ACLs.
4091 o Gerald (Jerry) Carter <jerry@samba.org>
4092 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
4093 to delete all versions of a driver.
4094 * BUG 2517: use the realm from smb.conf for 'net ads info' when
4095 'disable netbios = yes'.
4096 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
4098 * Update RedHat packaging files to require cups support. Also
4099 remove requirement for 'idmap {uid,gid}' settings in smb.conf
4100 from winbindd init script.
4101 * BUG 2516: fix compile issue on True64.
4105 o Guenther Deschner <gd@samba.org>
4106 * Check for the correct cli-struct when copying files in 'net
4107 rpc printer' routines.
4110 o Herb Lewis <herb@samba.org>
4111 * Fix incorrect test in 'net rpc user' when the user is not
4112 a member of any groups.
4115 o Jim McDonough <jmcd@us.ibm.com>
4116 * Make sure that enum_group_members() searches the correct suffix.
4119 --------------------------------------------------
4120 ==============================
4121 Release Notes for Samba 3.0.12
4123 ==============================
4125 Common bugs fixed in 3.0.12 include:
4127 o Winbind failures when using 'disable netbios = yes'
4128 o Failure to establish a trust relationship via 'net rpc trust
4130 o Various portability & compiler issues.
4131 o Read only file deletion failure caused by new delete semantics
4132 in Windows XP SP2 and the MS 04-044 security hotfix.
4133 o Error messages from shared Excel workbooks residing on Samba
4135 o Missing files in the output of smbclient -c 'dir' when run
4136 against Windows file servers.
4137 o Inability for Print Administrators to pause/resume/purge print
4140 Additional features introduced in Samba 3.0.12:
4142 o Performance enhancements when serving directories containing
4143 large number of files.
4144 o MS-DFS support added to smbclient.
4145 o More performance improvements when using Samba/OpenLDAP based
4146 DC's via the 'ldapsam:trusted=yes' option.
4147 o Support for the Novell NDS universal password when using the
4148 ldapsam passdb backend.
4149 o New 'net rpc trustdom {add,del}' functionality to eventually
4150 replace 'smbpasswd {-a,-x} -i'.
4151 o New libsmbclient functionality.
4155 =======================
4156 Large Directory Support
4157 =======================
4159 Samba 3.0.12pre1 introduces a specific mechanism for dealing
4160 with file services that frequently contain a large number of files
4161 per directory. Historically Samba's performance has suffered
4162 in such environments due to the translation from case
4163 insensitive lookups by Windows client to the case sensitive
4164 storage mechanisms used by UNIX filesystems.
4166 Configuration details along with a short HOWTO can be found at:
4168 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
4171 ==================================
4172 libsmbclient Binary Compatibility
4173 ==================================
4175 Please note that a change has been made to the _SMBCCTX structure
4176 in source/include/libsmbclient.h. This change is not backwards
4177 compatible with applications linked against the libsmbclient.so
4178 library from Samba 3.0.11. However, it is compatible with all
4179 other Samba 3.0.x releases. This means that it will be most likely
4180 be necessary to recompile any applications linked against the
4181 3.0.11 version of the library.
4184 ######################################################################
4191 Parameter Name Action
4192 -------------- ------
4193 allocation roundup size New
4194 log nt token command New
4195 write cache Deprecated
4199 Changes since 3.0.11
4200 --------------------
4204 o Jeremy Allison <jra@samba.org>
4205 * BUG 2146: Return correct allocation sizes so as not to crash
4207 * BUG 962: Ensure that parsing of service names in smb.conf is
4209 * BUG 2201, 2227: Support new delete semantics used by MS04-044
4211 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
4212 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
4213 * Add special hooks when serving directories containing large
4215 * Ensure that WINS negative name query responses and WACK
4216 packets use the correct RR type of 0xA instead of reflecting
4217 back what the query RR type was (0x20).
4218 * BUG 2310: Only do 16-bit normalization on small dfree request.
4219 * BUG 2323: Correct authentication failure when using plaintext
4220 passwords from Windows XP clients.
4221 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
4222 work around issues building MS Visual Studio 6.0 project
4223 on a Samba file share while restoring the pre-3.0.21pre1
4224 behavior by default.
4225 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
4226 stat when checking for existence of a pathname.
4227 * Check the sticky bit on the parent directory for supporting
4228 the new WinXP SP2 file deletion semantics.
4229 * Various oplock, share mode, and byte range locking fixes
4230 found by Connectathon tests.
4231 * BUG 2271: Fix resume key issues in trans2FindFirst() client
4232 code (inspired by patch from Satwik Hebbar).
4233 * BUG 2382, 2045: More pending modtime and delayed write fixes
4234 for MS Excel (incorporates partial patches from
4235 ke_miyata@itg.hitachi.co.jp).
4236 * Debug log message cleanups.
4237 * Add case insensitive search for a principal match on logon
4238 verification in the system keytab (based on patch by
4239 Michael Brown <mbrown@fensystems.co.uk>).
4240 * Revert the previous SMB signing change from Nalin Dahyabhai
4241 when using DES keys.
4242 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
4243 * Fix FindFirst() server code to deal with resume names of ".."
4244 and "." (found by Jim McDonough).
4245 * BUG 2451: Fix missing functions in full audit VFS module.
4246 * Ensure that smbd logs failures reported by DISK_FREE()
4247 (reported by Ying Li <ying.li2@hp.com>).
4248 * Ensure that smbclient obeys the max protocol argument again.
4249 * BUG 2335: Return correct error code for OS/2 clients (based on
4250 negotiated protocol level).
4251 * BUG 2460, 2464: remove dead code and unused variables
4252 (reported by Jason Mader).
4255 o Andrew Bartlett <abartlet@samba.org>
4256 * Avoid length-limited intermediate copy of NT and LM responses
4258 * Debug message cleanups in the NTLMSSP implementation.
4261 o Manuel Baena <mbaena@lcc.uma.es>
4262 * Print actual error message in smbmnt.c:fullpath().
4265 o Vince Brimhall <vbrimhall@novell.com>
4266 * Add support for Novell NDS universal password.
4267 * BUG 2424: Ensure that uidNumber and gidNumber use match
4269 * BUG 2453: Change the way pdb_nds.c handles users with no
4270 Universal or Simple Password.
4271 * NDS schema file corrections.
4274 o Gerald (Jerry) Carter <jerry@samba.org>
4275 * Add trans2 client call for checking dfs referrals
4276 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
4277 when checking directories on modern CIFS servers.
4278 * Add MS-DFS support to smbclient.
4279 * Code cleanup of adt_tree.[ch].
4280 * Add missing checks to allow root to manage user rights.
4281 * Allow domain admins to manage rights assignments on domain members
4283 * BUG 2333: Use the lpq command to pass in the correct printer name
4284 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
4286 * BUG 1439: make sure to initialize pointer to prevent invalid
4288 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
4290 * Add cups-devel to BuidlRequires directive in Fedora spec file.
4291 * BUG 858: Fix order of popt args evaluation so we don't crash
4292 when given no command line args.
4293 * Remove dependency on bash for source/autogen.sh.
4294 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
4295 * Implement MS-DFS for recursive directory listings in smbclient.
4296 * BUG 2394: Fix nmbd linking issue on IRIX.
4297 * Only display the publish check box in the client's printer
4298 properties dialog if we are a member of an AD domain.
4299 * BUG 2363: allow 'in use' driver to be removed as long as
4300 one 'Windows NT x86' driver remains.
4301 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
4303 * Enforce better printer.tdb cache consistency when removing
4304 jobs from a print queue via SMB.
4305 * Ensure that pause/resume/purge print queue commands are run
4306 with the appropriate level of privilege necessary to actually
4308 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
4309 for 'printing = cups' installations that do not actually have
4311 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
4312 * BUG 2215: Rewrite questionable code that was causing gcc to
4314 * Add server support for LsaLookupPrivValue().
4315 * Various small compile fixes and cleanup warnings.
4316 * BUG 2456: Fix compile failure on non-gcc platforms due to
4317 non-standard pragma.
4320 o Kevin Dalley <kevin@kelphead.org>
4321 * BUG 2398: Don't force smbclient to assume a dry run if the
4322 target tarfile is /dev/null.
4325 o Guenther Deschner <gd@samba.org>
4326 * Fix crash bug in the client-spoolss enumdataex-call.
4327 * Expand the valid-workstation-scheme by expanding names
4328 beginning with a plus (+) as a unix group.
4329 * Allow own netbios name to be set in smbclient's session setup.
4330 * Better handling of LDAP over IPC connections that have expired
4332 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
4333 * Add examples/misc/adssearch.pl.
4334 * BUG 2343: Build fixes.
4335 * Support get_user_info_7 in SAMR server RPC.
4336 * Fix server_role in the samr_query_dom_info calls.
4337 * Add example perl script to check for multiple LDAP entries
4338 after running 'net rpc vampire'.
4339 * Add more output when listing printer forms via rpcclient.
4340 * Debug log message cleanup.
4343 o Steve French <sfrench@us.ibm.com>
4344 * On failed mount (ENXIO) retry share name in uppercase (fix
4345 mount to FastConnect AIX SMB server).
4346 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
4347 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
4348 it with a user name.
4349 * Update for new CIFS POSIX info levels.
4350 * Ignore users mount parm in mount.cifs.
4352 o SATOH Fumiyasu <fumiya@samba.gr.jp>
4353 * BUG 1549: Don't truncate service names in smbstatus.
4356 o William Jojo <jojowil@hvcc.edu>
4357 * BUG 2445: Patch to avoid default ACLs on AIX.
4360 o S Murthy Kambhampaty <smk_va@yahoo.com>
4361 * Add idmap_rid module to Fedora and RedHat spec files.
4364 o Volker Lendecke <vl@samba.org>
4365 * BUG 2401: Flush internal getpwnam() cache after deleting a
4367 * BUG 1604: Make winbind work with more than 10 trusted domains.
4368 * Cleanup various compiler warnings.
4369 * Fix a memory leaks in privileges code and passdb backends.
4370 * Fixes for samr_lookup_sids() client call.
4371 * Optimize _samr_query_groupmem with LDAP backend for large
4373 * Support SIDs as %s replacements in the afs username map
4375 * Add 'log nt token command' parameter. If set, %s is replaced
4376 with the user sid, and %t takes all the group sids.
4377 * Do not use the "Local Unix Group"-default description for
4378 all kinds of group-mappings.
4379 * Fix uninitialized variable in Linux nss_winbind library.
4380 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
4381 * Implement 'net afs impersonate'.
4384 o Herb Lewis <herb@samba.org>
4385 * Fix build problem when HAVE_POSIX_ACL is not defined.
4386 * BUG 2417: Add help lines for net rpc group addmem and
4390 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
4391 * Add support to libsmbclient for getting and setting DOS
4392 attributes using EA functions.
4393 * Fix libsmbclient's URL encoding/decoding.
4394 * Replace browse listing URI queries with an internal options
4395 structure (previous method violated the SMB URI syntax).
4396 * Allow tree connects to be multiplexed over a single CIFS server
4398 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
4399 can determine a dead tree connection.
4400 * Implement better solution for backwards binary compatibility
4401 in libsmbclient while adding new fields to struct _SMBCCTX.
4404 o Mark Loeser <halcy0n@gentoo.org>
4405 * BUG 2443: Compile fix for gcc4.
4408 o Jim McDonough <jmcd@us.ibm.com>
4409 * BUG 2338: Fix coredump when OS/2 checks for long file name
4410 support (with .+,;=[].) (thanks to Guenter Kukkukk).
4413 o Jason Mader <jason@ncac.gwu.edu>
4414 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
4418 o Jim McDonough <jmcd@us.ibm.com>
4419 * Fixes for server schannel implementation when 'restrict
4420 anonymous = 1' is set in smb.conf.
4421 * Fix bug in server side lookupsids reply that crashed lsass.exe
4423 * Fix 'net rpc trustdom establish'.
4424 * BUG 2062: Turn off broadcast for all 390 NICs.
4425 * Fix 'net rpc trustdom add' to correctly add new domain trust
4426 accounts. This will eventually replace 'smbpasswd -a -i'.
4427 * Implement 'net rpc trustdom del', including client side of
4428 samr_remove_sid_from_foreign_domain.
4429 * Bring IBM Directory Server schema up to date with openldap
4431 * Allow for better protection of sensitive attributes in IBM
4435 o Stefan Metzmacher <metze@samba.org>
4436 * Fix memleaks in the nttrans code.
4439 o Mike Nix <mnix@wanm.com.au>
4440 * Add SMBsplopen and SMBsplclose client calls.
4443 o Justin Ossevoort <justin@snt.utwente.nl>
4444 * BUG 2316: Fix crashes in pdb_pgsql.
4447 o James Peach <jpeach@sgi.com>
4448 * Fixes in string handling code.
4449 * Fix oplock2 test in client smbtorture.
4452 o Tim Potter <tpot@samba.org>
4453 * Fix up example pdb modules after prototype change for
4455 * BUG 2058: Fix for shared object creation in examples.
4456 * BUG 2315: Fix segv in LSA privileges server code.
4457 * Build fixes for python wrapper libraries.
4460 o Richard Sharpe <rsharpe@samba.org>
4461 * BUG 2044: Fix segv in profiles tool.
4462 * Fix bogus error messages when enumerating user group
4463 membership via 'net rpc'.
4466 o Simo Sorce <idra@samba.org>
4467 * Debian packaging fixes.
4470 o John Terpstra <jht@samba.org>
4471 * Add the capability to set account description using pdbedit.
4474 o Doug VanLeuven <roamdad@sonic.net>
4475 * Add more case/realm/name permutations to the Kerberos keytab.
4476 * AIX compile fixes.
4479 o Jelmer Vernooij <jelmer@samba.org>
4480 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
4481 * BUG 1957: Implement minimal update of fields in mySQL pdb
4485 o Torsten Werner <torsten.werner@assyst-intl.com>
4486 * BUG 2405: Define 'lpstat' printcap output on HPUX.
4489 o Shlomi Yaakobovich" <Shlomi@exanet.com>
4490 * Detect infinite loops when traversing tdbs.
4493 --------------------------------------------------
4494 ==============================
4495 Release Notes for Samba 3.0.11
4497 ==============================
4499 Common bugs fixed in 3.0.11 include:
4501 o Crash in smbd when using CUPS printing.
4502 o Parsing error of other SIDs included in the user_info_3
4503 structure returned from domain controllers.
4504 o Inefficiencies when searching non-AD LDAP directories.
4505 o Failure to expand variables in user domain attributes
4506 in tdbsam and ldapsam.
4508 o Failure to retrieve certain attribute when migrating from
4509 a Windows DC to a Samba DC via 'net rpc vampire'.
4510 o Numerous printing bugs bugs including memory
4511 bloating on large/busy print servers.
4512 o Compatibility issues with Exchange 5.5 SP4.
4515 Additional features introduced in Samba 3.0.11:
4517 o Winbindd performance improvements.
4518 o More 'net rpc vampire' functionality.
4519 o Support for the Windows privilege model to assign rights
4521 o New administrative options to the 'net rpc' command.
4528 If "ldap user suffix" or "ldap machine suffix" are defined in
4529 smb.conf, all user-accounts must reside below the user suffix,
4530 and all machine and inter-domain trust-accounts must be located
4531 below the machine suffix. Previous Samba releases would fall
4532 back to searching the 'ldap suffix' in some cases.
4539 Samba 3.0.11 supports the following assignable rights
4541 SeMachineAccountPrivilege Add machines to domain
4542 SePrintOperatorPrivilege Manage printers
4543 SeAddUsersPrivilege Add users and groups to the domain
4544 SeRemoteShutdownPrivilege Force shutdown from a remote system
4545 SeDiskOperatorPrivilege Manage disk shares
4547 These rights can be assigned to arbitrary users or groups
4548 via the 'net rpc rights grant/revoke' command. More details
4549 of Samba's privilege implementation can be found in the
4550 Samba-HOWTO-Collection.
4553 ######################################################################
4557 Changes since 3.0.10
4558 --------------------
4563 Parameter Name Action
4564 -------------- ------
4565 afs token lifetime New
4566 enable privileges New
4567 ldap password sync Alias
4568 min password length Deprecated
4569 winbind enable local accounts Deprecated
4574 o Jeremy Allison <jra@samba.org>
4575 * Extend vfs to add seekdir/telldir/rewinddir.
4576 * Fix dirent return.
4577 * Fix bugs when handling secondary trans2 requests.
4578 * Implementation of get posix acls in UNIX extensions.
4579 * Added set posix acl functionality into the UNIX extensions code.
4580 * Updated config.guess/config.sub .
4581 * Fix error reply when 'follow symlinks = no'.
4582 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
4584 * Fixes for LARGE_READX support.
4585 * Fix the problem we get on Linux where sendfile fails, but we've
4586 already sent the header using send().
4587 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
4589 * BUG 2088: Ensure inherit permissions is only applied on a new
4590 file, not an existing one.
4591 * Don't go fishing for the krb5 authorization data unless we know
4593 * Fixes for libsmbclient to ensure that interrupted system calls
4594 are restarted minus the already expired portion of the timeout
4595 (based on work by Derrell Lipman).
4596 * More Unicode string parsing fixes.
4597 * Convert the winreg pipe to use WERROR returns.
4598 * Make all LDAP timeouts consistent (input from Joe Meadows
4599 <jameadows@webopolis.com>).
4600 * BUG 2231: Remove double "\\" from client findfirst.
4601 * BUG 2238: Fix memory leak in shadow copy vfs.
4602 * Return correct DOS/NT error code on transact named pipe on
4604 * BUG 2211: Fix security descriptor parsing bug (based on work by
4605 Mrinal Kalakrishnan <mail@mrinal.net>).
4606 * BUG 2270: Fix memory leaks in cups printing backend support
4607 (based on work by Lars Mueller).
4608 * BUG 2255: Fix debug level in Kerberos error messages.
4609 * BUG 2110: Ensure we convert to ucs2 correctly after the
4610 CAN-2004-0930 patch.
4611 * Make strict locking an enum. Auto means use oplock optimization.
4612 * Fix client & server to allow 127k READX calls.
4613 * More *alloc fixes (includes additional fixes by Albert Chin.
4614 * Catch sendfile errors correctly and return the correct values
4615 we want the caller to return.
4616 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
4617 for better use by desktop environments such as GNOME.
4618 * Ensure we can't remove a level II oplock without having the
4619 shared memory area locked.
4622 o Timur Bakeyev <timur@com.bat.ru>
4623 * BUG 2100: change the way we check for errors after a dlopen().
4624 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
4627 o Andrew Bartlett <abartlet@samba.org>
4628 * Clarify error message when 'lanman auth = no'.
4629 * Remove the unnecessary UTF-8 conversion calls in the calls to
4630 auth_winbind from smbd.
4631 * Don't store the auth-user credentials with the cli_state* as
4632 this can cause the schannel setup to fail when the auth-user
4633 domain is not our primary domain.
4636 o Grigory Batalov <bga@altlinux.org>
4637 * Fix encoding while receiving of a message which was actually
4638 sent using STR_ASCII.
4641 o Daniel Beschorner <db@unit-netz.de>
4642 * BUG 603: Correct access mask check for _samr_lookup_domain()
4643 to work with Windows RAS server
4646 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
4647 * Fix missing printer_tdb reference decrement.
4650 o Gerald (Jerry) Carter <jerry@samba.org>
4651 * BUG 2073: fall back to smb_name if current_user_info is not
4652 available in lp_file_list_changed().
4653 * Fixes the spurious 'register_message_flags: tdb fetch failed'
4655 * Don't run the background LPQ daemon when we are running in
4657 * prevent the background LPQ daemon from updating the print queue
4658 cache just because multiple smbd processes sent a message that
4660 * consolidate printer searches to use find_service rather than
4662 * BUG 2091: don't remove statically defined printers in
4663 remove_stale_printers().
4664 * Fix logic error in add_a_form() that only compared N characters
4665 instead of the entire form name.
4666 * BUG 2107: fix memory bloating caused by large numbers of
4667 print_queue_updates() requests sent via messages.tdb.
4668 * Check the setprinter(3) based on the access permissions on
4669 the handle and avoid the call to print_access_check().
4670 * Re-instantiate previous semantics for calling init_unistr2()
4671 with a NULL source buffer.
4672 * Support Windows privilege model for assigning rights
4673 to specific SIDs. Based on work by Simo Sorce in the trunk
4674 svn branch. This feature is controlled by the 'enable
4675 privileges = [yes|no]' smb.conf(5) option.
4676 * Add some smb.conf scripts for add/delete/change shares and
4677 deleting cups printers.
4678 * Expand variables in the profile path, logon home and logon script
4679 values when using either tdbsam or ldapsam.
4680 * Add Domain Admins (Full Control) to the default printer security
4681 descriptor if we are a DC.
4682 * RedHat and Fedora Packaging fixes for perl dependencies.
4683 * Remove unused schema items from OpenLDAP schema file.
4684 * Remove duplicate enumeration of "Windows x86" architecture
4685 when listing printer drivers via rpcclient.
4686 * Fail set_privileges() if 'enable privileges = no' to prevent
4688 * Fix segfault in cups_queue_get().
4689 * Tighten restrictions on changing user passwords when
4690 the connected user possesses the SeMachineAccountPrivilege.
4691 * Ensure we set NETBIOSNAME.domainname for the long machine name
4692 when publishing printers in AD (based on input from Rob Foehl).
4693 * Mark 'winbind enable local accounts' as deprecated.
4694 * Mark testprns tool as deprecated.
4695 * Allow root to grant/revoke privilege assignments.
4696 * Correct interaction between user rights and se_access_check() on
4698 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
4700 * BUG 2262: Add support in configure.in for *freebsd6*.
4701 * BUG 2266: Portability fixes for quota code on FreeBSD4.
4702 * BUG 2264: Remove shutdown and abortshutdown commands from
4703 rpcclient in favor of using the same functions in 'net'.
4704 * BUG 2295: Prevent smbd from returning an empty server name
4705 in certain lanman api calls.
4706 * BUG 2290: Fix autogen.sh script in examples (based on original
4707 patch from Lars Mueller).
4708 * Fix bug enumerating domain trusts in security = ads.
4709 * Fix segv in rpcclient's dsenumdomtrusts.
4710 * Fix bug in expansion of %U and %G in included filenames.
4711 * BUG 2291: Restrict creation of server trust and domain trust
4712 accounts to members of the "Domain Admins" group.
4714 o Nadav Danieli <nadavd@exanet.com>
4715 * Short circuit some is_locked() tests if we are oplocked.
4718 o Guenther Deschner <gd@samba.org>
4719 * Allow 'localhost' as a valid server name in the smbd for the
4721 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
4722 Mewburn for the input).
4723 * BUG 2059: Add additional checks needed after logic change to the
4724 HAVE_WRFILE_KEYTAB detection test.
4725 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
4726 Samba DC. Allow us to lookup at least our own SID.
4727 * More fixes to have proper German in swat (Thanks to Reiner
4728 Klaproth and Björn Jacke.
4729 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
4730 setting security descriptors with smbcacls and using with
4731 the -S or -M switch.
4732 * Include the munged_dial, bad_password_count, logon_count, and
4733 logon_hours attributes when running 'net rpc vampire'.
4734 * Fix segfault in idmap_rid.
4735 * When winbindd is operating in the multi-mapping mode of
4736 idmap_rid, allow BUILTIN domain-mapping.
4737 * Display infolevel 12 in query_dom_info in rpcclient.
4738 * Fix bug in winbindd's lowercasing of usernames.
4739 * Allow -v or -l for displaying verbose groupmap-listing
4740 as well as "verbose".
4741 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
4743 * Close LDAP-Connection before retrying to open a new connection
4745 * Marking "min password length" as depreciated.
4746 * Implement SAMR query_dom_info-call info-level 8 server- and
4747 client-side, based on samba4-idl.
4748 * Allow rpcclient to define a port to use when connecting
4750 * Allow Account Lockout with Lockout Duration "forever" (until
4751 admin unlocks) to be set and displayed in User Manager.
4752 * Allow to set acb_mask in rpcclient's enumdomusers.
4753 * Add more generic rootDSE inspection function to check
4754 for given controls or extensions and remember these on a
4756 * Improve LDAP search efficiency by passing the acb_mask to
4758 * Fixes for ldapsam_enum_group_memberships().
4759 * Add createdomgroup to rpcclient.
4760 * Add "net rpc user RENAME"-command.
4761 * Display sam_user_info_7 in rpcclient.
4762 * Make multi-domain-mode in idmap_rid accessible from outside
4763 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
4764 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
4765 "Lockout Duration: Forever".
4766 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
4768 * Require assignment of Administrator SID in the passdb
4769 backend. Fall back to the default name of 'Administrator' if
4770 the lookup fails rather than using the first name in the
4771 default 'admin users' list.
4772 * Enhance LDAP failure debug messages.
4773 * BUG 2291: Call the 'add machine script' for server trust and
4774 domain trust accounts as well as workstation accounts.
4777 o Levente Farkas <lfarkas@lfarkas.org>
4778 * BUG 2299: Better logrotate scripts for RedHat and Fedora
4782 o Jay Fenlason <fenlason@redhat.com>
4783 * Fix crash in 'net join' due to calling free on
4785 * Several patches from RedHat's Fedora Core RPMS.
4788 o Rob Foehl <rwf@loonybin.net>.
4789 * Compiler warnings.
4790 * Try modifying printer published attributes before adding it a
4792 * Solaris packaging fixes.
4793 * Don't force the cups printer-make-and-model tag as the comment
4794 for autoloaded printers.
4795 * Implement caching of names from printcap to support a true
4796 'printcap cache time'.
4799 o Johann Hanne <jhml@gmx.net>
4800 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
4803 o Jeff Hardy <hardyjm@potsdam.edu>
4804 * Example script for 'add print command' when using CUPS.
4807 o Deryck Hodge <deryck@samba.org>
4808 * Add -P (--password-only-menu) to SWAT for displaying only the
4809 password change page to non-root users.
4812 o David Hu <david.hu@hp.com>
4813 * Copy structure from print_queue_update() message rather than
4814 referencing it. Fixes seg fault on HP-UX.
4817 o Buck Huppmann <buckh@pobox.com>
4818 * BUG 2186: Don't free uninitialized credentials.
4819 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
4820 dnsDomainName != realm.
4823 o Björn Jacke <bjoern@j3e.de>
4824 * BUG 2040: Ensure the locale is reset to C to get ASCII-
4825 compatible toupper/lower functions.
4828 o William Jojo <jojowil@hvcc.edu>
4829 * Fix HPUX sendfile and add configure.in tests and code for
4831 * AIX 5.3 compile fixes.
4834 o Volker Lendecke <vl@samba.org>
4835 * Optimize anonymous session setups by workstations in a
4837 * Reimplment the QueryUserAliases() server RPC reply.
4838 * Re-add the getpwnam-cache for performance.
4839 * Cache the result of a pdb_getsampwnam for later SID lookup
4841 * Unify the means of localtaing a user's global groups on a
4843 * Fix bug when serving the 'Start Menu' in a roaming user profile..
4844 * Map more pre-defined NT security descriptors to AFS acls.
4845 * Add timeout to AD search requests.
4846 * If a connection to a DC is requested (in winbindd), open
4847 connections simultaneously to all DCs found.
4849 * Fix logic error in handling of 'printcap name' parameter.
4850 * Prevent winbindd from SPAM'ing the log files with 'user root
4852 * Backport samr_DomInfo2 IDL specification from Samba 4.
4853 * Implement smbstatus -n, don't lookup users and groups.
4854 * Implement simple mapping that maps the space to another character
4855 defined by afsacl:space.
4856 * Add support for 'net idmap delete <idmap-file> <SID>'.
4857 * Add new parameter 'afs token lifetime' tells the AFS client
4858 when to throw away a token (patch from kllin@it.su.se).
4859 * Initial work to allow support for multiple pipe opens on a
4861 * Ensure that we still retrieve the netbios name of any DC
4862 listed as a 'password server' to work around cases where the
4863 DC was defined using an IP address or fqdn.
4864 * Fix memleak in winbindd connection code.
4865 * Fix cli_samr_queryuseraliases.
4866 * Allow wbinfo --user-sids to expand expand domain local groups.
4867 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4868 * Fix parsing of other_sids in net_user_info3.
4869 * Correct bad failure logic when user was not a member of any
4870 domain local groups.
4873 o Jason Mader <jason@ncac.gwu.edu>
4874 * BUG 2113, 2289: Remove dead code.
4877 o Jim McDonough <jmcd@us.ibm.com>
4878 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
4879 clients. If it fails, fall back to WINREG.
4880 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4881 * BUG 2198: Set password last change time when running 'net rpc
4883 * Add "refuse machine password change" policy field.
4886 o Luke Mewburn <lukem@NetBSD.org>
4887 * BUG 2150: shmget() - Use POSIX definitions instead of non-
4891 o Stefan Metzmacher <metze@samba.org>
4895 o Buchan Milne <bgmilne@mandrake.org>
4896 * Mandrake packaging fixes.
4899 o Lars Mueller <lmuelle@samba.org>
4900 * Fix build of libsmbclient on x86_64.
4901 * BUG 2013: Fix testsuite build issues when libsmbclient.so
4902 is installed in a non-default location.
4903 * BUG 2050: Calculate max_fd for select correctly.
4904 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
4908 o Jason Mader <jason@ncac.gwu.edu>
4909 * BUG 2069: Remove unused variables.
4910 * BUG 2075: Remove dead code paths.
4911 * BUG 2083: Fix compiler warnings caused by bad type casts.
4914 o James Peach <jpeach@sgi.com>
4915 * Fix rewinddir -> rewind_dir when using VFS macros.
4918 o Gavrie Philipson <gavrie@disksites.com>
4919 * BUG 1838: Remove stale printers imeeddiately when
4920 processing a SIGHUP and during smb.conf reload.
4923 o Tim Potter <tpot@samba.org>
4924 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
4925 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
4926 * Change the license for the winbindd external interface
4928 * HP-UX compile fixes.
4929 * Compile fixes after new setsampwent() API.
4932 o Richard Renard <rrenard@idealx.com>
4933 * Update Netscape DS 5.2 LDAP schema.
4936 o Simo Sorce <idra@samba.org>
4937 * Backport pdbedit changes from trunk.
4938 * Allows the add/change share command to create the shared
4939 directory directory on disk.
4940 * Log a warning in testparm if a print command is defined for
4941 a print service using 'printing = cups'.
4943 o Jelmer Vernooij <jelmer@samba.org>
4944 * Bug fixes for pdb_{xml,pqsql,xml}
4945 * Fixes for pdb_mysql.
4948 o Andrew Tridgell <tridge@samba.org>
4949 * Bring Samba3 into line with the Samba4 password change code.
4952 o Shiro Yamada <shiro@miraclelinux.com>
4953 * BUG 2190: Force SWAT to display parameters in unix charset and
4957 --------------------------------------------------
4958 ==============================
4959 Release Notes for Samba 3.0.10
4961 ==============================
4963 Common bugs fixed in 3.0.10 include:
4965 o Fix for security issues described in CAN-2004-1154.
4974 o Jeremy Allison <jra@samba.org>
4975 * Added checks surrounding all *alloc() calls to fix
4977 * Fix long standing memory size bug in bitmap_allocate().
4978 * Remove bogus error check in deferred open file serving
4982 o Thomas Bork <tombork@web.de>
4983 * Fix autoconf script on platforms using a version of GNU ld
4984 that does not include a date stamp in the output of --version.
4987 o Luke Mewburn <lukem@NetBSD.org>
4988 * Fix the swat install script to deal with the new image
4989 destination directory used by the docs.
4993 --------------------------------------------------
4995 =============================
4996 Release Notes for Samba 3.0.9
4998 =============================
5000 Common bugs fixed in 3.0.9 include:
5002 o Problem updating roaming user profiles.
5003 o Crash in smbd when printing from a Windows 9x client.
5004 o Unresolved symbols in libsmbclient which caused
5005 applications such as KDE's konqueror to fail when
5006 accessing smb:// URLs.
5016 o Jeremy Allison <jra@samba.org>
5017 * Correctly detect errno for no acl/ea support.
5018 * BUG 2036: Fix seg fault in 'net ads join'.
5021 o Gerald (Jerry) Carter <jerry@samba.org>
5022 * Solaris packaging fixes.
5023 * Fix seg fault in lanman printing code.
5024 * BUG 2017: fix testparm reporting for the passwd program
5026 * Fix output of smbstatus to match the man page.
5027 * BUG 2027: fix conflict with declaration MD5_CTX in system
5029 * 2028: Avoid false error messages when copying a long
5030 printer name to the device mode.
5033 o Guenther Deschner <gd@samba.org>
5034 * Allow deldriverex in rpcclient to delete drivers for a
5035 specific architecture and a specific version.
5036 * Fix a couple of rpcclient spoolss commands (setprinter,
5037 setprintername, getdriver) w.r.t to printer-naming scheme.
5038 Allow 'localhost' in the server string for certain server-side
5040 * BUG 2015: Do not fail on setting file attributes with
5041 acl support enabled.
5044 o Michel Gravey <michel.gravey@optogone.com>
5045 * Fix build when using gcc 3.0.
5048 o Volker Lendecke <vl@samba.org>
5049 * Fix tdb open logic when checking our local_pid after
5053 o Jim McDonough <jmcd@us.ibm.com>
5054 * BUG 1932: Fix crash in 'net getlocalsid' when run as
5058 o Luke Mewburn <lukem@NetBSD.org>
5059 BUG 1661: Fix KRB5_SETPW-defines
5062 o Buchan Milne <bgmilne@mandrake.org>
5063 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
5066 o Lars Mueller <lmuelle@samba.org>
5067 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
5070 o Martin Zielinski <mz@seh.de>
5071 * Add DeletePrinterDriverEx() functionality to rpcclient.
5074 --------------------------------------------------
5076 =============================
5077 Release Notes for Samba 3.0.8
5079 =============================
5081 Common bugs fixed in 3.0.8 include:
5083 o Compile fixes for HP-UX
5084 o Fixes for the printer publishing code used when joined to
5086 o Incompatibilities with file system quotas.
5087 o Several bugs in the spoolss printing code and print system
5089 o Inconsistencies in the username map functionality when
5090 configured on domain member servers.
5091 o Various compile warnings and errors on various platforms.
5092 o Fixes for Kerberos interoperability with Windows 200x
5093 domains when using DES keys.
5094 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
5095 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
5098 New features included in the 3.0.8 release are:
5100 o New migration functionality added the the net tool
5101 for files/directories, printers, and shares.
5102 o New experimental idmap backend for assigning uids/gids
5103 directly based on the user/group RID when acting as a
5104 member of single domain without any trusts.
5105 o Additional printer migration support for XP/2003 platforms.
5108 ===========================
5109 Change in Winbindd Behavior
5110 ===========================
5112 All usernames returned by winbindd are now converted to lower
5113 case for better consistency. This means any winbind installation
5114 relying on the winbind username will need to rename existing
5115 directories and/or files based on the username (%u and %U) to lower
5116 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
5117 include mail spool files, home directories, valid user lines in
5121 ======================
5122 Change in Username Map
5123 ======================
5125 Previous Samba releases would only support reading the fully qualified
5126 username (e.g. DOMAIN\user) from the username map when performing a
5127 Kerberos login from a client. However, when looking up a map
5128 entry for a user authenticated by NTLM[SSP], only the login name would be
5129 used for matches. This resulted in inconsistent behavior sometimes
5130 even on the same server.
5132 Samba 3.0.8 obeys the following rules when applying the username
5135 * When performing local authentication, the username map is
5136 applied to the login name before attempting to authenticate
5138 * When relying upon a external domain controller for validating
5139 authentication requests, smbd will apply the username map
5140 to the fully qualified username (i.e. DOMAIN\user) only
5141 after the user has been successfully authenticated.
5144 ######################################################################
5153 Parameter Name Action
5154 -------------- ------
5155 force printername New
5156 sendfile disabled by default
5162 o Jeremy Allison <jra@samba.org>
5163 * Ensure extended security bit is on only if we negotiated
5165 * Simplify statcache to use an in-memory tdb.
5166 * If you're selecting a hash algorithm for tdb, you need
5167 to do it at open time.
5168 * Removed old dir caching code - not being used now we
5169 have the statcache anyway.
5170 * Simplify the mangle hash code to use an in-memory tdb.
5171 * Merge iconv changes from Samba 4 branch.
5172 * Fix parsing of names ending in dot and a few other error
5174 * BUG 1667: Smbpasswd file could be left locked on some
5176 * Fixes for smbclient tar functionality.
5177 * BUG 1743: Fix logic bug the deferred open code.
5178 * Don't try to set security descriptors on shares where
5179 this has been turned off.
5180 * Return correct error codes on old SEARCH call.
5181 * Ensure we set errno = E2BIG when we overflow in the
5182 fast-path character conversion code.
5183 * Fix the roundup problem (returning 1mb roundup) for
5184 non-Windows clients.
5185 * Added 'stat' command to smbclient to exercise the
5186 UNIX_FILE_BASIC info level.
5187 * Fix bug where we could incorrectly set sparse attribute.
5188 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
5189 (reported by Taj Khattra <taj.khattra@gmail.com>).
5190 * Remove locked keys tdb code.
5191 * BUG 1886: Prevent delete on close being set for readonly files
5192 (and return the correct error code).
5193 * Ensure we pass most of the new lock tests except for the cancel
5194 lock which is yet to be added (merged from Samba 4 branch).
5195 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
5196 * BUG 1956: Ensure errno is saved and restored consistently on a
5198 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
5199 that all of the appropriate service principal names are set
5200 upon joining an AD domain.
5201 * Fix the correct use of resume name in the trans2 code.
5202 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
5203 correct salt used when generated the DES key after joining an
5205 * Enhanced krb5 detection routines in the autoconf scripts.
5208 o Andrew Bartlett <abartlet@samba.org>
5209 * Avoid changing the machine account password in the passdb
5210 backend, when it has 'already been changed'. This occurs
5211 in situations where the secure channel between the workstation
5212 and the DC breaks down, such as occurred in the MS04-11
5214 * Fix utility name in error message in ntlm_auth.
5215 * Fix NTLMv2 for use with pam_winbind.
5216 * Remove conversion to and from UTF8 on the winbind pipe.
5217 * Allow 'require_membership_of' and 'require-membership-of'.
5218 * Fix the error code for 'you didn't specify a domain' in
5220 * Use sys_getgroups() rather than scanning all groups
5221 when generating SAMR replies.
5224 o Igor Belyi <sambauser@katehok.ac93.org>
5225 * Ensure pdb user is deleted first before deleting UNIX
5226 user (LDAP backend needs this ordering).
5229 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
5230 * Fix core dump in 'net rpc vampire'.
5233 o Vince Brimhall <vbrimhall@novell.com>
5234 * Make ldapsam_compat robust against NULL attributes.
5237 o Gerald Carter <jerry@samba.org>
5238 * Don't limit the number of groups returned by winbindd_getgroups()
5240 * BUG 1519: Match Windows 2000 behavior when opening a
5241 printer using a servername in the form of an IP address or
5243 * BUG 1907: remove extra slashes from the printer name in
5244 getprinterdriverdir_1().
5245 * Fix standard_sub_snum() to use the current user's gid.
5246 * Fix background queue update bug (based on Volker's initial work
5248 * Add 'force printername' service parameter for people that want
5249 to enforce printername == sharename for spoolss printing.
5250 * Ensure consistent usage of the username map. Use the fully
5251 qualified DOMAIN\user format for 'security = domain|ads' and
5252 apply after authentication has succeeded.
5253 * Cosmetic fix for getent output -- lowercase the username only
5254 and not the complete domain\username string.
5255 * Packaging fixes for Solaris, Redhat, & Fedora.
5258 o Sean Chandler <sean.chandler@verizon.net>
5259 * Fix memlieak in cliconnect.c.
5262 o Darren Chew <darrenc@vicscouts.asn.au>
5263 * Solaris packaging fixes.
5266 o Nalin Dahyabhai <nalin@redhat.com>
5267 * SMB signing fix for 56-bit DES session keys.
5270 o Guenther Deschner <gd@samba.org>
5271 * add IA64 to the architecture table of printer-drivers.
5272 * Add file/share/printer migration functionality to
5274 * Show correct help for net groupmap commands.
5275 * Fix deadlock loop in winbind's required_membership_sid
5277 * Bring the same level of "required_membership"-functionality
5278 that ntlm_auth uses, to pam_winbindd as well.
5279 * Prevent "net lookup kdc" from seg-faulting when
5280 using our own implementation of krb5_lookup_kdc with
5282 * Adding getprinter level 7 to rpcclient.
5283 * Support migrating printers|shares|files from Server A
5284 to Server B while running the net-command on client C.
5285 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
5286 failure of this call non-critical (Thanks to Love @ Heimdal
5287 for the explanation and patch).
5288 * Fix typos in net's usage-output.
5289 * Fix the paranoia-check to ensure the ldap-attribute and the
5290 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
5292 * Fix several bugs in the _samr_query_useraliases() rpc reply.
5293 * Check correct string length when verifying password-policies
5294 and using extended characters (Thanks to Uwe Morgenroth from CC
5295 Compunet and Volker).
5296 * Make 'password history'-behavior in ldapsam more consistent.
5297 * Adding "Windows x64" as architecture string and driverdir "x64"
5298 for the 64bit AMD platform.
5299 * BUG 1343: Readd WKGUID-binding to match the correct default-
5300 locations of new User-, Group- and Machine-Accounts in Active
5301 Directory (this got lost during the last trunk-merge).
5302 * Fix printer-migration w.r.t. to new naming-convention for
5304 * Allow to migrate win2k3/xp-drivers as well.
5305 * Add client-side support of triggering ads printer publishing
5306 over msrpc setprinter calls inside the net-tool.
5307 * Add the idmap_rid module (written in conjunction with
5308 Sumit Bose <sbose@suse.de>).
5309 * BUG 1661: Fix build with recent heimdal releases.
5310 * Prevent idmap_rid from making unnecessary calls to domain
5311 controllers for trusted domains.
5314 o Arthur van Dongen <avdongen@xs4all.nl>
5315 * Fix typos in pam_winbind log messages and SuSE
5319 o Rob Foehl <rwf@loonybin.net>
5320 * Typo fixes for log messages in printer publishing code.
5321 * Fix memory leak in printer publishing code.
5322 * Ensure print_backend_init() only gets called once.
5323 * Have smbd check the published status of all printers
5325 * Cleanup up the XXX_a_printer() API for consistency.
5326 * Refactored the printer publishing code and include better
5330 o Steve French <sfrench@us.ibm.com>
5331 * Fix IP address override in mount.cifs mount helper and clean
5332 up warning messages from the sparse tool and expand syntax help.
5333 * Strip guest mount option off before sending to kernel mount
5334 routine to avoid logging spurious message.
5337 o Satoh Fumiyasu <fumiya@samba.gr.jp>
5338 * BUG 1732: Limit share names returned by RAP based on windows
5339 character width, not unix character width.
5340 * BUG 1498: Ensure that acl entries are stored in the correct
5344 o Brett Funderburg <brett@deepfile.com>
5345 * Pass create options parameter to nt_create_andx() function
5346 from the python bindings.
5347 * BUG 1864: Add sd->type field to security descriptor Python
5349 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
5350 when trying to return the security descriptor for a file.
5351 * BUG 1884: Fixes for the Python bindings to use the value
5352 of the desired_access filed passed into the lsa_open_policy()
5356 o Michael Gravey <michel.gravey@optogone.com>
5357 * BUG 1776: Fix warnings when building modules caused by
5358 certain versions of GNU ld not using the the default
5359 --allow-shlib-undefined flag.
5362 o Chris Hertel <crh@samba.org>
5363 * Fix logic bug in splay tree data structure when finding
5365 * Fix bug where an invalid MAC address would be printed by
5366 a node status lookup from nmblookup.
5369 o Uli Iske <iske@elkb.de>
5370 * Update the DNS/eDirectory LDAP schema file.
5373 o Björn Jacke <bjacke@sernet.de>
5374 * BUG 1766: Unify charset-handling in Content-Type:-headers to
5375 UTF-8. Reformat msgstr in msg-files to UTF-8.
5376 * Do not use display charset for swat output.
5377 * Convert the share names correctly from unix encoding to web
5378 encoding and vice versa.
5379 * Convert files from status page from unix charset to UTF-8.
5382 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
5383 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
5386 o Tom Lackemann <cessnatomny@yahoo.com>
5387 * BUG 1954: Fix memory leak in posix acl code.
5390 o Volker Lendecke <vl@samba.org>
5391 * Robustnss fix for winbindd when sending multiple requests
5392 at a high rate for a slow operation.
5393 * Solve the problem of user sids ending up with gid's
5395 * Use sys_fork instead of fork for the dual daemon so that
5396 we get the correct debug pid in the logfiles.
5397 * Based on patch from jmcd, implement special lists for the LDAP
5398 user attributes to delete.
5399 * Fix creation of aliases via usrmgr. Winbind was too strict
5400 checking the type of sids.
5401 * Lowercase all usernames returned by winbind.
5402 * BUG 1545, 1823: Only issue the ldap extended password change
5403 operation if the ldap server supports it. Also ignore object
5404 class violation errors from the extended operation.
5405 * Optimization for 'idmap backend = ldap': When asking sid2id
5406 for the wrong type, don't ask ldap when we have the opposite mapping
5408 * Fix ldapsam_compat homeDrive.
5409 * Add usersidlist and allowedusers subcommands to the net tool
5410 in order to support scanning a file server's share and list
5411 all users who have permission to connect there.
5412 * Allow for multiple DC's to be named as #1c names in lmhosts.
5413 * Memory leak fixes.
5414 * Fix checks for the local pid of an smbd process after
5418 o Herb Lewis <herb@samba.org>
5419 * Added tdbtool to be built by default.
5422 o Love <lha@stacken.kth.se>
5423 * BUG 1955: Inconsistent error return.
5426 o Sorin Manolache <sorinm@gmail.com>
5430 o Jim McDonough <jmcd@us.ibm.com>
5431 * Allow 'net ads lookup' to rely on command line arguments
5432 if contacting an ADS server fails; utilize cldap for lookups.
5433 * Fixup formatting errors in TDB_LOG calls; add printf attribute
5434 support to tdb log functions.
5437 o Bill McGonigle <bill+samba@bfccomputing.com>
5438 * BUG 1926: Type in debug message.
5442 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
5446 o Luke Mewburn <lukem@NetBSD.org>
5447 * BUG 1782: Prevent testparm from displaying parameter synonyms.
5450 o Stefan Metzmacher <metze@samba.org>
5451 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
5452 * Fix client quota support.
5453 * Fix opening of system quota file.
5456 o Lars Mueller <lmuelle@samba.org>
5457 * Small fixes for autogen.sh to deal with version detection
5458 of autoconf and autoheader; fixes for examples using
5459 libtool to adhere to stricter syntax of newer version.
5462 o Henrik Nordstrom <hno@squid-cache.org>
5463 * Allow winbindd to return the correct number of groups
5464 when the groups array must be enlarged.
5467 o Narayana Pattipati <narayana.pattipati@wipro.com>
5468 * Solaris autoconf detection fixes.
5471 o Tim Potter <tpot@samba.org>
5472 * BUG 1360: (correct fix) Use -Wl when passing flags to
5474 * HP-UX compile fixes (from JBravo on #samba-technical).
5475 * BUG 1731: More HP-UX compiles fixes.
5476 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
5477 spits the dummy otherwise.
5478 * Fix bug in Python printerdata wrapper.
5479 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
5480 <bugzilla-samba@thewrittenword.com>).
5481 * Fix parameter confusion in priming of name-to-sid cache
5482 (Found by Qiao Yang).
5483 * BUG 1888: Remove '..' from all pre-processor commands.
5484 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
5488 o Matt Selsky <selsky@columbia.edu>
5489 * BUG 350: use autoconf 2.57 feature for checking header file
5490 preprocessing (fixes configure warnings on Solaris).
5493 o Richard Renard <rrenard@idealx.com>
5494 * Fix usermgr.exe and trust relationships.
5497 o Paul Szabo <psz@maths.usyd.edu.au>
5498 * Fix to make find_workgroup use the same
5499 truncation as create_workgroup.
5502 o Richard Sharpe <rsharpe@samba.org>
5503 * Ensure cli_write() can support writes >= 65536 bytes.
5506 o Simo Sorce <idra@samba.org>
5507 * Added check password script code in examples/auth/crackcheck/
5508 * Fix memory corruption bug caused in freeing static memory.
5511 o Andrew Tridgell <tridge@samba.org>
5512 * Remove lp_use_mmap() from map_file() since the latter
5513 is for read only and does not require coherence.
5514 * Ensure that the uuid pack/unpack routines do not go past
5515 the end of the structure.
5516 * Converted Samba 3 tree to use the new utf-16 aware iconv
5518 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
5519 * Ensure configure only uses '=' instead of the bashism '=='.
5520 * Reduces the number of tdb locking calls made on file IO.
5523 o Jelmer Vernooij <jelmer@samba.org>
5524 * Convert internal data to UTF-8 before calling libxml2.
5525 * Complain if 'password chat' doesn't contain the %u variable
5526 (based on a patch by Ronan Waide).
5530 * BUG 1541: Fix recursive ls in smbclient.
5533 o Igor Zhbanov <bsg@uniyar.ac.ru>
5534 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
5537 --------------------------------------------------
5539 =============================
5540 Release Notes for Samba 3.0.7
5542 =============================
5544 Common bugs fixed in 3.0.7 include:
5546 o Fixes for two Denial of Service vulnerabilities
5547 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
5548 o Winbind failure to return user entries under certain
5550 o Syntax errors in the OpenLDAP schema file (samba.schema).
5551 o Printing errors caused by not setting default values
5552 for the various printing commands.
5561 Parameter Name Action
5562 -------------- ------
5563 winbind enable local accounts disabled by default
5568 o Jeremy Allison <jra@samba.org>
5569 * Fix parsing of names ending in dot and a few other error
5571 * BUG 1674: Move the symlinks checks into reduce_name().
5572 * Fix memleak when checking the valid names smb.conf option.
5573 * Fix memleak on error return path in the file open code.
5574 * More paranoia checks in the hash2 mangling code.
5575 * Fix syntax error in configure.in.
5576 * Match Win2k3's behavior for pathname parsing error returns.
5577 * Make nmbd more robust against bad netbios packets
5579 * Add more checks for invalid ASN.1 packets for SPNEGO packets
5583 o Andrew Bartlett <abartlet@samba.org>
5584 * Janitor work in loadparm.c -- remove unused parameters.
5587 o Gerald Carter <jerry@samba.org>
5588 * BUG 1464: Ensure that printing commands are initialized even
5589 if the 'printing' parameter is not explicitly set.
5590 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
5591 Adharsh Praveen <rprav@india.hp.com>)
5592 * Work around parsing error in the print change notify code.
5593 * remove duplicate declaration of getprintprocdir from
5595 * Only use sAMAccountName and not userPrincipalName when looking
5596 up a username in AD since the breaks winbindd (lookup_name()
5597 only works with the sAMAccountName).
5598 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
5599 filling in the username in the user_info3.
5600 * Fix logic bug in the check for creating a user's home directory
5601 in register_vuid(); caused home directory to be mismatched to
5602 the first share in smb.conf under certain conditions.
5603 * BUG 1656: rename auto.a to auto.smb.
5604 * Ensure that we assign our pid to print jobs (and not our
5605 parent's pid); ensures that spooling jobs from dead smbds
5606 are removed from the tdb.
5607 * Disable 'winbind enable local accounts' by default.
5608 * Adding some initial checks for DragonFly (same as
5612 o Guenther Deschner <gd@samba.org>
5613 * Use SMB_ASSERT() to track down NULL printer names in
5615 * Revert fix for BUG 1474 to avoid unnecessary packaging
5619 o Olaf Flebbe <o.flebbe@science-computing.de>.
5620 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
5622 * BUG 1626: More compile fixes.
5625 o Rob Foehl <rwf@loonybin.net>
5626 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
5627 by attempts to sanitize the defined attributes.
5630 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5631 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
5634 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
5635 * BUG 1657: Remove used initialized variable,
5636 * BUG 1658: Add a little bit of const.
5639 o Volker Lendecke <vl@samba.org>
5640 * If there's garbage in the pidfile, we should not panic
5641 but assume that no one else is around. We can't find the
5645 o Jim McDonough <jmcd@us.ibm.com>
5646 * Fixup format string in the tdb error messages.
5649 o Jonas Olsson <lexicon@lysator.liu.se>
5650 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
5651 reporting the list in usrmgr.exe.
5654 o Tim Potter <tpot@samba.org>
5655 * Fix out-of-tree builds (problem with the script to generate
5656 the svn version number).
5657 * BUG 1360: Need to use -Wl when passing flags to the linker.
5658 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
5659 doesn't have one of its own.
5661 o Simo Sorce <idra@samba.org>
5662 * Fixup compile issues on AIX caused by broken strlen() and
5664 * Update debian packaging files.
5667 o Dimitri van der Spek <dwspek@aboveit.nl>
5668 * Use the correct counter when copying group rids from the
5669 user_info3 struct in pam_winbind.
5672 o Qiao Yang <qyang@stbernard.com>
5673 * BUG 1622: Only cache the user
5676 --------------------------------------------------
5678 =============================
5679 Release Notes for Samba 3.0.6
5681 =============================
5683 Common bugs fixed in 3.0.6 include:
5685 o Schannel failure in winbindd.
5686 o Numerous memory leaks.
5687 o Incompatibilities between the 'write list' and 'force user'
5689 o Premature optimization of the open_directory() internal
5690 function that broke tools such as the ArcServe backup
5691 agent, Macromedia HomeSite, and Robocopy.
5692 o Corrupt workgroup names in nmbd's browse.dat.
5693 o Sharing violation errors commonly seen when opening
5694 when serving Microsoft Office documents from a Samba
5696 o Browsing problems caused by an apostrophe (') in the
5697 computer's description field.
5698 o Problems creating special file types from UNIX CIFS
5699 clients and enabling 'unix extensions'.
5700 o Fix stalls in smbd caused by inaccessible LDAP servers.
5701 o Remove various memory leaks.
5702 o Fix issues in the password lockout feature.
5704 New features introduced in this release include:
5706 O Support symlinks created by CIFS clients which
5707 can be followed on the server.
5708 o Using a cups server other than localhost.
5709 o Maintaining the service principal entry in the system
5710 keytab for integration with other kerberized services.
5711 Please refer to the 'use Kerberos keytab' entry in
5712 smb.conf(5). When using the heimdal Kerberos libraries,
5713 you must also specify the following in /etc/krb5.conf:
5715 default_keytab_name = FILE:/etc/krb5.keytab
5716 o Support for maintaining individual printer names
5717 stored separately from the printer's sharename.
5718 o Support for maintaining user password history.
5719 o Support for honoring the logon times for user in a
5723 ============================================
5724 unix extensions = yes (default) and symlinks
5725 ============================================
5727 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
5728 clients supporting the UNIX extensions to the CIFS protocol
5729 can create symlinks to absolute paths which will be **followed**
5730 by the server. This functionality has been requested in order
5731 to correctly support certain applications when the user's home
5732 directory is mounted using some type of CIFS client (e.g. the
5733 cifsvfs in the Linux 2.6 kernel).
5735 If this behavior is not acceptable for your production environment
5736 you can set 'wide links = no' in the specific share declaration in
5737 the server's smb.conf. Be aware that disabling wide link support
5738 out of a share in Samba may impact the server's performance due
5739 to the fact that smbd will now have to check each path additional
5740 times before traversing it.
5743 ========================
5744 Password History Support
5745 ========================
5747 The new password history feature allows smbd to check the new
5748 password in password change requests against a list of the user's
5749 previous passwords. The number of previous passwords to save can
5750 be set using pdbedit (4 in this example):
5752 root# pdbedit -P "password history" -C 4
5754 When using the ldapsam passdb backend, it is vital to secure the
5755 following attributes from access by non-administrative users:
5759 * sambaPasswordHistory
5761 You should refer to your directory server's documentation on how
5762 to implement this restriction.
5771 Parameter Name Action
5772 -------------- ------
5774 defer sharing violations New
5775 force unknown acl user New
5777 printcap cache time New
5778 use Kerberos keytab New
5782 o Jeremy Allison <jra@samba.org>
5783 * Correct path parsing bug that broke DeletePrinterDriverEx().
5784 * Fix bugs in check_path_syntax() caught by asserts.
5785 * Internal change - rearrange internal global case setting
5786 variables to a per connection basis.
5787 * BUG 1345: Fix premature optimization in unix_convert().
5788 * Allow clients to truncate a locked file.
5789 * BUG 1319: Always check to see if a user as write access
5790 to a share, even when 'force user' is set.
5791 * Fix specific case of open that doesn't cause oplock break,
5792 or share mode check.
5793 * Correct sid type is WKN_GROUP, not alias. Added some
5794 more known types (inspired by patch from Jianliang Lu).
5795 * Allow creation of absolute symlink paths via CIFS clients.
5796 * Fix charset bug in when invoking send_mailslot().
5797 * When using widelinks = no, use realpath to canonicalize
5798 the connection path on connection create for the user.
5799 * Enhance stat open code.
5800 * Fix unix extensions mknod code path.
5801 * Allow unix domain socket creation via unix extensions.
5802 * Auto disable the 'store dos attribute' parameter if the
5803 underlying filesystem doesn't support EAs.
5804 * Implement deferred open code to fix a bug with Excel files
5806 * BUG 1427: Catch bad path errors at the right point. Ensure
5807 all our pathname parsing is consistent.
5808 * Fix SMB signing error introduced by the new deferred open
5810 * Change default setting for case sensitivity to "auto". (see
5811 commit message -- r1154 -- for details).
5812 * Add new remote client arch -- CIFSFS.
5813 * Allow smbd to maintain the service principal entry in the
5814 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
5815 Guenther Deschner, et. al.).
5816 * Fix longstanding memleak bug with logfile name.
5817 * Fix incorrect type in printer publishing (struct uuid,
5819 * Heimdal compile fixes after introduction of the new ketyab
5821 * Ensure we check attributes correctly on rename request.
5822 * Ensure we defer a sharing violation on rename correctly.
5823 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
5825 * Fix bogus error message when using "mangling method = hash"
5827 * Turn on sendfile by default for non-Win9x clients.
5828 * Handle non-io opens that cause oplock breaks correctly.
5829 * Ensure ldap replication sleep time is not more than 5 seconds.
5830 * Add support for storing a user's password history.
5831 LDAP portion of the code was based on a patch from
5832 Jianliang Lu <j.lu@tiesse.com>.
5833 * Correct memory leaks found in the password change code.
5834 * Fix support for the mknod command with the Linux CIFS client.
5835 * Remove support for passing the new password to smbpasswd
5836 on the command line without using the -s option.
5837 * Ensure home directory service number is correctly reused
5838 (inspired by patches from Michael Collin Nielsen
5839 <michael@hum.aau.dk>).
5840 * Fix to stop printing accounts from resetting the bas
5841 password and account lockout flags.
5842 * If a account was locked out by an admin (and has a bad
5843 password count of zero) leave it locked out until an admin
5844 unlocks it (but log a message).
5845 * Ensure we return the same ACL revision on the wire that
5847 * BUG 1578: Hardcode replacement for invalid characters as '_'
5848 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5849 * Fix hashed password history for LDAP backends.
5850 * Enforce logon hours restrictions if confiogured (based on code
5851 from Richard Renard <rrenard@idealx.com>).
5852 * BUG 1606: Force smbd to disable sendfile with DOS clients
5853 and ensure that the chained header is filled in for ...&X
5855 * BUG 1602: Fix access to shares when all symlink support
5860 o Tom Alsberg <alsbergt@cs.huji.ac.il>
5861 * Allow pdbedit to export a single user from a passdb backend.
5864 o Andrew Bartlett <abartlet@samba.org>
5865 * Fix parsing bug in GetDomPwInfo().
5866 * Fix segfault in 'ntlm_auth --diagnostics'.
5867 * Re-enable code to allow sid_to_gid() to perform a group
5868 mapping lookup before checking with winbindd.
5869 * Fix memory leak in the trans2 signing code.
5870 * Allow more flexible GSS-SPENGO client and server operation
5872 * Improve smbd's internal random number generation.
5873 * Fix a few outstanding long password changes in smbd.
5874 * Fix LANMAN2 session setup code.
5877 o Eric Boehm <boehm@nortelnetworks.com>
5878 BUG 703: Final touches on netgroup case lookups.
5881 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
5882 * Ensure error status codes don't get overwritten in
5883 lsa_lookup_sids() server code.
5884 * Correct bug that caused smbd to overwrite certain error
5885 codes when returning up the call stack.
5886 * Ensure the correct sid type returned for builtin sids.
5889 o Gerald Carter <jerry@samba.org>
5890 * Fix a few bugs in the Fedora Packaging files.
5891 * Fix for setting the called name to by our IP if the
5892 called name was *SMBSERVER and *SMBSERV. Fixes issue
5893 with connecting to printers via \\ip.ad.dr.ess\printer
5895 * BUG 1315: fix for schannel client connections to servers
5896 when we haven't specifically negotiated AUTH_PIPE_SEAL.
5897 * Allow PrinterDriverData valuenames with embedded backslashes
5898 (Fixes bug with one of the Konica Fiery drivers).
5899 * Fixed string length miscalculation in netbios names that
5900 resulted in corrupt workgroup names in browse.dat.
5901 * When running smbd as a daemon, launch child smbd to update
5902 the lpq cache listing in the background.
5903 * Allow printers "Printers..." folder to be renamed to a string
5904 other than the share name.
5905 * Allow winbindd to use domain trust account passwords when
5906 running on a Samba DC to establish an schannel to remote
5908 * Fix bad merge and ensure that we always use tdb_open_log()
5909 instead of tdb_open_ex() (the former call enforce the 'use
5911 * BUG 1221: revert old change that used single and double
5912 quotes as delimeters in next_token(), and change
5913 print_parameter() to print out parm values surrounded by
5914 double quotes (instead of single quotes).
5915 * Prevent home directories added during the SMBsesssetup&X from
5916 being removed as unused services.
5917 * Invalidate the print object cache for open printer handles when
5918 smbd receives a message that an attribute on a given printer
5920 * Cause the configure script to exit if --enable-cups[=yes] is
5921 defined and the system does not have the cups devel files
5923 * BUG 1297: Prevent map_username() from being called twice
5925 * Ensure that we use the userPrincipalName AD attribute
5926 value for LDAP SASL binds.
5927 * Ensure we remove the tdb entry when deleting a job that
5929 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
5930 client sends a FindNextPrintChangeNotify() request without
5931 previously sending a FindFirstPrintChangeNotify(). Return
5932 the same error code as Windows 2000 SP4.
5933 * BUG 1516: Manually declare ldap_open_with_timeout() to
5934 workaround compiler errors on IRIX (or other systems without
5936 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
5938 * Corrected syntax error in the OID for sambaUnixIdPool,
5939 sambaSidEntry, & sambaIdmapEntry object classes.
5940 * Tighten the cache consistency with the ntprinters.tdb entry
5941 an the in memory cache associated with open printer handles.
5942 * Make sure that register_messages_flags() doesn't overwrite
5943 the originally registered flags.
5946 o Fabien Chevalier <fabien.chevalier@supelec.fr>
5947 * Debian BUG 252591: Ensure that the return value from the
5948 number of available interfaces is initialized in case no
5949 interfaces are actually available.
5952 o Guenther Deschner <gd@sernet.de>
5953 * Implement 'rpcclient setprintername'.
5954 * Add local groups to the user's NT_TOKEN since they are
5955 actually supported now.
5956 * Heimdal compile fixes after introduction of the new keytab
5958 * Correctly honor the info level parameter in 'rpcclient
5960 * Reintroduce 'force unknown acl user' parameter. When getting a
5961 security descriptor for a file, if the owner sid is not known,
5962 the owner uid is set to the current uid. Same for group sid.
5963 * Ensure that REG_SZ values in the SetPrinterData actually
5964 get written in UNICODE strings rather than ASCII.
5965 * Ensure that the last Kerberos error return is not invalid.
5966 * Display share ACL entries from rpcclient.
5967 * Correct infinite loop in pam_winbind's verification of
5968 group membership in the 'other sids' field in the user_info3
5972 o Fabian Franz <FabianFranz@gmx.de>
5973 * Support specifying a port in the device URL passed to smbspool.
5976 o Steve French <sfrench@us.ibm.com>
5977 * Handle -S and user mount parms in mount.cifs.
5978 * Fix user unmount of shares mount with suid mount.cifs.
5979 * prevent infinite recusion in reopen_logs() when expanding
5980 the smb.conf variable %I.
5983 o Bjoern Jacke <bj@sernet.de>
5984 * Install libsmbclient into $(LIBDIR), not into hard coded
5985 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
5986 and an explicit configure --libdir setting.
5989 o <kawasa_r@itg.hitachi.co.jp>
5990 * Correct more memory leaks and initialization bugs.
5991 * Fix bug that prevented core dumps from being generated
5993 * Connect to the winbind pipe in non-blocking mode to
5994 prevent processes from hanging.
5995 * Memory leak fixes.
5998 o Stephan Kulow <coolo@suse.de>
5999 * Fix crash bug in libsmbclient.
6002 o Volker Lendecke <vl@samba.org>
6003 * Added vfs_full_audit module.
6004 * Add vfs_afsacl.c which can display & set AFS acls via
6005 the NT security editor.
6006 * Fix crash bug caused by trying to Base64 encode a NULL string.
6007 * Fix DOS error code bug in reply_chkpath().
6008 * Correct misunderstanding of the max_size field in
6009 cli_samr_enum_als_groups; it is more like an account_control
6010 field with individual bits what to retrieve.
6011 * Implement 'net rpc group rename' -- rename domain groups.
6012 * Implement the 'cups server' option. This makes it possible
6013 to have virtual smbd's connect to different cups daemons.
6014 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
6015 * Fix sid_to_gid() calls in winbindd to prevent loops.
6016 * Ensure that local_sid_to_gid() sets the type of the group on
6018 * Make sure that the clients are given back the IP address to
6019 which they connected in the case of a multi-homed host. Only
6020 affects strings the spoolss printing replies.
6021 * Fix the bad password lockout. This has not worked as pdb_ldap.c
6022 did not ask for the modifyTimestamp attribute, so it could
6023 not find it. Try not to regress by not putting that attrib
6024 in the main list but append it manually for the relevant searches.
6025 * Fix two memleaks in login_cache.c.
6026 * fixes memory bloat when unmarshalling strings.
6027 * Fix compile errors using gcc 3.2 on SuSE 8.2.
6028 * Fix the build for systems without Kerberos headers.
6029 * Allow winbindd to handle authentication requests only when
6030 started without either an 'idmap uid' or 'idmap gid' range.
6031 * Fix the build for systems without ldap headers.
6032 * Fix interaction between share security descriptor and the
6033 'read only' smb.conf option.
6034 * Fix bug that caused _samr_lookupsids() with more than 32 (
6035 MAX_REF_DOMAINS) SIDs to fail.
6036 * Allow the 'idmap backend' parameter to accept a list of
6037 LDAP servers for failover purposes.
6038 * Revert code in smbd to remove a tdb when it has become
6040 * Add paranoid checks when mapping SIDs to a uid/gid to
6041 ensure that the type is correct.
6042 * Initial work on getting client support for sending mailslot
6044 * Add 'ldap timeout' parameter.
6045 * Dont always uppercase 'afs username map'.
6046 * Expand aliases for getusersids as well.
6047 * Improved NT->AFS ACL mapping VFS module.
6050 o Herb Lewis <herb@samba.org>
6051 * Add the acls debug class.
6052 * Fix logic bug in netbios name truncate routine.
6053 * Fix smbd crash caused by smbtorture IOCTL test.
6054 * Fix errno tromping before calling iconv to reset the
6056 * need to leave empty dacl so we can remove last ACE.
6059 o Jianliang Lu <Jianliang.Lu@getronics.com>
6060 * Fix to stop smbd hanging on missing group member in
6062 * Make sure Samba returns the correct group types.
6063 * Reset the bad password count password counts upon a successful login.
6066 o Jason Mader <jason@ncac.gwu.edu>
6067 * BUG 1385: Don't use non-consts in a structure initialization.
6070 o Jim McDonough <jmcd@us.ibm.com>
6071 * BUG 1279: SMBjobid fix for Samba print servers running on
6072 Big-Endian platforms.
6075 o Joe Meadows <jameadows@webopolis.com>
6076 * Add optional timeout parameter to ldap open calls.
6077 * Allow get_dc_list() to check the negative cache.
6080 o Stefan Metzmacher <metze@samba.org>
6081 * fix a configure logic bug for linux/XFS quotas when
6082 using --with-sys-quotas.
6083 * Use quota debug class in quota code.
6084 * print out the SVN revision by configure,
6087 o Buchan Milne <bgmilne@mandrake.org>
6088 * Mandrake packaging fixes.
6091 o Lars Mueller <lmuelle@samba.org>
6092 * BUG 1279: Added 'printcap cache time' parameter.
6093 * Fix afs related build issues on SuSE.
6094 * Fix compiler warnings in the Kerberos client code.
6097 o James Peach <jpeach@sgi.com>
6098 * More iconv detection fixes for IRIX.
6099 * Compile fixed for systems that do not have C99/UNIX98 compliant
6100 vsnprintf by default.
6101 * Prevent smbd from attempting to use sendfile at all if it is
6102 not supported by the server's OS.
6103 * Allow SWAT to search for index.html when serving html files
6108 * Implement NFS quota support on FreeBSD.
6111 o Tim Potter <tpot@samba.org>
6112 * BUG 1360: Use -Bsymbolic when creating shared libraries to
6113 avoid conflicts with identical symbols in the global namespace
6114 when loading libnss_wins.so.
6117 o Richard Renard <rrenard@idealx.com>
6118 * Save the current password as it is being changed into the
6119 password history list.
6122 o Richard Sharpe <rsharpe@samba.org>
6123 * Fix error return codes on some lock messages.
6124 * BUG 1178: Make the libsmbclient routines callable
6126 * BUG 1333: Make sure we return an error code when
6128 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
6129 share mode locking requests fail.
6132 o Simo Sorce <idra@samba.org>
6133 * Update Debian stable & unstable packaging.
6134 * Tidy up parametric options in testparm output.
6137 o Richard Sharpe <rsharpe@samba.org>
6138 * Add sigchild handling to winbindd to restart the child
6139 daemon if necessary.
6142 o Tom Shaw <tomisfaraway@gmail.com>
6143 * Use winbindd_fill_pwent() consistently.
6146 o Nick Thompson <nickthompson@agere.com>
6147 * Protect smbd against broken filesystems which return zero
6151 o Andrew Tridgell <tridge@samba.org>
6152 * Fixed bug in handling of timeout in socket connections.
6155 o Nick Wellnhofer <wellnhofer@aevum.de>
6156 * Prevent lp_interfaces() list from being corrupted. Fixes
6157 bug where nmbd would lose the list of network interfaces
6158 on the system and consequently shutdown.
6161 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
6162 * Fix ntlm_auth memory leaks.
6165 o Jelmer Vernooij <jelmer@samba.org>
6166 * Additional NT status to unix error mappings.
6167 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
6168 get duplicate symbol errors.
6169 * Return an error when the last command read from stdin
6171 * Prepare for better error checking in tar.
6172 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
6175 --------------------------------------------------
6177 =============================
6178 Release Notes for Samba 3.0.5
6180 =============================
6182 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
6183 the exception of correcting the two security issues outlined
6186 ######################## SECURITY RELEASE ########################
6188 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
6189 CVE ID: CAN-2004-0600, CAN-2004-0686
6190 (http://cve.mitre.org/)
6193 This is the latest stable release of Samba. This is the version
6194 that production Samba servers should be running for all current
6197 It has been confirmed that versions of Samba 3 prior to v3.0.4
6198 are vulnerable to two potential buffer overruns. The individual
6199 details are given below.
6205 Affected Versions: Samba 3.0.2 and later
6207 The internal routine used by the Samba Web Administration
6208 Tool (SWAT v3.0.2 and later) to decode the base64 data
6209 during HTTP basic authentication is subject to a buffer
6210 overrun caused by an invalid base64 character. It is
6211 recommended that all Samba v3.0.2 or later installations
6212 running SWAT either (a) upgrade to v3.0.5, or (b) disable
6213 the swat administration service as a temporary workaround.
6215 This same code is used internally to decode the
6216 sambaMungedDial attribute value when using the ldapsam
6217 passdb backend. While we do not believe that the base64
6218 decoding routines used by the ldapsam passdb backend can
6219 be exploited, sites using an LDAP directory service with
6220 Samba are strongly encouraged to verify that the DIT only
6221 allows write access to sambaSamAccount attributes by a
6222 sufficiently authorized user.
6224 The Samba Team would like to heartily thank Evgeny Demidov
6225 for analyzing and reporting this bug.
6231 Affected Versions: Samba 3.0.0 and later
6233 A buffer overrun has been located in the code used to support
6234 the 'mangling method = hash' smb.conf option. Please be aware
6235 that the default setting for this parameter is 'mangling method
6236 = hash2' and therefore not vulnerable.
6238 Affected Samba 3 installations can avoid this possible security
6239 bug by using the default hash2 mangling method. Server
6240 installations requiring the hash mangling method are encouraged
6241 to upgrade to Samba 3.0.5.
6244 ##################################################################
6246 --------------------------------------------------
6248 =============================
6249 Release Notes for Samba 3.0.4
6251 =============================
6253 Common bugs fixed in Samba 3.0.4 include:
6255 o Password changing after applying the patch described in
6256 the Microsoft KB828741 article to Windows clients.
6258 o Managing print jobs via Windows on Big-Endian servers.
6259 o Several memory leaks in winbindd and smbd.
6260 o Compile issues on AIX and *BSD.
6263 --------------------
6268 o Jeremy Allison <jra@samba.org>
6269 * Fix path processing for DeletePrinterDriverEx().
6270 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
6274 o Andrew Bartlett <abartlet@samba.org>
6275 * Fix alignment bug in GetDomPwInfo().
6278 o Alexander Bokovoy <ab@samba.org>
6279 * Fix utime[s]() issues in smbwrapper on systems
6280 that can boot both the 2.4 and 2.6 Linux kernels.
6283 o Gerald Carter <jerry@samba.org>
6284 * Fedora packaging fixes.
6285 * BUG 1302: Fix seg fault by not trying to optimize a list of
6286 invalid gids using the wrong array size.
6287 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
6288 seen when 'security = share'.
6289 * Fix problems when using IBM's compiler on AIX.
6290 * Link Developer's Guide, Example Guide, and multi-page HOWTO
6291 into SWAT's welcome page.
6292 * BUG 1293: fix double free in printer publishing code.
6295 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
6296 * Fix for handling timeouts in socket connections.
6299 o Michel Gravey <michel.gravey@optogone.com>
6300 * BUG 483: patch from to fix password hash creation in SWAT.
6303 o Volker Lendecke <vl@samba.org>
6304 * Close the open NT pipes before the tdis.
6305 * Fix AFS related build issues.
6306 * Handle error conditions when base64 encoding a blob of 0 bytes.
6309 o Herb Lewis <herb@samba.org>
6310 * Added 'acls' debug class.
6312 o kawasa_r@itg.hitachi.co.jp
6313 * Multiple variable initialization and memory leak fixes.
6316 o Stephan Kulow <coolo@suse.de>
6317 * Fix string length bug in libsmbclient that caused KDE's
6319 * BUG 429: More libsmbclient fixes.
6322 o Jim McDonough <jmcd@us.ibm.com>
6323 * BUG 1007, 1279: Store the print job using a little-endian key.
6327 o Compile fix for OpenBSD (ENOTSUP not supported).
6330 o Stefan Metzmacher <metze@samba.org>
6331 * Correct bug in disks quota views from explorer.
6334 o Tim Potter <tpot@samba.org>
6335 BUG 1305: Correct debug output.
6338 o Richard Sharpe <rsharpe@samba.org>
6339 * Fix incorrect error code mapping.
6342 o Jelmer Vernooij <jelmer@samba.org>
6343 * Add additional NT_STATUS errorm mappings.
6346 --------------------------------------------------
6348 =============================
6349 Release Notes for Samba 3.0.3
6351 =============================
6354 Common bugs fixed in Samba 3.0.3 include:
6356 o Crash bugs and change notify issues in Samba's printing code.
6357 o Honoring secondary group membership on domain member servers.
6358 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
6359 o Substitution errors for %[UuGg] in smb.conf.
6360 o winbindd crashes when using ADS security mode.
6361 o SMB signing errors.
6362 o Delays in winbindd startup caused by unnecessary
6363 connections to trusted domain controllers.
6364 o Various small memory leaks.
6365 o Winbindd failing due to expired Kerberos tickets.
6367 New features introduced in Samba 3.0.3 include:
6369 o Improved support for i18n character sets.
6370 o Support for account lockout policy based on
6371 bad password attempts.
6372 o Improved support for long password changes (>14
6373 characters) and strong password enforcement.
6374 o Support for Windows aliases (i.e. nested groups).
6375 o Experimental support for storing DOS attribute on files
6376 and folders in Extended Attributes.
6377 o Support for local nested groups via winbindd.
6378 o Specifying options to be passed directly to the CUPS libraries.
6380 Please be aware that the Samba source code repository was
6381 migrated from CVS to Subversion on April 4, 2004. Details on
6382 accessing the Samba source tree via anonymous svn can be found
6383 at http://svn.samba.org/samba/subversion.html.
6386 Changes since 3.0.2a
6387 --------------------
6391 Parameter Name Action
6392 -------------- ------
6395 only user Deprecated
6396 store dos attributes New
6398 winbind nested groups New
6404 o Jeremy Allison <jra@samba.org>
6405 * Ensure that Kerberos mutex is always properly unlocked.
6406 * Removed Heimdal "in-memory keytab" support.
6407 * Fixup the 'multiple-vuids' bugs in our server code.
6408 * Correct return code from lsa_lookup_sids() on unmapped
6409 sids (based on work by vl@samba.org).
6410 * Fix the "too many fcntl locks" scalability problem
6412 * Fixup correct (as per W2K3) returns for lookupsids
6413 as well as lookupnames.
6414 * Fixups for delete-on-close semantics as per Win2k3 behavior.
6415 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
6416 * Fix "unable to initialize" bug when smbd hasn't been run with
6417 new system and a user is being added via pdbedit/smbpasswd.
6418 * Added NTrename SMB (0xA5).
6419 * Fixup correct timeout values for blocking lock timeouts.
6420 * Fix various bugs reported by 'gentest'.
6421 * More locking fixes in the case where we own the lock.
6422 * Fix up regression in IS_NAME_VALID and renames.
6423 * Don't set allocation size on directories.
6424 * Return correct error code on fail if file exists and target
6426 * Added client "hardlink" comment to test doing NT rename with
6427 hard links. Added hardlink_internals() code - UNIX extensions
6428 now use this as well.
6429 * Use a common function to parse all pathnames from the wire for
6430 much closer emulation of Win2k3 error return codes.
6431 * Implement check_path_syntax() and rewrite string sub
6432 functions for better multibyte support.
6433 * Ensure msdfs referrals are multibyte safe.
6434 * Allow msdfs symlink syntax to be more forgiving.
6435 eg. sym_link -> msdfs://server/share/path/in/share
6436 or sym_link -> msdfs:\\server\share\path\in\share.
6437 * Cleanup multibyte netbios name support in nmbd ( based on patch
6438 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
6439 * Fix check_path_syntax() for multibyte encodings which have
6440 no '\' as second byte (based on work by ab@samba.org.
6441 * Fix the "dfs self-referrals as anonymous user" problem
6442 (based on patch from vl@samba.org).
6443 * BUG 1064: Ensure truncate attribute checking is done correctly
6444 on "hidden" dot files.
6445 * Fix bug in anonymous dfs self-referrals again.
6446 * Fix get/set of EA's in client library
6447 * Added support for OS/2 EA's in smbd server.
6448 * Added 'ea support' parameter to smb.conf.
6449 * Added 'store dos attributes' parameter to smb.conf.
6450 * Fix wildcard identical rename.
6451 * Fix reply_ctemp - make compatible with w2k3.
6452 * Fix wildcard unlink.
6453 * Fix wildcard src with wildcard dest renames.
6454 * BUG 1139: Fix based on suggestion by jdev@panix.com.
6455 swap lookups for user and group - group will do an
6456 algorithmic lookup if it fails, user won't.
6457 * Make EA's lookups case independent.
6458 * Fix SETPATHINFO in 'unix extensions' support.
6459 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
6460 the UNIX info levels, and the short case preserve names.
6463 o Timur Bakeyev <timur@com.bat.ru>
6464 * BUG 1144: only set --with-fhs when the argument is 'yes'
6465 * BUG 1152: Allow python modules to build despite libraries added
6466 to LDFLAGS instead of LDPATH.
6467 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
6470 o Craig Barratt <cbarratt@users.sourceforge.net>
6471 * BUG 389: Allow multiple exclude arguments with smbclient
6472 tar -Xr options (better support for Amanda backup client).
6475 o Andrew Bartlett <abartlet@samba.org>
6476 * Include support for linking with cracklib for enforcing strong
6478 * Add support for >14 character password changes from Windows
6480 * Add 'admin set password' capability to 'net rpc'.
6481 * Allow 'net rpc samdump' to work with any joined domain
6482 regardless of smb.conf settings.
6483 * Use an allocated buffer for count_chars.
6484 * Add sanity checks for changes in the domain SID in an
6486 * Implement python unit tests for Samba's multibyte string
6488 * Remove 'unicode' smb.conf option.
6489 * BUG 1138: Fix support for 'optional' SMB signing and other
6491 * BUG 169: Fix NTLMv2-only behavior.
6492 * Ensure 'net' honors the 'netbios name' in the smb.conf by
6494 * Support SMB signing on connections using only the LANMAN
6495 password and generate the correct the 'session key' for these
6497 * Implement --required-membership-of=, an ntlm_auth option
6498 that restricts all authentication to members of this particular
6500 * Improve our fall back code for password changes.
6501 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
6502 after the server had said something (such as an error).
6503 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
6506 o Alexander Bokovoy <ab@samba.org>
6507 * Fix incorrect size calculation of the directory name
6509 * Fix problems with very long filenames in both smbd and smbclient
6510 caused by truncating paths during character conversions.
6511 * Fix smbfs problem with Tree Disconnect issued before smbfs
6515 o Gerald Carter <jerry@samba.org>
6516 * BUG 850: Fix 'make installmodules' bug on True64.
6517 * BUG 66: mark 'only user' deprecated.
6518 * Remove corrupt tdb and shutdown (only for printing tdbs,
6519 connections, sessionid & locking).
6520 * decrement smbd counter in connections.tdb in smb_panic().
6521 * RedHat specfile updates.
6522 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
6523 * BUG 1147; bad pointer case in get_stored_queue_info()
6525 * BUG 761: read the config file before initialized default
6526 values for printing options; don't default to bsd printing
6528 * Allow the 'printing' parameter to be set on a per share basis.
6529 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
6530 * BUG 848: don't create winbind local users/groups that already
6532 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
6534 * BUG 488: fix the 'show client in col 1' button and correctly
6535 enumerate active connections.
6536 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
6537 problem when storing the updating pid for the lpq cache.
6538 * BUG 1007 (partial): Fix print change notify bugs.
6539 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
6540 and winbind use default domain = yes. Also ensures that
6541 * BUG 1151: Ensure that winbindd users are passed through
6543 * Fix client rpc binds for ASU derived servers (pc netlink,
6545 * BUG 417, 1128: Ensure that the current_user_info is set
6546 consistently so that %[UuGg] is expanded correctly.
6547 * BUG 1195: Fix crash in winbindd when the ADS server is
6549 * BUG 1185: Set reconnect time to be the same as the
6550 'winbind cache time'.
6551 * Ensure that we return the sec_desc in smb_io_printer_info_2.
6552 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
6553 * BUG 1095: Honor the '-l' option in smbclient.
6554 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
6556 * Ensure server schannel uses the auth level requested by the
6558 * Removed --with-cracklib option due to potential crash issue.
6559 * Fix -lcrypto linking problem with wbinfo.
6560 * BUG 761: allow printing parameter to set defaults on a per
6562 * Add 'cups options' parameter to allow raw printing without
6563 changing /etc/cups/cupsd.conf.
6564 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
6566 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
6567 * BUG 1288: resolve any machine netbios name (0x00) and not just
6569 * BUG 1199: Fix potential symlink issue in
6570 examples/printing/smbprint.
6573 o Robert Dahlem <Robert.Dahlem@gmx.net>
6574 * BUG 1048: Don't return short names when when 'mangled names = no'
6577 o Guenther Deschner <gd@suse.com>
6578 * Remove hard coded attribute name in the ads ranged retrieval
6580 * Add --with-libdir and --with-mandir to autoconf script.
6583 o Bostjan Golob <golob@gimb.org>
6584 * BUG 1046: Fix getpwent_list() so that the username is not
6585 overwritten by other fields.
6588 o Landon Fuller <landonf@opendarwin.org>
6589 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
6590 to fix user/group enumeration on systems whose libc does not
6591 call setgrent() before trying to enumerate users (i.e.
6595 o Steve French <sfrench@us.ibm.com>
6596 * Update mount.cifs to version 1.1.
6597 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
6598 * Fixes to minor security bug in the mount helper.
6599 * Fix credential file mounting for cifs vfs.
6600 * Fix free of incremented pointer in cifsvfs mount helper.
6601 * Fix path canonicalization of the mount target path and help
6602 text display in the cifs mount helper.
6603 * Add missing guest mount option for mount.cifs.
6606 o SATOH Fumiyasu <fumiya@miraclelinux.com>
6607 * BUG 1055; formatting fixes for 'net share'.
6608 * BUG 692: correct truncation of share names and workgroup
6610 * BUG 1088: use strchr_m() for query_host (smbclient -L).
6611 * Patch from to internally count characters correctly.
6614 o Paul Green <paulg@samba.org>
6615 * Update VOS _POSIX_C_SOURCE macro to 200112L.
6616 * Fix bug in configure.ion by moving the first use of
6617 AC_CHECK_HEADERS so it is always executed.
6618 * Fix configure.in to only use $BLDSHARED to select whether to
6619 build static or shared libraries.
6622 o Pat Haywarrd <Pat.Hayward@propero.net>
6623 * Make the session_users list dynamic (max of 128K).
6626 o Cal Heldenbrand <calzplace@yahoo.com>
6627 * Fix for for 'pam_smbpass migrate' functionality.
6630 o Chris Hertel <crh@samba.org>
6631 * fix enumeration of shares 12 characters in length via
6635 o Ulrich Holeschak <ulrich@holeschak.de>
6636 * BUG 932: fix local password change using pam_smbpass
6639 o Krischan Jodies <kj@sernet.de>
6640 * Implement 'net rpc group delete'
6643 o John Klinger <john.klinger@lmco.com>
6644 * Return NSS_SUCCESS once the max number of gids possible
6645 has been found in initgroups() on Solaris.
6646 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
6649 o Volker Lendecke <vl@samba.org>
6650 * Fix success message for net groupmap modify.
6651 * Fix errors when enumerating members of groups in 'net rpc'.
6652 * Match Windows behavior in samr_lookup_names() by returning
6653 ALIAS(4) when you search in BUILTIN.
6654 * Fix server SAMR code to be able to set alias info for
6656 * Fix duplication of logic when creating groups via smbd.
6657 * Ensure that the HWM values are set correctly after running
6659 * Add 'net rpc group add'.
6660 * Implement 'net groupmap set' and 'net groupmap cleanup'.
6661 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
6662 * Fix wb_delgrpmem (wbinfo -o).
6663 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
6664 * Fix sambaUserWorkstations on a Samba DC.
6665 * Implement wbinfo -k: Have winbind generate an AFS token after
6666 authenticating the user.
6667 * Add expand_msdfs VFS module for providing referrals based on the
6668 the client's IP address.
6669 * Implement client side NETLOGON GetDCName function.
6670 * Fix caching of name->sid lookups.
6671 * Add support in winbindd for expanding nested local groups.
6672 * Fix memleak in winbindd.
6674 * Don't list domain groups from BUILTIN.
6675 * Fix memleak in policy handle utility functions.
6676 * Decrease winbindd startup time by only contacting trusted
6677 domains as necessary.
6678 * Allow winbindd to ask the DC for its domain for a trusted
6680 * Fix Netscape DS schema based on comments from
6681 <thomas.mueller@christ-wasser.de>.
6682 * Correct case where adding a domain user to a XP local group
6683 did a lsalookupname on the user without domain prefix, and
6685 * Fix segfault in winbindd caused by 'wbinfo -a'.
6688 o Herb Lewis <herb@samba.org>
6689 * Fix typo for tag in proto file.
6690 * Add missing #ifdef HAVE_BICONV stuff.
6691 * Truncate Samba's netbios name at the first '.' (not
6695 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
6696 * Bug fixes and enhancements to libsmbclient library.
6699 o Jianliang Lu <j.lu@tiesse.com>
6700 * Enforce the 'user must change password at next login' flag.
6701 * Decode meaning of 'fields present' flags (improves support
6704 * Don't force an upper case domain name in the ntlmssp code.
6707 o L. Lucius <ib@digicron.com>.
6711 o Jim McDonough <jmcd@us.ibm.com>
6712 * Add versioning support to tdbsam.
6713 * Update the IBM Directory Server schema with the OpenLDAP
6715 * Various decoding fixes to improve usrmgr.exe support.
6716 * Fix statfs redeclaration of statfs struct on ppc
6717 * Implement support for password lockout of Samba domain
6718 controllers and standalone servers.
6719 * Get MungedDial attribute actually working with full TS
6720 strings in it for pdb_ldap.
6721 * BUG 1208 (partial): Improvements for working with expired krb5
6722 tickets in winbindd.
6723 * Use timegm, or our already existing replacement instead of
6724 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
6725 * Remove modifyTimestamp from list of our attributes.
6726 * Fix lsalookupnames to check for domain users as well as local
6728 * Merge struct uuid replacement for GUID from trunk.
6729 * BUG 1208: Finish support for handling expired tickets in
6730 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
6733 o Stefan Metzmacher <metze@samba.org>
6734 * Implement new VERSION schema based on subversion revision
6736 * Add shadow_copy vfs module.
6737 * Fix segault in login_cache support.
6740 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
6741 o BUG 979 -- Fix quota display on AIX.
6744 o James Peach <jpeach@sgi.com>
6745 * Correct check for printf() format when using the SGI MIPSPro
6747 * BUG 1038: support backtrace for 'panic action' on IRIX.
6748 * BUG 768: Accept profileing arg to IRIX init script.
6749 * BUG 748: Relax arg parsing to sambalp script (IRIX).
6750 * BUG 758: Fix pdma build.
6751 * Search IRIX ABI paths for libiconv. Based on initial fix from
6755 o Kurt Pfeifle <kpfeifle@danka.de>
6756 * Add example shell script for migrating drivers and printers
6757 from a Windows print server to a Samba print server using
6758 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
6761 o Tim Potter <tpot@samba.org>
6762 * Fix logic bug in tdb non-blocking lock routines when
6764 * BUG 1025: Include sys/acl.h in check for broken nisplus
6766 * BUG 1066: s/printf/d_printf/g in SWAT.
6767 * BUG 1098: rename internal msleep() function to fix build
6769 * BUG 1112: Fix for writable printerdata problem in python bindings.
6770 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
6771 * BUG 1155: enclose use of fchown() with guards.
6772 * Relicense tdb python module as LGPL.
6775 o Richard Sharpe <rsharpe@samba.org>
6776 * Add support to smbclient for multiple logins on the same
6777 session (based on work by abartlet@samba.org).
6778 * Correct blocking condition in smbd's use of accept() on IRIX.
6779 * Add support for printing out the MAC address on nmblookup.
6782 o Simo Sorce <idra@samba.org>
6783 * Replace unknown_3 with fields_present in SAMR code.
6784 * More length checks in strlcat().
6787 o Andrew Tridgell <tridge@samba.org>
6788 * Rewrote the AIX UESS backend for winbindd.
6789 * Fixed compilation with --enable-dmalloc.
6790 * Change tdb license to LGPL (see source/tdb/tdb.c).
6791 * Force winbindd to use schannel in clients connections to
6795 o Jelmer Vernooij <jelmer@samba.org>
6796 * Fix ETA Calculation when resuming downloads in smbget.
6797 * Add -O (for writing downloaded files to standard out)
6798 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
6799 * Fix syntax error in example mysql table
6802 o TAKEDA yasuma <yasuma@miraclelinux.com>
6803 * BUG 900: fix token processing in cmd_symlink, cmd_link,
6804 cmd_chown, cmd_chmod smbclient functions.
6807 o Shiro Yamada <shiro@miraclelinux.com>
6808 * BUG 1129: install image files for SWAT.
6811 --------------------------------------------------
6813 ==============================
6814 Release Notes for Samba 3.0.2a
6816 ==============================
6818 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6819 to address, in particular, a problem when using pdbedit to
6820 sanitize (--force-initialized-passwords) Samba's tdbsam
6821 backend. This is the latest stable release of Samba. This
6822 is the version that all production Samba servers should be
6823 running for all current bug-fixes.
6825 ******************* Attention! Achtung! Kree! *********************
6827 Beginning with Samba 3.0.2, passwords for accounts with a last
6828 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6829 ldapsam, etc...) of zero (0) will be regarded as uninitialized
6830 strings. This will cause authentication to fail for such
6831 accounts. If you have valid passwords that meet this criteria,
6832 you must update the last change time to a non-zero value. If you
6833 do not, then 'pdbedit --force-initialized-passwords' will disable
6834 these accounts and reset the password hashes to a string of X's.
6836 ******************* Attention! Achtung! Kree! *********************
6845 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6846 details. The list of changes per contributor are as follows:
6849 o Jeremy Allison <jra@samba.org>
6850 * Added paranoia checks in parsing code.
6853 o Andrew Bartlett <abartlet@samba.org>
6854 * Ensure that changes to uninitialized passwords in ldapsam
6855 are written to the DIT.
6858 o Gerald (Jerry) Carter <jerry@samba.org>
6859 * Fixed iterator in tdbsam.
6860 * Fix bug that disabled accounts with a valid NT password
6861 hash, but no LanMan hash.
6864 o Steve French <sfrench@us.ibm.com>
6865 * Added missing nosetuid and noexec options.
6868 o Bostjan Golob <golob@gimb.org>
6869 * BUG 1046: Don't overwrite usernames of entries returned
6873 o Sebastian Krahmer <krahmer@suse.de>
6874 * Fixed potential crash bug in NTLMSSP parsing code.
6877 o Tim Potter <tpot@samba.org>
6878 * Fixed logic in tdb_brlock error checking.
6881 o Urban Widmark <urban@teststation.com>
6882 * Set nosuid,nodev flags in smbmnt by default.
6885 --------------------------------------------------
6887 =============================
6888 Release Notes for Samba 3.0.2
6890 =============================
6892 It has been confirmed that previous versions of Samba 3.0 are
6893 susceptible to a password initialization bug that could grant an
6894 attacker unauthorized access to a user account created by the
6895 mksmbpasswd.sh shell script.
6897 The Common Vulnerabilities and Exposures project (cve.mitre.org)
6898 has assigned the name CAN-2004-0082 to this issue.
6900 Samba administrators not wishing to upgrade to the current
6901 version should download the 3.0.2 release, build the pdbedit
6904 root# pdbedit-3.0.2 --force-initialized-passwords
6906 This will disable all accounts not possessing a valid password
6907 (e.g. the password field has been set a string of X's).
6909 Samba servers running 3.0.2 are not vulnerable to this bug
6910 regardless of whether or not pdbedit has been used to sanitize
6913 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
6916 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
6917 o Logging onto a Samba domain from Windows XP clients.
6918 o Problems with the %U and %u smb.conf variables in relation to
6919 Windows 9x/ME clients.
6920 o Kerberos failures due to an invalid in memory keytab detection
6922 o Updates to the ntlm_auth tool.
6923 o Fixes for various SMB signing errors.
6924 o Better separation of WINS and DNS queries for domain controllers.
6925 o Issues with nss_winbind FreeBSD and Solaris.
6926 o Several crash bugs in smbd and winbindd.
6927 o Output formatting fixes for smbclient for better compatibility
6928 with scripts based on the 2.2 version.
6937 Parameter Name Action
6938 -------------- ------
6939 ldap replication sleep New
6940 read size removed (unused)
6941 source environment removed (unused)
6947 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6948 details. The list of changes per contributor are as follows:
6950 o Jeremy Allison <jra@samba.org>
6951 * Revert change that broke Exchange clear text samlogons.
6952 * Fix gcc 3.4 warning in MS-DFS code.
6953 * Tidy up of NTLMSSP code.
6954 * Fixes for SMB signing errors
6955 * BUG 815: Workaround NT4 bug to support plaintext
6956 password logins and UNICODE.
6957 * Fix SMB signing bug when copying large files.
6958 * Correct error logic in mkdir_internals() (caused a panic
6959 when combined with --enable-developer).
6960 * BUG 830: Protect against crashes due to bad character
6964 o Petri Asikainen <paca@sci.fi>
6965 * BUG 330, 387:Fix single valued attribute updates when
6966 working with Novell NDS.
6969 o Andrew Bartlett <abartlet@samba.org>
6970 * Correctly handle per-pipe NTLMSSP inside a NULL session.
6971 * Fix segfault in gencache
6972 * Fix early free() of encrypted_session_key.
6973 * Change DC lookup routines to more carefully separate
6974 DNS names (realms) from NetBIOS domain names.
6975 * Add new sid_to_dn() function for internal winbindd use.
6976 * Refactor cli_ds_enum_domain_trusts().
6977 * BUG 707: Implement range retrieval of ADS attributes (based
6978 on work from Volker <vl@samba.org> and Guenther Deschner
6980 * Automatically initialize the signing engine if a session key
6982 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
6983 encoded strings, only form input in SWAT.
6984 * Resets the NTLMSSP state for new negotiate packets.
6985 * Add 2-byte alignments in net_samlogon() queries to parse
6986 odd-length plain text passwords.
6987 * Allow Windows groups with no members in winbindd.
6988 * Allow normal authentication in the absence of a server
6989 generated session key.
6990 * More optimizations for looking up UNIX group lists.
6991 * Clean up error codes and return values for pam_winbindd
6992 and winbindd PAM interface.
6993 * Fix string return values in ntlm_auth tool.
6994 * Fix segfault when 'security = ads' but no realm is defined.
6995 * BUG 722: Allow winbindd to map machine accounts to uids.
6996 * More cleanups for winbindd's find_our_domain().
6997 * More clearly detect whether a domain controller is an NT4
6998 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
6999 * Increase separation between DNS queries for hosts and queries
7000 for AD domain controllers.
7001 * Include additional NT_STATUS to PAM error mappings.
7002 * Password initialization fixes.
7005 o Justin Baugh <justin.baugh@request.com>
7006 * BUG 948: Implement missing functions required for FreeBSD
7007 nss_winbind support.
7010 o Alexander Bokovoy <ab@samba.org>
7011 * BUG 922: Make sure enable fast path for strlower_m() and
7015 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
7016 * Fix crash when using 'security = server' and 'encrypt
7017 passwords = no' by always initializing the session key.
7020 o Dmitry Butskoj <buc@odusz.elektra.ru>
7021 * Fix for special files being hidden from admins.
7024 o Gerald (Jerry) Carter <jerry@samba.org>
7025 * Fix bug in the lanman session key generation. Caused
7026 "decode_pw: incorrect password length" error messages.
7027 * Save the right case for the located user name in
7028 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
7029 * BUG 897: Add well known rid for pre win2k compatible access
7031 * BUG 887: Correct typo in delete user script example.
7032 * Use short lived TALLOC_CTX* for allocating printer objects
7033 from the print handle cache.
7034 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
7035 * Fix several warnings reported by the SUN Forte C compiler.
7036 * Fully control DNS queries for AD DC's using 'name resolve order'.
7037 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
7038 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
7039 * BUG 936: fix bind credentials for schannel binds in smbd.
7040 * BUG 446: Fix output of smbclient for better compatibility
7041 with scripts based on the 2.2 version (including Amanda).
7042 * BUG 891, 949: Fedora packaging fixes.
7043 * Fix bug that caused rpcclient to incorrectly retrieve
7044 the SID for a server (this causing all calls that required
7045 this information to fail).
7046 * BUG 977: Don't create a homes share for a user if a static
7047 share already exists by the same name.
7048 * Removed unused smb.conf options.
7049 * Password initialization fixes.
7050 * Set the disable flag for template accounts created by
7052 * Disable any account has no passwords and does not have the
7053 ACB_PWNOTREQ bit set.
7056 o Guenther Deschner <gd@suse.com>
7057 * Install smbwrapper.so should be put into the $(libdir)
7059 * Add the capability to specify the new user password
7060 for "net ads password" on the command line.
7061 * Correctly detect AFS headers on SuSE.
7064 o James Flemer <jflemer@uvm.edu>
7065 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
7066 HAVE_SYS_ATTRIBUTES_H.
7069 o Luke Howard <lukeh@PADL.COM>
7070 * Fix segfault in session setup reply caused by a early free().
7073 o Stoian Ivanov <sdr@bultra.com>
7074 * Implement grepable output for smbclient -L.
7077 o LaMont Jones <lamont@debian.org>
7078 * BUG 225328 (Debian): Correct false failure LFS test that resulted
7079 in _GNU_SOURCE not being defined (thus resulting in strndup()
7083 o Volker Lendecke <vl@samba.org>
7084 * BUG 583: Ensure that user names always contain the short
7085 version of the domain name.
7086 * Fix our parsing of the LDAP uri.
7087 * Don't show the 'afs username map' in the SWAT basic view.
7088 * Fix SMB signing issues in relation to failed NTLMSSP logins.
7089 * BUG 924: Fix return codes in smbtorture harness.
7090 * Always lower-case usernames before handing it to AFS code.
7091 * Add a German translation for SWAT.
7092 * Fix a segfaults in winbindd.
7093 * Fix the user's domain passed to register_vuid() from
7094 reply_spnego_Kerberos().
7095 * Add NSS example code in nss_winbind to convert UNIX
7096 id's <-> Windows SIDs.
7097 * Display more descriptive error messages for login via 'net'.
7098 * Fix compiler warning in the net tool.
7099 * Fix length bug when decoding base64 strings.
7100 * Ensure we don't call getpwnam() inside a loop that is iterating
7101 over users with getpwent(). This broke on glibc 2.3.2.
7104 o Herb Lewis <herb@samba.org>
7105 * Fix bit rot in psec.
7108 o Jianliang Lu <j.lu@tiesse.com>
7109 * Ensure we delete the group mapping before calling the delete
7111 * Define well known RID for managing the "Power Users" group.
7112 * BUG 381: check builtin (not local) group SID when updating
7114 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
7118 o John Klinger <john.klinger@lmco.com>
7119 * Implement initgroups() call in nss_winbind on Solaris.
7122 o Jim McDonough <jmcd@us.ibm.com>
7123 * Fix regression in net rpc join caused by recent changes
7124 to cli_lsa_query_info_policy().
7125 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
7129 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
7130 * BUG 570: Ensure that configure honors the LDFLAGS variable.
7133 o Stefan Metzmacher <metze@samba.org>
7134 * Implement LDAP rebind sleep patch.
7135 * Revert to 2.2 quota code because of so many broken quota files
7137 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
7138 XFS_USER_QUOTA -> USRQUOTA
7139 XFS_GROUP_QUOTA -> GRPQUOTA
7140 * Fix disk_free calculation with group quotas.
7141 * Add debug class 'quota' and a lot of DEBUG()'s
7143 * Fix sys_chown() when no chown() is present.
7144 * Add SIGABRT to fault handling in order to catch got a
7145 backtrace if an error occurs the OpenLDAP client libs.
7149 * Allow an existing LDAP machine account to be re-used when
7150 joining an AD domain.
7153 o James Peach <jpeach@sgi.com>
7154 * BUG 889: Change smbd to use pread/pwrite on platforms that
7155 support these calls. Can lead to a significant speed increase.
7158 o Tim Potter <tpot@samba.org>
7159 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
7160 * BUG 924: Fix typo in RW2 torture test.
7163 o Richard Sharpe <rsharpe@samba.org>
7164 * Small fixes to torture.c to cleanup the error handling
7165 and prevent crashes.
7168 o J. Tournier <jerome.tournier@IDEALX.com>
7169 * Small fixes for the smbldap-tool scripts.
7172 o Andrew Tridgell <tridge@samba.org>
7173 * Fix src len check in pull_usc2().
7176 o Jelmer Vernooij <jelmer@samba.org>
7177 * Put functions for generating SQL queries in pdb_sql.c
7178 * Add pgSQL backend (based on patch by Hamish Friedlander)
7179 * BUG 908: Fix -s option to smbcontrol.
7180 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
7181 * Fix for libnss_wins on IRIX platforms.
7182 * Fix swatdir for --with-fhs.
7185 --------------------------------------------------
7187 =============================
7188 Release Notes for Samba 3.0.1
7190 =============================
7192 Some of the more common bugs in 3.0.0 addressed in the release
7195 o Substitution problems with smb.conf variables.
7196 o Errors in return codes which caused some applications
7197 to fail to open files.
7198 o General Protection Faults on Windows 2000/XP clients
7199 using Samba point-n-print features.
7200 o Several miscellaneous crash bugs.
7201 o Access problems when enumerating group mappings are
7202 stored in an LDAP Directory.
7203 o Several common SWAT bugs when writing changes to
7205 o Internal inconsistencies when 'winbind use default
7211 ----------------------
7213 Parameter Name Action
7214 -------------- ------
7215 hide local users Removed
7216 mangled map Deprecated
7217 mangled stack Removed
7218 passwd chat timeout New
7224 o Change the interface for init_unistr2 to not take a length
7225 but a flags field. We were assuming that
7226 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
7227 o Allow d_printf() to handle strings with escaped quotation
7228 marks since the msg file includes the escape character (bug 489).
7229 o Fix bad html table row termination in SWAT wizard code (bug 413).
7230 o Fix to parse the level-2 strings.
7231 o Fix for "valid users = %S" in [homes]. Fix read/write
7233 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
7234 This is the same way AC_CHECK_LIB works (bug 508).
7235 o Testparm output fixes for clarity.
7236 o Fix broken wins hook functionality -- i18n bug (bug 528).
7237 o Take care of condition where DOS and NT error codes must differ.
7238 o Default to using only built-in charsets when a working iconv
7239 implementation cannot be located.
7240 o Wrap internals of sys_setgroups() so the sys_XX() call can
7241 be done unconditionally (bug 550).
7242 o Remove duplicate smbspool link on SWAT's front page (bug 541).
7243 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
7244 --enable-debug=[yes|no] works correctly.
7245 o Allow ^C to interrupt smbpasswd if using our getpass
7246 (e.g. smbpasswd command).
7247 o Support signing only on RPC's (bug 167).
7248 o Correct bug that prevented Excel 2000 clients from opening
7249 files marked as read-only.
7250 o Portability fix bugs 546 - 549).
7251 o Explicitly initialize the value of AR for vendor makes that don't
7252 do this (e.g. HPUX 11). (bug 552).
7253 o More i18n fixes for SWAT (bug 413).
7254 o Change the cwd before the postexec script to ensure that a
7255 umount will succeed.
7256 o Correct double free that caused winbindd to crash when a DC
7257 is rebooted (bug 437).
7258 o Fix incorrect mode sum (bug 562).
7259 o Canonicalize SMB_INFO_ALLOCATION in the same was as
7260 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
7261 o Add script to generate *msg files.
7262 o Add Dutch SWAT translation file.
7263 o Make sure to call get_user_groups() with the full winbindd
7264 name for a user if he/she has one (bug 406).
7265 o Fix up error code returns from Samba4 tester. Ensure invalid
7266 paths are validated the same way.
7267 o Allow Samba3 to pass the Samba4 RAW-READ tests.
7268 o Refuse to configure if --with-expsam=$BACKEND was used but no
7269 libraries were found for $BACKEND.
7270 o Move sysquotas autoconf tests to a separate file.
7271 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
7273 o Make sure that the files that contain the static_init_$subsystem;
7274 macro get recompiled after configure by removing the object
7276 o Ensure canceling a blocking lock returns the correct error
7278 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
7279 o Updated Japanese welcome file in SWAT.
7280 o Fix to nt-time <-> unix-time functions reversible.
7281 o Ensure that winbindd uses the the escaped DN when querying
7283 o Fix portability issues when compiling (bug 505, 550)
7284 o Compile fix for tdbbackup when Samba needs to override
7285 non-C99 compliant implementations of snprintf().
7286 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
7287 o Make sure we break out of samsync loop on error.
7288 o Ensure error code path doesn't free unmalloc()'d memory
7290 o Add configure test for krb5_keytab_entry keyblock vs key
7293 o Modified testparm so that all output so all debug output goes
7294 to stderr, and all file processing goes to stdout.
7295 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
7297 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
7298 we have a devmode before copying a string to the devicename.
7299 o Support mapping REALM.COM\user to a local user account (without
7300 running winbindd) for compatibility with 2.2.x release.
7301 o Ensure we don't use mmap() on blacklisted systems.
7302 o fixed a number of bugs and memory leaks in the AIX
7304 o Call initgroups() in SWAT before becomming the user so that
7305 secondary group permissions can be used when writing to
7307 o Fix signing problems when reverse connecting back to a
7308 client for printer notify
7309 o Fix signing problems caused by a miss-sequence bug.
7310 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
7311 Fixes NEXUS tools running on Win9x clients (bug 64).
7312 o Don't leave the domain field uninitialized in cli_lsa.c if some
7313 SID could not be mapped.
7314 o Fix segfault in mount.cifs helper when there is no options
7315 specified during mount.
7316 o Change the \n after the password prompt to go to tty instead
7317 of stdout (bug 668).
7318 o Stop net -P from prompting for machine account password (bug 451).
7319 o Change in behavior to Not only change the effective uid but also
7320 the real uid when becoming unprivileged.
7321 o Cope with Exchange 5.5 cleartext pop password auth.
7322 o New files for support of initshutdown pipe. Win2k doesn't
7323 respond properly to all requests on the winreg pipe, so we need
7324 to handle this new pipe (bug 534).
7325 o Added more va_copy() checks in configure.in.
7326 o Include fixes for libsmbclient build problems.
7327 o Missing UNIX -> DOS codepage conversion in lanman.c.
7328 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
7329 o Parameterize the listen backlog in smbd and make it larger by
7330 default. A backlog of 5 is way too small these days.
7331 o Check for an invalid fid before dereferencing the fsp pointer
7333 o Remove invalid memory frees and return codes in pdb_ldap.c.
7334 o Prompt for password when invoking --set-auth-user and no
7336 o Bind the nmbd sending socket to the 'socket address'.
7337 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
7338 $LDFLAGS occurs before any library specification (bug 661).
7339 o Fix large number of printf() calls for 64-bit size_t.
7340 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
7341 keyblock in the krb5 structs.
7342 o Remove #include <compat.h> in hopes to avoid problems with
7343 apache header files.
7344 o Correct winbindd build problems on HP-UX 11.
7345 o Lowercase netgroups lookups (bug 703).
7346 o Use the actual size of the buffer in strftime instead of a made
7347 up value which just happens to be less than sizeof(fstring).
7349 o Add ldaplibs to pdbedit link line (bug 651).
7350 o Fix crash bug in smbclient completion (bug 659).
7351 o Fix packet length for browse list reply (bug 771).
7352 o Fix coredump in cli_get_backup_list().
7353 o Make sure that we expand %N (bug 612).
7354 o Allow rpcclient adddriver command to specify printer driver
7356 o Compile tdbdump by default.
7357 o Apply patches to fix iconv detection for FreeBSD.
7358 o Do not allow the 'guest account' to be added to a passdb backend
7359 using smbpasswd or pdbedit (bug 624).
7360 o Save LDFLAGS during iconv detection (bug 57).
7361 o Run krb5 logins through the username map if the winbindd
7362 lookup fails (bug 698).
7363 o Add const for lp_set_name_resolve_order() to avoid compiler
7365 o Add support for the %i macro in smb.conf to stand in for the for
7366 the local IP address to which a client connected.
7367 o Allow winbindd to match local accounts to domain SID when
7368 'winbind trusted domains only = yes' (bug 680).
7369 o Remove code in idmap_ldap that searches the user suffix and group
7370 suffix. It's not needed and provides inconsistent functionality
7371 from the tdb backend.
7372 o Patch to handle munged dial string for Windows 2000 TSE.
7373 Thanks to Gaz de France, Direction de la Recherche, Service
7374 Informatique Métier for their supporting this work by Aurelien
7375 Degrémont <adegremont@idealx.com>.
7376 o Correct the "smbldap_open: cannot access when not root error"
7377 messages when looking up group information (bug 281).
7378 o Skip over the winbind separator when looking up a user.
7379 This fixes the bug that prevented local users from
7380 matching an AD user when not running winbindd (bug 698).
7381 o Fix a problem with configure on *BSD systems. Make sure
7382 we add -liconv etc to LDFLAGS.
7383 o Fix core dump bug when "security = server" and the authentication
7385 o Correct crash bug due to an empty munged dial string.
7386 o Show files locked by a specific user (smbstatus -u 'user')
7388 o Fix bug preventing print jobs from display in the queue
7389 monitor used by Windows NT and later clients (bug 660).
7390 o Fix several reported problems with point-n-print from
7391 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
7392 reply (bug 338, 527 & 643).
7393 o Fix a handful of potential memory leaks in the LDAP code used
7394 by ldapsam[_compat] and the LDAP idmap backend.
7395 o Fix for pdbedit error code returns (bug 763).
7396 o Make sure we only enumerate group mapping entries (not
7397 /etc/group) even when doing local aliases.
7398 o Relax check on the pipe name in a dce/rpc bind response to work
7399 around issues with establishing trusts to a Windows 2003 domain.
7400 o Ensure we mangle names ending in '.' in hash2 mangling method.
7401 o Correct parsing issues with munged dial string.
7402 o Fix bugs in quota support for XFS.
7403 o Add a cleaner method for applications that need to provide
7404 name->SID mappings to do this via NSS rather than having to
7405 know the winbindd pipe protocol.
7406 o Adds a variant of the winbindd_getgroups() call called
7407 winbindd_getusersids() that provides direct SID->SIDs listing of
7408 a users supplementary groups. This is enough to allow non-Samba
7409 applications to do ACL checking.
7410 o Make sure we don't append the 'ldap suffix' when writing out the
7411 'ldap XXX suffix' values in SWAT (bug 328).
7412 o Fix renames across file systems.
7413 o Ensure that items in a list of strings containing whitespace are
7414 written out surrounded by single quotes. This means that both
7415 double and single quotes are now used to surround strings in
7417 o Enable SWAT to correctly determine if winbindd is running (bug
7419 o Include WWW-Authenticate field in 401 response for bad auth
7421 o Add support for NTLM2 (NTLMv2 session security).
7422 o Add support for variable-length session keys.
7423 o More privilege fixes for group enumeration in LDAP (bug 281).
7424 o Use the dns name (or IP) as the originating client name when
7425 using CUPS (bug 467).
7426 o Fix various SMB signing bugs.
7427 o Fix ACL propagation on a DFS root (bug 263).
7428 o Disable NTLM2 for RPC pipes.
7429 o Allow the client to specify the NTLM2 flags got NTLMSSP
7431 o Change the name of the job passed off to cups from "Test Page"
7432 to "smbprn.00000033 Test Page" so that we can get the smb
7433 jobid back. This allow users to delete jobs with cups printing
7434 backend (partial work on bug 770).
7435 o Fix build of winbindd with static pdb modules.
7436 o Retrieve the correct ACL group bits if the file has an ACL
7438 o Implement "net rpc group members": Get members of a domain group
7439 in human-readable format.
7440 o Add MacOSX (Darwin) specific charset module code.
7441 o Use samr_dispinfo(level == 1) for enumerating domain users so we
7442 can include the full name in gecos field (bug 587).
7443 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
7444 o Implement 'net rpc group list [global|local|builtin]*' for a
7445 select listing of the respective user databases.
7446 o Don't automatically set NT status code flag unless client tells
7448 o Add 'net status [sessions|shares] [parseable]'.
7449 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
7451 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
7453 o Fix inverted logic in hosts allow/deny checks caused by
7454 s/strcmp/strequal/ (bug 846).
7455 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
7456 o Fix typo in 'hash' mangling algorithm.
7457 o Support munged dial for ldapsam (bug 800).
7458 o Fix process_incoming_data() to return the number of bytes handled
7459 this call whether we have a complete PDU or not; fixes bug
7460 with multiple PDU request rpc's broken over SMBwriteX calls
7462 o Fix incorrect smb flags2 for connections to pre-NT servers
7463 (causes smbclient to fail to OS2 for example) (bug 821).
7464 o Update version string in smbldap-tools Makefile to 0.8.2.
7465 o Correct a problem with "net rpc vampire" mis-parsing the
7466 alias member info reply.
7467 o Ensure the ${libdir} is created by the installclientlib script.
7468 o Fix detection of Windows 2003 client architecture in the smb.conf
7470 o Ensure that smbd calls the add user script for a missing UNIX
7471 user on Kerberos auth call (bug 445).
7472 o Fix bugs in hosts allow/deny when using a mismatched
7473 network/netmask pair.
7474 o Protect alloc_sub_basic() from crashing when the source string
7475 is NULL (partial work on bug 687).
7476 o Fix spinlocks on IRIX.
7477 o Corrected some bad destination paths when running "configure
7479 o Add packaging files for Fedora Core 1.
7480 o Correct bug in SWAT install script for non-english languages.
7481 o Support character set ISO-8859-1 internally (bug 558).
7482 o Fixed more LDAP access errors when looking up group mappings
7484 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
7485 resolution to fail on local files on on domain members
7487 o Fix uninitialized variable in passdb.c.
7488 o Fix formal parameter type in get_static() in nsswitch/wins.c.
7489 o Fix problem mounting directories when mount.cifs is installed
7490 with the setuid bit on.
7491 o Fix bug that prevent --mandir from overriding the defaults
7492 given in the --with-fhs macro.
7493 o Fix bug in in-memory Kerberos keytab detection routines
7498 ######################################################################
7500 The original 3.0.0 release notes follow
7501 =======================================
7502 WHATS NEW IN Samba 3.0.0
7504 =======================================
7510 1) Active Directory support. Samba 3.0 is now able to
7511 join a ADS realm as a member server and authenticate
7512 users using LDAP/Kerberos.
7514 2) Unicode support. Samba will now negotiate UNICODE on the wire
7515 and internally there is now a much better infrastructure for
7516 multi-byte and UNICODE character sets.
7518 3) New authentication system. The internal authentication system
7519 has been almost completely rewritten. Most of the changes are
7520 internal, but the new auth system is also very configurable.
7522 4) New default filename mangling system.
7524 5) A new "net" command has been added. It is somewhat similar to
7525 the "net" command in windows. Eventually we plan to replace
7526 numerous other utilities (such as smbpasswd) with subcommands
7529 6) Samba now negotiates NT-style status32 codes on the wire. This
7530 improves error handling a lot.
7532 7) Better Windows 2000/XP/2003 printing support including publishing
7533 printer attributes in active directory.
7535 8) New loadable module support for passdb backends and character
7538 9) New default dual-daemon winbindd support for better performance.
7540 10) Support for migrating from a Windows NT 4.0 domain to a Samba
7541 domain and maintaining user, group and domain SIDs.
7543 11) Support for establishing trust relationships with Windows NT 4.0
7546 12) Initial support for a distributed Winbind architecture using
7547 an LDAP directory for storing SID to uid/gid mappings.
7549 13) Major updates to the Samba documentation tree.
7551 14) Full support for client and server SMB signing to ensure
7552 compatibility with default Windows 2003 security settings.
7554 15) Improvement of ACL mapping features based on code donated by
7555 Andreas Grünbacher.
7558 Plus lots of other improvements!
7561 Additional Documentation
7562 ------------------------
7564 Please refer to Samba documentation tree (included in the docs/
7565 subdirectory) for extensive explanations of installing, configuring
7566 and maintaining Samba 3.0 servers and clients. It is advised to
7567 begin with the Samba-HOWTO-Collection for overviews and specific
7568 tasks (the current book is up to approximately 400 pages) and to
7569 refer to the various man pages for information on individual options.
7571 We are very glad to be able to include the second edition of
7572 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
7573 (O'Reilly & Associates) in this release. The book is available
7574 on-line at http://samba.org/samba/docs/ and is included with
7575 the Samba Web Administration Tool (SWAT). Thanks to the authors and
7576 publisher for making "Using Samba" under the GNU Free Documentation
7580 ######################################################################
7581 Upgrading from a previous Samba 3.0 beta
7582 ########################################
7584 Beginning with Samba 3.0.0beta3, the RID allocation functions
7585 have been moved into winbindd. Previously these were handled
7586 by each passdb backend. This means that winbindd must be running
7587 to automatically allocate RIDs for users and/or groups. Otherwise,
7588 smbd will use the 2.2 algorithm for generating new RIDs.
7590 If you are using 'passdb backend = tdbsam' with a previous Samba
7591 3.0 beta release (or possibly alpha), it may be necessary to
7592 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
7593 to winbindd_idmap.tdb. To do this:
7595 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
7597 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
7599 3) run: (note that 'tdb>' is the tool's prompt for input)
7601 root# ./tdbtool /usr/local/samba/private/passdb.tdb
7602 tdb> show RID_COUNTER
7606 [000] 0A 52 00 00 .R.
7608 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
7612 If you are using 'passdb backend = ldapsam', it will be necessary to
7613 store idmap entries in the LDAP directory as well (i.e. idmap backend
7614 = ldap). Refer to the 'net idmap' command for more information on
7615 migrating SID<->UNIX id mappings from one backend to another.
7617 If the RID_COUNTER record does not exist, then these instructions are
7618 unneccessary and the new RID_COUNTER record will be correctly generated
7623 ########################
7624 Upgrading from Samba 2.2
7625 ########################
7627 This section is provided to help administrators understand the details
7628 involved with upgrading a Samba 2.2 server to Samba 3.0.
7634 Many of the options to the GNU autoconf script have been modified
7635 in the 3.0 release. The most noticeable are:
7637 * removal of --with-tdbsam (is now included by default; see section
7638 on passdb backends and authentication for more details)
7640 * --with-ldapsam is now on used to provided backward compatible
7641 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
7642 backend and authentication section for more details
7644 * inclusion of non-standard passdb modules may be enabled using
7645 --with-expsam. This includes an XML backend and a mysql backend.
7647 * removal of --with-msdfs (is now enabled by default)
7649 * removal of --with-ssl (no longer supported)
7651 * --with-utmp now defaults to 'yes' on supported systems
7653 * --with-sendfile-support is now enabled by default on supported
7660 This section contains a brief listing of changes to smb.conf options
7661 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
7662 complete descriptions of new or modified parameters.
7664 Removed Parameters (order alphabetically):
7667 * alternate permissions
7670 * code page directory
7672 * domain admin group
7673 * domain guest group
7674 * force unknown acl user
7680 * printer driver file
7681 * printer driver location
7683 * source environment
7691 New Parameters (new parameters have been grouped by function):
7695 * abort shutdown script
7698 User and Group Account Management
7699 ---------------------------------
7701 * add machine script
7702 * add user to group script
7703 * algorithmic rid base
7704 * delete group script
7705 * delete user from group script
7707 * set primary group script
7713 * passwd chat timeout
7717 * client lanman auth
7718 * client NTLMv2 auth
7724 * paranoid server security
7733 * hide special files
7734 * hide unwriteable files
7736 * kernel change notify
7746 * max reported print jobs
7748 UNICODE and Character Sets
7749 --------------------------
7755 SID to uid/gid Mappings
7756 -----------------------
7760 * winbind enable local accounts
7761 * winbind trusted domains only
7762 * template primary group
7763 * enable rid algorithm
7770 * ldap machine suffix
7772 * ldap replication sleep
7775 General Configuration
7776 ---------------------
7780 Modified Parameters (changes in behavior):
7782 * encrypt passwords (enabled by default)
7783 * mangling method (set to 'hash2' by default)
7786 * restrict anonymous (integer value)
7787 * security (new 'ads' value)
7788 * strict locking (enabled by default)
7789 * unix extensions (enabled by default)
7790 * winbind cache time (increased to 5 minutes)
7791 * winbind uid (deprecated in favor of 'idmap uid')
7792 * winbind gid (deprecated in favor of 'idmap gid')
7798 This section contains brief descriptions of any new databases
7799 introduced in Samba 3.0. Please remember to backup your existing
7800 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
7801 upgrade databases as they are opened (if necessary), but downgrading
7802 from 3.0 to 2.2 is an unsupported path.
7804 Name Description Backup?
7805 ---- ----------- -------
7806 account_policy User policy settings yes
7807 gencache Generic caching db no
7808 group_mapping Mapping table from Windows yes
7809 groups/SID to unix groups
7810 winbindd_idmap ID map table from SIDS to UNIX yes
7812 namecache Name resolution cache entries no
7813 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
7814 returned as part of a successful
7815 net_sam_logon request
7816 printing/*.tdb Cached output from 'lpq no
7817 command' created on a per print
7819 registry Read-only samba registry skeleton no
7820 that provides support for exporting
7821 various db tables via the winreg RPCs
7827 The following issues are known changes in behavior between Samba 2.2 and
7828 Samba 3.0 that may affect certain installations of Samba.
7830 1) When operating as a member of a Windows domain, Samba 2.2 would
7831 map any users authenticated by the remote DC to the 'guest account'
7832 if a uid could not be obtained via the getpwnam() call. Samba 3.0
7833 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
7834 current work around to re-establish the 2.2 behavior.
7836 2) When adding machines to a Samba 2.2 controlled domain, the
7837 'add user script' was used to create the UNIX identity of the
7838 machine trust account. Samba 3.0 introduces a new 'add machine
7839 script' that must be specified for this purpose. Samba 3.0 will
7840 not fall back to using the 'add user script' in the absence of
7841 an 'add machine script'
7844 ######################################################################
7845 Passdb Backends and Authentication
7846 ##################################
7848 There have been a few new changes that Samba administrators should be
7849 aware of when moving to Samba 3.0.
7851 1) encrypted passwords have been enabled by default in order to
7852 inter-operate better with out-of-the-box Windows client
7853 installations. This does mean that either (a) a samba account
7854 must be created for each user, or (b) 'encrypt passwords = no'
7855 must be explicitly defined in smb.conf.
7857 2) Inclusion of new 'security = ads' option for integration
7858 with an Active Directory domain using the native Windows
7859 Kerberos 5 and LDAP protocols.
7861 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
7862 type which is neccessary for servers on which the
7863 administrator password has not been changed, or Kerberos-enabled
7864 SMB connections to servers that require Kerberos SMB signing.
7865 Besides this one difference, either MIT or Heimdal Kerberos
7866 distributions are usable by Samba 3.0.
7869 Samba 3.0 also includes the possibility of setting up chains
7870 of authentication methods (auth methods) and account storage
7871 backends (passdb backend). Please refer to the smb.conf(5)
7872 man page for details. While both parameters assume sane default
7873 values, it is likely that you will need to understand what the
7874 values actually mean in order to ensure Samba operates correctly.
7876 The recommended passdb backends at this time are
7878 * smbpasswd - 2.2 compatible flat file format
7879 * tdbsam - attribute rich database intended as an smbpasswd
7880 replacement for stand alone servers
7881 * ldapsam - attribute rich account storage and retrieval
7882 backend utilizing an LDAP directory.
7883 * ldapsam_compat - a 2.2 backward compatible LDAP account
7886 Certain functions of the smbpasswd(8) tool have been split between the
7887 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
7888 utility. See the respective man pages for details.
7891 ######################################################################
7895 This section outlines the new features affecting Samba / LDAP
7901 A new object class (sambaSamAccount) has been introduced to replace
7902 the old sambaAccount. This change aids us in the renaming of
7903 attributes to prevent clashes with attributes from other vendors.
7904 There is a conversion script (examples/LDAP/convertSambaAccount) to
7905 modify and LDIF file to the new schema.
7909 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
7910 $ convertSambaAccount --sid=<Domain SID> \
7911 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
7912 --changetype=[modify|add]
7914 The <DOM SID> can be obtained by running 'net getlocalsid
7915 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
7916 the format of the generated LDIF output--either create new entries
7917 or modify existing entries.
7919 The old sambaAccount schema may still be used by specifying the
7920 "ldapsam_compat" passdb backend. However, the sambaAccount and
7921 associated attributes have been moved to the historical section of
7922 the schema file and must be uncommented before use if needed.
7923 The 2.2 object class declaration for a sambaAccount has not changed
7924 in the 3.0 samba.schema file.
7926 Other new object classes and their uses include:
7928 * sambaDomain - domain information used to allocate rids
7929 for users and groups as necessary. The attributes are added
7930 in 'ldap suffix' directory entry automatically if
7931 an idmap uid/gid range has been set and the 'ldapsam'
7932 passdb backend has been selected.
7934 * sambaGroupMapping - an object representing the
7935 relationship between a posixGroup and a Windows
7936 group/SID. These entries are stored in the 'ldap
7937 group suffix' and managed by the 'net groupmap' command.
7939 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
7940 automatically and contains the next available 'idmap uid' and
7943 * sambaIdmapEntry - object storing a mapping between a
7944 SID and a UNIX uid/gid. These objects are created by the
7945 idmap_ldap module as needed.
7947 * sambaSidEntry - object representing a SID alone, as a Structural
7948 class on which to build the sambaIdmapEntry.
7951 New Suffix for Searching
7952 ------------------------
7954 The following new smb.conf parameters have been added to aid in directing
7955 certain LDAP queries when 'passdb backend = ldapsam://...' has been
7958 * ldap suffix - used to search for user and computer accounts
7959 * ldap user suffix - used to store user accounts
7960 * ldap machine suffix - used to store machine trust accounts
7961 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
7962 * ldap idmap suffix - location of sambaIdmapEntry objects
7964 If an 'ldap suffix' is defined, it will be appended to all of the
7965 remaining sub-suffix parameters. In this case, the order of the suffix
7966 listings in smb.conf is important. Always place the 'ldap suffix' first
7969 Due to a limitation in Samba's smb.conf parsing, you should not surround
7970 the DN's with quotation marks.
7976 Samba 3.0 supports an ldap backend for the idmap subsystem. The
7977 following options would inform Samba that the idmap table should be
7978 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
7983 idmap backend = ldap:ldap://onterose/
7984 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
7985 idmap uid = 40000-50000
7986 idmap gid = 40000-50000
7988 This configuration allows winbind installations on multiple servers to
7989 share a uid/gid number space, thus avoiding the interoperability problems
7990 with NFS that were present in Samba 2.2.
7994 ######################################################################
7995 Trust Relationships and a Samba Domain
7996 ######################################
7998 Samba 3.0.0beta2 is able to utilize winbindd as the means of
7999 allocating uids and gids to trusted users and groups. More
8000 information regarding Samba's support for establishing trust
8001 relationships can be found in the Samba-HOWTO-Collection included
8002 in the docs/ directory of this release.
8004 First create your Samba PDC and ensure that everything is
8005 working correctly before moving on the trusts.
8007 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
8008 4.0 domain named WINDOWS:
8010 1) create the trust account for SAMBA in "User Manager for Domains"
8011 2) connect the trust from the Samba domain using
8012 'net rpc trustdom establish GLASS'
8014 To create a trustlationship with SAMBA as the trusted domain:
8016 1) create the initial trust account for GLASS using
8017 'smbpasswd -a -i GLASS'. You may need to create a UNIX
8018 account for GLASS$ prior to this step (depending on your
8019 local configuration).
8020 2) connect the trust from a WINDOWS DC using "User Manager
8023 Now join winbindd on the Samba PDC to the SAMBA domain using
8024 the normal steps for adding a Samba server to an NT4 domain:
8025 (note that smbd & nmbd must be running at this point)
8027 root# net rpc join -U root
8028 Password: <enter root password from smbpasswd file here>
8030 Start winbindd and test the join with 'wbinfo -t'.
8032 Now test the trust relationship by connecting to the SAMBA DC
8033 (e.g. POGO) as a user from the WINDOWS domain:
8035 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
8038 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
8040 $ smbclient //crystal/netlogon -U root -W WINDOWS
8043 ######################################################################
8047 Beginning with Samba3.0.0beta3, winbindd has been given new account
8048 manage functionality equivalent to the 'add user script' family of
8049 smb.conf parameters. The idmap design has also been changed to
8050 centralize control of foreign SID lookups and matching to UNIX
8054 Brief Description of Changes
8055 ----------------------------
8057 1) The sid_to_uid() family of functions (smbd/uid.c) have been
8058 reverted to the 2.2.x design. This means that when resolving a
8059 SID to a UID or similar mapping:
8061 a) First consult winbindd
8062 b) perform a local lookup only if winbindd fails to
8063 return a successful answer
8065 There are some variations to this, but these two rules generally
8068 2) All idmap lookups have been moved into winbindd. This means that
8069 a server must run winbindd (and support NSS) in order to achieve
8070 any mappings of SID to dynamically allocated UNIX ids. This was
8071 a conscious design choice.
8073 3) (OBSOLETE) New functions have been added to winbindd to emulate
8074 the 'add user script' family of smbd functions without requiring
8075 that external scripts be defined. This functionality is controlled
8076 by the 'winbind enable local accounts' smb.conf parameter (enabled
8079 However, this account management functionality is only supported
8080 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
8081 must be shared among multiple Samba servers (such as a PDC and BDCs),
8082 it will be necessary to define your own 'add user script', et. al.
8083 programs that place the accounts/groups in some form of directory
8084 such as NIS or LDAP. This requirement was deemed beyond the scope
8085 of winbind's account management functions. Solutions for
8086 distributing UNIX system information have been deployed and tested
8087 for many years. We saw no need to reinvent the wheel.
8089 4) A member of a Samba controlled domain running winbindd is now able
8090 to map domain users directly onto existing UNIX accounts while still
8091 automatically creating accounts for trusted users and groups. This
8092 behavior is controlled by the 'winbind trusted domains only' smb.conf
8093 parameter (disabled by default to provide 2.2.x winbind behavior).
8095 5) Group mapping support is wrapped in the local_XX_to_XX() functions
8096 in smbd/uid.c. The reason that group mappings are not included
8097 in winbindd is because the purpose of Samba's group map is to
8098 match any Windows SID with an existing UNIX group. These UNIX
8099 groups can be created by winbindd (see next section), but the
8100 SID<->gid mapping is retreived by smbd, not winbindd.
8106 * security = server running winbindd to allocate accounts on demand
8108 * Samba PDC running winbindd to handle the automatic creation of UNIX
8109 identities for machine trust accounts
8111 * Automtically creating UNIX user and groups when migrating a Windows NT
8112 4.0 PDC to a Samba PDC. Winbindd must be running when executing
8113 'net rpc vampire' for this to work.
8116 ######################################################################
8120 * There are several bugs currently logged against the 3.0 codebase
8121 that affect the use of NT 4.0 GUI domain management tools when run
8122 against a Samba 3.0 PDC. This bugs should be released in an early
8125 Please refer to https://bugzilla.samba.org/ for a current list of bugs
8126 filed against the Samba 3.0 codebase.
8129 ######################################################################
8130 Reporting bugs & Development Discussion
8131 #######################################
8133 Please discuss this release on the samba-technical mailing list or by
8134 joining the #samba-technical IRC channel on irc.freenode.net.
8136 If you do report problems then please try to send high quality
8137 feedback. If you don't provide vital information to help us track down
8138 the problem then you will probably be ignored.
8140 A new bugzilla installation has been established to help support the
8141 Samba 3.0 community of users. This server, located at
8142 https://bugzilla.samba.org/, has replaced the older jitterbug server
8143 previously located at http://bugs.samba.org/.