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.
56 * BUG 4637: Fix samlogon reply regression that broke domain logons.
59 o Alexander Bokovoy <ab@samba.org>
60 * Add -pie support to Python's setup.py.
61 * Strip STYPE_TEMPORARY and STYPE_HIDDEN when printing share
62 listing from 'net rap shares".
63 * Fix argument parsing in "net rap server domain".
66 o Gerald (Jerry) Carter <jerry@samba.org>
67 * BUG 4616: Don't return a dns or forest name when replying to the
68 DsGetPrimaryRoleInfo() and configured for security = domain.
69 * Trim noise by removing redundant WARNING log message that would
71 * Fix truncation of supplementary Unix groups when using "force group".
74 o Guenther Deschner <gd@samba.org>
75 * Always fallback to NTLM authentication in pam_winbind when the
76 user's account has UF_DONT_REQUIRE_PREAUTH set.
79 o Steve French <sfrench@us.ibm.com>
80 * Valgrind fixes in mount.cifs.
83 o Volker Lendecke <vl@samba.org>
84 * Fix crash bug in the Solaria ACL VFS module caused by
85 uninitialized variables.
88 o Derrell Lipman <derrell@samba.org>
89 * BUG 4601: Fix smbc_getxattr() to properly return the required
90 size of the buffer needed to contain the extended attributes.
91 * BUG 4599: Fix failure when setting attributes.
92 * BUG 4634: Type of the size parameter to getpeername in
93 libsmbclient code was wrong.
96 o Jim McDonough <jmcd@us.ibm.com>
97 * BUG 4630: Fix special case of unix_to_nt_time() for TIME_T_MAX
98 and the output from http_timestring().
101 o Stefan Metzmacher <metze@samba.org>
102 * Merge gdb_backtrace script changes form SAMBA_4_0.
105 o Lars Mueller <lars@samba.org>
106 * Allow idmap_ldap to be built as a shared lib.
109 o James Peach <jpeach@apple.com>
110 * BUG 4426: Move FAM libraries from smbd to vfs_fam_notify.
111 * BUG 2287: Replace unnecessary AC_TRY_RUN with AC_TRY_LINK.
112 * BUG 4589: Fix typo in pdbedit output.
115 o Simo Sorce <idra@samba.org>
116 * Short circuit Unix Users and Unix Groups Domain SID checks
117 in smbd to avoid unnecessary calls to winbindd.
120 Release notes for older releases follow:
122 --------------------------------------------------
123 ==============================
124 Release Notes for Samba 3.0.25
126 ==============================
128 The 3.0.25 release is an upgrade release over the 3.0.23/3.0.24
129 series which means that a substantial amount of development has
130 occurred and many new features have been added since the last
131 Samba production release. We would like to thank everyone in
132 the Samba community that help to test the preview snapshots and
133 release candidates. We believe that the this production release
134 is in much better shape due to your help.
136 Major features included in the 3.0.25 code base include:
138 o Significant improvements in the winbind off-line logon support.
139 o Support for secure DDNS updates as part of the 'net ads join'
141 o Rewritten IdMap interface which allows for TTL based caching and
143 o New plug-in interface for the "winbind nss info" parameter.
144 o New file change notify subsystem which is able to make use of
146 o Support for passing Windows security descriptors to a VFS
147 plug-in allowing for multiple Unix ACL implements to running side
148 by side on the Same server.
149 o Improved compatibility with Windows Vista clients including
150 improved read performance with Linux servers.
151 o Man pages for IdMap and VFS plug-ins.
153 Security Fixes included in the Samba 3.0.25 release are:
156 Versions: Samba 3.0.23d - 3.0.25pre2
157 Local SID/Name translation bug can result in
158 user privilege elevation
161 Versions: Samba 3.0.0 - 3.0.24
162 Multiple heap overflows allow remote code execution
165 Versions: Samba 3.0.0 - 3.0.24
166 Unescaped user input parameters are passed as
167 arguments to /bin/sh allowing for remote command
171 Off-line Logons and AD Site Support
172 ===================================
174 Winbind's capability to support offline logons has been greatly
175 improved with the 3.0.25 release including support for locating
176 domain controllers asynchronously using Active Directory Site
180 New IdMap Interface for Winbindd
181 ================================
183 The 3.0.25 release of Samba includes a rewritten IdMap interface
184 for winbindd which replaces the "idmap backend" parameter. Please
185 refer to the "idmap domains" description in the smb.conf(5) man
186 page for more details.
192 The "net ads join" command is now able to register the host's DNS A
193 records with Windows 2000 SP4 and 2003 DNS servers. This
194 feature must be enabled at compile time using the --with-dnsupdate
195 when running the ./configure script. There is also a related "net ads
196 dns" command for refreshing a host's records which could be launched
197 from a dhcp client script when a new IP address is obtained.
200 Support for Additional ACL Modules
201 ==================================
203 Samba's POSIX ACL support has been moved inside of the VFS layer
204 which means it is now possible to support multiple ACL implementations
205 on the same server including NFSv4 and GPFS ACLs.
211 Windows Vista introduces pipe-lined read support for improved
212 performance when transferring files. The new vfs_readahead plugin
213 allows Linux file servers to utilize additional Kernel buffers
214 for caching files in order to avoid Disk I/O wait time when serving
215 Vista clients. If you experience poor read performance between
216 Linux servers and Vista clients, please test the vfs_readahead
217 module by adding the following lines to the share definition
221 vfs objects = readahead
223 Note that this plugin will result in additional RAM requirements
224 due to the increased amount of kernel buffer caches used by smbd.
225 Please refer to vfs_readahead(8) for more information.
228 Windows Vista, Office 2007, and Offline Files
229 =============================================
231 Research surrounding offline files, Windows Vista, and Microsoft
232 Office 2007 has revealed a incompatibility between these
233 applications and the "map acl inherit = no" setting in smb.conf.
234 Users requiring support client side caching (csc) and offline
235 files are encouraged to enable the "map acl inherit" for any
236 affected share definitions in the server's configuration.
237 Future versions of Samba will enable this setting by default.
239 Please refer to the smb.conf(5) man page for more details on
243 ######################################################################
250 Parameter Name Description Default
251 -------------- ----------- -------
252 change notify timeout Removed n/a
253 change notify New Yes
254 debug prefix timestamp New No
255 fam change notify Removed n/a
257 idmap alloc backend New ""
258 idmap cache time New 900
259 idmap negative cache time New 120
260 kernel change notify Per share Yes
261 lock spin count Removed n/a
262 max stat cache size Modified 1024KB
263 msdfs root Modified no
264 printjob username New %U
265 winbind normalize names New no
270 Changes since 3.0.25rc3
271 -----------------------
274 o Jeremy Allison <jra@samba.org>
275 * Fix memory corruption bug during string processing.
276 * Instantiate idiom that malloc/tallocs of array of 0 elements
278 * Fix marshalling bugs in samr code based on incorrect
280 * Fix DFS MS-RPC enumeration reply when we have no DFS shares.
281 * Fix memory corruption when enumerating accounts in the
282 LsaPrivilege database.
283 * Fixes for CVE-2007-2444, CVE-2007-2446, and CVE-2007-2447.
286 o Gerald (Jerry) Carter <jerry@samba.org>
287 * Fix memory corruption when adding/removing members from Local
291 o Guenther Deschner <gd@samba.org>
292 * Prevent leaking on full NET_USER_INFO_3 structure memory on each
294 * Plug memory leak in client SPNEGO session setup code.
295 * Don't clear cached U/SID and UG/SID entries when we want to
299 o Steve French <sfrench@us.ibm.com>
300 * Allow prepaths in mount.cifs.
301 * Don't prompt for a password in mount.cifs when sec=none has been
305 o Steve Langasek <vorlon@debian.org>
306 * BUG 4600: Fix compilation of --with-python.
309 o Volker Lendecke <vl@samba.org>
310 * Fix memory corruption bug in string_replace().
311 * Fix valgrind error in parse_domain_user().
312 * Fix compilation of explicit --without-winbind.
313 * Fix an uninitialized variable and other compiler warnings.
314 * Fix memory leak in smbd's claim session code.
315 * BUG 4613: Fix incorrect password expiration caused by stomping on
316 the time values in the NET_USER_INFO_3 for remote users.
317 * Fixes for CVE-2007-2446.
320 o Stefan Metzmacher <metze@samba.org>
321 * Add AC_GNU_SOURCE macro in libreplace for systems which don't have it.
322 * Fix libreplace compiler warnings.
325 o Jens Nissen <jens.nissen@gmx.net>
326 * Fix memory leak on the file/directory ACL processing code.
329 o Simo Sorce <idra@samba.org>
330 * Memory allocation cleanups and sanity checks after the malloc(0)
332 * Fix socket leak in idmap_ldap.c.
333 * Fix failure in "net idmap restore".
334 * Fix crash bug in idmap_ldap's get_credentials() code.
335 * Fixes for CVE-2007-2446.
338 o Alison Winters <alisonw@sgi.com>
339 * Add missing return calls in sendfilereadbraw.
349 o Michael Adam <ma@sernet.de>
350 * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.
351 This makes the difference between the get and set calls for
352 SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE.
353 * Prevent collision from config.h created by stand alone component
357 o Jeremy Allison <jra@samba.org>
358 * Fix CIFS POSIX unlink behavior.
359 * Change POSIX_UNLINK to allow clients to differentiate between
361 * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
362 * Refactor MS-DFS server and client code.
363 * Support deep MS-DFS referrals in Samba client applications.
364 * Change the VFS interface to use struct timespec for utimes.
365 * Fix build failures on *BSD platforms caused by introduction of
367 * Optimize exit path in the byte-range locking code in smbd to
368 only read the locking db if there are outstanding lock requests.
369 * Fix long-standing bug in our chain processing code.
370 * BUG 4384: Fix bug in old search code.
371 * Add support for the UNIX_INFO2 info level.
372 * Add in the "create info" field to the reply from POSIX_OPEN
374 * Refactor the sessionsetupX code a little to allow us to return
375 a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
376 * Fix memory leaks in the LDAP sasl bind code.
377 * Fix crash in vfs audit/full audit modules caused by API changes.
378 * Fix connection problem between pre-3.0.25 smbclient and new DFS
380 * Fix valgrind errors in credentials.c.
381 * Fix logic error in CIFS POSIX extensions for open() and mkdir().
382 * Fix if logic error when checking for password resets of machine
383 trust accounts in Samba's passdb.
384 * Ensure we use the same technique to pull the share mode data out
386 * Fixes buffer parsing in the server side Lanman and RAP calls.
387 * Fix GetPrinter() info level 3 to fix displaying and setting
388 security descriptors on printers from WinXP x86_64 clients.
389 * Return correct error code to the trans2 GetDfsReferral() request
390 from Vista clients (fixes listing share contents in the Vista
392 * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
394 * Consolidate the become_root_uid_only() calls to only use
396 * Add vfs_readahead module to deal with the pipe-lined reads
398 * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
399 clients trying to utilize offline file support.
400 * BUG 4494: Make sure to fail immediately if sendfile fails and
401 don't continue on to call chain_reply() (based on report from
403 * Remove tdb.h from the libsmbsharemodes.so header file.
404 * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
406 * Add initial version to winbindd_cache.tdb file. Automatically
407 delete existing non-versioned cache files.
408 * Fix the storage size of time_t in winbindd_cache.tdb to be 8
410 * Cope with signature errors on sessionsetupX logins where the
411 server just reflects our signature back to us. Allow the upper
412 layer to see the real error.
413 * BUG 4512: Limit the volume label for a share to 32 UNICODE
415 * Allow arbitrary bases in int and ulong parsing in smb.conf.
416 * Fix off-by-one error in tconX parsing.
417 * Winbind off-line logon fixes.
418 * Support for AD sites when locating domain controllers.
419 * Fix libsmbclient bug with Konqueror and NetApp filers that need
420 a leading / in OpenAndX calls.
421 * BUG 4187: Possible crash in signing on/off code.
422 * Fix memory leaks in pam_winbind.c.
423 * Fix a bug in the sequence number store/fetch routines in
425 * Fix the problem with Linux clients requesting O_WRONLY on write-only
427 * Fix a class of memory allocation bugs in the handling of user tokens.
428 * Fix crash bug in winbindd caused by a bug in the messaging dispatch
430 * Fix memory bloat in trans calls caused by talloc()'ing memory off the
432 * Fix wildcard renames with SMBmv.
433 * Fixes for pathname handling code.
434 * Add in the wdel smbclient command to perform wildcard deletes.
435 * Fix a bug that causes smbd to 'hang' intermittently while updating
436 the trusted domain cache.
437 * Cleanup error path processing in reduce_name().
438 * Fixes for smbtorture tests (BASE-DELETE, ...)
439 * Delete on close fixes ("I completely understand it this time").
440 * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
442 * More fixes for Unix Extensions include support for POSIX locking.
443 * NTLMv2 fixes for Vista clients.
444 * Add an optimized lookup for Domain Users and only report the current
445 user (which is generally what the calling application wants to know
447 * Fixes for supporting the Vista backup utility based on work by Joe
448 Meadows <jameadows@webopolis.com>.
449 * Fix 4377: Fix rename of "foo" -> "Foo".
450 * BUG 4188: Fix for Vista delete directory bug.
451 * BUG 4400: Add support for processing large Krb5 tickets in SMB
452 sesssetup&X. Based on work by <todd.stecher@isilon.com>.
453 * Fix trans2 file size reporting for Linux CIFS client.
454 * Allow Well-Known and Local Groups to be stored in POSIX ACLs
455 as long as there is a SID/gid mapping entry available.
456 * Fix memory corruption bug in the CIFS POSIX open/mkdir.
457 * BUG 4536: Correctly delete symlinks pointing to a directory.
460 o Danilo Almeida <dalmeida@centeris.com>
461 * Add additional debug support for pam_winbind.
462 * Add support for listing multiple groups in pam_winbind's
463 require-membership-of option which act as a logical OR.
466 o Andrew Bartlett <abartlet@samba.org>
467 * Ensure debug messages from tools print the correct config file
468 location if the file was defined as a command line option.
471 o Andrew Benham <andrew.benham@thus.net>
472 * BUG 4290: Properly compute time to password expiration in message
476 o Alexander Bokovoy <ab@samba.org>
477 * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
478 * Add GPFS-provided DMAPI support
481 o Kai Blin <kai.blin@gmail.com>
482 * Match Windows NTLMSSP flags.
485 o Gerald (Jerry) Carter <jerry@samba.org>
486 * Implement pluggable "winbind nss info" interface.
487 * Removal of unmaintained smbwrapper utility.
488 * Fix server affinity bugs in the 'net ads join' code to include
489 support for AD sites.
490 * Implement DDNS update client code.
491 * Upper case the host/sAMAccountName in the keytab file.
492 * Fix lookupname call in winbindd when joined to a child domain and
493 trying to resolve a SID in a sibling domain.
494 * Fix password changes against a Windows 2000 DC using pam_winbind.
495 * Fix crash in "pdbedit -L -w"
496 * Add "winbind normalize names" option.
497 * BUG 4093: Make %a resolve correctly for Windows Vista and Windows
499 * Printing fixes for Windows Vista.
500 * Protect the sasl bind against a NULL principal string in the
502 * Fix some "cannot access LDAP when no root" bugs.
503 * NSS and PAM fixes on AIX.
504 * Cached credentials and Krb5 ticket renewal fixes in winbindd.
505 * Fix server affinity bug in Winbind's ADS connection handling.
506 * Fix crash when enumerating local group membership in usrmgr.exe
508 * Rework parsing for NetFileEnum() and NetSessionEnum()
509 * Add server stub for NetFileClose()
510 * Return correct information for sessions and open files
511 including session duration, number of open files, and open pipes.
512 * Fixes for "winbind normalize names" functionality:
513 - Fix getgroups() call called using a normalized name
514 - Fix some more name mappings that could cause for example
515 a user to be unable to unlock the screen as the username
516 would not match in the PAM authenticate call.
517 * Blacklist BUILTIN and MACHINE domains from the idmap domains as
518 these should only be handled by the winbindd_passdb.c backend.
519 * Allow the alloc init to fail for backwards compatible
520 configurations such as with idmap_ad.
521 * Remove the deprecated flags from idmap backend, et. al. These
522 are mutually exclusive with the "idmap domains".
523 * Add the osname and osver options to 'net ads join'
524 * Ensure winbindd honors the "idmap domains" option and not
525 default to idmap_tdb.
526 * Fix memory corruption caused by calling free() on talloc()'d
527 memory when adding and removing users from local groups.
528 * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
529 the schema_mode option when using "winbind nss info = template".
530 * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
531 idmap alloc backend has been defined. Do not defined a default
533 * Fix "make install" to include creating the links between
534 idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
535 * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
537 * BUG 4508: Remove potential loops in the idmap API by requiring
538 the caller defined the SID type rather than having the idmap layer
539 call back up to determine the SID type when allocating
541 * Don't inherit the offline flag for winbindd_domains that have
542 not been initialized yet.
543 * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
544 * Fix deadlock and timeout conditions in idmap_rid.
547 o Steven Danneman <steven.danneman@isilon.com>
549 * Fix core dump when config file in same directory.
552 o Mathias Dietz <mdietz@de.ibm.com>
553 * Initial implementation of the GPFS VFS module.
554 * Work on NFSv4 ACL VFS plugin.
555 * Add support for share modes to the GPFS VFS plugin.
558 o Guenther Deschner <gd@samba.org>
559 * Winbind off-line logon fixes.
560 * Support for AD sites when locating domain controllers.
561 * Various fixes for 'net ads' user management functions.
562 * Add an CLDAP client written in Perl.
563 * Cleanups to the Krb5 ticket refresh code in winbindd.
564 * Fixes for various error messages from pam_winbind when password
565 policies are being enforced.
566 * Implement grace logons for offline authentications in pam_winbind.
567 * Fixes for idmap_ad.
569 * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
570 with short lived service tickets
571 * Implement basic AD group policy library
572 * Adding experimental krb5 lib locator plugin.
573 * Ensure that Samba clients are correctly reported by the %a
574 smb.conf as "Samba" and not "Vista".
575 * Prevent a user from issuing a PAM_DELETE_CREDS request in
576 pam_close_session() for another user.
577 * Fix tdb keynames in netsamlogon_clear_cached_user().
578 * Add missing proto_exists dependency for the Winbind NSS target
580 * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
581 * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
582 * Memory allocation error checks in libgpo.
585 o Steve French <sfrench@us.ibm.com>
586 * Fix mount.cifs compile on old libc missing bind mount #define.
589 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
590 * Fix memory leaks in the error paths used by winbindd's credential
592 * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
593 * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
596 o Krishna Ganugapati <krishnag@centeris.com>
597 * Implement DDNS update client code.
600 o YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
601 * BUG 4346: Fix type reported for hidden shares via MS-RPC.
604 o David Hu <david.hu@hp.com>
605 * BUG 4267: Fix memory leaks in ldapsam.
608 o Bjoern Jacke <bj@sernet.de>
609 * BUG 4244: Limit stat cache to a default of 1MB.
612 o William Jojo <jojowil@hvcc.edu>
613 * BUG 3713: Re-add reporting what the profiles tool does (-v).
614 * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
615 * BUG 4447: Fix compile failure on AIX 5.2.
618 o Taj Khattra <taj.khattra@gmail.com>
619 * Fix missing lock count release in transaction cancel.
622 o Zack Kirsch <zack.kirsch@isilon.com>
623 * Fix memory leaks on some error paths.
624 * Memory leak fixes on error paths in various places.
627 o Derrell Lipman <derrell@samba.org>
628 * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
629 * BUG 4309: Prevent netbios keepalive on port 445 which causes
630 Vista to disconnect Samba clients.
631 * Ensure that the libsmbclient example programs link with the
632 libsmbclient library that's part of the current tree.
635 o Volker Lendecke <vl@samba.org>
636 * Replace snum references with a structure based array.
637 * Allow changing of the hashsize when running tdbbackup.
638 * Implement secure DDNS update code
639 * Klocwork, Coverity, and IBM Checker fixes.
640 * BUG 4273: Fix crash in 'net rpc vampire'
641 * Refactor older SMB file serving code.
642 * Refactor open directory file serving code.
643 * Implement support for inotify when serving CIFS change notification
644 requests (includes merge work from SAMBA_4_0).
645 * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
646 RAW-UNLINK, RAW-CLOSE, ...)
647 * Refactor delete on close file server code.
648 * MS-DFS fixes for Vista clients.
649 * BUG 4372: Long timeout in LDAP setup when accessing files after
651 * Change the static array for the in-memory mirrors of the hash chain
652 locks to a dynamically allocated one.
653 * Use inotify for file change notification on Linux.
654 * Revert "msdfs root" to default to "no".
656 * Fix memory leaks when returning user lists to clients via SAMR calls.
657 * BUG 4365: Fix NTLMv2 implementation on Samba member servers not
659 * Reduce contention on the tdb free list by periodic reclamation
660 of dead tdb records into groups
661 * Split tdb free lists per hash chain.
663 * Add winbindd_priv_request_response() request that kills the
664 existing winbind pipe connection if it's not privileged to prevent
665 race conditions during the challenge/response authentication sequence.
666 * BUG 4460: Fix compile error in winbind_nss_irix.c.
667 * Fix Coverity bug reports.
668 * Fixes buffer parsing in the server side Lanman and RAP calls.
671 o David Leonard <dleonard@vintela.com>.
672 * Fix file descriptor leak from an error path in winbindd.
673 * BUG 4369: Fix smbclient's showacls on files in subdirectories.
676 o Herb Lewis <herb@samba.org>
677 * Cleanups to sharesec utility.
678 * Compiler warning cleanups.
679 * Compiler warning fixes.
680 * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
682 * Add "debug prefix timestamp" to allow syslog type timestamps to be
683 added in the Samba log files.
684 * Fix compile error in nmbd_incomingdgrams.c.
685 * Allow profiling level to be set on startup.
688 o Ying Li <ying.li2@hp.com>
689 * Use the default tdb idmap plugin when neither idmap domains
690 nor idmap backend have been defined.
693 o Jason Mader <jason@ncac.gwu.edu>
694 * Various compile warning fixes.
695 * Initial patch set for strptime() in libreplace.
698 o Don McCall <don.mccall@hp.com>
699 * Fix compile bug in vfs_default on platforms without utimes().
700 * HP-UX compile fixes.
703 o Jim McDonough <jmcd@us.ibm.com>
704 * Bug fixes for GPFS VFS module.
705 * Fix "password never expires" policy which would be incorrectly
706 require all users to change their password at login time.
707 * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
709 * Fix crate_user() access checks when setting the "User Cannot
710 Change Password" flag.
713 o Stefan Metzmacher <metze@samba.org>
714 * POSIX ACL compile warning fixes.
715 * Fix --with-fhs, where confdir is set to \${sysconfdir} but
716 sysconfdir wasn't defined in the Makefile.
717 * Add localstatedir to configure.in for completeness.
718 * BUG 4496: Fix libreplace failure on ulibc systems.
719 * Merge numerous libreplace fixes from the SAMBA_4_0 code base
720 (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
721 * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
722 * Portability fixes for dlopen() (merge from SAMBA_4_0)
723 * Sync libreplace (merge from SAMBA_4_0)
726 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
730 o Gomati Mohanan <gomati.mohanan@in.ibm.com>
731 * Work on NFSv4 ACL VFS plugin.
734 o Lars Mueller <lars@samba.org>
735 * Provide better feedback about deprecated use of multiple passdb
736 backends. Use the first backend to have at least this one working.
737 * Fix make install to include smbmount, et. al. docs.
738 * Merge more proto_exists dependency fixes from SAMBA_3_0.
740 * Log the reason for failures when not creating a core file on a
741 crash due to restrictive permissions on the log file directory.
744 o James Peach <jpeach@apple.com>
745 * Replace exit_server with exit_server_cleanly where appropriate.
746 * Add docs for VFS modules.
747 * Portability fixes for autoconf and character set modules on
749 * Only attempt to reload the config file after the fork point
750 if we are in daemon mode.
751 * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
752 * Changing the FindFirst response for the UNIX_INFO2 level to
753 include a length field before the name.
754 * Add call to chflags(2) in the default VFS module.
757 o Andy Polyakov <appro@fy.chalmers.se>
758 * Pull the CUPS comment and location attributes when not overridden
759 by values stored in Samba's ntprinters.tdb.
760 * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF
761 header parsing code in smbd.
764 o J Raynor <raynorj@mn.rr.com>
765 * Make sure we are privileged when doing DMAPI operations on systems
766 that don't have capability support.
769 o Jorge Santos <jorge_a_santos@hotmail.com>
770 * BUG 4500: Fix compile bug in quota.c.
773 o Jiri Sasek <jiri.sasek@sun.com>
774 * Fix incorrect Krb5 linking on Solaris.
775 * Fix possible NULL dereference in adt_tree.c
778 o Karolin Seeger <ks@sernet.de>
779 * Fix a compile problem in shadow_copy_test.c.
780 * Add 'net sam policy' commands.
781 * Fixes for "net usershare" and "guest_ok=y"
784 o Robert Shearman <rob@codeweavers.com>
785 * Allow NULL domain and username in the form of user@domain to be
786 interpreted correctly by ntlm_auth for use by Wine applications.
789 o Simo Sorce <idra@samba.org>
790 * Remove redundant log messages from idmap_ad.c.
791 * BUG 3974: Fix ambiguity between the -N option and the -T
793 * Fix linking flags used when creating shared libraries.
794 * Offline logon fixes in the idmap backend manager.
795 * Cleanup initialization code in the sfu and rfc2307 nss_info
796 plugins to protect against a crash if called before the idmap_ad
797 module has been initialized.
798 * Protect against crashes in get_dc_name() in the idmap_ad code
799 when we are working offline.
800 * BUG 4438, 4440: Fix bugs in "net sam provision".
801 * Initial implementation of new IdMap interface.
802 * Fix crash in pam_winbind caused by referencing a pointer after the
803 memory had been freed.
804 * Implement escaping function for ldap RDN values.
807 o Peter Somogyi <SOMOGYI@de.ibm.com>
808 * Work on NFSv4 ACL VFS plugin.
811 o Andrew Tridgell <tridge@samba.org>
812 * Fix an integer overflow in the ndr library code used by PIDL.
815 o Jelmer Vernooij <jelmer@samba.org>
816 * Implement support for IDL autogenerated code to
817 handle the MS-RPC parsing functions.
820 o Don Watson <dwwatson@us.ibm.com>
821 * Fixes for 'net rpc vampire' and the guest account
824 o Martin Zielinski <mz@seh.de>
825 * Printing fixes for Windows Vista clients.
828 --------------------------------------------------
829 ==============================
830 Release Notes for Samba 3.0.24
832 ==============================
835 Important issues addressed in 3.0.24 include:
837 o Fixes for the following security advisories:
838 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
839 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
840 NSS library on Solaris)
841 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
844 ######################################################################
848 Changes since 3.0.23d
849 ---------------------
854 o Jeremy Allison <jra@samba.org>
855 * Fix for CVE-2007-0452 & CVE-2007-0454
858 o Olivier Gay <ouah@ouah.org>
859 * Fix for CVE-2007-0453
862 o Volker Lendecke <vl@samba.org>
863 * Fix for CVE-2007-0452
866 --------------------------------------------------
867 ===============================
868 Release Notes for Samba 3.0.23d
870 ===============================
872 This is the latest stable release of Samba. This is the version
873 that production Samba servers should be running for all current
874 bug-fixes. Please read the changes in this section and for the
875 original 3.0.23 release regarding new features and difference
876 in behavior from previous releases.
878 Important issues addressed in 3.0.23d include:
880 o Stability fixes for winbindd
881 o Portability fixes on FreeBSD and Solaris operating systems.
883 ######################################################################
887 Changes since 3.0.23c
888 ---------------------
893 o Jeremy Allison <jra@samba.org>
894 * Changes to ntlm_auth to better support Firefox's NTLM
896 * Make the "max usershares" parameter an advisory limit.
897 * BUG 4095: Cleanup bad substitution causing the username
898 to be translated to domain\user twice in spnego path.
899 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
900 [un]become_root() pairs.
901 * Ensure we always return the canonicalized name
902 * Add in fixes to mangling dir code.
903 * Do not assume that gencache can always be opened for RW access.
905 * Always initialize variables in winbindd request/response
907 * Fix libsmbclient bug with Konqueror and NetApp filers that
908 need a leading / in OpenAndX calls.
909 * Added showacls toggle in the smbclient code.
910 * Add a suffix to the pidfile's program name if this is a process
911 with a non-default configuration file name.
912 * Fix protection from invalid struct tm values.
913 * BUG 4187: Possible crash in signing on/off code.
914 * BUG 4214: Fix crash bug in find_forced_group().
915 * BUG 4224: Fix enforcement of the deadtime parameter.
918 o Timur Bakeyev <timur@com.bat.ru>
919 * BUG 3856: Set the nss soname version on FreeBSD.
920 * BUG 4109: Fix bug causing smbd to turn off winbindd and
921 fail to disable the _NO_WINBIND environment.
922 * BUG 3868: Prevent --with-aio-support from trimming the
923 $LIBS variable in configure.in.
926 o Dmitry Butskoy <dmitry@butskoy.name>
927 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
928 outside the idmap range if 'winbind trusted domains
932 o Gerald (Jerry) Carter <jerry@samba.org>
933 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
934 call to ensure it finds the Unix user first.
935 * Only grant privs to Administrators if privileges are enabled
936 to avoid bogus error messages in the logs.
939 o Alex Deiter <tiamat@komi.mts.ru>
940 * BUG 3524: Fix for quota support on Solaris.
943 o Guenther Deschner <gd@samba.org>
944 * Close socket when the CLDAP request has failed.
945 * Memory leak fixes in the libads/ldap.c code.
946 * Printer publishing fixes for "net ads".
947 * Fix error code returns in the CLDAP client code.
948 * Do not anonymously query for AD schema items in winbindd.
949 * Protect against storing null-sids in the winbind cache.
950 * Fallback to non-paging LDAP searches for anonymous bound
952 * More workarounds when nscd.
953 * Fix error code typoe in the GetDcName() netlogon call
954 (including two new error codes).
955 * Fix valgrind warnings in pam_winbind
956 * Add two missing refresh_sequence_number calls where they are
957 missing just before writing to the winbind cache tdb.
958 * Attempt to locate a valid domain controller before prompting
959 for credentials in "net ads".
960 * Set 35 second timeout in winbindd's netlogon code when sending
962 * Stop "net ads {user,group} delete" from doing funny things.
963 * Fix container handling for "net ads user" and "net ads group"
965 * Fix various memleaks and seg faults in "net ads {user,group}".
968 o Udo Eberhardt <udo.eberhardt@thesycon.de>
969 * BUG 4100: Fix crash in the server spooler code by initializing
970 values for smb_io_notify_info_data_strings.
973 o Olaf Flebbe <o.flebbe@science-computing.de>
974 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
977 o David Hu <david.hu@hp.com>
978 * BUG 4212: Fix memleak in the default_ou_string handling.
981 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
982 * BUG 4229: Compile fix for systems without kerberos.
985 o Volker Lendecke <vl@samba.org>
986 * NTLMSSP LanMan session key fixes.
987 * Various potential seg fault fixes.
988 * Extra logic in share access checks for bad smb.conf parameter
990 * Fixes to allow smbclient to connect to Vista RC1 workstations.
991 * Fix bad search filter in ldapsam when enumerating group
995 o Jim McDonough <jmcd@us.ibm.com>
996 * Correctly handle the password expiration policy on Samba DCs.
999 o Nils Nordman <nils.nordman@nordman.org>
1000 * BUG 4085: Allow smbpasswd to change expired passwords on
1004 o Simo Sorce <idra@samba.org>
1005 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
1006 * Better fqdn handling when parsing the /etc/hosts file.
1007 * Fix crash bug in pam_winbind.
1009 o Andrew Tridgell <tridge@samba.org>
1010 * Fix string alignment problem in password change code.
1014 * BUG 4211: Logic error when enforcing "acl group control"
1018 Release Notes for older release follow:
1020 --------------------------------------------------
1021 ===============================
1022 Release Notes for Samba 3.0.23c
1024 ===============================
1026 We would like to thank the developers of the Saturn code analysis
1027 tool from Stanford University (http://glide.stanford.edu/saturn).
1028 This release includes several code fixes based on its reports.
1030 Common bugs fixed in 3.0.23c include:
1032 o Authentication failures in pam_winbind when the AD domain
1033 policy is set to not expire passwords.
1034 o Authorization failures when using smb.conf options such
1035 as "valid users" with the smbpasswd passdb backend.
1038 RID Algorithms & Passdb
1039 =======================
1041 Starting with the 3.0.23c release, the officially supported passdb
1042 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
1043 with regards to the historical RID algorithm for unmapped users
1044 and groups (i.e. accounts not in the passdb or group mapping table).
1045 The resulting behavior is that all unmapped users are resolved
1046 to a SID in the S-1-22-1 domain and all unmapped groups resolve
1047 to a SID in the S-1-22-2 domain. Previously, when using the
1048 smbpasswd passdb, such users and groups would resolve to an
1049 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
1050 However, the smbpasswd backend still utilizes the RID algorithm
1051 when creating new user accounts or allocating a RID for a new
1052 group mapping entry.
1054 With the changes in the 3.0.23c release, it is now possible to
1055 resolve a uid/gid, name, or SID in any direction and always obtain
1056 a symmetric mapping. This is important so that values for smb.conf
1057 parameters such as "valid users" resolve to the same SIDs as those
1058 included in the local user's initial token.
1060 Most installations will notice no change. However, because
1061 an unmapped account's SID will now change even when using
1062 smbpasswd it is possible that any security descriptors on files
1063 previously copied from a Samba host to a Windows NTFS partition
1064 may now fail to give access. The workaround is to either manually
1065 map all affect groups (or add impacted users to the server's
1066 passdb) or to manually reset the file's ACL.
1069 ######################################################################
1073 Changes since 3.0.23b
1074 ---------------------
1078 o Michael Adam <ma@sernet.de>
1079 * Fix incorrect logic in internal_resolve_name() caused by if
1083 o Jeremy Allison <jra@samba.org>
1084 * Don't store a NULL SID in winbindd's offline cache.
1085 * Ensure we store the offline password hash in the correct format.
1086 * OS/2 fixes for large Extended Attributes data.
1087 * Fix nmbd crashes caused by miscalculation in pushing
1089 * Handle times consistently across all client utils including
1091 * Fix a file descriptor leak in nmbd sync DNS lookup code.
1092 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
1094 * Pointer dereference fixes based on the Saturn analysis tool.
1095 * Fix memory leak in the AD DC lookup code.
1098 o Gerald (Jerry) Carter <jerry@samba.org>
1099 * RHEL4 and Fedora packaging updates.
1100 * Remove RID algorithm support for unmapped users and groups
1101 when using an smbpasswd backend.
1102 * Extend the NT token for local users' with the S-1-22-2
1103 SID for each supplementary group
1104 * BUG 3969: Fix unsigned time comparison with expiration
1106 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
1107 that winbindd talks to the correct DC when servicing PAM
1108 authentication requests.
1109 * Do not use the generic IP address sort routines for AD DCs
1110 since the SRV lookup include a sorting algorithm based
1111 on priority and weight.
1112 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
1113 * More changes to ensure that the primary group SID for
1114 a local user is based on the primary Unix group and not the
1115 primaryGroupSID passdb attribute.
1116 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
1117 to the SID<->uid/gid cache.
1120 o Guenther Deschner <gd@samba.org>
1121 * Fix msdfs RPC client and server management RPCs.
1122 * Align idmap_ad with the current idmap_methods interface.
1125 o Volker Lendecke <vl@samba.org>
1126 * Re-add support for "username level" when looking up the
1127 matching Unix user for an smbpasswd entry.
1131 o Simo Sorce <idra@samba.org>
1132 * Let innetgr() work without binding its use to a
1133 NIS domain to support netgroups in local files.
1136 o Ben Winslow <rain@bluecherry.net>
1137 * Allow client smb signing to be turned off correctly.
1140 --------------------------------------------------
1141 ===============================
1142 Release Notes for Samba 3.0.23b
1144 ===============================
1146 Common bugs fixed in 3.0.23b include:
1148 o Ambiguity with unqualified names in smb.conf parameters
1149 such as "force user" and "valid users".
1150 o Errors in 'net ads join' caused by bad IP address in the list
1151 of domain controllers.
1152 o SMB signing errors in the client and server code.
1153 o Domain join failures when using smbpasswd on a Samba PDC.
1156 Member servers, domain accounts, and smb.conf
1157 =============================================
1159 Since Samba 3.0.8, it has been recommended that all domain accounts
1160 listed in smb.conf on a member server be fully qualified with the
1161 domain name. This is now a requirement. All unqualified names are
1162 assumed to be local to the Unix host, either as part of the server's
1163 local passdb or in the local system list of accounts (e.g. /etc/passwd
1166 The reason for this change is that smbd has transitioned from
1167 access checks based on string comparisons to token based
1168 authorization. All names are resolved to a SID and then verified
1169 against the logged on user's NT user token. Local names will
1170 resolve to a local SID, while qualified domain names will resolve
1171 to the appropriate domain SID.
1173 If the member server is not running winbindd at all, domain
1174 accounts will be implicitly mapped to local accounts and their
1175 tokens will be modified appropriately to reflect the local
1176 SID and group membership.
1178 For example, the following share will restrict access to the
1179 domain group "Linux Admins" and the local group srvadmin.
1183 valid users = +"DOMAIN\Linux Admins" +srvadmin
1185 Note that to restrict the [homes] share on a member server to the
1186 owner of that directory, it is necessary to prefix the %S value
1190 security = {domain,ads}
1192 winbind separator = +
1194 valid users = DOM+%S
1198 ######################################################################
1202 Changes since 3.0.23a
1203 ---------------------
1207 o Michael Adams <ma@sernet.de>
1208 * Fix memory leaks on error paths in 'net ads join'.
1211 o Jeremy Allison <jra@samba.org>
1212 * BUG 3962: Fix memory leak when enumerating print jobs.
1213 * Fix file access flags for the Linux CIFS fs client.
1214 * Fix memory leaks in the smbclient DFS code.
1215 * BUG 3967: Fix SMB signing client bug in trans calls.
1216 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
1217 * Added lookup_name_smbconf() to be called when looking up names
1218 from smb.conf. Unqualified names are assumed to be local.
1219 * BUG 4003: Fix SMB signing server error in NTcancel reply.
1222 o Gerald (Jerry) Carter <jerry@samba.org>
1223 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
1224 viewing or modifying local group membership.
1225 * Make LsaLookupSids() reply include the full SID of unresolved
1227 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
1228 memory in the SRV hostlist in case there is not an A record for
1230 * BUG 3964: normalize the case of usernames prior to getpwnam()
1231 call in the smbpasswd backend.
1232 * Cleanup the 'net ads help join' output and document createupn
1233 and createcomputer options.
1234 * Fix a regression in the ldapsam URI syntax. Allow multiple
1235 LDAP URIs to be grouped by "".
1238 o William Charles <william@charles.name>
1239 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
1243 o Guenther Deschner <gd@samba.org>
1244 * Fix memory leaks in pam_winbind.
1245 * Save the logon script path from the info3 in the PAM session
1246 allowing other PAM modules to pick it up from there.
1249 o Volker Lendecke <vl@samba.org>
1250 * BUG 3991: Fix problem with user tokens on standalone systems
1251 configured to use a username map.
1252 * Fix bug where qualified user or group names in smb.conf
1253 were assumed to use the '\' character as the winbind separator.
1255 --------------------------------------------------
1256 ===============================
1257 Release Notes for Samba 3.0.23a
1259 ===============================
1261 Common bugs fixed in 3.0.23a include:
1263 o Failure to strip the domain name from groups when 'winbind
1264 use default domain = yes'
1265 o Failure in pam_winbind to correctly parse arguments.
1266 o Bad token creation of local users on member servers not
1268 o Failure to add users or groups to ACLs using the Windows
1270 o Failure in file serving code when 'kernel oplocks = yes'.
1272 New features in 3.0.23a include:
1274 o New "createupn" option to "net ads join"
1275 o Rewritten Kerberos keytab generation when 'use kerberos
1280 ######################################################################
1284 Changes since 3.0.23
1285 --------------------
1289 o Jeremy Allison <jra@samba.org>
1290 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
1292 * Fix memory leaks in the AD schema parsing code.
1293 * Fixed bug in interaction with Linux kernel oplocks.
1296 o Gerald (Jerry) Carter <jerry@samba.org>
1297 * Rewrite the detection of the correct DES salting principal name
1298 when joining an Active Directory Domain.
1299 * Rewrite the keytab generation code based on existing SPN,
1300 UPN, and sAMAccountName attributes in the AD machine object.
1301 * Cleanup of dead code from idmap_ad.
1302 * Fix Winbind 32bit/64bit portability issues.
1303 * Fail 'net ads join' and disable the machine account if we cannot
1304 set any SPNs for ourselves.
1305 * Make sure to lower case all usernames before calling the create,
1306 delete, or rename hooks.
1307 * Preserve case for usernames in passdb
1308 * Flush the getpwnam cache after renaming a user
1309 * Add become/unbecome root block in _samr_delete_dom_user() when
1310 trying to verify the account's existence.
1311 * Changed 'net ads join' syntax for specifying an alternate
1312 OU. New syntax is createcomputer=<ou path top to bottom>.
1313 * Add createupn=[UPN] option to 'net ads join' for setting the
1314 userPrincipalName attribute.
1315 * Bug 3920: Restore winbind use default domain behavior for domain
1316 groups. This break local users and 'winbind nested groups' on
1320 o Guenther Deschner <gd@samba.org>
1321 * Don't clear the cache when starting winbindd in off line mode.
1322 * Fix errno reporting in pam_winbind debug messages.
1323 * BUG 3937: Fix segv in libnss_wins.so.
1326 o Volker Lendecke <vl@samba.org>
1327 * Fix memory leaks in the in error paths out of the CLDAP
1329 * AIX portability fixes for DNS client code.
1330 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
1331 * BUG 3949: Fixed authorization issue on domain member
1332 servers not running winbindd.
1335 o Andrew Tridgell <tridge@samba.org>
1336 * Fixed a bug which caused resolve_ads() to spin forever if
1337 one of the DCs isn't resolvable in DNS.
1340 o Simo Sorce <idra@samba.org>
1341 * Debian packaging fixes.
1344 o Dietrich Streifert <dietrich.streifert@visionet.de>
1345 * BUG 3916: Fix error parsing pam_winbind config arguments.
1348 Release Notes for older release follow:
1350 --------------------------------------------------
1352 ==============================
1353 Release Notes for Samba 3.0.23
1355 ==============================
1357 There has been a substantial amount of cleanup work done during
1358 this development cycle. We would like to thank both Coverity
1359 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
1360 for analyzing the Samba source code. As a result, this release
1361 includes fixes for over 400 defects. The coverage was approximately
1362 even with over 200 defects reported by each tool.
1364 Thanks very much to those people who spent time testing the
1365 release candidates and reported their findings. We would like to
1366 especially thank Thomas Bork <tombork@web.de> for his numerous
1367 reports. We believe that the final release is in much better shape
1368 in large part due to his efforts.
1370 New features in 3.0.23 include:
1372 o Improved 'make test'
1373 o New offline mode in winbindd.
1374 o New Kerberos support for pam_winbind.so.
1375 o New handling of unmapped users and groups.
1376 o New non-root share management tools.
1377 o Improved support for local and BUILTIN groups.
1378 o Winbind IDMAP integration with RFC2307 schema objects supported
1380 o Rewritten 'net ads join' to mimic Windows XP without requiring
1381 administrative rights to join a domain.
1384 User and Group changes
1385 ======================
1387 The user and group internal management routines have been
1388 rewritten to prevent overlaps of assigned Relative Identifiers
1389 (RIDs). In the past the has been a potential problem when either
1390 manually mapping Unix groups with the 'net groupmap' command or
1391 when migrating a Windows domain to a Samba domain using 'net rpc
1394 Unmapped users are now assigned a SID in the S-1-22-1 domain and
1395 unmapped groups are assigned a SID in the S-1-22-2 domain.
1396 Previously they were assign a RID within the SAM on the Samba
1397 server. For a DC this would have been under the authority of the
1398 domain SID where as on a member server or standalone host, this
1399 would have been under the authority of the local SAM (hint: net
1402 The result is that any unmapped users or groups on an upgraded
1403 Samba domain controller may be assigned a new SID. Because the
1404 SID rather than a name is stored in Windows security descriptors,
1405 this can cause a user to no longer have access to a resource for
1406 example if a file was copied from a Samba file server to a local
1407 NTFS partition. Any files stored on the Samba server itself will
1408 continue to be accessible because Unix stores the Unix gid and not
1409 the SID for authorization checks.
1411 A further example will help illustrate the change. Assume that a
1412 group named 'developers' exists with a Unix gid of 782 but this
1413 user does not exist in Samba's group mapping table. it would be
1414 perfectly normal for this group to be appear in an ACL editor.
1415 Prior to 3.0.23, the group SID might appear as
1416 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
1417 group SID would be reported as S-1-22-2-782. Any security
1418 descriptors associated with files stored on an NTFS disk partition
1419 would not allow access based on the group permissions if the user
1420 was not a member of the
1421 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
1422 group SID not reported in a user's token is S-1-22-2-782, Windows
1423 would fail the authorization check even though both SIDs in some
1424 respect referred to the same Unix group.
1426 The current workaround is to create a manual domain group mapping
1427 entry for the group 'developers' to point at the
1428 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
1434 The "passdb backend" parameter no long accepts multiple backends
1435 in a chaining configuration. Also be aware that the SQL and XML
1436 based passdb modules have been removed in this release. More
1437 information of external support for a SQL passdb module can be
1438 found at http://pdbsql.sourceforge.net/.
1441 Group Mapping Changes
1442 =====================
1444 The default mapping entries for groups such as "Domain Admins" are
1445 no longer created when using an smbpasswd file or a tdbsam passdb
1446 backend. This means that it is necessary to use 'net groupmap
1447 add' rather than 'net groupmap modify' to set these entries.
1448 This change has no effect on winbindd's IDmap functionality for
1455 There has also been a minor update the Samba LDAP schema file. A
1456 substring matching rule has been added to the sambaSID attribute
1457 definition. For OpenLDAP servers, this will require the addition
1458 of 'index sambaSID sub' to the slapd.conf configuration file. It
1459 will be necessary to run slapindex after making this change. There
1460 has been no change to actual data storage schema.
1463 ######################################################################
1470 Parameter Name Description Default
1471 -------------- ----------- -------
1472 acl group control Deprecated No
1473 add port command New ""
1474 change notify timeout Changed Scope
1475 dmapi support New No
1476 dos filemode Modified No
1477 enable asu support Changed default No
1478 enable core files New Yes
1479 enable privileges Changed default Yes
1480 enable rid algorithm Removed
1481 fam change notify New Yes
1483 host msdfs Changed default Yes
1484 msdfs root Changed default Yes
1485 open files database hash size New 10007
1486 passdb expand explicit Changed default No
1487 strict locking Changed default auto
1488 usershare allow guests New No
1489 usershare max shares New 0
1490 usershare owner only New Yes
1491 usershare path New ${lockdir}
1492 usershare prefix allow list New ""
1493 usershare prefix deny list New ""
1494 usershare template share New ""
1495 winbind enum users Changed default No
1496 winbind enum groups Changed default No
1497 winbind nested groups Changed default Yes
1498 winbind offline logon New No
1499 winbind refresh tickets New No
1500 winbind max idle children Removed
1501 wins partners Removed
1504 Changes since 3.0.22
1505 --------------------
1509 o Jeremy Allison <jra@samba.org>
1510 * Fixes for various Klocwork defect reports.
1511 * Cleanup pdb_get_XXX() methods and ensure that a failure
1512 to allocate memory for a samu user structure is reported
1513 as a failure to the calling function.
1514 * Fix memleak in printing gencache contents.
1515 * Fix warnings reported by gcc4 -O6 on 64-bit systems
1516 * Fix naming conflicts with 'net usershare' structures and
1517 Solaris header files.
1518 * Fix memleaks on error paths from the ASN.1 parsing code.
1519 * Add uid to share_mode_entry structure so we can report who
1521 * Ensure we use sys_write in password chats so we're not
1523 * Ensure all new rid allocation goes through the same pdb_ldap
1525 * BUG 3308: Stop us returning duplicate mid replies on path
1526 based set-EOF trans2 calls.
1527 * Pass RAW-OPLOCK with kernel oplocks off.
1528 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
1529 correctly when doing info level 1 directory scans.
1530 * Add Samba4 replacement for timegm() to work on Solaris.
1531 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
1532 * BUG 3592: Ignore a file in the tar output from smbclient if the
1533 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
1534 Justin Best <justinb@pdxmission.org>).
1535 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
1536 * Push/Pull Kerberos principal and realm names to/from UTF-8.
1537 * Fix incorrect boolean in assert to make POSIX lock tests
1539 * Don't ever set O_SYNC on open unless "strict sync = yes".
1540 * Remove dead printing code.
1541 * Allow configurable guest access to Samba's usershare functionality.
1542 * BUG 3587: Make byte-range locking tdb self-cleaning.
1543 * Ensure every exit error path in the session setup code calls
1545 * Use portable wrapper functions instead of seteuid directly in
1547 * Make "change notify timeout" a per-share parameter.
1548 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
1549 * Fix valgrind-spotted issue in BASE-DELETE test.
1550 * Fix early termination condition in winbindd when trying to
1551 connect to a remote DC.
1552 * Instruct winbindd to ignore fd_set when select() returns -1.
1553 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
1554 with select returning true but no data being available.
1555 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
1557 * BUG 3467: Fix delete on close semantics needed by WinXP Media
1558 Center Ed. for simultaneous recording and playback (thanks to
1559 Jason Qian for the debugging assistance).
1560 * BUG 3347: Save the Unix user token used to set the
1561 delete-on-close flag.
1562 * Fix parsing of SAMR_Q_CONNECT_ANON.
1563 * Add in support for userinfo26 structure and re-enable
1565 * Schannel server fixes. Fix the credentials chaining across
1566 \netlogon pipe disconnects.
1567 * Replace ubqix code in nmbd with an internal tdb.
1568 * Fix struct timespec checks in configure.in.
1569 * Add in server support for the NetSamLogonEx().
1570 * Add support for LsaLookupSids2() and LsaLookupSids3().
1571 * Add LsaLookupNames[2-4]().
1572 * Add support for 'net usershare'.
1573 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
1574 already exists (thanks to Sandeep Tamhankar).
1575 * BUG 3510: Fix 'net rpc join' against a server when
1576 schannel is disabled.
1577 * Get rid of poor errno mapping table. Bounce through NTSTATUS
1579 * Check for SeMachineAccountPrivilege when deleting machine
1581 * Fix a logic bug with multiple oplock contention.
1582 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
1583 Attempt to fix the broken directory handling in the *BSD.
1584 * Allow run time tuning of the locking tdb hash size for
1586 * BUG 3642: Ensure we don't call FD_SET on read with
1588 * BUG 3569: Work around linear posix locking issue on AIX
1589 which was causing high loads due to the tdb CLEAR_IF_FIRST
1590 flag (based on work from William JoJo).
1591 * Fix OS/2 directory delete bug found by kukks.
1592 * Match the Windows 2003 NTLMSSP signature.
1593 * Performance tuning work in core read & write file serving
1595 * Change default to 'strict locking' to better reflect
1597 * Fix error return on session setup. Ensure no data blob is
1598 added if the logon call failed so that Windows clients
1599 interpret the NT_STATUS code correctly.
1600 * Teach Samba the difference between exclusive and batch
1602 * BUG 3592: Ignore a file in a smbtar output if the first
1603 read fails (inspired by Justin Best).
1604 * BUG 3668: Workaround Windows bug with LARGE_READX where if
1605 you ask for exactly 64k bytes it returns 0.
1606 * BUG 3858: Ensure that all files are removed by a wildcard
1607 delete when 'hide unreadable = yes'.
1608 * Fix various issues raised by the Klocwork code analyzer.
1609 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
1610 query reply ("enhanced browsing = yes").
1611 * Fix SMB signing failures in client tools.
1612 * BUG 3909: Avoid EA lookups on MS-DFS links.
1615 o Andrew Bartlett <abartlet@samba.org>
1616 * Work around abort() in the OpenLDAP client libs caused by a NULL
1620 o Timur Bakeyev <timur@com.bat.ru>
1621 * BUG 2961: Fix compile warnings for pam_smbpass.
1622 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
1625 o Alexander Bokovoy <ab@samba.org>
1626 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
1627 * Fix absolute symlinks in the installbin.sh script.
1630 o Max N. Boyarov <m.boyarov@sam-solutions.net>
1631 * Fix crash bug in perfmon daemon example code.
1634 o Nicholas Brealey <nick@brealey.org>
1635 * Compile fix for pam_winbind.
1638 o Gerald (Jerry) Carter <jerry@samba.org>
1639 * Fix 'make install' problem when building outside source/.
1640 * Fix 'net ads join' when the workgroup is set incorrectly in
1642 * Re-add code to include the BUILTIN\Administrators SID when
1643 winbindd is not running, but the user's token includes the
1644 Domain Admin SID. Fixes access problem for managing Services.
1645 * Only call the printer publishing calls if 'security = ads'.
1646 * Normalize printing keys when deleting.
1647 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
1648 * Look at the NT password (not lanman one) when determining if 'smbpasswd
1649 -e' should probably for a password.
1650 * Default eventlog tdbs to mode 0660 to allow easier access by
1651 BUILTIN\Administrators.
1652 * Remove extra call to create_user on member servers without winbindd.
1653 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
1654 AD DC's with out own DNS SRV queries.
1655 * Fix compile error on HP-UX reported by Ryan Novosielski.
1656 * Rewrite 'net ads join' to share common code with 'net rpc join'
1657 and behave more like a Windows XP client.
1658 * Remove --with-ldapsam option from configure (only used for
1659 backwards compatibility for 2.2 smb.conf files).
1660 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
1661 * Remove rhosts authentication module.
1662 * Reimplement 'net ads leave' to disable the machine account in the
1663 domain rather than removing it.
1664 * Rewrite of tdbsam file descriptor handling.
1665 * Add server affinity support when selecting a remote
1667 * Remove chaining of passdb modules.
1668 * Generate a local users primary group SID based on his
1669 or her primary Unix group rather than storing the attribute
1670 in the passdb entry.
1671 * Default primary group SID to 'Domain Users' if the real Unix
1672 primary group maps to the S-1-22-2 domain.
1673 * Refactor memory management in passdb user objects.
1674 * RHEL and Fedora packaging fixes.
1675 * Implement XcvDataPort() spooler call and supporting 'add
1677 * BUG 3534: Ignore lines in the username map file with no right
1679 * Add support for the experimental %(DomainSID) smb.conf
1681 * Add support for parsing SIDs in smb.conf value lists.
1682 * Fix vuid allocation in Kerberos SMBsesssetup reply.
1683 * Ensure that local group membership is included in the
1684 getgroups() NSS reply.
1685 * Automatically create a BUILTIN\{Administrators,Users} if
1686 winbindd is running.
1687 * Automatically grant all privileges to members of the local
1688 Administrators group.
1689 * Protect against NULL cli_state* pointers in
1690 cli_rpc_pipe_open().
1691 * Add a SUBSTR matching rule the the Samba LDAP schema
1692 file for the sambaSID attribute. This will allow for
1693 Searching group mapping entries within a given domain
1694 without reorganizing the directory namespace. Also
1695 requires 'index sambaSID sub' in slapd.conf.
1696 * Fix parsing of 'idmap uid/gid' values that broke when
1697 the range included any whitespace.
1698 * Support renaming local groups (protect against renaming
1700 * Do not allow the root account to be deleted via MS-RPC.
1701 * Fix RID allocation to skip over RIDs that resolve in our
1702 own domain (work around upgraded users and groups).
1703 * Store the name/ip address combination when we do a reverse
1704 look up in case future forward lookups would fail.
1705 Fixes cases where a DC name could not be resolved via
1707 * Allow winbindd to run on standalone servers in order to
1708 provide support for local groups.
1709 * Deprecate 'acl group control' and replace it with added
1710 functionality to 'dos filemode'.
1711 * Ensure that all global memory is freed from pam_winbind
1712 when unloading the shared library (based on work from Arkady
1714 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
1715 libraries and winbindd.
1716 * Add defensive checks about create local accounts (i.e. calling
1717 'add user script') on domain member servers when winbindd
1718 is running but having problems.
1719 * Use system provided killproc() in RedHat init scripts for
1720 more robust shutdown.
1721 * Fix a crash in the printer publishing code when adding a
1722 new printer via the APW.
1723 * Fix broken compile of unsupported smbwrapper utility.
1724 * BUG 3905: Fix smbd startup failure caused by a failure to
1725 create an NT token for the guest account.
1726 * BUG 3908: Fix RPC bind authentication failure which broke
1727 user password changes.
1728 * Ensure that "net ads join" reports failure correctly if
1729 it cannot set the machine account password.
1732 o Mathias Dietz <MDIETZ@de.ibm.com>
1733 * EPERM can be a valid return from getting an xattr.
1734 Don't disable if we get it.
1737 o Guenther Deschner <gd@samba.org>
1738 * Fix memleaks in winbindd ads searches.
1739 * Fix timestamp bug in pam_winbindd which forced users to change
1740 passwords prematurely.
1741 * Small debug message cleanups.
1742 * Small fixes for 'net ads password'.
1743 * BUG 3843: Allow to set passwords directly when creating users
1744 via "net rpc user add"
1745 * Add "rpc shell" to the usage text for the net command.
1746 * Winbindd user aliases lookup fixes for large domains.
1747 * Fix memleak in the CLDAP processing code.
1748 * Enable AD features in winbindd's PAM support only when
1749 communicating with an AD domain controller.
1750 * Set our internal domains to "online" by default in winbindd.
1751 * BUG 3800: Fill the password_policy method in winbindd for
1753 * Fix memory leak when LDAP POSIX attribute queries fail.
1754 * Honor the krb5 principal name change (of the new ads join code)
1755 in the kerberized winbind pam_auth.
1756 * Correctly handle the case when there is no configuration file
1758 * Adding "own-domain" switch to wbinfo which is handy from time
1760 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
1761 * Fix winbindd group enumeration for groups with no members.
1762 * Correct "net ads changetrustpw" to use the sAMAccountName.
1763 * Fix winbindd in ADS domains by removing code using the
1764 UPN and rely upon the sAMAccountName.
1765 * Fix a eDir related memory leak.
1766 * Don't try to add the sn attribute twice to an LDAP
1767 inetOrgPerson + samSamAccount entry.
1768 * Fix winbind function table typo.
1769 * Attempt to send the correct warning from pam_winbind when a password
1770 change was attempted too early.
1771 * Don't use cached credentials when changing passwords.
1772 * Correctly disallow unauthorized access when logging on with the
1773 kerberized pam_winbind and workstation restrictions are in effect.
1774 * Save useless round trips in pam_winbind's auth calls.
1775 * Make the existence of the /etc/security/pam_winbind.conf file
1776 non-critical and fallback to only parse the argv options in that
1778 * Add winbind debug class to the main winbindd process.
1779 * Be consistent between rpc and ads winbind backend: let the
1780 ads backend query the samlogon cache first as well.
1781 * Ignore BUILTIN groups when searching AD for group memberships.
1782 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
1783 * Cleanup credential caches from winbind's linked list.
1784 * Fix 'winbindd -n' for new persistent caches.
1785 * Fix searching by SID in winbindd.
1786 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
1787 * Prefer to use the indexed objectCategory attribute (instead of
1788 objectClass which is not indexed on AD) in LDAP queries.
1789 * Free LDAP result in ads_get_attrname_by_oid().
1790 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
1791 * Prevent passwords of winbindd's list of credential caches from
1792 being swapped to disk using mlock().
1793 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
1794 support the plain posix attributes LDAP schema from win2k3-r2
1795 (based on patches from Howard Wilkinson and Bob Gautier).
1796 * Add more robust code for fallback when lookup_usergroups() fails.
1797 * Fix 'net rpc join' for winbindd running on a Samba DC.
1798 * Add help text for new 'net rpc audit' utility.
1799 * Add net ads search SID.
1800 * samrQueryDomainInfo level 5 should return the domain name, not our
1801 NetBIOS name when we are a DC.
1802 * Add some more client rpc for the querydominfo calls (from samba4 idl).
1803 * Process all the supported info levels in the samr_query_domain_info2
1805 * Wrap the samr_query_domain_info2() call around
1806 samr_query_domain_info().
1807 * Fix segv in smbctool.
1808 * Honor the time_offset also when verifying Kerberos tickets.
1809 * Prevent unnecessary longstanding LDAP connection to eDirectory.
1810 * Fix segv in smbspool.
1811 * BUG 1914: Allow to store 24 password history entries in ldapsam.
1812 * Enhancements to various commands in rpcclient
1813 * Don't force 'Administrator' to change an expired password on
1815 * Add support for offline mode in winbindd.
1816 * Provide support in pam_winbind for initializing a user's
1818 * Implement samr_chgpasswd_user3 server-side.
1819 * Make pam_winbind more robust when detecting domain users.
1820 * Add client side support for SAMR_GET_USRDOM_PWINFO.
1821 * Re-enable strict checking on C++ reserved keywords since Heimdal
1822 0.7.2 has been released.
1823 * Allow renaming of machine accounts in a Samba domain.
1824 * BUG 3539: Let winbindd try to obtain the gecos field from
1825 the msSFU30Gecos attribute when "winbind nss info = sfu" is
1827 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1828 * Return the real ACB-flags in the SamLogon() reply.
1829 * Some client side cleanup for the samr set security object
1831 * Make sure we always reset the userAccountControl bits when
1832 re-joining (net ads join) with an existing account.
1833 * Document some more MSV1_0 bits and their behavior.
1834 * Only set the last rebind timestamp when we did rebind
1835 after a update LDAP operation to avoid the ldap replication
1837 * Fix incorrect error checking in winbindd for domains with
1839 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
1841 * Work around crash bug in MIT krb5 libs when reading a
1842 keytab file. Stop trying to decrypt a ticket as soon as
1843 we have a clear indication that the ticket is bad.
1844 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1845 * Adding client side samr querygroup infolevels 2 & 5.
1846 * Make smbpasswd -a root work for eDirectory where there
1847 is no "account" structural objectclass.
1848 * Make sure we only send out a CLDAP request (net ads) to
1849 an connected AD server.
1850 * Fix a broken LDAP search filter when looking for groups.
1851 * Add in-tree version of iniparser library from
1852 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1853 (rather than linking in loadparm.c). Settings are now stored
1854 in /etc/security/pam_winbind.conf.
1855 * Fix different extended_dn handling in adssearch.pl
1856 (Thanks to Frederic Brin at Novell).
1857 * Fix a memleak in winbindd's credentials cache.
1858 * Protect against crashes in CLDAP request processing.
1859 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1862 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
1863 * Fix parameter type for 'acl compatibility'.
1864 * Fixes for msgtest torture tool.
1865 * Fix crash bug in the file locking code.
1868 o Arek Glabek <aglabek@centeris.com>
1869 * Fix parsing error on input parameters in eventlogadm.
1872 o Paul Green <paulg@samba.org>
1873 * Properly rebuild time limit on systems with executable extensions.
1874 * Fix build on platforms that do not support shared libs.
1875 * Remove dead code in the auth_script module.
1878 o Bjoern Jacke <samba@j3e.de>.
1879 * Fix DMAPI compile failures on AIX and True64.
1880 * Fix AIX PIC suffix (use .o instead of .po).
1881 * Fall back to less-preferred clocks until we find one that we
1882 can use if clock_gmtime() is not available at run-time.
1883 * Fix EA support on AIX platforms.
1884 * Automatically disable file shares with no explicit path set.
1885 * Remove the local hack to set the RO bit on directories in
1886 user profiles when profile acls = yes. Rely on EAs instead.
1887 * Compile fixes for Solaris LDAP client libs.
1888 * Add DMAPI/XDSM support for AIX.
1889 * Find JFS DMAPI libs on Linux when only they are available.
1892 o William Jojo <jojowil@hvcc.edu>
1893 * Fixes for the winbind NSS library on AIX.
1894 * Fix VFS builds on AIX platforms.
1895 * Fixes for the AIX version of libnss_winbind.so
1898 o Leonid Kabanov <lkabanov@mail.ru>
1899 * BUG 3711: Shell portability fixes for 'make test'.
1902 o Volker Lendecke <vl@samba.org>
1903 * Fixes for various Klocwork defect reports.
1904 * Fixes for various Coverity defect reports.
1905 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
1906 * Fix more potential seg-faults when something on our way to a
1907 DC connection fails.
1908 * Never fall back to using the IP address for a DC's name in RPC
1910 * Implement recycle:subdir_mode.
1911 * Activate RPC-AUTHCONTEXT in "make test".
1912 * Portability fixes for 'make test'.
1913 * Correctly set the group RID in init_sam_from_buffer.
1914 * Fix missing prompt in smbclient.
1915 * Return correct error code upon success from _net_srv_pwset().
1916 * Fix Windows XP joins to a Samba domain.
1917 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
1918 when mapped to a non-algorithmic rid.
1919 * Fix regression which upper-cased machine names passed to the
1920 'add machine script'.
1921 * Correct parsing error in parse_net.c for user's with no group
1923 * Fix off by one error in client SPNEGO code and other klocwork
1925 * Memory leak fixes in 'net sam'.
1926 * BUG 3720: Fix uninitialized error return variable.
1927 * Default "passdb expand explicit" to no.
1928 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
1929 * Fix user NT token creation when utilizing a username map.
1930 * More coverity fixes.
1931 * Fix a VUID bug in 'security = share'.
1932 * Correctly fill in the gid for local users.
1933 * Fix some warnings on True64.
1934 * Add special close handling for fake files.
1935 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
1936 * BUG 3435: Fix 'msdfs root = yes' in [homes].
1937 * Instruct winbindd to find a trusted DC on its own when running on
1939 * Fix segv in child winbindd processes caused by a failed tconX
1941 * Dynamically compute the maximum password age based no the
1942 last change time rather than reading the must change time
1943 from the passdb record.
1944 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
1945 * Assign unmapped users to the S-1-22-1 domain and unmapped
1946 groups to the S-1-22-2 domain
1947 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
1948 * Remove sql passdb backends.
1949 * Implement rpccli_samr_set_domain_info()
1950 * Add initial support for 'net sam' command.
1951 * BUG 2413: Remove anonymous connections in 'net rpc info'.
1952 * Implement asynchronous support for trans2 calls.
1953 * Make smbclient -L use RPC to list shares, fall back to RAP.
1954 * Ensure that the global SAM SID is initialized before any
1955 dependent routines are called.
1956 * Enhance consistency checks on local configuration when joining
1958 * Fix a memleak in the server registry code for enumeration
1960 * Fix an invalid munlock() call in winbindd's credentials cache.
1961 * Fix compile warnings when passing NULL to snprintf().
1962 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
1963 token in case anything weird is going on with the 'force user'.
1964 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
1967 o Derrell Lipman <derrell@samba.org>
1969 * BUG 3814: Only set the DFS capability flag in client requests
1970 if the share is a DFS root.
1971 * Fix bug causing previous settings to be re-initialized
1972 when parsing new configuration files.
1973 * BUG 3446: Don't ignore the authentication domain when parsing
1975 * Fix cli_setpathinfo() to actually do what it's supposed to.
1976 * Fix libsmbclient to make correct use of the new "one connection
1977 per server feature".
1980 o Jason Mader <jason@ncac.gwu.edu>
1981 * Numerous compiler warning fixes.
1984 o John E. Malmberg <wb8tyw@qsl.net>
1985 * Make smbldap obey config tests.
1988 o Jim McDonough <jmcd@us.ibm.com>
1989 * Fixes for 'make test' on AIX.
1990 * Ensure we do a wildcard search for SID's starting with the global SAM
1991 sid, not an exact search (from John Janosik).
1992 * Adapt smbclient fix to smbtree to enable long share names.
1993 * Prevent machines and users with no home directory from
1994 getting the previous entries home path when migrating via
1995 'net rpc vampire' (based on a patch from Richard Renard).
1996 * Remove hard-coded LDIF names when dumping a migrated
1997 domain's users and groups.
1998 * BUG 1374: Can't join an OU with name that contains '#'.
2001 o Stefan Metzmacher <metze@samba.org>
2002 * Add more tests to 'make test'.
2003 * Try to make timelimit.c more portable.
2004 * Fix linking of smbmount tools with --enable-socket-wrapper.
2005 * Pass 'target:samba3=yes' to samba4's smbtorture when running
2007 * Miscellaneous fixes for 'make test'.
2008 * Add improved support for 'make test' including making
2009 use of smbtorture from SAMBA_4_0.
2010 * Add --no-process-group to all server programs
2011 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
2012 * Add configure tests --with-selftest-prefix=/tmp/samba-test
2015 o Lars Müller <lmuelle@samba.org>
2016 * Fix lock calls in the python tdb bindings.
2017 * Add -k switch to tdbdump for accessing a single key.
2018 * Debian packaging fixes.
2019 * Add -t|--password-from-stdin option to pdbedit as we had
2021 * Various minor fixes to install scripts used by 'make install'.
2024 o James Peach <jpeach@sgi.com>
2025 * Ensure smbclient always prompts on standard output when in
2027 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
2028 * Introduce command line options to set the remainder of the
2029 parameters in dynconfig.c.
2030 * Avoid pulling in -lpthreads caused by -lrt.
2031 * Fix build failures on IRIX 6.4 due to DMAPI support.
2032 * Isolate the slow CLOCK_REALTIME message in the profiling code.
2033 * Correct comparison logic so that libunwind can be correctly detected.
2034 * Implement a "stacktrace" smbcontrol option using libunwind's remote
2035 stack tracing support (ia64 only).
2036 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
2037 of long group lists.
2038 * New autoconf macro to test for sysconf variables.
2039 * Change profiling data macros to use stack variables rather than
2040 globals. This catches mismatched start/end calls and removes
2041 the need for special nested profiling calls.
2042 * Rewrite AC_LIBTESTFUNC so that it works like the callers
2044 * Use clock_gettime for profiling timstamps if it is available. Use
2045 the fastest clock available on uniprocessors.
2046 * Preserve errno in fcntl lock wrappers.
2047 * Initialize our saved uid and gid so that we can tell when we
2048 created the profiling shmem segment and don't bogusly refuse to
2050 * Add a new option "enable core files" which can be used to disable
2051 automatic core file dumping.
2052 * Update our internal copy of popt to that distributed with the RPM
2054 * Add support for FAM for file change notification.
2055 * Disable sendfile if the 'write cache;' has been enabled.
2056 * Refactor capability interface from being IRIX-specific to
2057 using only the POSIX interface.
2058 * Consolidate core dumping code to aid in debugging.
2059 * Add support for libunwind to generating a backtrace.
2060 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
2061 and --without-ads are specified.
2062 * Allow the user to set winbind nss timeouts in seconds on IRIX.
2063 * Set the FILE_STATUS_OFFLINE bit by observing the events
2064 a DMAPI-based HSM is interested in.
2067 o Tim Potter <tpot@samba.org>
2068 * Build janitorial duties.
2069 * BUG 3725: Put references to $PICFLAGS in quotes.
2072 o Aruna Prabakar <aruna.prabakar@hp.com>
2073 * Show -W option in smbpasswd usage text.
2076 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
2077 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
2082 * Correct syntax error in aclocal.m4.
2085 o Simo Sorce <idra@samba.org>
2086 * Pam modules install fix.
2087 * Allow "net changesecretpw" to accept a password via stdin.
2088 * Implement 'net setdomainsid' command.
2089 * Ensure that sid -> group conversion are done as root.
2090 * BUG 3413: Sanity check for existence of 'ldap admin
2091 dn' before setting a password in secrets.tdb (based on
2092 work by William Jojo).
2093 * New revision of the snprintf replace code.
2094 * Set the correct sid type when looking up a gid.
2097 o Todd Stecher <tstecher@isilon.com>
2098 * Add TCP fallback for our implementation of the CHANGEPW
2102 o Ronan Waide <waider@waider.ie>
2103 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
2107 o Shlomi Yaakobovich <Shlomi@exanet.com>
2108 * Fix for machine password time_t overflow.
2111 --------------------------------------------------
2112 ==============================
2113 Release Notes for Samba 3.0.22
2115 ==============================
2117 This is a security release of Samba. The Samba 3.0.21 release
2118 series (including the patch releases a through c) has been
2119 discovered to expose the clear text of the server's machine
2120 account credentials in the winbind log files when the log
2121 level is set to 5 or higher. This defect has been assigned
2122 the CVE number CAN-2006-1059.
2127 The machine trust account password is the secret shared
2128 between a domain controller and a specific member server.
2129 Access to the member server machine credentials allows
2130 an attacker to impersonate the server in the domain and
2131 gain access to additional information regarding domain
2134 The winbindd daemon included in Samba 3.0.21 and subsequent
2135 patch releases (3.0.21a-c) writes the clear text of server's
2136 machine credentials to its log file at level 5. The winbindd
2137 log files are world readable by default and often log files
2138 are requested on open mailing lists as tools used to debug
2139 server misconfigurations.
2141 This affects servers configured to use domain or ads security
2142 and possibly Samba domain controllers as well (if configured
2147 --------------------------------------------------
2149 ===============================
2150 Release Notes for Samba 3.0.21c
2152 ===============================
2154 Common bugs fixed in 3.0.21c include:
2156 o Access checks when deleting printer driver meta-data.
2157 o Several non-default combinations schannel and SPNEGO support.
2158 o Password changes with NT4 and Win2k pre-SP4 clients.
2159 o High load issues on IRIX caused by a bug when interfacing
2160 with kernel oplocks.
2163 ######################################################################
2167 Changes since 3.0.21b
2168 ---------------------
2172 o Michael Adam <ma@SerNet.DE>
2173 * Add popt to the include path for examples/VFS.
2176 o Jeremy Allison <jra@samba.org>
2177 * Fix bug in the USC2 macros on big-endian CPUs.
2178 * Filter deleted oplocks from the output of smbstatus.
2179 * Remove invalid test check_for_pipe().
2180 * BUG 3515: Fix kernel oplock support on IRIX.
2181 * BUG 3522: Fix return value for mkdir request when the directory
2183 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
2185 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
2187 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
2188 resulting in a client disconnect after negprot.
2189 * BUG 3510: Fix 'net join' against a server with client schannel
2191 * Fix negprot bug causing a 2k client with cached domain
2192 credentials to refuse to connect to a standalone Samba host.
2193 * Ensure that the correct error is checked when encountering a
2194 socket error (fixes crashes in winbindd).
2197 o Andrew Bartlett <abartlet@samba.org>
2198 * Fix domain joins from NT4 clients and password changes.
2201 o Richard Bollinger <rabollinger@gmail.com>.
2202 * Compile fix in pdbedit.
2205 o Gerald (Jerry) Carter <jerry@samba.org>
2206 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
2207 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
2208 * Fix bug in loadparm.c that caused builtin services to be also
2209 listed as external services (e.g. Spooler, NETLOGON, etc..).
2210 * Fix bug in the samr dispinfo enumeration code.
2211 * Add earlier checks to deny deleting a printer driver meta-data.
2214 o Guenther Deschner <gd@samba.org>
2215 * Add Account Policy LDAP attributes for eDirectory schema.
2218 o William JoJo <jojowil@hvcc.edu>
2219 * BUG 1870: Make nmblookup do a node status on all IP's when
2221 * BUG 2353: Fix clitar -F processing.
2224 o Volker Lendecke <vl@samba.org>
2225 * Fix the build for --with-aio-support.
2226 * Fix remote password changing if password must change is set.
2227 * Fix rpcclient to obey the -W parameter.
2228 * Fix segv in smbmount and the profiles tool.
2229 * Fix typo in pdbedit help text (reported by Karolin Seeger).
2233 * Honour the $(DESTDIR) Makefile variable when installing
2237 o Jason Mader <jason@ncac.gwu.edu>
2238 * Compiler warning fixes.
2241 o Lars Müller <lmuelle@samba.org>
2242 * Fix python build with older python versions.
2243 * Update dhcp.conf files in Debian packaging
2244 * SWAT welcome file updates
2245 * Compiler warning fixes.
2246 * Add .2 to the SONAME as version suffix if we link the nss
2248 * Add -t|--password-from-stdin option to pdbedit.
2251 o James Peach <jpeach@sgi.com>
2252 * Continue not enabling valgrind on 64-bit Linux.
2255 o Tim Potter <tpot@samba.org>
2256 * Remove unused #defines.
2259 o Simo Sorce <idra@samba.org>
2260 * Debian packaging updates.
2263 o Qiao Yang <qyang@stbernard.com>
2264 * Make sure to refresh the timestamp on entries in the failed
2265 connection code in winbindd.
2268 --------------------------------------------------
2269 ===============================
2270 Release Notes for Samba 3.0.21b
2272 ===============================
2274 Common bugs fixed in 3.0.21b include:
2276 o Server crashes in smbd.
2277 o Compile issues on 64-bit platforms.
2278 o Crash bugs on big-endian systems.
2279 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
2280 o Over 30 bugzilla reports closed.
2283 ######################################################################
2287 Changes since 3.0.21a
2288 ---------------------
2292 o Jeremy Allison <jra@samba.org>
2293 * Fix the SAMR cache across handles opens and closes.
2294 * Re-add the talloc_describe_all() function for reporting pool
2296 * Merge talloc license change from Samba 4.
2297 * Fix 64-bit compile warnings reported by gcc.
2298 * Add the share path into the sharemode db.
2299 * Consistency fixes: Remove use of uint8_t -> uint8.
2300 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
2301 structure when passing through the messaging API.
2302 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
2304 * Force smbd to exit if the guest account internal setup fails.
2305 * BUG 3419: vfs_full_audit fixes for multiple connections.
2306 * Ensure SWAT lists running processes.
2307 * Fix NTLMv2 interoperability bug between Samba servers.
2308 * Oplock break logic fixes.
2311 o Andrew Bartlett <abartlet@samba.org>
2312 * BUG 3401: Fix crash bug caused by incorrect handling of weak
2313 session keys. Based on original patch from Yau Lam Yiu.
2316 o Alexander Bokovoy <ab@samba.org>
2317 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
2321 o Stefan Burkei <stefan@burkei.de>
2322 * BUG 3248: When doing auth_crap authentication use the client
2323 given workstation name not our own.
2326 o Gerald (Jerry) Carter <jerry@samba.org>
2327 * Fixing net rpc registry enumerate from overwriting the open
2329 * BUG 3380: fix crash when changing printer drivers.
2330 * BUG 3391: ensure we can lookup account policies for failed
2332 * Adding query/set ops for security descriptors on services.
2333 * BUG 3329: Solaris packaging fixes.
2334 * Better formatting for smbstatus output (based on patch from
2336 * Hook the max connections spin box in the share properties
2337 MMC plug-in dialog to the 'max connections' smb.conf parameter
2338 and the 'modify share command' option.
2339 * Work around building libnss_winbind.so on Solaris when
2340 --enable-developer is specified.
2341 * Add vendor patch level string to VERSION.
2342 * Consolidate packaging for RHEL4 and Fedora based on initial
2346 o Albert Chin <@thewrittenword.com>
2347 * BUG 3374: Build failures on True64.
2350 o Guenther Deschner <gd@samba.org>
2351 * Fill in samr_get_dom_pwinfo based on Samba4.
2352 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
2353 * Fixes for adssearch.pl example script.
2354 * Prevent 'net rpc' from dumping clear text password at high log
2355 levels unless built with DEBUG_PASSWORD.
2356 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
2358 * Fix segfault in pdb_nds.c.
2359 * Don't write null sid mappings into the winbindd_cache.tdb.
2360 * Save sid_to_name lookup result in winbindd already after doing
2361 a successful name_to_sid.
2362 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
2363 * BUG 1524, 3205: Support changing expired passwords in
2365 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
2366 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
2367 idmap modules are build and loaded, idmap_rid now will have
2368 to be loaded without prefix, just "rid".
2369 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
2372 o Andrew Esh <Andrew_Esh@adaptec.com>
2373 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
2374 specified on the command line with -H.
2377 o SATOH Fumiyasu <fumiya@samba.gr.jp>
2378 * End profile fixes.
2379 * BUG 3348: Don't assume owning sticky bit directory means
2380 write access allowed.
2381 * Fix double free in on failure path in POSIX acl code.
2384 o Andriy Gapon <avg@icyb.net.ua>
2385 * BUG 3458: Fix crash bug in smbd and winbindd caused by
2386 accessing freed memory.
2389 o Björn Jacke <bj@sernet.de>
2390 * Configure check for Tru64 EA functions (not yet implemented).
2391 * Find Tru64 AIO lib in configure.
2392 * Cut-n-paste fixes in configure.in.
2395 o John Janosik <jpjanosi@us.ibm.com>
2396 * IBM Tivoli Directory Server schema updates.
2399 o Michael James <michael@james.st>
2400 * sid2string fix in adssearch.pl.
2403 o William JoJo <jojowil@hvcc.edu>
2404 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
2405 * BUG 3389: Failures on AIX in linking smbd when the symbol
2406 table for ld exceeds 65536 bytes.
2407 * Add -W to smbpassword so that the ldap admin dn password does
2408 not have to be specified on the command line.
2409 * BUG 3408: Fix for external password change programs on AIX.
2410 * BUG 1779: 64-bit compile fixes.
2413 o Martin Koeppe <mkoeppe@gmx.de>
2414 * BUG 3287: Match SFU behavior for dev/inode numbers.
2417 o Volker Lendecke <vl@samba.org>
2418 * BUG 3291: Fix valgrind error in client connection code.
2419 * BUG 3292: Prevent smbclient from spinning if server terminates
2421 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
2422 connection alive smbclient.
2423 * Add lookupname to rpcclient query_user as a fallback, we now
2424 accept both rid and username.
2425 * Introduce yet another copy of the string_sub function:
2426 talloc_string_sub use by AFS token code in winbindd.
2427 * BUG 3351: pdb_mysql again overwrites password fields.
2428 * BUG 3384: Fix segv in tdbtool.
2429 * Use the same CFLAGS for generating the pch as we use to
2431 * Correct typo when compiling the vfs_catia module.
2432 * Fix automatic recreation of a new tdb sam file.
2435 o Derrell Lipman <derrell@samba.org>
2437 * Fix parsing of file times (w_time and m_time were reversed).
2438 * Add additional libsmbclient test programs.
2439 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
2440 the configuration files.
2441 * Avoid doing a NetBIOS name query for each server and workgroup
2443 * Do not open connection when only looking for cached connection.
2444 * BUG 2651: Add option to log debug messages to stderr instead
2446 * Added flag to not request authentication information.
2447 * Enhancements to smbwrapper example code.
2448 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
2452 o David May <mayd@cygnus.uwa.edu.au>
2453 * BUG 3329: Shell scripting portability fixes on 'make test'.
2456 o Tony Mountifield <tony@softins.co.uk>
2457 * BUG 3327: fix bad access to gencache.tdb after fork() in
2461 o Lars Müller <lmuelle@samba.org>
2462 * BUG 3264: Support backwards compatible setups using
2463 'idmap backend = idmap_rid'.
2464 * Add %w macro for the winbind separator.
2465 * Convert net command to use stderr for error messages rather
2469 o James Peach <jpeach@sgi.com>
2470 * Portability fixes in LDAP code. Don't use non-static array
2472 * Support the TCP_FASTACK socket option if it is available.
2473 * Tell the MIPSPro compiler to push DEBUG calls out of line.
2476 o Makr Proehl <m.proehl@science-computing.de>
2477 * BUG 1336: Print the server role when calling testparm in
2481 o Simo Sorce <idra@samba.org>
2482 * Crackcheck utility enhancement based on patch sent by
2484 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
2485 mode_t is not 32-bits.
2488 o John Terpstra <jht@samba.org>
2489 * RHEL/Fedora spec file patches.
2492 --------------------------------------------------
2493 ===============================
2494 Release Notes for Samba 3.0.21a
2496 ===============================
2498 Common bugs fixed in 3.0.21a include:
2500 o Deadlocks when multiple users access an oplocked file
2504 ######################################################################
2508 Changes since 3.0.21
2509 --------------------
2513 o Gerald (Jerry) Carter <jerry@samba.org>
2514 * RedHat 9 packaging Fixes.
2517 o Guenther Deschner <gd@samba.org>
2518 * eDirectory schema syntax fixes.
2521 o Volker Lendecke <vl@samba.org>
2522 * BUG 3349: Deadlock caused logic error in oplock code.
2524 --------------------------------------------------
2525 ==============================
2526 Release Notes for Samba 3.0.21
2528 ==============================
2530 Common bugs fixed in 3.0.21 include:
2532 o Missing groups in a user's token when logging in via Kerberos
2533 o Incompatibilities with newer MS Windows hotfixes and
2534 embedded OS platforms
2535 o Portability and crash bugs.
2536 o Performance issues in winbindd.
2538 New features introduced in Samba 3.0.21 include:
2540 o Complete NTLMv2 support by consolidating authentication
2541 mechanism used at the CIFS and RPC layers.
2542 o The capability to manage Unix services using the Win32
2543 Service Control API.
2544 o The capability to view external Unix log files via the
2545 Microsoft Event Viewer.
2546 o New libmsrpc share library for application developers.
2547 o Rewrite of CIFS oplock implementation.
2548 o Performance Counter external daemon.
2549 o Winbindd auto-detection query methods when communicating with
2550 a domain controller.
2551 o The ability to enumerate long share names in libsmbclient
2555 ######################################################################
2562 Parameter Name Action
2563 -------------- ------
2564 dfree cache time New
2565 dfree command Per share
2569 passdb expand explicit New
2570 rename user script New
2571 reset on zero vc New
2572 svcctl list Renamed from 'enable svcctl'
2576 Changes since 3.0.20b
2577 ---------------------
2579 o Jeremy Allison <jra@samba.org>
2580 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
2581 * Added 'map readonly' parameter.
2582 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
2584 * Maintain schannel client session keys in volatile
2585 $(privatedir)/schannel_store.tdb.
2586 * BUG 2769: Ensure we mangle filenames ending in a space
2587 * Catch corner case of renaming a symlinked directory into
2589 * Ensure that smb.conf requests for hidden files are honored,
2590 even when DOS attributes are stored in EA's
2591 * Add new auth method "auth_script" for calling an external
2593 * BUG 2152: Fix for mangled filenames when the client does
2594 support long filenames
2595 * Rewritten implementation of client and server DCE/RPC infrastructure
2596 * BUG 3192: Adds a "dfree cache time" parameter.
2597 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
2598 the S_IWGRP mask in the absence of a POSIX ACL.
2599 * Remove use of 'long long' in libsmbclient code.
2600 * Ensure the new canonicalize_servicename() in name/snum hash
2602 * BUG 2922: Integration of FreeBSD AIO patches from Timur
2604 * BUG 3216: Put directory opens into the share mode db so we
2605 can treat them similarly to file opens (delete on close,
2606 share mode violations etc.).
2607 * Fix bug in name mangling code when case sensitivity is enabled.
2608 * Remove external dependencies from the sharemodes library.
2609 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
2610 * Don't misinterpret wild card characters in file names on disk
2611 as they are actually valid characters.
2612 * BUG 3223: Fix bug in account policy management when
2613 account_pol.tdb settings have been migrating to an LDAP
2615 * Allow the hash size of the tdb open (locking) database to be
2617 * Fix error code returns on client spoolss code.
2618 * Remove unneeded strncpy use.
2619 * Fix uninitialized variables warnings.
2620 * Cleanup smbcacls security descriptor parsing and error codes.
2621 * BUG 3224: Correctly use machine_account_name and client_name
2622 when doing netlogon credential setup. Fixes winbindd running
2624 * Backport Samba 4 time zone handling.
2625 * Fix core dump if setmntent() returns NULL.
2626 * Replace old crc32 code with one from the FreeBSD tree.
2627 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
2628 * Remove #define of close -> close_fn macro in libsmbclient.
2629 * Return early if -1 returned from *BSD EA call (reported by
2631 * Name space cleanup by marking local functions static.
2632 * Move samr enumeration cache from per handle basis to a shared
2634 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
2635 OS/2 servers (based on patch from Guenter Kukkukk).
2636 * Ensure default applies to new files (reported by Thomas
2638 * BUG 3293: Use SMBecho to testing the server in client rather
2640 * Merge talloc fixes from Samba 4 branch.
2641 * Add support DCE/RPC cancel operation.
2642 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
2643 when using EA for DOS attributes.
2644 * Fix bug in returning remote time (reported by Thomas Bork).
2645 * No users or groups to return in BUILTIN domain.
2646 * Removed separate "builtin" search enumeration.
2647 * Added count_sam_aliases to return the correct alias count.
2648 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
2649 eDirectory when accessing the universal password.
2650 * Fix deadlock condition in share mode locking code.
2651 * Fix logic bug in unix_mask_match().
2652 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
2656 o Rashid N. Achilov <shelton@granch.ru>
2657 * Add better service description names to the svcctl code.
2660 o Timur Bakeyev <timur@com.bat.ru>
2661 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
2664 o Andrew Bartlett <abartlet@samba.org>
2665 * Remove another ancient NTLMSSP implementation.
2666 * Allow machine account logons work if the client gives the
2670 o Alexander Bokovoy <ab@samba.org>
2671 * Add POSIX statvfs() to VFS api.
2674 o Gerald (Jerry) Carter <jerry@samba.org>
2675 * Eventlog and ServiceControl support.
2676 * BUG 1051: store the directory path so we can send the full
2677 name in the unlink call from smbclient.
2678 * Use reference count strategy for keeping the registry tdb
2680 * Convert internal registry objects to new hierarchical talloc
2681 * Allow the root user a free pass for access checks in the
2682 registry and service control checks.
2683 * Sanity checks in the privilege code to prevent empty SID
2685 * Add basic infrastructure for 'make test' when the socket
2686 wrapper library is configured at compile time
2687 * Convert profiles utility to use the current regfio interface
2688 for reading and writing user profiles
2689 * Remove netsamlogon_cache interface
2690 * Ensure that print jobs are removed even when the cancel
2691 command is received before the print cache has been updated
2692 * Fix linking problem on Solaris when including ACL support.
2693 * Give root a free pass to open the eventlog tdb files.
2694 * Fix segfault in addprinter due to mixing talloc() and
2696 * fix invalid read reported by valgrind in the spoolss
2697 backchannel connection.
2698 * Remove use of 'long long' in perfcounter registry code.
2699 * BUG 3201: make sure request structure is cleared prior to
2700 sending the request to winbindd.
2701 * Don't count open pipes in the num_files_open on a connection
2702 (regression from Samba 2.2).
2703 * Ensure servername hashing code normalizes the name.
2704 * Fix checks for connect() in -lnsl[_s].
2705 * Convert eventlog API to use NTSTATUS return codes rather
2707 * Fix segv in winbindd caused by an uninitialized variable
2708 in winbindd_dual_getsidaliases().
2709 * Allow winbindd to select the appropriate backend methods
2710 based on the DC attributes and not the security parameter.
2711 * Re-add the netsamlogon_cache tdb and ensure that user entries
2712 are updated from the PAC data during Kerberos ticket
2714 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
2715 by mangling machine names in sub_set_smb_name().
2716 * Add smbget to the list of tools built by default.
2717 * Fix clearing of eventlog tdb files.
2718 * Fix sequential reads in eventlog support.
2719 * BUG 2718: Don't use qpathinfo_basic() call when remote server
2721 * Fix build issues with the Sun compiler.
2722 * BUG 3156: Don't use find_service() when explicitly looking
2724 * Fix nss_winbind_solaris.c build breakage on HP-UX.
2725 * Initialize the local group description.
2726 * Disable WINS and NetLogon services in the MMC services
2727 plugin when the associated smb.conf features are not enabled.
2728 * Add checks for invalid characters in new share names on the
2730 * Fix SWAT installation issues with 'make install'.
2731 * Always add the BUILTIN\Administrators SID to a Domain
2735 o Alex Deiter <tiamat@komi.mts.ru>
2736 * BUG 3196: Patch to compile against the Sun LDAP client libs.
2737 (not for AD support; just ldap support).
2740 o Guenther Deschner <gd@samba.org>
2741 * Fixed compile problems and warnings with newer OpenLDAP
2743 * Fix bug when enumerating trusted domains via 'wbinfo -m'
2744 * Parse the MS Kerberos PAC to obtain the user group
2745 membership during logon.
2746 * Add support for SeRestorePrivilege to allow a process to
2747 change the ownership of a file to any arbitrary account
2748 * Fix password history storage when using Novell eDirectory for
2750 * Backport Kerberos PAC parsing from Samba 4 branch in order to
2751 correctly create the NT User Token when logging into a Samba
2753 * Add small helper function to return a PAC_LOGON_INFO.
2754 * Use LDAP bitwise matching rule when searching for groups
2756 * Avoid an infinite loop when retrying to connect in smbspool.
2757 * Memory leak fixes in the Kerberos PAC parsing code.
2758 * Improve NT_STATUS error messages returned from pam_winbind.
2759 * Rename unknown samr group fields in samr structures with
2760 the correct name.removed separate "builtin" search enumeration.
2761 * Cleanup redundant StartTLS code.
2762 * Allow StartTLS support when connecting to Windows 2003 by
2763 setting 'ldap ssl = start_tls'.
2764 * Support raw NTLMSSP session setups in smbspool.
2765 * Add rpccli_samr_chgpasswd3().
2766 * Add 'wbinfo --separator'.
2767 * Uninitialized warnings fixes.
2768 * Fix return value in client spooler code.
2769 * Require forced migration of account policies.
2772 o Steve French <sfrench@us.ibm.com>
2773 * Fix cifs to handle non-numeric uid and gid parameters.
2774 * Merge trunk and SAMBA_3_0 mount.cifs code.
2775 * Cleanup cifs cfs help message.
2778 o Paul Green <paulg@samba.org>
2779 * Update to the latest config.guess and config.sub files.
2782 o Deryck Hodge <deryck@samba.org>
2783 * Allow control of syslog facility and level in audit vfs modules.
2786 o S Murthy Kambhampaty <smk_va@yahoo.com>
2787 * Patches for Fedora RPM specfile and init script
2790 o Krishna Ganugapati <krishnag@centeris.com>
2791 * Use the subtree delete ldap control when running 'net ads
2795 o Volker Lendecke <vl@samba.org>
2796 * New oplock implementation.
2797 * Add assert() call if winbindd cannot locate the domain SID in
2798 secrets.tdb on startup
2799 * Fix an annoying timeout in winbindd when nmbd is not running.
2800 * Speed up loading smb.conf for large numbers of share
2801 definitions by adding an internal hashing of names to snums.
2802 Thanks to Michael Adam.
2803 * Fix potential segv in rpcclient's lsarpc calls.
2804 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
2805 * Fix alignment in getdc response.
2806 * Allow pdbedit to set the domain for a user account.
2807 * Fix fallback logic in rpc binds.
2808 * Fix memleak in message handling code.
2809 * Fix connection bug to port 445 and 139 after a successful
2811 * Add additional calls to initialize_krb5_error_table() for
2812 Kerberos client code.
2813 * Implement the possibility to have AFS users as SIDs in pts.
2814 * Removed unused alternative_name code from winbindd.
2815 * Protect against NULL alternative_name strings in winbindd.
2816 * Define a default panic action with -DEVELOPER is defined.
2817 * Add the capability to reset smbd connections on a zero VC id.
2818 * Allow smb.conf variable expansion to be disabled in passdb
2820 * Add lookupname to rpcclient query_user as a fallback.
2821 * BUG 3292: Prevent smbclient from spinning when the server
2823 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2824 * Add samr_lookup_rids for the builtin domain.
2825 * Memory allocation cleanups in passdb.
2826 * Restrict samr_open_domain() to our domain only.
2827 * Change local_lookup_sid() to local_lookup_rid() since it
2828 is responsible for our domain only.
2829 * Fix some uninitialized variable warnings.
2830 * Fix winbind_lookup_name for the local domain,
2833 o Derrell Lipman <derrell@samba.org>
2834 * Cleanup libmsrpc version numbers.
2835 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
2836 * Fix crash bug in libsmbclient.
2837 * Add long share name support to libsmbclient when enumerating
2841 o Jason Mader <jason@ncac.gwu.edu>
2842 * Removed compiler various warnings.
2845 o Alex Masterov <alex@infobit.ru>
2846 * BUG 3218: Fix XATTR calls on *BSD systems.
2849 o Jim McDonough <jmcd@us.ibm.com>
2850 * Speed up string_to_sid by removing next_token calls and
2851 unneeded strncmp() calls.
2852 * Implement user rename for smbpasswd and LDAP backends.
2853 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2854 * BUG 3187: Fix time zone offset in logon hours restrictions.
2857 o Stefan Metzmacher <metze@samba.org>
2858 * Fix setting of quotas on linux kernel with the struct
2860 * Enable sysquota interface on Linux by default
2861 * Use lp_socket_address() when binding to port 138/udp in nmbd.
2864 o Brian Moran <bmoran@centeris.com>
2865 * Eventlog and ServiceControl support.
2866 * Added eventlogadm tool for writing Eventlog records.
2867 * Fix typo when creating Eventlog source DLL registry paths.
2868 * Add simple script to tail syslog and write records to
2870 * Fix segv in eventlogadm when not event logs are listed in
2874 o Lars Müller <lmuelle@samba.org>
2875 * Only install smbsh manpage if smbwrapper has been successfully
2877 * Ensure setmntent() returns with != NULL in the disk_quotas()
2879 * Add configure switch to disable libmsrpc build.
2880 * Add a soname to libmsrpc.
2883 o Ricky Nance <ricky.nance@gmail.com>
2884 * Updates for the mklogon perl scripts.
2887 o Chris Nicholls <skel@samba.org>
2888 * New libmsrpc library (Google SoC Project).
2889 * Fix libmsrpc build of on the Sun compiler by removing empty
2890 structure declarations.
2893 o James Peach <jpeach@sgi.com>
2894 * Fix parsing error for smb ports parameter.
2897 o Tim Potter <tpot@samba.org>
2898 * BUG 3260: Fix DYNEXP flags on HPUX.
2901 o Marcin Porwit <mporwit@centeris.com>
2902 * Eventlog and ServiceControl support.
2903 * Added basic Performance Counter daemon which can feed data
2904 for the Windows perfmon.exe tool.
2905 * Fix directory permissions in the perfcounter daemon.
2906 * Add the 'File' registry value for the eventlog keys.
2909 o Aruna Prabakar <aruna.prabakar@hp.com.
2910 * Add checks to verify that the spooler is running on HP-UX when
2911 reloading the printer name cache.
2914 o Joel Smith <joel.j.smith@novell.com>
2915 * Add iPrint printing backend support.
2918 o Toomas Soome <Toomas.Soome@mls.ee>
2919 * Implement host lookups in nss_winbind.so.1 on Solaris
2922 o Simo Sorce <idra@samba.org>
2923 * Update Debian packaging.
2926 o John Terpstra <jht@samba.org>
2927 * Add 'net idmap' usage help text.
2930 o Andrew Tridgell <tridge@samba.org>
2931 * Change license notice of standalone talloc library to LGPL.
2934 o Darren Tucker <dtucker@zip.com.au>
2935 o Crash fix for snprintf() code.
2938 o Rainer Weikusat <rainer.weikusat@sncag.com>
2939 * Fix function name typo in skeleton VFS code.
2943 Release Notes for older release follow:
2945 --------------------------------------------------
2946 ===============================
2947 Release Notes for Samba 3.0.20b
2949 ===============================
2951 Common bugs fixed in 3.0.20b include:
2953 o A crash bug in winbindd
2954 o Reporting files as read-only instead of returning the
2955 correct error code of "access denied"
2956 o File system quota support defects
2959 ######################################################################
2964 Changes since 3.0.20a
2965 ---------------------
2970 o Jeremy Allison <jra@samba.org>
2971 * BUG 3088: Fix error condition for files on a read-write share
2972 which cannot be read due to permissions.
2975 o Gerald (Jerry) Carter <jerry@samba.org>
2976 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
2978 * BUG 1473, 3090: Quota detection and compilation problems on
2982 o Marc Balmer <marc@msys.ch>
2983 * Build fixes when builddir != srcdir
2986 o Alex Deiter <tiamat@komi.mts.ru>
2987 * BUG 3145: Fix build issue regarding quota support on Solaris.
2990 o Volker Lendecke <vl@samba.org>
2991 * BUG 3068: Fix for winbindd crashed by empty DC alternative
2995 --------------------------------------------------
2996 ===============================
2997 Release Notes for Samba 3.0.20a
2999 ===============================
3001 Common bugs fixed in 3.0.20a include:
3003 o Stability problems with winbindd.
3004 o Crash bugs caused by incompatibilities on 64-bit systems.
3005 o Missing files from directory listings on AIX servers
3006 o User Manager interoperability problems.
3007 o Minor build difficulties on various platforms such as
3008 Solaris and OpenBSD,
3011 Winbind, security = domain, and Active Directory
3012 ================================================
3014 Recent security updates for Windows 2000 and Windows 2003 have
3015 changed the fashion in which user and group lists can be obtained
3016 from domain controllers. In short, the RPC mechanisms used by
3017 "security = domain" to retrieve users and groups is not compatible
3018 with these changes. The "security = ads" configuration is not
3019 affected by the Windows protocol changes.
3021 Samba developers are actively working to correct this problem in
3022 the 3.0.21 release. In the meantime, Administrators who are unable
3023 to migrate to "security = ads" and must continue using "security =
3024 domain", can define credentials to be used by winbindd for account
3025 enumeration by executing the following command as root.
3027 wbinfo --set-auth-user='DOMAIN\username%password'
3031 ######################################################################
3036 Changes since 3.0.20
3037 --------------------
3042 o Jeremy Allison <jra@samba.org>
3043 * BUG 3065: Fix for legacy clients retrieving a listing of
3045 * Added external library for accessing Samba's share mode
3047 * Fix winbindd credentials chain which caused logon failures
3048 after attempting to authenticate an unknown user.
3049 * Fix recursive looping bug in winbindd.
3050 * Fix build errors on 64-bit systems.
3051 * Posix ACL memory leak and crash bug fixes.
3052 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
3053 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
3054 * Hide dot files and directory logic fixes.
3055 * Correct display of open file modes by smbstatus.
3056 * BUG 3010: Fix missing files bug on AIX systems.
3059 o Gerald (Jerry) Carter <jerry@samba.org>
3060 * Allow the root user to automatically pass se_access_checks()
3061 in the registry and service control server code.
3062 * Ensure that winbindd uses the correct name in the net_auth2()
3063 request when running on a Samba PDC.
3064 * Fix linking problem with tdb utilities.
3065 * BUG 3080: Fix regression in 'net rpc shutdown' command.
3066 * Fix segv in 'net rpc' when the pipe open fails.
3067 * Fix upload bug when installing 64-bit Windows printer drivers.
3068 * Fix regression in the smburi syntax used by smbspool.
3069 * Fix sorting of subkey hash records in registry files.
3070 * Correct REG_CREATE_KEY_EX parsing error.
3071 * Interoperability issues with usrmgr.exe and Samba groups.
3072 * Use the display names and not the Unix names when enumerating
3073 groups in the ldapsam passdb backend.
3074 * Ensure that Windows domain user names are converted to lower case.
3077 o Guenther Deschner <gd@samba.org>
3078 * Prevent BUILTIN sids returned in the user's token from
3079 a Windows DC from being applied to any local group mappings
3081 * Plug memory leaks in the Kerberos keytab code.
3082 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
3083 backend when 'winbind nested groups' is enabled.
3084 * Fix crash bug in winbindd caused by 64-bit build issues.
3085 * Improve debug messages in smbspool.
3086 * Give better error-message when "NDS Universal Password" change fails.
3087 * Fix password history error in the eDirectory schema file.
3088 * Ensure that Windows domain group names are converted to lower case.
3091 o Steve French <sfrench@us.ibm.com>
3092 * Allow disabling mandatory byte range lock mount flag, and fix
3093 corresponding entry in mtab.
3096 o Volker Lendecke <vl@samba.org>
3097 * Fix race condition in the NTcreate&X open code when the
3098 disposition is NTCREATEX_DISP_CREATE.
3099 * Correct logic error when checking the pid for pending print
3100 change notify messages.
3101 * Ensure that winbindd child process complete startup even when
3102 the parent is receiving authentication requests.
3103 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
3104 when authentication fails.
3107 o Jason Mader <jason@ncac.gwu.edu>
3108 * Compile warning fixes.
3111 o Uli Meis <a.sporto@gmail.com>
3112 * Patches for pdb_*sql.c
3115 o Luke Mewburn <lukem@NetBSD.org>
3116 * Autoconf syntax fixes.
3119 o James Peach <jpeach@sgi.com>
3120 * Correct problem with creating a core file in Linux.
3123 o Stefan Metzmacher <metze@samba.org>
3124 * Quota fixes in smbd.
3127 o Peter Rindfuss <rindfuss@wz-berlin.de>
3128 * Patches for pdb_*sql.c
3131 o Jiri Sasek <Jiri.Sasek@Sun.COM>
3132 * Solaris toolchain patches for autoconf scripts.
3135 o Andrew Tridgell <tridge@samba.org>
3136 * Fix for tdb clear-if-first race condition.
3139 o Leo Weppelman <leo@wau.mis.ah.nl>
3140 * BUG 3104: Don't allow time updates to files on read-only shares.
3143 o Steve Williams <steve@celineandsteve.com>
3144 * BUG 3052: Fix compile issues on OpenBSD.
3147 --------------------------------------------------
3148 ==============================
3149 Release Notes for Samba 3.0.20
3151 ==============================
3153 Additional features introduced in Samba 3.0.20 include:
3155 o Support for several new Win32 rpc pipes.
3156 o Improved support for OS/2 clients.
3157 o New 'net rpc service' tool for managing Win32 services.
3158 o Capability to set the owner on new files and directory
3159 based on the parent's ownership.
3160 o Experimental, asynchronous IO file serving support.
3161 o Completed Support for Microsoft Print Migrator.
3162 o New Winbind IDmap plugin (ad) for retrieving uid and gid
3163 from AD servers which maintain the SFU user and group
3165 o Rewritten support for POSIX pathnames when utilizing
3166 the Linux CIFS fs client.
3167 o New asynchronous winbindd.
3168 o Support for Microsoft Print Migrator.
3169 o New Windows NT registry file I/O library.
3170 o New user right (SeTakeOwnershipPrivilege) added.
3171 o New "net share migrate" options.
3174 What happened to 3.0.15 - 3.0.19?
3175 ==================================
3177 After some discussion it was deemed that the amount of changes
3178 going into the next Samba 3.0 release needed something to catch
3179 people's attention. Skipping several releases was chosen as
3180 the best solution with the least overhead. There will be no
3181 3.0.15 - 3.0.19 ever released. The next production release
3182 following 3.0.20 should be 3.0.21.
3184 The original announcement about the version number change can
3185 be found in the samba mailing list archives:
3187 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
3190 Asynchronous Winbind Implementation
3191 ===================================
3193 Winbindd has been completely rewritten in this release to support
3194 an almost completely non-blocking, asynchronous request/reply
3195 model. This means that winbindd will scale much better in
3196 large domain environments and on high latency networks. Neither
3197 the client interface nor the command line tools (i.e. wbinfo) have
3198 changed in their calling conventions or syntax. However, due to
3199 internal structure changes, it is required (more so than normal)
3200 that you install the nss_winbind.so library included in this release.
3203 Support for Microsoft Print Migrator
3204 ====================================
3206 Samba 3.0.20 includes full support for migrating printers from
3207 Windows servers or other Samba servers via the Microsoft Print
3208 Migrator tool. Restoring printers requires a working "add printer
3209 command" defined in smb.conf. Current support also allows
3210 administrators to create a master list of printer drivers which
3211 can be restored in bulk on new (or existing) Samba installations.
3214 Asynchronous IO Support
3215 =======================
3217 Experimental support for async IO has been added to smbd for
3218 certain platforms. To enable this new feature, Samba must be
3219 compiled to include the --with-aio-support configure option.
3220 In addition, the "aio read size" and "aio write size" to non-zero
3221 values. See the smb.conf(5) man page for more details on these
3225 ######################################################################
3232 Parameter Name Action
3233 -------------- ------
3234 acl check permissions New
3235 acl group control New
3236 acl map full control New
3239 enable asu support New
3242 map to guest Modified (new value added)
3243 max stat cache size New
3244 min password length Removed
3245 printer admin Deprecated
3246 username map script New
3247 winbind enable local accounts Removed
3248 winbindd nss info New
3251 Changes since 3.0.14a
3252 ---------------------
3258 o Jeremy Allison <jra@samba.org>
3259 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
3260 * Ensure the old SMB search calls always ask mask_match() to
3261 translate patterns like ????????.???.
3262 * Split out the check_path_syntax() into a findfirst, findnext,
3263 & wildcard versions.
3264 * Fix checks for matching groups in an file ACL against the
3265 user's primary and supplementary group list.
3266 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
3267 LANMAN2 protocol, ensure the EA size is always correctly
3268 set on a query for a file with no EA's.
3269 * BUG 2551: Look at the incoming flags2 flag
3270 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
3271 uppercased on a SMBsearch request, not the protocol level.
3272 * Added "volume" command to smbclient that prints out the
3273 volume name and serial number.
3274 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
3275 * Add support for OS/2 Extended Attributes.
3276 * Correctly check OpenX open modes.
3277 * Ensure allocation size is correctly returned for OpenX.
3278 * Only set allocation on create/truncate for nttrans.
3279 * Fix oplock bug in trans2open() code.
3280 * Remove unix_ERR_XXX global nastiness.
3281 * Only do the strange DOS error for openX, not trans2open.
3282 * Ensure SMBopen replies includes the share modes as well as
3284 * BUG 2581: Add size limit (in kb) to stat cache.
3285 * Fix bug in the trans2 secondary processing.
3286 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
3287 * Add an SMB counter per connection struct for gathering
3289 * BUG 2605: Ensure smbclient doesn't perform commands if
3290 the "chdir" fails in a scripted set.
3291 * Ensure a 'forced group' is added to the list of effective
3292 gids when processing ACLs.
3293 * Refactor rpc_bind structures for better future work.
3294 * BUG 2942: Add missing value in debug message.
3295 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
3296 by 'mangling method = hash'.
3297 * Fix memory leaks in the msdfs trans2 server code.
3298 * Convert msdfs server to be talloc'd based.
3299 * Fix up stackable vfs interface.
3300 * Fix rpc fault when encountering an unknown rpc_bind auth
3302 * BUG 2954: More AIX 5.1 AIO compile fixes.
3303 * Fix valgrind bug in interaction with new aio buffer (found
3305 * BUG 2878: Fix Norton commander not running on OS/2 clients.
3306 * Cleanup SAMR user info structure naming.
3307 * BUG 2889: Fix directly listings from OS/2 clients.
3308 * Added "acl group control" parameter.
3309 * Add debug warning if AddPrinterEx() is called without having
3310 an 'add printer command' defined.
3311 * Add better log messages when modifying ldap entries.
3312 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
3313 when string is unaligned.
3314 * BUG 2918: Fix SMB chaining by ensuring that deferred open
3315 message buffer is nor reused.
3316 * Add support for client setting capabilities to select posix
3317 pathnames on the wire.
3318 * Stop using C++ reserved words so that Samba can be compiled
3319 using g++. Also allows VFS modules in C++.
3320 * More fixes to allow better large directory scaling.
3321 * BUG 2827: Ensure we call the vfs connection hook before
3322 doing a vfs stat. Allows database vfs backends to initialize
3323 with a working connection.
3324 * BUG 2826: Ensure the correct return value for symlink and
3325 readlink in the VFS.
3326 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
3327 * Added AIO support to smbd.
3328 * Add "acl map full control", true by default, to allow people
3329 to change mapping of rwx to full control or not.
3330 * Transition smbd to use NTcreate&X for internal file opens.
3331 * Add checks against the current effective group id (e.g. force
3332 user) when testing write permissions one ACLs.
3333 * Fix FindFirst/FindNext server code when parsing directories
3334 on old IRIX XFS file systems (thanks to Cale Fairchild
3335 for the debugging help).
3336 * BUG 2644: Test for special files to be ignored was reversed.
3337 * Ensure yield_connection() is called on all appropriate error
3339 * Fix EDEADLCK problem with deferred open calls.
3340 * BUG 2622: Remove DPTR_MASK as it makes no sense.
3341 * Fix the write cache based on some VERY good detective work
3343 * BUG 2346: Fix read-only excel file bugs.
3344 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
3345 return ENOSYS if not implemented.
3346 * Add new CAP for POSIX pathnames.
3347 * BUG 2703: Add NULL guard for disp_fields[0].
3348 * BUG 2681: With "strict allocate = yes" we now zero fill when
3349 a file is extended. Should catch disk full errors on write
3351 * Add "acl check permissions" to turn on/off the new
3352 behavior of checking for write access in a directory
3354 * Refactor printing interface to take offset into job.
3355 * Allow mapping of POSIX ACLs to NT perms to differentiate
3356 between directories and files.
3357 * Added encrypt/decrypt function for LSA secrets and trusted
3358 domain passwords on the wire.
3359 * BUG 2729: Resume keys are *mandatory* for a search when
3360 listing a W2K and above server from a FATxx filesystem only.
3361 * BUG 2735: Ensure that smbd mangles control characters in file
3362 and directory names.
3363 * Refactor small pieces of socket handling code (in conjunction
3365 * BUG 2698: Fix infinite listing loop in smbclient caused by
3366 an invalid character set conversion.
3367 * Add client code that will abort a directory listing if we
3368 see the same name twice between packets.
3369 * Performance improvements in trans2 qfilepathinfo code by
3370 removing unnecessary memset() calls.
3371 * Rewrite the RPC bind parsing functions to follow the
3372 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
3373 * BUG 2774: Set sparse flag if needed when returning
3375 * Fix errors listing directories from Windows NT clients
3376 which caused "." and ".." to show up in explorer.exe.
3377 * Merge of error code fixes from SAMBA_4_0 branch.
3378 * BUG 2801: Fix regression in the "delete veto files" option.
3379 * Fix based on work from Shlomi Yaakobovich to catch loops
3380 in corrupted tdb files.
3381 * Allow someone with SeTakeOwnershipPrivilege to chown the
3382 user of a file to herself.
3383 * Fix minor compiler warnings in printing/printing.c.
3384 * Merge new DOS error code from SAMBA_4.
3385 * Fix issue when non-English characters in filenames and
3387 * Fix bogus error message in smbstatus about unknown share modes.
3390 o Andrew Bartlett <abartlet@samba.org>
3391 * Support raw NTLMSSP authentication for Windows Vista
3393 * Fix parallel NTLMSSP processing by removing global state.
3394 * BUG 2684: Add per service hosts allow/deny checks for
3395 printers when connecting via MS-RPC.
3396 * BUG 2391: Fix segv caused by free a static pointer returned
3398 * Support Kerberos authentication in smbd when using a keytab
3399 and participating in a non-Microsoft Kerberos realm.
3402 o Timur Bakeyev <timur@com.bat.ru>
3403 * BUG 2546: Add support for FreeBSD EA API
3404 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
3405 * BUG 2908: Fix string length logic error in msdfs code.
3406 * BUG 2909: Fix typo that caused smbd to call the wrong
3410 o Ed Boraas <ed.boraas@concordia.ab.ca>.
3411 * Added Linux per-socket TCP settings.
3414 o Gerald (Jerry) Carter <jerry@samba.org>
3415 * Added support for \svcctl pipe rpcs.
3416 * Added 'net rpc service' subcommand for managing Win32
3418 * Refactoring work on the rpc [un]marshalling layer and
3420 * Verify privilege name in 'net rpc rights privileges' in
3421 order to provide better error messages.
3422 * Cleanup rpc structures in rpc_spoolss.h.
3423 * Cleanups and fixes for the \winreg server code.
3424 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
3425 * Fix bugs in client spoolss code after refactoring work.
3426 * Fix Valgrind warnings of invalid reads in the spoolss
3428 * Fixed a segv when enumerating services on a Samba host.
3429 * Fix segv in the service control server code.
3430 * Fix crashes in client spoolss calls caused by not checking
3431 for a valid pointer from the caller.
3432 * Fix regression in DeleteDriver() server routines.
3433 * Fix dup_a_regval() when size is 0.
3434 * Fix usrmgr.exe crash when viewing user properties at
3436 * Do not enumerate any privileges when 'enable privileges = no'
3437 and log a message if a client tries.
3438 * BUG 2872: Fix cut-n-paste error when checking pointer value
3439 in ntlmssp_set_workstation().
3440 * Fix upgrade path from earlier nt*tdb files.
3441 * Removed print handle object cache.
3442 * BUG 2853: Don't strip out characters like '$' from printer
3443 names when substituting for the lpq command.
3444 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
3445 * Fix build issues on x86_64-linux systems caused by valgrind
3446 headers. Thanks to Bent Vangli to the suggestions.
3447 * Refactor spoolss client calls.
3448 * Adding 'username map script'.
3449 * Disable schannel on the LSA and SAMR pipes in winbindd client
3450 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
3451 * Cleanup of winreg API functions.
3452 * Add server stubs for RegSetKeySec() and RegGetKeySec().
3453 * Map generic bits to specific bits in reg_open_entry()
3455 * Add write support to registry tdb and printing backends.
3456 * Use tdb lookups rather than hard-coding certain registry
3457 value names and data.
3458 * BUG 2808: don't try to install man pages if they are not
3460 * Fix initialized variables reported by valgrind.
3461 * Normalize key lookups in ntprinters.tdb.
3462 * Mark "enumports command" as deprecated.
3463 * Add missing class file for python share command example.
3464 * Fix smbclient build issue on Solaris.
3465 * BUG 2626: ensure that the calling_name is set to something
3466 after parsing smb.conf (if not set via -n).
3467 * Use "add machine script" when creating a user (ACB_NORMAL)
3468 who has a name ending in '$' (e.g. usrmgr.exe creating
3469 domain trust accounts).
3470 * Add 'rid' synonym for idmap_rid IDMap module.
3471 * Ensure that we set full access on the handle returned
3472 from _samr_create_dom_{alias,group}() so that future
3473 set_{alias,group}() commands succeed.
3474 * Fix bug when looking for internal domains in winbindd
3475 (caused winbindd_getgrgid() for local groups to fail).
3476 * Fix query and set alias info calls (level 1 from the MMC
3477 manage computer plug-in.
3478 * Remove bogus log messages about unknown specversions.
3479 * BUG 2680: copy files from an MS-DFS win2k root share
3480 * BUG 2688: re-implement support for the -P (--port) option
3481 * Support connecting to an 'msdfs proxy' share on a Samba
3483 * Strip the directory path from cups command line printing
3485 * Fix bug that prevented smbclient from creating directories
3487 * Deprecate the "printer admin" parameter in favor of the
3488 SePrintOperatorPrivilege.
3489 * Add the capability to read and write WinNT regf registry
3491 * Implement access checks for RegOpenXXX() server calls.
3492 * Extend registry client rpc calls.
3493 * Add "net rpc registry" set of commands.
3494 * Remove testprns tool.
3495 * Ensure that printer ACLs use the specific bits as well as
3496 the generic bits. Upgrade existing ntprinters.tdb SECDESC
3498 * Add server support for RegSaveKey() for dumping registry
3499 trees to a regf file.
3500 * Add "enable asu support" smb.conf parameter.
3501 * Merge various small file changes from trunk.
3502 * Remove "winbind enable local accounts" support.
3503 * Remove "ldap filter" smb.conf option.
3504 * Remove editreg utility (needs to be rewritten using regfio.c).
3505 * Fix build failure when running 'make torture' without first
3506 running 'make all' first.
3507 * BUG 1261: Remove unusable libbiconv from iconv detection
3509 * Add new option for "map to guest". "Bad Uid" re-enables the
3510 Samba 2.2 behavior of mapping authenticated users to the
3511 guest account if there does not exist a valid Unix account
3512 for the Windows domain user (based on patch from
3513 aruna.prabakar@hp.com).
3514 * Fix a couple of regressions after introduction of new winbindd.
3515 * Fix smbpasswd user password change (still worked by bad error
3516 messages) due to trying to strdup a NULL pointer.
3517 * Implement default security descriptors for the
3518 OpenService[Manager]() calls and check requested access mask
3520 * Include access checks on handle mask for \svcctl operations
3521 such as ControlService() and StartService().
3522 * Implement simulated start and stop service control for
3523 the spooler service as a per smbd service state value.
3524 * Add interface structure for controlling service via rc.init
3525 scripts (incomplete).
3526 * Convert move_driver_to_download_area() to use copy_file()
3527 rather than moving the files.
3528 * Add version number to registry.tdb file since it can be
3530 * Remove over-paranoid assert() call when checking spoolss
3532 * Fix error in EnumPrinterData() reported by valgrind.
3533 * Fix broken help links in SWAT editor caused by new doc layout.
3534 * Ensure that a domain structure in winbind is initialized prior
3535 to assigning the methods for communicating to a DC.
3536 * BUG 3000: Remove background updates of winbind cache and allow
3537 child processes to immediately update and expired cache entry.
3540 o David.Collier-Brown <David.Collier-Brown@sun.com>
3541 * Added panic action script for Solaris.
3544 o Jeremy Cooper <jeremy@ncircle.com>
3545 * Added support for several new \winreg client rpcs.
3548 o <core@road-star.jp>
3549 * BUG 2792: Ensure the shadow copy module hooks seekdir,
3550 telldir, rewinddir to match updated large directory code.
3553 o Guenther Deschner <gd@samba.org>
3554 * Close handles on group creation in rpcclient to better
3555 support mass group account creation.
3556 * Fix account policy key lookup for minimum and maximum
3558 * Fix some compiler warnings and add missing exclude-block
3559 in 'net rpc share migrate'.
3560 * Allow use of a non-default smb.conf by rpcclient.
3561 * Fix querydispinfo search semantics in rpcclient test code.
3562 * Fix querydispinfo server semantics to allow to list more
3564 * Fix server crash bug in ancient OpenPrinter() call.
3565 * Fix a crash bug when enumerating privileges via the LSA
3567 * Fix crash in EnumPrinterKey() client calls caused by previous
3569 * Various compiler warning fixes.
3570 * Fix segfault in the client AddPrinterEx-call of 'net
3572 * Fix build issues when --with-aio-support is enabled.
3573 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
3574 * Honour the CC environment variable in python build.
3575 * Fix searches in pdb_ldap for inter-domain trust accounts.
3576 * Don't expand the %L in %LOGONSERVER% from user attributes.
3577 * Fix bug in 'net rpc vampire' that caused accounts to be created
3578 with no assigned ACB flags.
3579 * Fix enumeration of builtin-aliases.
3580 * Avoid unset rids for builtin-aliases.
3581 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
3582 * More "net rpc share migrate" fixes.
3583 * Merge PADL's idmap_ad plugin (taken from the latest
3584 xad_oss_plugins-tarball).
3585 * Add support for "idmap backend = ad" when "security = ads".
3586 * Add home directory and shell support from AD via "winbindd nss
3587 support = sfu" and "security = ads".
3588 * Provide better feedback when we fail share-manipulation
3589 due to missing scripts.
3590 * Correctly substitute "\" as default winbind separator in
3591 generate_parm_table.py example share command script.
3592 * Document pam_winbind.c to clarify the working status of
3593 require-membership-of option.
3594 * Added client-support for various lsa_query_trust_dom_info()
3595 calls and a rpcclient-tester for some info-levels.
3596 * Add "net rpc trustdom vampire" tool (in conjunction with
3598 * Add missing cli_srvsvc_net_share_set_info-function and
3599 rpcclient-testers (in preparation for net share acl migration).
3600 * Print trusted domain passwords returned via rpcclient in
3602 * Error code fixes when attempting to manipulating
3603 non-existent shares.
3604 * Cleanup "net share migrate" code.
3605 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
3607 * Allow admins to uncheck the "User must change Password at
3608 next Logon" checkbox in User manager (merge from trunk).
3611 o Renaud Duhaut <rd@duhaut.com>
3612 * BUG 1040: Add directory_mode parameter when creating recycle
3616 o Steven Edwards <steven_ed4153@yahoo.com>.
3617 * Use chsize() if we don't have ftruncate().
3620 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
3621 * BUG 1780: Add Kerberos (file based ticket cache) support
3625 o Steve French <sfrench@us.ibm.com>
3626 * Update list of mount options for mount.cifs.
3627 * Add more defines for POSIX extensions to match the newly
3628 added client implementation.
3629 * Add initial support for cifs umount utility.
3630 * Fix cifs mounts to handle commas embedded in prompted
3631 password, and password and credential files.
3632 * Fix cifs mounts to handle domain name and user name in
3633 username field (in form domain\user).
3634 * Add missing error code mappings when a client unsuccessfully
3635 tries to create a hard-link.
3636 * Add support so umount.cifs can update mtab.
3637 * Add two newer mount options to syntax help for mount.cifs.
3638 * Add missing remount flag handling.
3639 * Allow domain= to be specified in credentials file.
3640 * Fix umount.cifs help, allow root to unmount someone else's
3642 * Lock mtab when updating it during umount.cifs, also delete
3643 only one matching entry at a time.
3644 * Fix minor compiler warnings in the mount.cifs helper.
3647 o Deryck Hodge <deryck@samba.org>
3648 * BUG 2137: Encode quotes for display in HTML (original patch
3652 o Olaf Imig <Olaf.Imig@bifab.de>
3653 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
3655 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
3658 o Björn Jacke <bj@sernet.de>
3659 * Added ioctl constants reported by msbackup.exe and filemon.exe.
3662 o Kevin Jamieson <bugzilla@kevinjamieson.com>
3663 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
3666 o John Janosik <jpjanosi@us.ibm.com>
3667 * BUG 2077: Correctly fill in the correct server name when
3668 processing trusted domain logins.
3669 * BUG 2976: Mark logons for unknown domains with a
3670 non-authoritative response.
3673 o William Jojo <jojowil@hvcc.edu>
3677 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3678 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
3682 o Tom Lackemann <cessnatomny@yahoo.com>
3683 * BUG 2242: Patch to ensure that we only set the security
3684 descriptor on an NTtransact create if we created the file.
3687 o Volker Lendecke <vl@samba.org>
3688 * Port some of the non-critical changes from HEAD to 3_0.
3689 The main one is the change in pdb_enum_alias_memberships
3690 to match samr.idl a bit closer.
3691 * Close handles on user creation in rpcclient to better
3692 support mass user account creation.
3693 * Implement client RAP calls for enumusers/enumgroups level 0.
3694 * Implement a new caching API for enumerating the pdb elements.
3695 * Convert the RAP user and group enumeration functions to the
3696 utilized the pdb_search API.
3697 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
3698 RestrictAnonymous environments.
3699 * Internal passdb API changes for better search capabilities
3700 (based on original work by Guenther Deschner).
3701 * Fix various compiler warnings.
3702 * Add chain length statistics to tdbtool.
3703 * Fix set afs ACL calls on files and directories in the root of
3705 * Refactoring work on internal open code
3706 * Correctly initialize the version in a new set of nt*tdb files.
3707 * Remove smb_run_idle_events() from main process loop in smbd
3708 and instead rely upon the timeout processing to handle
3709 dropping idle LDAP connections.
3710 * Fix the bug where users show up as trusting domains.
3711 * Fix an assertion failure in winbindd.
3712 * Fix a memleak in vfs_afsacl.
3713 * Various compiler warning fixes.
3714 * Fix compile when --enable-socket-wrapper is defined.
3715 * Fixes for top level acls in vfs_acl.c.
3716 * Refactor passdb interface functions.
3717 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
3718 * Correct 2 segv's in "net rpc printer migrate".
3719 * Return correct group type from smbd for BUILTIN groups.
3720 * Backport the talloc() layer from Samba 4.
3721 * BUG 2701: Fix segv in ldap reconnection code.
3722 * BUG 2705: Fix segv when connecting from usrmgr.exe.
3723 * Use the SID in the user token for the %s expansion in 'afs
3725 * Memory leak fixes in passdb code.
3726 * BUG 2720: Fixes for "net usersidlist".
3727 * BUG 2725: Fix segv in "net ads user".
3728 * Only allow schannel connections if a successful Auth2
3729 has been previously performed.
3730 * Don't look at gencache.tdb for the trusted domains if
3732 * Rewrite winbindd using an asynchronous process model.
3735 o Herb Lewis <herb@samba.org>
3736 * Compiler warning cleanups.
3737 * smbwrapper Makefile and compile time check cleanups.
3738 * Adding robustness checks for tdbdump and tdbtool.
3739 * Extend tdb command line parsing to arbitrary hex characters.
3740 * Add LOCKING debug class.
3741 * Fix more compiler warnings.
3744 o Derrell Lipman <derrell@samba.org>
3745 * add support for opening a file for write with O_APPEND
3747 * Added smbsh/smbwrapper for Linux to example/libsmbclient
3749 * Fix smbc_stat() from returning incorrect timestamps IFF
3750 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
3751 and not if it used cli-getatr() to retrieve the timestamps
3753 * Fix handful of compiler warnings.
3754 * BUG 2498, 2484: smbc_getxattr() fixes.
3755 * BUG 1133: Added provision for overloading some global
3756 configuration options via the new, per-user file
3757 ~/.smb/smb.conf.append.
3758 * BUG 2543: Properly cache anonymous username when reverting
3759 to anonymous login, in libsmbclient.
3760 * BUG 2505: Fix large file support in libsmbclient.
3761 * BUG 2564: Ensure correct errno when smbc_opendir() was called
3762 with a file rather than a directory.
3763 * Correct deprecated lvalue casts in testsuite/libsmbclient.
3764 * BUG 2663. cli_getattrE() and cli_setattrE() were not
3765 formatting or parsing the timestamp values correctly.
3766 * Correctly detect AF_LOCAL support in configure.
3767 * Fix problem updating file times on Windows 98 hosts using
3769 * Fix compile breakage on Solaris by eliminating the use of
3770 ctime_r() in libsmbclient DEBUG statement.
3773 o Jason Mader <jason@ncac.gwu.edu>
3774 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
3775 * Various compiler warning fixes about mistyped variables.
3776 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
3778 * BUG 2527, 2538: Removed unused variables.
3781 o Marcel <samba.10.maazl@spamgourmet.com>
3782 * Fix regression in OS/2 trans2 open code.
3785 o Jim McDonough <jmcd@us.ibm.com>
3786 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
3787 (in conjunction with Volker).
3788 * BUG 2953: Prevent the credentials chain on DC gets out
3789 of sync with client when NT_STATUS_NO_USER is returned.
3790 * Added subcommands to "net rpc vampire" (mostly done by Don
3791 Watson <dwatson@us.ibm.com>) to allow data to be put into an
3792 ldif file instead of actually writing to the passdb.
3793 * BUG 2736: Add retries to workaround winbind race condition
3794 with detecting idle clients.
3795 * BUG 2953: Additional fixes for domain trusts. Also clears
3796 up the "bad stub" error when attempting to logon to a Samba
3797 domain with a bad username.
3800 o Luke Mewburn <lukem@NetBSD.org>
3801 * Compiler warning fixes.
3804 o Kalim Moghul <kalim@samba.org>
3805 * Removed unused printmode command from smbclient.
3808 o Lars Müller <lmuelle@samba.org>
3809 * Re-enable the VERSION_REVISION option in case of another
3811 * Fix spoolss python bindings after C++ compiler changes and
3813 * BUG 2659: Don't trump on memory in smbtorture.
3814 * BUG 2060: Add -fPIC which is the case for all other Samba
3816 * Fix argv parsing in "net rpc".
3817 * Add support to create position independent executable (PIE)
3818 code if the compiler supports it.
3819 * BUG 2767: Add new options to testparm (--show-all-parameters,
3820 --parameter-name, and --section-name).
3821 * Fix net share migrate files to also migrate the ACLs of
3822 the top level dir of a share.
3825 o Marcel Muller <mueller@maazl.de>
3826 * Patch to fix the OS/2 EA_FROM_LIST info level call.
3827 * Mangled names fix for OS/2 clients.
3828 * Ensure we correctly set the return packet size to include the
3829 pad bytes in reply_readbmpx().
3830 * Fix for bug in SMBwriteBraw that incorrectly returned the
3831 number of bytes written.
3834 o Ricky Nance <ricky.nance@gmail.com>
3835 * Implemented mklogon script generator for domain logon scripts.
3838 o James Peach <jpeach@sgi.com>
3839 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3840 * BUG 2285: Patch for hires timestamps and efficient notify code.
3841 * MS-DFS tidyup patches.
3842 * Build fixes on IRIX.
3843 * IRIX compiler warning fixes.
3844 * BUG 2596: Fix become_root link issues and one IRIX stack
3846 * Fix for null pointer ACL free.
3847 * BUG 2314: Fix const compiler warnings in the quota code.
3850 o Ed Plese <ed@edplese.com>
3851 * Fix faulty logic which caused winbindd to return failure
3852 when a user possessed no supplementary groups.
3855 o Marcin Porwit <mporwit@centeris.com>
3856 * Initial support for the \eventlog pipe.
3857 * Fix a memleak in the eventlog code.
3858 * Miscellaneous fixes for Samba's experimental event log support.
3859 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
3863 o Tim Potter <tpot@samba.org>
3864 * BUG 2940, 2943: Fixed various compiler warnings regarding
3865 mismatched types and unused variables.
3866 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3867 * BUG 2733: Fix incorrect SHLIBEXT is set when running
3868 configure script on HPUX IA.
3869 * Remove unused autoconf #define's.
3870 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3871 * Removed unused function declarations in tdb.h.
3872 * BUG 2895: Don't wrap non-existent functions in the python
3874 * BUG 2623, 2630: $< and $* are not valid in explicit rules
3876 * BUG 2560: Fix compile error lurking where PATH_MAX is not
3878 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3879 * BUG 2611: Add fflush(stdout) after displaying username prompt
3880 in smbsh if username not specified on command line.
3881 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
3882 * BUG 2808: Update install swat message to reflect the fact
3883 that swat/README no longer exists.
3886 o Denis Sbragion <d.sbragion@infotecna.it>
3887 * BUG 2196: Allow absolute path (system wide) recycle bin.
3890 o Fernando Schapachnik <fernando@mecon.gov.ar>
3891 * Add logon hours support for the Postgres backend.
3894 o Richard Sharpe <rsharpe@samba.org>
3895 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
3897 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
3898 * BUG 2362: Quota support fix for DragonFly.
3899 * Fix dragonfly detection in configure.
3902 o Simo Sorce <idra@samba.org>
3903 * Allow Domain Admins to force user sessions to close via the
3904 Windows Server Manager.
3905 * Add support to 'net rpc right privileges <name>' to enumerate
3906 accounts which possess a specific privilege.
3907 * Fix memory issues issues in vfstest (reported by Rainer Link).
3908 * Randomize reloading as to not overload cupsd.
3911 o Smitty <smitty@plainjoe.org>
3912 * Compile fixes for smbget when using --enable-developer.
3913 * Include LUID values to match Windows privileges since
3914 apparently this matters to printmig.exe
3917 o John Terpstra <jht@samba.org>
3918 * Solaris packaging fixes.
3919 * Clean up usage help text in "net rpc user"
3922 o Andrew Tridgell <tridge@samba.org>
3923 * Merge socket wrapper library fixes from Samba 4.
3926 o Brett Trotter <blt@iastate.edu>
3927 * Fix definition of global_sid_* in vfs_acl.c.
3930 o Mark Weaver <mark-clist@npsl.co.uk>
3931 * Patch to fix sys_select so it can't drop signals if another
3932 fd is ready to read.
3935 o Jelmer Vernooij <jelmer@samba.org>
3936 * Remove --with-manpage-languages configure option.
3937 * Merge socket wrapper fixes for IRIX systems from the
3939 * Add socket_wrapper library to 3.0. Can be enabled by passing
3940 --enable-socket-wrapper to configure.
3941 * Fix build of the various sql pdb backends after new talloc.
3944 o Qiao Yang <qyang@stbernard.com>
3945 * Use our own DC when getting the SID for a domain.
3949 Release Notes for older release follow:
3951 --------------------------------------------------
3952 ===============================
3953 Release Notes for Samba 3.0.14a
3955 ===============================
3957 Common bugs fixed in 3.0.14a include:
3959 o Compatibility issues between Winbind and Windows 2003 SP1
3960 domain controllers (*2k3sp1*).
3961 o MS-DFS errors with Windows XP SP2 clients.
3962 o High CPU loads caused by infinite loops in the FindNext()
3964 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
3968 ######################################################################
3972 Changes since 3.0.14
3973 --------------------
3977 o Jeremy Allison <jra@samba.org>
3978 * Fixed invalid SMB_ASSERT() triggered by checking access on
3982 Changes since 3.0.13
3983 --------------------
3988 Parameter Name Action
3989 -------------- ------
3990 dos filetimes Enabled by default
3995 o Jeremy Allison <jra@samba.org>
3996 * Prevent nt_status code support when negotiating protocols
3998 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
3999 as this SMB is DOS codepage only.
4000 * BUG 2585: Fix printf() issues in smbpasswd which caused
4002 * BUG 2563: Fix infinite loop on non-existent file with
4004 * BUG 2581 (partial): Ensure if realloc fails on an internal
4005 tdb we fail gracefully.
4006 * Ensure that 'dos filetimes' works with ACLs.
4007 * Set 'dos filetimes = yes' as the default for smb.conf.
4010 o Gerald (Jerry) Carter <jerry@samba.org>
4011 * Workaround autoconf issue to prevent debug symbols from
4012 being included in the default build.
4013 * Disable schannel on the \lsarpc pipe in order to successfully
4014 enumerate users and groups (*2k3sp1*)
4015 * Fix parsing error in rpc binds which broke NTLMSSP
4016 authentication. And as a result broke CTL+ALT+DEL password
4017 changes from a Windows 2003 SP1 member of a Samba domain
4019 * Revert change to FindFirst() server code that broke WinXP
4020 SP2 clients from launching *.exe files from a dfs target
4022 * BUG 2588: Force smbclient to send netbios messages to port
4023 139 unless otherwise instructed (based on patch from Thomas
4027 o Volker Lendecke <vl@samba.org>
4028 * Fix build on FreeBSD 4 where Winbind is not supported.
4029 * Fix 'wbinfo --user-sids' when using domain local groups.
4030 * Restrict domain local groups reported by 'wbinfo -r' to
4031 the Samba server domain and not the users domain.
4034 o Lin Li <linl@xandros.com>
4035 * Ensure that winbind initializes internal trusted domain
4036 structures when enumerating users and groups.
4039 o Tim Potter <tpot@samba.org>
4040 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
4042 * Fix compiler warnings.
4045 o <psz@maths.usyd.edu.au>
4046 * Fix for possible root squash NFS bugs.
4049 o Simo Sorce <irda@samba.org>
4050 * Debian packaging fixes.
4053 --------------------------------------------------
4054 ==============================
4055 Release Notes for Samba 3.0.13
4057 ==============================
4059 Common bugs fixed in 3.0.13 include:
4061 o Infinite FindNext() loop from Windows 9x client when
4062 copying or deleting files on a Samba file share using
4064 o Numerous smbclient bugs when listing directories.
4065 o Failures in smbclient when connecting to a Windows 9x
4069 ######################################################################
4073 Changes since 3.0.12
4074 --------------------
4076 o Jeremy Allison <jra@samba.org>
4077 * Fix typo bug in smbclient where flags overwrote info level
4078 in the cli_list_new().
4079 * Fix old smbclient bug where ff_searchcount was being compared
4080 to -1 resulting in processing a filename twice.
4081 * Fix segv in smbclient caused by overwriting the last 2 bytes
4083 * BUG 2530: Fix potential segv in smbclient when talking to a
4084 Windows 9x file server.
4085 * Fix last entry offset in cli_list_new() when using a
4086 FindFirst/FindNext info level of 0x104.
4087 * BUG 2501: Stop Win98 from looping doing FindNext on a
4088 singleton directory.
4089 * BUG 2521: Fix error in access checks when user group ACLs.
4092 o Gerald (Jerry) Carter <jerry@samba.org>
4093 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
4094 to delete all versions of a driver.
4095 * BUG 2517: use the realm from smb.conf for 'net ads info' when
4096 'disable netbios = yes'.
4097 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
4099 * Update RedHat packaging files to require cups support. Also
4100 remove requirement for 'idmap {uid,gid}' settings in smb.conf
4101 from winbindd init script.
4102 * BUG 2516: fix compile issue on True64.
4106 o Guenther Deschner <gd@samba.org>
4107 * Check for the correct cli-struct when copying files in 'net
4108 rpc printer' routines.
4111 o Herb Lewis <herb@samba.org>
4112 * Fix incorrect test in 'net rpc user' when the user is not
4113 a member of any groups.
4116 o Jim McDonough <jmcd@us.ibm.com>
4117 * Make sure that enum_group_members() searches the correct suffix.
4120 --------------------------------------------------
4121 ==============================
4122 Release Notes for Samba 3.0.12
4124 ==============================
4126 Common bugs fixed in 3.0.12 include:
4128 o Winbind failures when using 'disable netbios = yes'
4129 o Failure to establish a trust relationship via 'net rpc trust
4131 o Various portability & compiler issues.
4132 o Read only file deletion failure caused by new delete semantics
4133 in Windows XP SP2 and the MS 04-044 security hotfix.
4134 o Error messages from shared Excel workbooks residing on Samba
4136 o Missing files in the output of smbclient -c 'dir' when run
4137 against Windows file servers.
4138 o Inability for Print Administrators to pause/resume/purge print
4141 Additional features introduced in Samba 3.0.12:
4143 o Performance enhancements when serving directories containing
4144 large number of files.
4145 o MS-DFS support added to smbclient.
4146 o More performance improvements when using Samba/OpenLDAP based
4147 DC's via the 'ldapsam:trusted=yes' option.
4148 o Support for the Novell NDS universal password when using the
4149 ldapsam passdb backend.
4150 o New 'net rpc trustdom {add,del}' functionality to eventually
4151 replace 'smbpasswd {-a,-x} -i'.
4152 o New libsmbclient functionality.
4156 =======================
4157 Large Directory Support
4158 =======================
4160 Samba 3.0.12pre1 introduces a specific mechanism for dealing
4161 with file services that frequently contain a large number of files
4162 per directory. Historically Samba's performance has suffered
4163 in such environments due to the translation from case
4164 insensitive lookups by Windows client to the case sensitive
4165 storage mechanisms used by UNIX filesystems.
4167 Configuration details along with a short HOWTO can be found at:
4169 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
4172 ==================================
4173 libsmbclient Binary Compatibility
4174 ==================================
4176 Please note that a change has been made to the _SMBCCTX structure
4177 in source/include/libsmbclient.h. This change is not backwards
4178 compatible with applications linked against the libsmbclient.so
4179 library from Samba 3.0.11. However, it is compatible with all
4180 other Samba 3.0.x releases. This means that it will be most likely
4181 be necessary to recompile any applications linked against the
4182 3.0.11 version of the library.
4185 ######################################################################
4192 Parameter Name Action
4193 -------------- ------
4194 allocation roundup size New
4195 log nt token command New
4196 write cache Deprecated
4200 Changes since 3.0.11
4201 --------------------
4205 o Jeremy Allison <jra@samba.org>
4206 * BUG 2146: Return correct allocation sizes so as not to crash
4208 * BUG 962: Ensure that parsing of service names in smb.conf is
4210 * BUG 2201, 2227: Support new delete semantics used by MS04-044
4212 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
4213 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
4214 * Add special hooks when serving directories containing large
4216 * Ensure that WINS negative name query responses and WACK
4217 packets use the correct RR type of 0xA instead of reflecting
4218 back what the query RR type was (0x20).
4219 * BUG 2310: Only do 16-bit normalization on small dfree request.
4220 * BUG 2323: Correct authentication failure when using plaintext
4221 passwords from Windows XP clients.
4222 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
4223 work around issues building MS Visual Studio 6.0 project
4224 on a Samba file share while restoring the pre-3.0.21pre1
4225 behavior by default.
4226 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
4227 stat when checking for existence of a pathname.
4228 * Check the sticky bit on the parent directory for supporting
4229 the new WinXP SP2 file deletion semantics.
4230 * Various oplock, share mode, and byte range locking fixes
4231 found by Connectathon tests.
4232 * BUG 2271: Fix resume key issues in trans2FindFirst() client
4233 code (inspired by patch from Satwik Hebbar).
4234 * BUG 2382, 2045: More pending modtime and delayed write fixes
4235 for MS Excel (incorporates partial patches from
4236 ke_miyata@itg.hitachi.co.jp).
4237 * Debug log message cleanups.
4238 * Add case insensitive search for a principal match on logon
4239 verification in the system keytab (based on patch by
4240 Michael Brown <mbrown@fensystems.co.uk>).
4241 * Revert the previous SMB signing change from Nalin Dahyabhai
4242 when using DES keys.
4243 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
4244 * Fix FindFirst() server code to deal with resume names of ".."
4245 and "." (found by Jim McDonough).
4246 * BUG 2451: Fix missing functions in full audit VFS module.
4247 * Ensure that smbd logs failures reported by DISK_FREE()
4248 (reported by Ying Li <ying.li2@hp.com>).
4249 * Ensure that smbclient obeys the max protocol argument again.
4250 * BUG 2335: Return correct error code for OS/2 clients (based on
4251 negotiated protocol level).
4252 * BUG 2460, 2464: remove dead code and unused variables
4253 (reported by Jason Mader).
4256 o Andrew Bartlett <abartlet@samba.org>
4257 * Avoid length-limited intermediate copy of NT and LM responses
4259 * Debug message cleanups in the NTLMSSP implementation.
4262 o Manuel Baena <mbaena@lcc.uma.es>
4263 * Print actual error message in smbmnt.c:fullpath().
4266 o Vince Brimhall <vbrimhall@novell.com>
4267 * Add support for Novell NDS universal password.
4268 * BUG 2424: Ensure that uidNumber and gidNumber use match
4270 * BUG 2453: Change the way pdb_nds.c handles users with no
4271 Universal or Simple Password.
4272 * NDS schema file corrections.
4275 o Gerald (Jerry) Carter <jerry@samba.org>
4276 * Add trans2 client call for checking dfs referrals
4277 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
4278 when checking directories on modern CIFS servers.
4279 * Add MS-DFS support to smbclient.
4280 * Code cleanup of adt_tree.[ch].
4281 * Add missing checks to allow root to manage user rights.
4282 * Allow domain admins to manage rights assignments on domain members
4284 * BUG 2333: Use the lpq command to pass in the correct printer name
4285 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
4287 * BUG 1439: make sure to initialize pointer to prevent invalid
4289 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
4291 * Add cups-devel to BuidlRequires directive in Fedora spec file.
4292 * BUG 858: Fix order of popt args evaluation so we don't crash
4293 when given no command line args.
4294 * Remove dependency on bash for source/autogen.sh.
4295 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
4296 * Implement MS-DFS for recursive directory listings in smbclient.
4297 * BUG 2394: Fix nmbd linking issue on IRIX.
4298 * Only display the publish check box in the client's printer
4299 properties dialog if we are a member of an AD domain.
4300 * BUG 2363: allow 'in use' driver to be removed as long as
4301 one 'Windows NT x86' driver remains.
4302 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
4304 * Enforce better printer.tdb cache consistency when removing
4305 jobs from a print queue via SMB.
4306 * Ensure that pause/resume/purge print queue commands are run
4307 with the appropriate level of privilege necessary to actually
4309 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
4310 for 'printing = cups' installations that do not actually have
4312 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
4313 * BUG 2215: Rewrite questionable code that was causing gcc to
4315 * Add server support for LsaLookupPrivValue().
4316 * Various small compile fixes and cleanup warnings.
4317 * BUG 2456: Fix compile failure on non-gcc platforms due to
4318 non-standard pragma.
4321 o Kevin Dalley <kevin@kelphead.org>
4322 * BUG 2398: Don't force smbclient to assume a dry run if the
4323 target tarfile is /dev/null.
4326 o Guenther Deschner <gd@samba.org>
4327 * Fix crash bug in the client-spoolss enumdataex-call.
4328 * Expand the valid-workstation-scheme by expanding names
4329 beginning with a plus (+) as a unix group.
4330 * Allow own netbios name to be set in smbclient's session setup.
4331 * Better handling of LDAP over IPC connections that have expired
4333 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
4334 * Add examples/misc/adssearch.pl.
4335 * BUG 2343: Build fixes.
4336 * Support get_user_info_7 in SAMR server RPC.
4337 * Fix server_role in the samr_query_dom_info calls.
4338 * Add example perl script to check for multiple LDAP entries
4339 after running 'net rpc vampire'.
4340 * Add more output when listing printer forms via rpcclient.
4341 * Debug log message cleanup.
4344 o Steve French <sfrench@us.ibm.com>
4345 * On failed mount (ENXIO) retry share name in uppercase (fix
4346 mount to FastConnect AIX SMB server).
4347 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
4348 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
4349 it with a user name.
4350 * Update for new CIFS POSIX info levels.
4351 * Ignore users mount parm in mount.cifs.
4353 o SATOH Fumiyasu <fumiya@samba.gr.jp>
4354 * BUG 1549: Don't truncate service names in smbstatus.
4357 o William Jojo <jojowil@hvcc.edu>
4358 * BUG 2445: Patch to avoid default ACLs on AIX.
4361 o S Murthy Kambhampaty <smk_va@yahoo.com>
4362 * Add idmap_rid module to Fedora and RedHat spec files.
4365 o Volker Lendecke <vl@samba.org>
4366 * BUG 2401: Flush internal getpwnam() cache after deleting a
4368 * BUG 1604: Make winbind work with more than 10 trusted domains.
4369 * Cleanup various compiler warnings.
4370 * Fix a memory leaks in privileges code and passdb backends.
4371 * Fixes for samr_lookup_sids() client call.
4372 * Optimize _samr_query_groupmem with LDAP backend for large
4374 * Support SIDs as %s replacements in the afs username map
4376 * Add 'log nt token command' parameter. If set, %s is replaced
4377 with the user sid, and %t takes all the group sids.
4378 * Do not use the "Local Unix Group"-default description for
4379 all kinds of group-mappings.
4380 * Fix uninitialized variable in Linux nss_winbind library.
4381 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
4382 * Implement 'net afs impersonate'.
4385 o Herb Lewis <herb@samba.org>
4386 * Fix build problem when HAVE_POSIX_ACL is not defined.
4387 * BUG 2417: Add help lines for net rpc group addmem and
4391 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
4392 * Add support to libsmbclient for getting and setting DOS
4393 attributes using EA functions.
4394 * Fix libsmbclient's URL encoding/decoding.
4395 * Replace browse listing URI queries with an internal options
4396 structure (previous method violated the SMB URI syntax).
4397 * Allow tree connects to be multiplexed over a single CIFS server
4399 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
4400 can determine a dead tree connection.
4401 * Implement better solution for backwards binary compatibility
4402 in libsmbclient while adding new fields to struct _SMBCCTX.
4405 o Mark Loeser <halcy0n@gentoo.org>
4406 * BUG 2443: Compile fix for gcc4.
4409 o Jim McDonough <jmcd@us.ibm.com>
4410 * BUG 2338: Fix coredump when OS/2 checks for long file name
4411 support (with .+,;=[].) (thanks to Guenter Kukkukk).
4414 o Jason Mader <jason@ncac.gwu.edu>
4415 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
4419 o Jim McDonough <jmcd@us.ibm.com>
4420 * Fixes for server schannel implementation when 'restrict
4421 anonymous = 1' is set in smb.conf.
4422 * Fix bug in server side lookupsids reply that crashed lsass.exe
4424 * Fix 'net rpc trustdom establish'.
4425 * BUG 2062: Turn off broadcast for all 390 NICs.
4426 * Fix 'net rpc trustdom add' to correctly add new domain trust
4427 accounts. This will eventually replace 'smbpasswd -a -i'.
4428 * Implement 'net rpc trustdom del', including client side of
4429 samr_remove_sid_from_foreign_domain.
4430 * Bring IBM Directory Server schema up to date with openldap
4432 * Allow for better protection of sensitive attributes in IBM
4436 o Stefan Metzmacher <metze@samba.org>
4437 * Fix memleaks in the nttrans code.
4440 o Mike Nix <mnix@wanm.com.au>
4441 * Add SMBsplopen and SMBsplclose client calls.
4444 o Justin Ossevoort <justin@snt.utwente.nl>
4445 * BUG 2316: Fix crashes in pdb_pgsql.
4448 o James Peach <jpeach@sgi.com>
4449 * Fixes in string handling code.
4450 * Fix oplock2 test in client smbtorture.
4453 o Tim Potter <tpot@samba.org>
4454 * Fix up example pdb modules after prototype change for
4456 * BUG 2058: Fix for shared object creation in examples.
4457 * BUG 2315: Fix segv in LSA privileges server code.
4458 * Build fixes for python wrapper libraries.
4461 o Richard Sharpe <rsharpe@samba.org>
4462 * BUG 2044: Fix segv in profiles tool.
4463 * Fix bogus error messages when enumerating user group
4464 membership via 'net rpc'.
4467 o Simo Sorce <idra@samba.org>
4468 * Debian packaging fixes.
4471 o John Terpstra <jht@samba.org>
4472 * Add the capability to set account description using pdbedit.
4475 o Doug VanLeuven <roamdad@sonic.net>
4476 * Add more case/realm/name permutations to the Kerberos keytab.
4477 * AIX compile fixes.
4480 o Jelmer Vernooij <jelmer@samba.org>
4481 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
4482 * BUG 1957: Implement minimal update of fields in mySQL pdb
4486 o Torsten Werner <torsten.werner@assyst-intl.com>
4487 * BUG 2405: Define 'lpstat' printcap output on HPUX.
4490 o Shlomi Yaakobovich" <Shlomi@exanet.com>
4491 * Detect infinite loops when traversing tdbs.
4494 --------------------------------------------------
4495 ==============================
4496 Release Notes for Samba 3.0.11
4498 ==============================
4500 Common bugs fixed in 3.0.11 include:
4502 o Crash in smbd when using CUPS printing.
4503 o Parsing error of other SIDs included in the user_info_3
4504 structure returned from domain controllers.
4505 o Inefficiencies when searching non-AD LDAP directories.
4506 o Failure to expand variables in user domain attributes
4507 in tdbsam and ldapsam.
4509 o Failure to retrieve certain attribute when migrating from
4510 a Windows DC to a Samba DC via 'net rpc vampire'.
4511 o Numerous printing bugs bugs including memory
4512 bloating on large/busy print servers.
4513 o Compatibility issues with Exchange 5.5 SP4.
4516 Additional features introduced in Samba 3.0.11:
4518 o Winbindd performance improvements.
4519 o More 'net rpc vampire' functionality.
4520 o Support for the Windows privilege model to assign rights
4522 o New administrative options to the 'net rpc' command.
4529 If "ldap user suffix" or "ldap machine suffix" are defined in
4530 smb.conf, all user-accounts must reside below the user suffix,
4531 and all machine and inter-domain trust-accounts must be located
4532 below the machine suffix. Previous Samba releases would fall
4533 back to searching the 'ldap suffix' in some cases.
4540 Samba 3.0.11 supports the following assignable rights
4542 SeMachineAccountPrivilege Add machines to domain
4543 SePrintOperatorPrivilege Manage printers
4544 SeAddUsersPrivilege Add users and groups to the domain
4545 SeRemoteShutdownPrivilege Force shutdown from a remote system
4546 SeDiskOperatorPrivilege Manage disk shares
4548 These rights can be assigned to arbitrary users or groups
4549 via the 'net rpc rights grant/revoke' command. More details
4550 of Samba's privilege implementation can be found in the
4551 Samba-HOWTO-Collection.
4554 ######################################################################
4558 Changes since 3.0.10
4559 --------------------
4564 Parameter Name Action
4565 -------------- ------
4566 afs token lifetime New
4567 enable privileges New
4568 ldap password sync Alias
4569 min password length Deprecated
4570 winbind enable local accounts Deprecated
4575 o Jeremy Allison <jra@samba.org>
4576 * Extend vfs to add seekdir/telldir/rewinddir.
4577 * Fix dirent return.
4578 * Fix bugs when handling secondary trans2 requests.
4579 * Implementation of get posix acls in UNIX extensions.
4580 * Added set posix acl functionality into the UNIX extensions code.
4581 * Updated config.guess/config.sub .
4582 * Fix error reply when 'follow symlinks = no'.
4583 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
4585 * Fixes for LARGE_READX support.
4586 * Fix the problem we get on Linux where sendfile fails, but we've
4587 already sent the header using send().
4588 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
4590 * BUG 2088: Ensure inherit permissions is only applied on a new
4591 file, not an existing one.
4592 * Don't go fishing for the krb5 authorization data unless we know
4594 * Fixes for libsmbclient to ensure that interrupted system calls
4595 are restarted minus the already expired portion of the timeout
4596 (based on work by Derrell Lipman).
4597 * More Unicode string parsing fixes.
4598 * Convert the winreg pipe to use WERROR returns.
4599 * Make all LDAP timeouts consistent (input from Joe Meadows
4600 <jameadows@webopolis.com>).
4601 * BUG 2231: Remove double "\\" from client findfirst.
4602 * BUG 2238: Fix memory leak in shadow copy vfs.
4603 * Return correct DOS/NT error code on transact named pipe on
4605 * BUG 2211: Fix security descriptor parsing bug (based on work by
4606 Mrinal Kalakrishnan <mail@mrinal.net>).
4607 * BUG 2270: Fix memory leaks in cups printing backend support
4608 (based on work by Lars Mueller).
4609 * BUG 2255: Fix debug level in Kerberos error messages.
4610 * BUG 2110: Ensure we convert to ucs2 correctly after the
4611 CAN-2004-0930 patch.
4612 * Make strict locking an enum. Auto means use oplock optimization.
4613 * Fix client & server to allow 127k READX calls.
4614 * More *alloc fixes (includes additional fixes by Albert Chin.
4615 * Catch sendfile errors correctly and return the correct values
4616 we want the caller to return.
4617 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
4618 for better use by desktop environments such as GNOME.
4619 * Ensure we can't remove a level II oplock without having the
4620 shared memory area locked.
4623 o Timur Bakeyev <timur@com.bat.ru>
4624 * BUG 2100: change the way we check for errors after a dlopen().
4625 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
4628 o Andrew Bartlett <abartlet@samba.org>
4629 * Clarify error message when 'lanman auth = no'.
4630 * Remove the unnecessary UTF-8 conversion calls in the calls to
4631 auth_winbind from smbd.
4632 * Don't store the auth-user credentials with the cli_state* as
4633 this can cause the schannel setup to fail when the auth-user
4634 domain is not our primary domain.
4637 o Grigory Batalov <bga@altlinux.org>
4638 * Fix encoding while receiving of a message which was actually
4639 sent using STR_ASCII.
4642 o Daniel Beschorner <db@unit-netz.de>
4643 * BUG 603: Correct access mask check for _samr_lookup_domain()
4644 to work with Windows RAS server
4647 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
4648 * Fix missing printer_tdb reference decrement.
4651 o Gerald (Jerry) Carter <jerry@samba.org>
4652 * BUG 2073: fall back to smb_name if current_user_info is not
4653 available in lp_file_list_changed().
4654 * Fixes the spurious 'register_message_flags: tdb fetch failed'
4656 * Don't run the background LPQ daemon when we are running in
4658 * prevent the background LPQ daemon from updating the print queue
4659 cache just because multiple smbd processes sent a message that
4661 * consolidate printer searches to use find_service rather than
4663 * BUG 2091: don't remove statically defined printers in
4664 remove_stale_printers().
4665 * Fix logic error in add_a_form() that only compared N characters
4666 instead of the entire form name.
4667 * BUG 2107: fix memory bloating caused by large numbers of
4668 print_queue_updates() requests sent via messages.tdb.
4669 * Check the setprinter(3) based on the access permissions on
4670 the handle and avoid the call to print_access_check().
4671 * Re-instantiate previous semantics for calling init_unistr2()
4672 with a NULL source buffer.
4673 * Support Windows privilege model for assigning rights
4674 to specific SIDs. Based on work by Simo Sorce in the trunk
4675 svn branch. This feature is controlled by the 'enable
4676 privileges = [yes|no]' smb.conf(5) option.
4677 * Add some smb.conf scripts for add/delete/change shares and
4678 deleting cups printers.
4679 * Expand variables in the profile path, logon home and logon script
4680 values when using either tdbsam or ldapsam.
4681 * Add Domain Admins (Full Control) to the default printer security
4682 descriptor if we are a DC.
4683 * RedHat and Fedora Packaging fixes for perl dependencies.
4684 * Remove unused schema items from OpenLDAP schema file.
4685 * Remove duplicate enumeration of "Windows x86" architecture
4686 when listing printer drivers via rpcclient.
4687 * Fail set_privileges() if 'enable privileges = no' to prevent
4689 * Fix segfault in cups_queue_get().
4690 * Tighten restrictions on changing user passwords when
4691 the connected user possesses the SeMachineAccountPrivilege.
4692 * Ensure we set NETBIOSNAME.domainname for the long machine name
4693 when publishing printers in AD (based on input from Rob Foehl).
4694 * Mark 'winbind enable local accounts' as deprecated.
4695 * Mark testprns tool as deprecated.
4696 * Allow root to grant/revoke privilege assignments.
4697 * Correct interaction between user rights and se_access_check() on
4699 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
4701 * BUG 2262: Add support in configure.in for *freebsd6*.
4702 * BUG 2266: Portability fixes for quota code on FreeBSD4.
4703 * BUG 2264: Remove shutdown and abortshutdown commands from
4704 rpcclient in favor of using the same functions in 'net'.
4705 * BUG 2295: Prevent smbd from returning an empty server name
4706 in certain lanman api calls.
4707 * BUG 2290: Fix autogen.sh script in examples (based on original
4708 patch from Lars Mueller).
4709 * Fix bug enumerating domain trusts in security = ads.
4710 * Fix segv in rpcclient's dsenumdomtrusts.
4711 * Fix bug in expansion of %U and %G in included filenames.
4712 * BUG 2291: Restrict creation of server trust and domain trust
4713 accounts to members of the "Domain Admins" group.
4715 o Nadav Danieli <nadavd@exanet.com>
4716 * Short circuit some is_locked() tests if we are oplocked.
4719 o Guenther Deschner <gd@samba.org>
4720 * Allow 'localhost' as a valid server name in the smbd for the
4722 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
4723 Mewburn for the input).
4724 * BUG 2059: Add additional checks needed after logic change to the
4725 HAVE_WRFILE_KEYTAB detection test.
4726 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
4727 Samba DC. Allow us to lookup at least our own SID.
4728 * More fixes to have proper German in swat (Thanks to Reiner
4729 Klaproth and Björn Jacke.
4730 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
4731 setting security descriptors with smbcacls and using with
4732 the -S or -M switch.
4733 * Include the munged_dial, bad_password_count, logon_count, and
4734 logon_hours attributes when running 'net rpc vampire'.
4735 * Fix segfault in idmap_rid.
4736 * When winbindd is operating in the multi-mapping mode of
4737 idmap_rid, allow BUILTIN domain-mapping.
4738 * Display infolevel 12 in query_dom_info in rpcclient.
4739 * Fix bug in winbindd's lowercasing of usernames.
4740 * Allow -v or -l for displaying verbose groupmap-listing
4741 as well as "verbose".
4742 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
4744 * Close LDAP-Connection before retrying to open a new connection
4746 * Marking "min password length" as depreciated.
4747 * Implement SAMR query_dom_info-call info-level 8 server- and
4748 client-side, based on samba4-idl.
4749 * Allow rpcclient to define a port to use when connecting
4751 * Allow Account Lockout with Lockout Duration "forever" (until
4752 admin unlocks) to be set and displayed in User Manager.
4753 * Allow to set acb_mask in rpcclient's enumdomusers.
4754 * Add more generic rootDSE inspection function to check
4755 for given controls or extensions and remember these on a
4757 * Improve LDAP search efficiency by passing the acb_mask to
4759 * Fixes for ldapsam_enum_group_memberships().
4760 * Add createdomgroup to rpcclient.
4761 * Add "net rpc user RENAME"-command.
4762 * Display sam_user_info_7 in rpcclient.
4763 * Make multi-domain-mode in idmap_rid accessible from outside
4764 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
4765 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
4766 "Lockout Duration: Forever".
4767 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
4769 * Require assignment of Administrator SID in the passdb
4770 backend. Fall back to the default name of 'Administrator' if
4771 the lookup fails rather than using the first name in the
4772 default 'admin users' list.
4773 * Enhance LDAP failure debug messages.
4774 * BUG 2291: Call the 'add machine script' for server trust and
4775 domain trust accounts as well as workstation accounts.
4778 o Levente Farkas <lfarkas@lfarkas.org>
4779 * BUG 2299: Better logrotate scripts for RedHat and Fedora
4783 o Jay Fenlason <fenlason@redhat.com>
4784 * Fix crash in 'net join' due to calling free on
4786 * Several patches from RedHat's Fedora Core RPMS.
4789 o Rob Foehl <rwf@loonybin.net>.
4790 * Compiler warnings.
4791 * Try modifying printer published attributes before adding it a
4793 * Solaris packaging fixes.
4794 * Don't force the cups printer-make-and-model tag as the comment
4795 for autoloaded printers.
4796 * Implement caching of names from printcap to support a true
4797 'printcap cache time'.
4800 o Johann Hanne <jhml@gmx.net>
4801 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
4804 o Jeff Hardy <hardyjm@potsdam.edu>
4805 * Example script for 'add print command' when using CUPS.
4808 o Deryck Hodge <deryck@samba.org>
4809 * Add -P (--password-only-menu) to SWAT for displaying only the
4810 password change page to non-root users.
4813 o David Hu <david.hu@hp.com>
4814 * Copy structure from print_queue_update() message rather than
4815 referencing it. Fixes seg fault on HP-UX.
4818 o Buck Huppmann <buckh@pobox.com>
4819 * BUG 2186: Don't free uninitialized credentials.
4820 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
4821 dnsDomainName != realm.
4824 o Björn Jacke <bjoern@j3e.de>
4825 * BUG 2040: Ensure the locale is reset to C to get ASCII-
4826 compatible toupper/lower functions.
4829 o William Jojo <jojowil@hvcc.edu>
4830 * Fix HPUX sendfile and add configure.in tests and code for
4832 * AIX 5.3 compile fixes.
4835 o Volker Lendecke <vl@samba.org>
4836 * Optimize anonymous session setups by workstations in a
4838 * Reimplment the QueryUserAliases() server RPC reply.
4839 * Re-add the getpwnam-cache for performance.
4840 * Cache the result of a pdb_getsampwnam for later SID lookup
4842 * Unify the means of localtaing a user's global groups on a
4844 * Fix bug when serving the 'Start Menu' in a roaming user profile..
4845 * Map more pre-defined NT security descriptors to AFS acls.
4846 * Add timeout to AD search requests.
4847 * If a connection to a DC is requested (in winbindd), open
4848 connections simultaneously to all DCs found.
4850 * Fix logic error in handling of 'printcap name' parameter.
4851 * Prevent winbindd from SPAM'ing the log files with 'user root
4853 * Backport samr_DomInfo2 IDL specification from Samba 4.
4854 * Implement smbstatus -n, don't lookup users and groups.
4855 * Implement simple mapping that maps the space to another character
4856 defined by afsacl:space.
4857 * Add support for 'net idmap delete <idmap-file> <SID>'.
4858 * Add new parameter 'afs token lifetime' tells the AFS client
4859 when to throw away a token (patch from kllin@it.su.se).
4860 * Initial work to allow support for multiple pipe opens on a
4862 * Ensure that we still retrieve the netbios name of any DC
4863 listed as a 'password server' to work around cases where the
4864 DC was defined using an IP address or fqdn.
4865 * Fix memleak in winbindd connection code.
4866 * Fix cli_samr_queryuseraliases.
4867 * Allow wbinfo --user-sids to expand expand domain local groups.
4868 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4869 * Fix parsing of other_sids in net_user_info3.
4870 * Correct bad failure logic when user was not a member of any
4871 domain local groups.
4874 o Jason Mader <jason@ncac.gwu.edu>
4875 * BUG 2113, 2289: Remove dead code.
4878 o Jim McDonough <jmcd@us.ibm.com>
4879 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
4880 clients. If it fails, fall back to WINREG.
4881 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4882 * BUG 2198: Set password last change time when running 'net rpc
4884 * Add "refuse machine password change" policy field.
4887 o Luke Mewburn <lukem@NetBSD.org>
4888 * BUG 2150: shmget() - Use POSIX definitions instead of non-
4892 o Stefan Metzmacher <metze@samba.org>
4896 o Buchan Milne <bgmilne@mandrake.org>
4897 * Mandrake packaging fixes.
4900 o Lars Mueller <lmuelle@samba.org>
4901 * Fix build of libsmbclient on x86_64.
4902 * BUG 2013: Fix testsuite build issues when libsmbclient.so
4903 is installed in a non-default location.
4904 * BUG 2050: Calculate max_fd for select correctly.
4905 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
4909 o Jason Mader <jason@ncac.gwu.edu>
4910 * BUG 2069: Remove unused variables.
4911 * BUG 2075: Remove dead code paths.
4912 * BUG 2083: Fix compiler warnings caused by bad type casts.
4915 o James Peach <jpeach@sgi.com>
4916 * Fix rewinddir -> rewind_dir when using VFS macros.
4919 o Gavrie Philipson <gavrie@disksites.com>
4920 * BUG 1838: Remove stale printers imeeddiately when
4921 processing a SIGHUP and during smb.conf reload.
4924 o Tim Potter <tpot@samba.org>
4925 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
4926 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
4927 * Change the license for the winbindd external interface
4929 * HP-UX compile fixes.
4930 * Compile fixes after new setsampwent() API.
4933 o Richard Renard <rrenard@idealx.com>
4934 * Update Netscape DS 5.2 LDAP schema.
4937 o Simo Sorce <idra@samba.org>
4938 * Backport pdbedit changes from trunk.
4939 * Allows the add/change share command to create the shared
4940 directory directory on disk.
4941 * Log a warning in testparm if a print command is defined for
4942 a print service using 'printing = cups'.
4944 o Jelmer Vernooij <jelmer@samba.org>
4945 * Bug fixes for pdb_{xml,pqsql,xml}
4946 * Fixes for pdb_mysql.
4949 o Andrew Tridgell <tridge@samba.org>
4950 * Bring Samba3 into line with the Samba4 password change code.
4953 o Shiro Yamada <shiro@miraclelinux.com>
4954 * BUG 2190: Force SWAT to display parameters in unix charset and
4958 --------------------------------------------------
4959 ==============================
4960 Release Notes for Samba 3.0.10
4962 ==============================
4964 Common bugs fixed in 3.0.10 include:
4966 o Fix for security issues described in CAN-2004-1154.
4975 o Jeremy Allison <jra@samba.org>
4976 * Added checks surrounding all *alloc() calls to fix
4978 * Fix long standing memory size bug in bitmap_allocate().
4979 * Remove bogus error check in deferred open file serving
4983 o Thomas Bork <tombork@web.de>
4984 * Fix autoconf script on platforms using a version of GNU ld
4985 that does not include a date stamp in the output of --version.
4988 o Luke Mewburn <lukem@NetBSD.org>
4989 * Fix the swat install script to deal with the new image
4990 destination directory used by the docs.
4994 --------------------------------------------------
4996 =============================
4997 Release Notes for Samba 3.0.9
4999 =============================
5001 Common bugs fixed in 3.0.9 include:
5003 o Problem updating roaming user profiles.
5004 o Crash in smbd when printing from a Windows 9x client.
5005 o Unresolved symbols in libsmbclient which caused
5006 applications such as KDE's konqueror to fail when
5007 accessing smb:// URLs.
5017 o Jeremy Allison <jra@samba.org>
5018 * Correctly detect errno for no acl/ea support.
5019 * BUG 2036: Fix seg fault in 'net ads join'.
5022 o Gerald (Jerry) Carter <jerry@samba.org>
5023 * Solaris packaging fixes.
5024 * Fix seg fault in lanman printing code.
5025 * BUG 2017: fix testparm reporting for the passwd program
5027 * Fix output of smbstatus to match the man page.
5028 * BUG 2027: fix conflict with declaration MD5_CTX in system
5030 * 2028: Avoid false error messages when copying a long
5031 printer name to the device mode.
5034 o Guenther Deschner <gd@samba.org>
5035 * Allow deldriverex in rpcclient to delete drivers for a
5036 specific architecture and a specific version.
5037 * Fix a couple of rpcclient spoolss commands (setprinter,
5038 setprintername, getdriver) w.r.t to printer-naming scheme.
5039 Allow 'localhost' in the server string for certain server-side
5041 * BUG 2015: Do not fail on setting file attributes with
5042 acl support enabled.
5045 o Michel Gravey <michel.gravey@optogone.com>
5046 * Fix build when using gcc 3.0.
5049 o Volker Lendecke <vl@samba.org>
5050 * Fix tdb open logic when checking our local_pid after
5054 o Jim McDonough <jmcd@us.ibm.com>
5055 * BUG 1932: Fix crash in 'net getlocalsid' when run as
5059 o Luke Mewburn <lukem@NetBSD.org>
5060 BUG 1661: Fix KRB5_SETPW-defines
5063 o Buchan Milne <bgmilne@mandrake.org>
5064 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
5067 o Lars Mueller <lmuelle@samba.org>
5068 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
5071 o Martin Zielinski <mz@seh.de>
5072 * Add DeletePrinterDriverEx() functionality to rpcclient.
5075 --------------------------------------------------
5077 =============================
5078 Release Notes for Samba 3.0.8
5080 =============================
5082 Common bugs fixed in 3.0.8 include:
5084 o Compile fixes for HP-UX
5085 o Fixes for the printer publishing code used when joined to
5087 o Incompatibilities with file system quotas.
5088 o Several bugs in the spoolss printing code and print system
5090 o Inconsistencies in the username map functionality when
5091 configured on domain member servers.
5092 o Various compile warnings and errors on various platforms.
5093 o Fixes for Kerberos interoperability with Windows 200x
5094 domains when using DES keys.
5095 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
5096 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
5099 New features included in the 3.0.8 release are:
5101 o New migration functionality added the the net tool
5102 for files/directories, printers, and shares.
5103 o New experimental idmap backend for assigning uids/gids
5104 directly based on the user/group RID when acting as a
5105 member of single domain without any trusts.
5106 o Additional printer migration support for XP/2003 platforms.
5109 ===========================
5110 Change in Winbindd Behavior
5111 ===========================
5113 All usernames returned by winbindd are now converted to lower
5114 case for better consistency. This means any winbind installation
5115 relying on the winbind username will need to rename existing
5116 directories and/or files based on the username (%u and %U) to lower
5117 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
5118 include mail spool files, home directories, valid user lines in
5122 ======================
5123 Change in Username Map
5124 ======================
5126 Previous Samba releases would only support reading the fully qualified
5127 username (e.g. DOMAIN\user) from the username map when performing a
5128 Kerberos login from a client. However, when looking up a map
5129 entry for a user authenticated by NTLM[SSP], only the login name would be
5130 used for matches. This resulted in inconsistent behavior sometimes
5131 even on the same server.
5133 Samba 3.0.8 obeys the following rules when applying the username
5136 * When performing local authentication, the username map is
5137 applied to the login name before attempting to authenticate
5139 * When relying upon a external domain controller for validating
5140 authentication requests, smbd will apply the username map
5141 to the fully qualified username (i.e. DOMAIN\user) only
5142 after the user has been successfully authenticated.
5145 ######################################################################
5154 Parameter Name Action
5155 -------------- ------
5156 force printername New
5157 sendfile disabled by default
5163 o Jeremy Allison <jra@samba.org>
5164 * Ensure extended security bit is on only if we negotiated
5166 * Simplify statcache to use an in-memory tdb.
5167 * If you're selecting a hash algorithm for tdb, you need
5168 to do it at open time.
5169 * Removed old dir caching code - not being used now we
5170 have the statcache anyway.
5171 * Simplify the mangle hash code to use an in-memory tdb.
5172 * Merge iconv changes from Samba 4 branch.
5173 * Fix parsing of names ending in dot and a few other error
5175 * BUG 1667: Smbpasswd file could be left locked on some
5177 * Fixes for smbclient tar functionality.
5178 * BUG 1743: Fix logic bug the deferred open code.
5179 * Don't try to set security descriptors on shares where
5180 this has been turned off.
5181 * Return correct error codes on old SEARCH call.
5182 * Ensure we set errno = E2BIG when we overflow in the
5183 fast-path character conversion code.
5184 * Fix the roundup problem (returning 1mb roundup) for
5185 non-Windows clients.
5186 * Added 'stat' command to smbclient to exercise the
5187 UNIX_FILE_BASIC info level.
5188 * Fix bug where we could incorrectly set sparse attribute.
5189 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
5190 (reported by Taj Khattra <taj.khattra@gmail.com>).
5191 * Remove locked keys tdb code.
5192 * BUG 1886: Prevent delete on close being set for readonly files
5193 (and return the correct error code).
5194 * Ensure we pass most of the new lock tests except for the cancel
5195 lock which is yet to be added (merged from Samba 4 branch).
5196 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
5197 * BUG 1956: Ensure errno is saved and restored consistently on a
5199 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
5200 that all of the appropriate service principal names are set
5201 upon joining an AD domain.
5202 * Fix the correct use of resume name in the trans2 code.
5203 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
5204 correct salt used when generated the DES key after joining an
5206 * Enhanced krb5 detection routines in the autoconf scripts.
5209 o Andrew Bartlett <abartlet@samba.org>
5210 * Avoid changing the machine account password in the passdb
5211 backend, when it has 'already been changed'. This occurs
5212 in situations where the secure channel between the workstation
5213 and the DC breaks down, such as occurred in the MS04-11
5215 * Fix utility name in error message in ntlm_auth.
5216 * Fix NTLMv2 for use with pam_winbind.
5217 * Remove conversion to and from UTF8 on the winbind pipe.
5218 * Allow 'require_membership_of' and 'require-membership-of'.
5219 * Fix the error code for 'you didn't specify a domain' in
5221 * Use sys_getgroups() rather than scanning all groups
5222 when generating SAMR replies.
5225 o Igor Belyi <sambauser@katehok.ac93.org>
5226 * Ensure pdb user is deleted first before deleting UNIX
5227 user (LDAP backend needs this ordering).
5230 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
5231 * Fix core dump in 'net rpc vampire'.
5234 o Vince Brimhall <vbrimhall@novell.com>
5235 * Make ldapsam_compat robust against NULL attributes.
5238 o Gerald Carter <jerry@samba.org>
5239 * Don't limit the number of groups returned by winbindd_getgroups()
5241 * BUG 1519: Match Windows 2000 behavior when opening a
5242 printer using a servername in the form of an IP address or
5244 * BUG 1907: remove extra slashes from the printer name in
5245 getprinterdriverdir_1().
5246 * Fix standard_sub_snum() to use the current user's gid.
5247 * Fix background queue update bug (based on Volker's initial work
5249 * Add 'force printername' service parameter for people that want
5250 to enforce printername == sharename for spoolss printing.
5251 * Ensure consistent usage of the username map. Use the fully
5252 qualified DOMAIN\user format for 'security = domain|ads' and
5253 apply after authentication has succeeded.
5254 * Cosmetic fix for getent output -- lowercase the username only
5255 and not the complete domain\username string.
5256 * Packaging fixes for Solaris, Redhat, & Fedora.
5259 o Sean Chandler <sean.chandler@verizon.net>
5260 * Fix memlieak in cliconnect.c.
5263 o Darren Chew <darrenc@vicscouts.asn.au>
5264 * Solaris packaging fixes.
5267 o Nalin Dahyabhai <nalin@redhat.com>
5268 * SMB signing fix for 56-bit DES session keys.
5271 o Guenther Deschner <gd@samba.org>
5272 * add IA64 to the architecture table of printer-drivers.
5273 * Add file/share/printer migration functionality to
5275 * Show correct help for net groupmap commands.
5276 * Fix deadlock loop in winbind's required_membership_sid
5278 * Bring the same level of "required_membership"-functionality
5279 that ntlm_auth uses, to pam_winbindd as well.
5280 * Prevent "net lookup kdc" from seg-faulting when
5281 using our own implementation of krb5_lookup_kdc with
5283 * Adding getprinter level 7 to rpcclient.
5284 * Support migrating printers|shares|files from Server A
5285 to Server B while running the net-command on client C.
5286 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
5287 failure of this call non-critical (Thanks to Love @ Heimdal
5288 for the explanation and patch).
5289 * Fix typos in net's usage-output.
5290 * Fix the paranoia-check to ensure the ldap-attribute and the
5291 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
5293 * Fix several bugs in the _samr_query_useraliases() rpc reply.
5294 * Check correct string length when verifying password-policies
5295 and using extended characters (Thanks to Uwe Morgenroth from CC
5296 Compunet and Volker).
5297 * Make 'password history'-behavior in ldapsam more consistent.
5298 * Adding "Windows x64" as architecture string and driverdir "x64"
5299 for the 64bit AMD platform.
5300 * BUG 1343: Readd WKGUID-binding to match the correct default-
5301 locations of new User-, Group- and Machine-Accounts in Active
5302 Directory (this got lost during the last trunk-merge).
5303 * Fix printer-migration w.r.t. to new naming-convention for
5305 * Allow to migrate win2k3/xp-drivers as well.
5306 * Add client-side support of triggering ads printer publishing
5307 over msrpc setprinter calls inside the net-tool.
5308 * Add the idmap_rid module (written in conjunction with
5309 Sumit Bose <sbose@suse.de>).
5310 * BUG 1661: Fix build with recent heimdal releases.
5311 * Prevent idmap_rid from making unnecessary calls to domain
5312 controllers for trusted domains.
5315 o Arthur van Dongen <avdongen@xs4all.nl>
5316 * Fix typos in pam_winbind log messages and SuSE
5320 o Rob Foehl <rwf@loonybin.net>
5321 * Typo fixes for log messages in printer publishing code.
5322 * Fix memory leak in printer publishing code.
5323 * Ensure print_backend_init() only gets called once.
5324 * Have smbd check the published status of all printers
5326 * Cleanup up the XXX_a_printer() API for consistency.
5327 * Refactored the printer publishing code and include better
5331 o Steve French <sfrench@us.ibm.com>
5332 * Fix IP address override in mount.cifs mount helper and clean
5333 up warning messages from the sparse tool and expand syntax help.
5334 * Strip guest mount option off before sending to kernel mount
5335 routine to avoid logging spurious message.
5338 o Satoh Fumiyasu <fumiya@samba.gr.jp>
5339 * BUG 1732: Limit share names returned by RAP based on windows
5340 character width, not unix character width.
5341 * BUG 1498: Ensure that acl entries are stored in the correct
5345 o Brett Funderburg <brett@deepfile.com>
5346 * Pass create options parameter to nt_create_andx() function
5347 from the python bindings.
5348 * BUG 1864: Add sd->type field to security descriptor Python
5350 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
5351 when trying to return the security descriptor for a file.
5352 * BUG 1884: Fixes for the Python bindings to use the value
5353 of the desired_access filed passed into the lsa_open_policy()
5357 o Michael Gravey <michel.gravey@optogone.com>
5358 * BUG 1776: Fix warnings when building modules caused by
5359 certain versions of GNU ld not using the the default
5360 --allow-shlib-undefined flag.
5363 o Chris Hertel <crh@samba.org>
5364 * Fix logic bug in splay tree data structure when finding
5366 * Fix bug where an invalid MAC address would be printed by
5367 a node status lookup from nmblookup.
5370 o Uli Iske <iske@elkb.de>
5371 * Update the DNS/eDirectory LDAP schema file.
5374 o Björn Jacke <bjacke@sernet.de>
5375 * BUG 1766: Unify charset-handling in Content-Type:-headers to
5376 UTF-8. Reformat msgstr in msg-files to UTF-8.
5377 * Do not use display charset for swat output.
5378 * Convert the share names correctly from unix encoding to web
5379 encoding and vice versa.
5380 * Convert files from status page from unix charset to UTF-8.
5383 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
5384 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
5387 o Tom Lackemann <cessnatomny@yahoo.com>
5388 * BUG 1954: Fix memory leak in posix acl code.
5391 o Volker Lendecke <vl@samba.org>
5392 * Robustnss fix for winbindd when sending multiple requests
5393 at a high rate for a slow operation.
5394 * Solve the problem of user sids ending up with gid's
5396 * Use sys_fork instead of fork for the dual daemon so that
5397 we get the correct debug pid in the logfiles.
5398 * Based on patch from jmcd, implement special lists for the LDAP
5399 user attributes to delete.
5400 * Fix creation of aliases via usrmgr. Winbind was too strict
5401 checking the type of sids.
5402 * Lowercase all usernames returned by winbind.
5403 * BUG 1545, 1823: Only issue the ldap extended password change
5404 operation if the ldap server supports it. Also ignore object
5405 class violation errors from the extended operation.
5406 * Optimization for 'idmap backend = ldap': When asking sid2id
5407 for the wrong type, don't ask ldap when we have the opposite mapping
5409 * Fix ldapsam_compat homeDrive.
5410 * Add usersidlist and allowedusers subcommands to the net tool
5411 in order to support scanning a file server's share and list
5412 all users who have permission to connect there.
5413 * Allow for multiple DC's to be named as #1c names in lmhosts.
5414 * Memory leak fixes.
5415 * Fix checks for the local pid of an smbd process after
5419 o Herb Lewis <herb@samba.org>
5420 * Added tdbtool to be built by default.
5423 o Love <lha@stacken.kth.se>
5424 * BUG 1955: Inconsistent error return.
5427 o Sorin Manolache <sorinm@gmail.com>
5431 o Jim McDonough <jmcd@us.ibm.com>
5432 * Allow 'net ads lookup' to rely on command line arguments
5433 if contacting an ADS server fails; utilize cldap for lookups.
5434 * Fixup formatting errors in TDB_LOG calls; add printf attribute
5435 support to tdb log functions.
5438 o Bill McGonigle <bill+samba@bfccomputing.com>
5439 * BUG 1926: Type in debug message.
5443 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
5447 o Luke Mewburn <lukem@NetBSD.org>
5448 * BUG 1782: Prevent testparm from displaying parameter synonyms.
5451 o Stefan Metzmacher <metze@samba.org>
5452 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
5453 * Fix client quota support.
5454 * Fix opening of system quota file.
5457 o Lars Mueller <lmuelle@samba.org>
5458 * Small fixes for autogen.sh to deal with version detection
5459 of autoconf and autoheader; fixes for examples using
5460 libtool to adhere to stricter syntax of newer version.
5463 o Henrik Nordstrom <hno@squid-cache.org>
5464 * Allow winbindd to return the correct number of groups
5465 when the groups array must be enlarged.
5468 o Narayana Pattipati <narayana.pattipati@wipro.com>
5469 * Solaris autoconf detection fixes.
5472 o Tim Potter <tpot@samba.org>
5473 * BUG 1360: (correct fix) Use -Wl when passing flags to
5475 * HP-UX compile fixes (from JBravo on #samba-technical).
5476 * BUG 1731: More HP-UX compiles fixes.
5477 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
5478 spits the dummy otherwise.
5479 * Fix bug in Python printerdata wrapper.
5480 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
5481 <bugzilla-samba@thewrittenword.com>).
5482 * Fix parameter confusion in priming of name-to-sid cache
5483 (Found by Qiao Yang).
5484 * BUG 1888: Remove '..' from all pre-processor commands.
5485 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
5489 o Matt Selsky <selsky@columbia.edu>
5490 * BUG 350: use autoconf 2.57 feature for checking header file
5491 preprocessing (fixes configure warnings on Solaris).
5494 o Richard Renard <rrenard@idealx.com>
5495 * Fix usermgr.exe and trust relationships.
5498 o Paul Szabo <psz@maths.usyd.edu.au>
5499 * Fix to make find_workgroup use the same
5500 truncation as create_workgroup.
5503 o Richard Sharpe <rsharpe@samba.org>
5504 * Ensure cli_write() can support writes >= 65536 bytes.
5507 o Simo Sorce <idra@samba.org>
5508 * Added check password script code in examples/auth/crackcheck/
5509 * Fix memory corruption bug caused in freeing static memory.
5512 o Andrew Tridgell <tridge@samba.org>
5513 * Remove lp_use_mmap() from map_file() since the latter
5514 is for read only and does not require coherence.
5515 * Ensure that the uuid pack/unpack routines do not go past
5516 the end of the structure.
5517 * Converted Samba 3 tree to use the new utf-16 aware iconv
5519 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
5520 * Ensure configure only uses '=' instead of the bashism '=='.
5521 * Reduces the number of tdb locking calls made on file IO.
5524 o Jelmer Vernooij <jelmer@samba.org>
5525 * Convert internal data to UTF-8 before calling libxml2.
5526 * Complain if 'password chat' doesn't contain the %u variable
5527 (based on a patch by Ronan Waide).
5531 * BUG 1541: Fix recursive ls in smbclient.
5534 o Igor Zhbanov <bsg@uniyar.ac.ru>
5535 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
5538 --------------------------------------------------
5540 =============================
5541 Release Notes for Samba 3.0.7
5543 =============================
5545 Common bugs fixed in 3.0.7 include:
5547 o Fixes for two Denial of Service vulnerabilities
5548 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
5549 o Winbind failure to return user entries under certain
5551 o Syntax errors in the OpenLDAP schema file (samba.schema).
5552 o Printing errors caused by not setting default values
5553 for the various printing commands.
5562 Parameter Name Action
5563 -------------- ------
5564 winbind enable local accounts disabled by default
5569 o Jeremy Allison <jra@samba.org>
5570 * Fix parsing of names ending in dot and a few other error
5572 * BUG 1674: Move the symlinks checks into reduce_name().
5573 * Fix memleak when checking the valid names smb.conf option.
5574 * Fix memleak on error return path in the file open code.
5575 * More paranoia checks in the hash2 mangling code.
5576 * Fix syntax error in configure.in.
5577 * Match Win2k3's behavior for pathname parsing error returns.
5578 * Make nmbd more robust against bad netbios packets
5580 * Add more checks for invalid ASN.1 packets for SPNEGO packets
5584 o Andrew Bartlett <abartlet@samba.org>
5585 * Janitor work in loadparm.c -- remove unused parameters.
5588 o Gerald Carter <jerry@samba.org>
5589 * BUG 1464: Ensure that printing commands are initialized even
5590 if the 'printing' parameter is not explicitly set.
5591 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
5592 Adharsh Praveen <rprav@india.hp.com>)
5593 * Work around parsing error in the print change notify code.
5594 * remove duplicate declaration of getprintprocdir from
5596 * Only use sAMAccountName and not userPrincipalName when looking
5597 up a username in AD since the breaks winbindd (lookup_name()
5598 only works with the sAMAccountName).
5599 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
5600 filling in the username in the user_info3.
5601 * Fix logic bug in the check for creating a user's home directory
5602 in register_vuid(); caused home directory to be mismatched to
5603 the first share in smb.conf under certain conditions.
5604 * BUG 1656: rename auto.a to auto.smb.
5605 * Ensure that we assign our pid to print jobs (and not our
5606 parent's pid); ensures that spooling jobs from dead smbds
5607 are removed from the tdb.
5608 * Disable 'winbind enable local accounts' by default.
5609 * Adding some initial checks for DragonFly (same as
5613 o Guenther Deschner <gd@samba.org>
5614 * Use SMB_ASSERT() to track down NULL printer names in
5616 * Revert fix for BUG 1474 to avoid unnecessary packaging
5620 o Olaf Flebbe <o.flebbe@science-computing.de>.
5621 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
5623 * BUG 1626: More compile fixes.
5626 o Rob Foehl <rwf@loonybin.net>
5627 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
5628 by attempts to sanitize the defined attributes.
5631 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5632 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
5635 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
5636 * BUG 1657: Remove used initialized variable,
5637 * BUG 1658: Add a little bit of const.
5640 o Volker Lendecke <vl@samba.org>
5641 * If there's garbage in the pidfile, we should not panic
5642 but assume that no one else is around. We can't find the
5646 o Jim McDonough <jmcd@us.ibm.com>
5647 * Fixup format string in the tdb error messages.
5650 o Jonas Olsson <lexicon@lysator.liu.se>
5651 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
5652 reporting the list in usrmgr.exe.
5655 o Tim Potter <tpot@samba.org>
5656 * Fix out-of-tree builds (problem with the script to generate
5657 the svn version number).
5658 * BUG 1360: Need to use -Wl when passing flags to the linker.
5659 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
5660 doesn't have one of its own.
5662 o Simo Sorce <idra@samba.org>
5663 * Fixup compile issues on AIX caused by broken strlen() and
5665 * Update debian packaging files.
5668 o Dimitri van der Spek <dwspek@aboveit.nl>
5669 * Use the correct counter when copying group rids from the
5670 user_info3 struct in pam_winbind.
5673 o Qiao Yang <qyang@stbernard.com>
5674 * BUG 1622: Only cache the user
5677 --------------------------------------------------
5679 =============================
5680 Release Notes for Samba 3.0.6
5682 =============================
5684 Common bugs fixed in 3.0.6 include:
5686 o Schannel failure in winbindd.
5687 o Numerous memory leaks.
5688 o Incompatibilities between the 'write list' and 'force user'
5690 o Premature optimization of the open_directory() internal
5691 function that broke tools such as the ArcServe backup
5692 agent, Macromedia HomeSite, and Robocopy.
5693 o Corrupt workgroup names in nmbd's browse.dat.
5694 o Sharing violation errors commonly seen when opening
5695 when serving Microsoft Office documents from a Samba
5697 o Browsing problems caused by an apostrophe (') in the
5698 computer's description field.
5699 o Problems creating special file types from UNIX CIFS
5700 clients and enabling 'unix extensions'.
5701 o Fix stalls in smbd caused by inaccessible LDAP servers.
5702 o Remove various memory leaks.
5703 o Fix issues in the password lockout feature.
5705 New features introduced in this release include:
5707 O Support symlinks created by CIFS clients which
5708 can be followed on the server.
5709 o Using a cups server other than localhost.
5710 o Maintaining the service principal entry in the system
5711 keytab for integration with other kerberized services.
5712 Please refer to the 'use Kerberos keytab' entry in
5713 smb.conf(5). When using the heimdal Kerberos libraries,
5714 you must also specify the following in /etc/krb5.conf:
5716 default_keytab_name = FILE:/etc/krb5.keytab
5717 o Support for maintaining individual printer names
5718 stored separately from the printer's sharename.
5719 o Support for maintaining user password history.
5720 o Support for honoring the logon times for user in a
5724 ============================================
5725 unix extensions = yes (default) and symlinks
5726 ============================================
5728 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
5729 clients supporting the UNIX extensions to the CIFS protocol
5730 can create symlinks to absolute paths which will be **followed**
5731 by the server. This functionality has been requested in order
5732 to correctly support certain applications when the user's home
5733 directory is mounted using some type of CIFS client (e.g. the
5734 cifsvfs in the Linux 2.6 kernel).
5736 If this behavior is not acceptable for your production environment
5737 you can set 'wide links = no' in the specific share declaration in
5738 the server's smb.conf. Be aware that disabling wide link support
5739 out of a share in Samba may impact the server's performance due
5740 to the fact that smbd will now have to check each path additional
5741 times before traversing it.
5744 ========================
5745 Password History Support
5746 ========================
5748 The new password history feature allows smbd to check the new
5749 password in password change requests against a list of the user's
5750 previous passwords. The number of previous passwords to save can
5751 be set using pdbedit (4 in this example):
5753 root# pdbedit -P "password history" -C 4
5755 When using the ldapsam passdb backend, it is vital to secure the
5756 following attributes from access by non-administrative users:
5760 * sambaPasswordHistory
5762 You should refer to your directory server's documentation on how
5763 to implement this restriction.
5772 Parameter Name Action
5773 -------------- ------
5775 defer sharing violations New
5776 force unknown acl user New
5778 printcap cache time New
5779 use Kerberos keytab New
5783 o Jeremy Allison <jra@samba.org>
5784 * Correct path parsing bug that broke DeletePrinterDriverEx().
5785 * Fix bugs in check_path_syntax() caught by asserts.
5786 * Internal change - rearrange internal global case setting
5787 variables to a per connection basis.
5788 * BUG 1345: Fix premature optimization in unix_convert().
5789 * Allow clients to truncate a locked file.
5790 * BUG 1319: Always check to see if a user as write access
5791 to a share, even when 'force user' is set.
5792 * Fix specific case of open that doesn't cause oplock break,
5793 or share mode check.
5794 * Correct sid type is WKN_GROUP, not alias. Added some
5795 more known types (inspired by patch from Jianliang Lu).
5796 * Allow creation of absolute symlink paths via CIFS clients.
5797 * Fix charset bug in when invoking send_mailslot().
5798 * When using widelinks = no, use realpath to canonicalize
5799 the connection path on connection create for the user.
5800 * Enhance stat open code.
5801 * Fix unix extensions mknod code path.
5802 * Allow unix domain socket creation via unix extensions.
5803 * Auto disable the 'store dos attribute' parameter if the
5804 underlying filesystem doesn't support EAs.
5805 * Implement deferred open code to fix a bug with Excel files
5807 * BUG 1427: Catch bad path errors at the right point. Ensure
5808 all our pathname parsing is consistent.
5809 * Fix SMB signing error introduced by the new deferred open
5811 * Change default setting for case sensitivity to "auto". (see
5812 commit message -- r1154 -- for details).
5813 * Add new remote client arch -- CIFSFS.
5814 * Allow smbd to maintain the service principal entry in the
5815 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
5816 Guenther Deschner, et. al.).
5817 * Fix longstanding memleak bug with logfile name.
5818 * Fix incorrect type in printer publishing (struct uuid,
5820 * Heimdal compile fixes after introduction of the new ketyab
5822 * Ensure we check attributes correctly on rename request.
5823 * Ensure we defer a sharing violation on rename correctly.
5824 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
5826 * Fix bogus error message when using "mangling method = hash"
5828 * Turn on sendfile by default for non-Win9x clients.
5829 * Handle non-io opens that cause oplock breaks correctly.
5830 * Ensure ldap replication sleep time is not more than 5 seconds.
5831 * Add support for storing a user's password history.
5832 LDAP portion of the code was based on a patch from
5833 Jianliang Lu <j.lu@tiesse.com>.
5834 * Correct memory leaks found in the password change code.
5835 * Fix support for the mknod command with the Linux CIFS client.
5836 * Remove support for passing the new password to smbpasswd
5837 on the command line without using the -s option.
5838 * Ensure home directory service number is correctly reused
5839 (inspired by patches from Michael Collin Nielsen
5840 <michael@hum.aau.dk>).
5841 * Fix to stop printing accounts from resetting the bas
5842 password and account lockout flags.
5843 * If a account was locked out by an admin (and has a bad
5844 password count of zero) leave it locked out until an admin
5845 unlocks it (but log a message).
5846 * Ensure we return the same ACL revision on the wire that
5848 * BUG 1578: Hardcode replacement for invalid characters as '_'
5849 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5850 * Fix hashed password history for LDAP backends.
5851 * Enforce logon hours restrictions if confiogured (based on code
5852 from Richard Renard <rrenard@idealx.com>).
5853 * BUG 1606: Force smbd to disable sendfile with DOS clients
5854 and ensure that the chained header is filled in for ...&X
5856 * BUG 1602: Fix access to shares when all symlink support
5861 o Tom Alsberg <alsbergt@cs.huji.ac.il>
5862 * Allow pdbedit to export a single user from a passdb backend.
5865 o Andrew Bartlett <abartlet@samba.org>
5866 * Fix parsing bug in GetDomPwInfo().
5867 * Fix segfault in 'ntlm_auth --diagnostics'.
5868 * Re-enable code to allow sid_to_gid() to perform a group
5869 mapping lookup before checking with winbindd.
5870 * Fix memory leak in the trans2 signing code.
5871 * Allow more flexible GSS-SPENGO client and server operation
5873 * Improve smbd's internal random number generation.
5874 * Fix a few outstanding long password changes in smbd.
5875 * Fix LANMAN2 session setup code.
5878 o Eric Boehm <boehm@nortelnetworks.com>
5879 BUG 703: Final touches on netgroup case lookups.
5882 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
5883 * Ensure error status codes don't get overwritten in
5884 lsa_lookup_sids() server code.
5885 * Correct bug that caused smbd to overwrite certain error
5886 codes when returning up the call stack.
5887 * Ensure the correct sid type returned for builtin sids.
5890 o Gerald Carter <jerry@samba.org>
5891 * Fix a few bugs in the Fedora Packaging files.
5892 * Fix for setting the called name to by our IP if the
5893 called name was *SMBSERVER and *SMBSERV. Fixes issue
5894 with connecting to printers via \\ip.ad.dr.ess\printer
5896 * BUG 1315: fix for schannel client connections to servers
5897 when we haven't specifically negotiated AUTH_PIPE_SEAL.
5898 * Allow PrinterDriverData valuenames with embedded backslashes
5899 (Fixes bug with one of the Konica Fiery drivers).
5900 * Fixed string length miscalculation in netbios names that
5901 resulted in corrupt workgroup names in browse.dat.
5902 * When running smbd as a daemon, launch child smbd to update
5903 the lpq cache listing in the background.
5904 * Allow printers "Printers..." folder to be renamed to a string
5905 other than the share name.
5906 * Allow winbindd to use domain trust account passwords when
5907 running on a Samba DC to establish an schannel to remote
5909 * Fix bad merge and ensure that we always use tdb_open_log()
5910 instead of tdb_open_ex() (the former call enforce the 'use
5912 * BUG 1221: revert old change that used single and double
5913 quotes as delimeters in next_token(), and change
5914 print_parameter() to print out parm values surrounded by
5915 double quotes (instead of single quotes).
5916 * Prevent home directories added during the SMBsesssetup&X from
5917 being removed as unused services.
5918 * Invalidate the print object cache for open printer handles when
5919 smbd receives a message that an attribute on a given printer
5921 * Cause the configure script to exit if --enable-cups[=yes] is
5922 defined and the system does not have the cups devel files
5924 * BUG 1297: Prevent map_username() from being called twice
5926 * Ensure that we use the userPrincipalName AD attribute
5927 value for LDAP SASL binds.
5928 * Ensure we remove the tdb entry when deleting a job that
5930 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
5931 client sends a FindNextPrintChangeNotify() request without
5932 previously sending a FindFirstPrintChangeNotify(). Return
5933 the same error code as Windows 2000 SP4.
5934 * BUG 1516: Manually declare ldap_open_with_timeout() to
5935 workaround compiler errors on IRIX (or other systems without
5937 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
5939 * Corrected syntax error in the OID for sambaUnixIdPool,
5940 sambaSidEntry, & sambaIdmapEntry object classes.
5941 * Tighten the cache consistency with the ntprinters.tdb entry
5942 an the in memory cache associated with open printer handles.
5943 * Make sure that register_messages_flags() doesn't overwrite
5944 the originally registered flags.
5947 o Fabien Chevalier <fabien.chevalier@supelec.fr>
5948 * Debian BUG 252591: Ensure that the return value from the
5949 number of available interfaces is initialized in case no
5950 interfaces are actually available.
5953 o Guenther Deschner <gd@sernet.de>
5954 * Implement 'rpcclient setprintername'.
5955 * Add local groups to the user's NT_TOKEN since they are
5956 actually supported now.
5957 * Heimdal compile fixes after introduction of the new keytab
5959 * Correctly honor the info level parameter in 'rpcclient
5961 * Reintroduce 'force unknown acl user' parameter. When getting a
5962 security descriptor for a file, if the owner sid is not known,
5963 the owner uid is set to the current uid. Same for group sid.
5964 * Ensure that REG_SZ values in the SetPrinterData actually
5965 get written in UNICODE strings rather than ASCII.
5966 * Ensure that the last Kerberos error return is not invalid.
5967 * Display share ACL entries from rpcclient.
5968 * Correct infinite loop in pam_winbind's verification of
5969 group membership in the 'other sids' field in the user_info3
5973 o Fabian Franz <FabianFranz@gmx.de>
5974 * Support specifying a port in the device URL passed to smbspool.
5977 o Steve French <sfrench@us.ibm.com>
5978 * Handle -S and user mount parms in mount.cifs.
5979 * Fix user unmount of shares mount with suid mount.cifs.
5980 * prevent infinite recusion in reopen_logs() when expanding
5981 the smb.conf variable %I.
5984 o Bjoern Jacke <bj@sernet.de>
5985 * Install libsmbclient into $(LIBDIR), not into hard coded
5986 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
5987 and an explicit configure --libdir setting.
5990 o <kawasa_r@itg.hitachi.co.jp>
5991 * Correct more memory leaks and initialization bugs.
5992 * Fix bug that prevented core dumps from being generated
5994 * Connect to the winbind pipe in non-blocking mode to
5995 prevent processes from hanging.
5996 * Memory leak fixes.
5999 o Stephan Kulow <coolo@suse.de>
6000 * Fix crash bug in libsmbclient.
6003 o Volker Lendecke <vl@samba.org>
6004 * Added vfs_full_audit module.
6005 * Add vfs_afsacl.c which can display & set AFS acls via
6006 the NT security editor.
6007 * Fix crash bug caused by trying to Base64 encode a NULL string.
6008 * Fix DOS error code bug in reply_chkpath().
6009 * Correct misunderstanding of the max_size field in
6010 cli_samr_enum_als_groups; it is more like an account_control
6011 field with individual bits what to retrieve.
6012 * Implement 'net rpc group rename' -- rename domain groups.
6013 * Implement the 'cups server' option. This makes it possible
6014 to have virtual smbd's connect to different cups daemons.
6015 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
6016 * Fix sid_to_gid() calls in winbindd to prevent loops.
6017 * Ensure that local_sid_to_gid() sets the type of the group on
6019 * Make sure that the clients are given back the IP address to
6020 which they connected in the case of a multi-homed host. Only
6021 affects strings the spoolss printing replies.
6022 * Fix the bad password lockout. This has not worked as pdb_ldap.c
6023 did not ask for the modifyTimestamp attribute, so it could
6024 not find it. Try not to regress by not putting that attrib
6025 in the main list but append it manually for the relevant searches.
6026 * Fix two memleaks in login_cache.c.
6027 * fixes memory bloat when unmarshalling strings.
6028 * Fix compile errors using gcc 3.2 on SuSE 8.2.
6029 * Fix the build for systems without Kerberos headers.
6030 * Allow winbindd to handle authentication requests only when
6031 started without either an 'idmap uid' or 'idmap gid' range.
6032 * Fix the build for systems without ldap headers.
6033 * Fix interaction between share security descriptor and the
6034 'read only' smb.conf option.
6035 * Fix bug that caused _samr_lookupsids() with more than 32 (
6036 MAX_REF_DOMAINS) SIDs to fail.
6037 * Allow the 'idmap backend' parameter to accept a list of
6038 LDAP servers for failover purposes.
6039 * Revert code in smbd to remove a tdb when it has become
6041 * Add paranoid checks when mapping SIDs to a uid/gid to
6042 ensure that the type is correct.
6043 * Initial work on getting client support for sending mailslot
6045 * Add 'ldap timeout' parameter.
6046 * Dont always uppercase 'afs username map'.
6047 * Expand aliases for getusersids as well.
6048 * Improved NT->AFS ACL mapping VFS module.
6051 o Herb Lewis <herb@samba.org>
6052 * Add the acls debug class.
6053 * Fix logic bug in netbios name truncate routine.
6054 * Fix smbd crash caused by smbtorture IOCTL test.
6055 * Fix errno tromping before calling iconv to reset the
6057 * need to leave empty dacl so we can remove last ACE.
6060 o Jianliang Lu <Jianliang.Lu@getronics.com>
6061 * Fix to stop smbd hanging on missing group member in
6063 * Make sure Samba returns the correct group types.
6064 * Reset the bad password count password counts upon a successful login.
6067 o Jason Mader <jason@ncac.gwu.edu>
6068 * BUG 1385: Don't use non-consts in a structure initialization.
6071 o Jim McDonough <jmcd@us.ibm.com>
6072 * BUG 1279: SMBjobid fix for Samba print servers running on
6073 Big-Endian platforms.
6076 o Joe Meadows <jameadows@webopolis.com>
6077 * Add optional timeout parameter to ldap open calls.
6078 * Allow get_dc_list() to check the negative cache.
6081 o Stefan Metzmacher <metze@samba.org>
6082 * fix a configure logic bug for linux/XFS quotas when
6083 using --with-sys-quotas.
6084 * Use quota debug class in quota code.
6085 * print out the SVN revision by configure,
6088 o Buchan Milne <bgmilne@mandrake.org>
6089 * Mandrake packaging fixes.
6092 o Lars Mueller <lmuelle@samba.org>
6093 * BUG 1279: Added 'printcap cache time' parameter.
6094 * Fix afs related build issues on SuSE.
6095 * Fix compiler warnings in the Kerberos client code.
6098 o James Peach <jpeach@sgi.com>
6099 * More iconv detection fixes for IRIX.
6100 * Compile fixed for systems that do not have C99/UNIX98 compliant
6101 vsnprintf by default.
6102 * Prevent smbd from attempting to use sendfile at all if it is
6103 not supported by the server's OS.
6104 * Allow SWAT to search for index.html when serving html files
6109 * Implement NFS quota support on FreeBSD.
6112 o Tim Potter <tpot@samba.org>
6113 * BUG 1360: Use -Bsymbolic when creating shared libraries to
6114 avoid conflicts with identical symbols in the global namespace
6115 when loading libnss_wins.so.
6118 o Richard Renard <rrenard@idealx.com>
6119 * Save the current password as it is being changed into the
6120 password history list.
6123 o Richard Sharpe <rsharpe@samba.org>
6124 * Fix error return codes on some lock messages.
6125 * BUG 1178: Make the libsmbclient routines callable
6127 * BUG 1333: Make sure we return an error code when
6129 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
6130 share mode locking requests fail.
6133 o Simo Sorce <idra@samba.org>
6134 * Update Debian stable & unstable packaging.
6135 * Tidy up parametric options in testparm output.
6138 o Richard Sharpe <rsharpe@samba.org>
6139 * Add sigchild handling to winbindd to restart the child
6140 daemon if necessary.
6143 o Tom Shaw <tomisfaraway@gmail.com>
6144 * Use winbindd_fill_pwent() consistently.
6147 o Nick Thompson <nickthompson@agere.com>
6148 * Protect smbd against broken filesystems which return zero
6152 o Andrew Tridgell <tridge@samba.org>
6153 * Fixed bug in handling of timeout in socket connections.
6156 o Nick Wellnhofer <wellnhofer@aevum.de>
6157 * Prevent lp_interfaces() list from being corrupted. Fixes
6158 bug where nmbd would lose the list of network interfaces
6159 on the system and consequently shutdown.
6162 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
6163 * Fix ntlm_auth memory leaks.
6166 o Jelmer Vernooij <jelmer@samba.org>
6167 * Additional NT status to unix error mappings.
6168 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
6169 get duplicate symbol errors.
6170 * Return an error when the last command read from stdin
6172 * Prepare for better error checking in tar.
6173 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
6176 --------------------------------------------------
6178 =============================
6179 Release Notes for Samba 3.0.5
6181 =============================
6183 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
6184 the exception of correcting the two security issues outlined
6187 ######################## SECURITY RELEASE ########################
6189 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
6190 CVE ID: CAN-2004-0600, CAN-2004-0686
6191 (http://cve.mitre.org/)
6194 This is the latest stable release of Samba. This is the version
6195 that production Samba servers should be running for all current
6198 It has been confirmed that versions of Samba 3 prior to v3.0.4
6199 are vulnerable to two potential buffer overruns. The individual
6200 details are given below.
6206 Affected Versions: Samba 3.0.2 and later
6208 The internal routine used by the Samba Web Administration
6209 Tool (SWAT v3.0.2 and later) to decode the base64 data
6210 during HTTP basic authentication is subject to a buffer
6211 overrun caused by an invalid base64 character. It is
6212 recommended that all Samba v3.0.2 or later installations
6213 running SWAT either (a) upgrade to v3.0.5, or (b) disable
6214 the swat administration service as a temporary workaround.
6216 This same code is used internally to decode the
6217 sambaMungedDial attribute value when using the ldapsam
6218 passdb backend. While we do not believe that the base64
6219 decoding routines used by the ldapsam passdb backend can
6220 be exploited, sites using an LDAP directory service with
6221 Samba are strongly encouraged to verify that the DIT only
6222 allows write access to sambaSamAccount attributes by a
6223 sufficiently authorized user.
6225 The Samba Team would like to heartily thank Evgeny Demidov
6226 for analyzing and reporting this bug.
6232 Affected Versions: Samba 3.0.0 and later
6234 A buffer overrun has been located in the code used to support
6235 the 'mangling method = hash' smb.conf option. Please be aware
6236 that the default setting for this parameter is 'mangling method
6237 = hash2' and therefore not vulnerable.
6239 Affected Samba 3 installations can avoid this possible security
6240 bug by using the default hash2 mangling method. Server
6241 installations requiring the hash mangling method are encouraged
6242 to upgrade to Samba 3.0.5.
6245 ##################################################################
6247 --------------------------------------------------
6249 =============================
6250 Release Notes for Samba 3.0.4
6252 =============================
6254 Common bugs fixed in Samba 3.0.4 include:
6256 o Password changing after applying the patch described in
6257 the Microsoft KB828741 article to Windows clients.
6259 o Managing print jobs via Windows on Big-Endian servers.
6260 o Several memory leaks in winbindd and smbd.
6261 o Compile issues on AIX and *BSD.
6264 --------------------
6269 o Jeremy Allison <jra@samba.org>
6270 * Fix path processing for DeletePrinterDriverEx().
6271 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
6275 o Andrew Bartlett <abartlet@samba.org>
6276 * Fix alignment bug in GetDomPwInfo().
6279 o Alexander Bokovoy <ab@samba.org>
6280 * Fix utime[s]() issues in smbwrapper on systems
6281 that can boot both the 2.4 and 2.6 Linux kernels.
6284 o Gerald Carter <jerry@samba.org>
6285 * Fedora packaging fixes.
6286 * BUG 1302: Fix seg fault by not trying to optimize a list of
6287 invalid gids using the wrong array size.
6288 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
6289 seen when 'security = share'.
6290 * Fix problems when using IBM's compiler on AIX.
6291 * Link Developer's Guide, Example Guide, and multi-page HOWTO
6292 into SWAT's welcome page.
6293 * BUG 1293: fix double free in printer publishing code.
6296 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
6297 * Fix for handling timeouts in socket connections.
6300 o Michel Gravey <michel.gravey@optogone.com>
6301 * BUG 483: patch from to fix password hash creation in SWAT.
6304 o Volker Lendecke <vl@samba.org>
6305 * Close the open NT pipes before the tdis.
6306 * Fix AFS related build issues.
6307 * Handle error conditions when base64 encoding a blob of 0 bytes.
6310 o Herb Lewis <herb@samba.org>
6311 * Added 'acls' debug class.
6313 o kawasa_r@itg.hitachi.co.jp
6314 * Multiple variable initialization and memory leak fixes.
6317 o Stephan Kulow <coolo@suse.de>
6318 * Fix string length bug in libsmbclient that caused KDE's
6320 * BUG 429: More libsmbclient fixes.
6323 o Jim McDonough <jmcd@us.ibm.com>
6324 * BUG 1007, 1279: Store the print job using a little-endian key.
6328 o Compile fix for OpenBSD (ENOTSUP not supported).
6331 o Stefan Metzmacher <metze@samba.org>
6332 * Correct bug in disks quota views from explorer.
6335 o Tim Potter <tpot@samba.org>
6336 BUG 1305: Correct debug output.
6339 o Richard Sharpe <rsharpe@samba.org>
6340 * Fix incorrect error code mapping.
6343 o Jelmer Vernooij <jelmer@samba.org>
6344 * Add additional NT_STATUS errorm mappings.
6347 --------------------------------------------------
6349 =============================
6350 Release Notes for Samba 3.0.3
6352 =============================
6355 Common bugs fixed in Samba 3.0.3 include:
6357 o Crash bugs and change notify issues in Samba's printing code.
6358 o Honoring secondary group membership on domain member servers.
6359 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
6360 o Substitution errors for %[UuGg] in smb.conf.
6361 o winbindd crashes when using ADS security mode.
6362 o SMB signing errors.
6363 o Delays in winbindd startup caused by unnecessary
6364 connections to trusted domain controllers.
6365 o Various small memory leaks.
6366 o Winbindd failing due to expired Kerberos tickets.
6368 New features introduced in Samba 3.0.3 include:
6370 o Improved support for i18n character sets.
6371 o Support for account lockout policy based on
6372 bad password attempts.
6373 o Improved support for long password changes (>14
6374 characters) and strong password enforcement.
6375 o Support for Windows aliases (i.e. nested groups).
6376 o Experimental support for storing DOS attribute on files
6377 and folders in Extended Attributes.
6378 o Support for local nested groups via winbindd.
6379 o Specifying options to be passed directly to the CUPS libraries.
6381 Please be aware that the Samba source code repository was
6382 migrated from CVS to Subversion on April 4, 2004. Details on
6383 accessing the Samba source tree via anonymous svn can be found
6384 at http://svn.samba.org/samba/subversion.html.
6387 Changes since 3.0.2a
6388 --------------------
6392 Parameter Name Action
6393 -------------- ------
6396 only user Deprecated
6397 store dos attributes New
6399 winbind nested groups New
6405 o Jeremy Allison <jra@samba.org>
6406 * Ensure that Kerberos mutex is always properly unlocked.
6407 * Removed Heimdal "in-memory keytab" support.
6408 * Fixup the 'multiple-vuids' bugs in our server code.
6409 * Correct return code from lsa_lookup_sids() on unmapped
6410 sids (based on work by vl@samba.org).
6411 * Fix the "too many fcntl locks" scalability problem
6413 * Fixup correct (as per W2K3) returns for lookupsids
6414 as well as lookupnames.
6415 * Fixups for delete-on-close semantics as per Win2k3 behavior.
6416 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
6417 * Fix "unable to initialize" bug when smbd hasn't been run with
6418 new system and a user is being added via pdbedit/smbpasswd.
6419 * Added NTrename SMB (0xA5).
6420 * Fixup correct timeout values for blocking lock timeouts.
6421 * Fix various bugs reported by 'gentest'.
6422 * More locking fixes in the case where we own the lock.
6423 * Fix up regression in IS_NAME_VALID and renames.
6424 * Don't set allocation size on directories.
6425 * Return correct error code on fail if file exists and target
6427 * Added client "hardlink" comment to test doing NT rename with
6428 hard links. Added hardlink_internals() code - UNIX extensions
6429 now use this as well.
6430 * Use a common function to parse all pathnames from the wire for
6431 much closer emulation of Win2k3 error return codes.
6432 * Implement check_path_syntax() and rewrite string sub
6433 functions for better multibyte support.
6434 * Ensure msdfs referrals are multibyte safe.
6435 * Allow msdfs symlink syntax to be more forgiving.
6436 eg. sym_link -> msdfs://server/share/path/in/share
6437 or sym_link -> msdfs:\\server\share\path\in\share.
6438 * Cleanup multibyte netbios name support in nmbd ( based on patch
6439 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
6440 * Fix check_path_syntax() for multibyte encodings which have
6441 no '\' as second byte (based on work by ab@samba.org.
6442 * Fix the "dfs self-referrals as anonymous user" problem
6443 (based on patch from vl@samba.org).
6444 * BUG 1064: Ensure truncate attribute checking is done correctly
6445 on "hidden" dot files.
6446 * Fix bug in anonymous dfs self-referrals again.
6447 * Fix get/set of EA's in client library
6448 * Added support for OS/2 EA's in smbd server.
6449 * Added 'ea support' parameter to smb.conf.
6450 * Added 'store dos attributes' parameter to smb.conf.
6451 * Fix wildcard identical rename.
6452 * Fix reply_ctemp - make compatible with w2k3.
6453 * Fix wildcard unlink.
6454 * Fix wildcard src with wildcard dest renames.
6455 * BUG 1139: Fix based on suggestion by jdev@panix.com.
6456 swap lookups for user and group - group will do an
6457 algorithmic lookup if it fails, user won't.
6458 * Make EA's lookups case independent.
6459 * Fix SETPATHINFO in 'unix extensions' support.
6460 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
6461 the UNIX info levels, and the short case preserve names.
6464 o Timur Bakeyev <timur@com.bat.ru>
6465 * BUG 1144: only set --with-fhs when the argument is 'yes'
6466 * BUG 1152: Allow python modules to build despite libraries added
6467 to LDFLAGS instead of LDPATH.
6468 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
6471 o Craig Barratt <cbarratt@users.sourceforge.net>
6472 * BUG 389: Allow multiple exclude arguments with smbclient
6473 tar -Xr options (better support for Amanda backup client).
6476 o Andrew Bartlett <abartlet@samba.org>
6477 * Include support for linking with cracklib for enforcing strong
6479 * Add support for >14 character password changes from Windows
6481 * Add 'admin set password' capability to 'net rpc'.
6482 * Allow 'net rpc samdump' to work with any joined domain
6483 regardless of smb.conf settings.
6484 * Use an allocated buffer for count_chars.
6485 * Add sanity checks for changes in the domain SID in an
6487 * Implement python unit tests for Samba's multibyte string
6489 * Remove 'unicode' smb.conf option.
6490 * BUG 1138: Fix support for 'optional' SMB signing and other
6492 * BUG 169: Fix NTLMv2-only behavior.
6493 * Ensure 'net' honors the 'netbios name' in the smb.conf by
6495 * Support SMB signing on connections using only the LANMAN
6496 password and generate the correct the 'session key' for these
6498 * Implement --required-membership-of=, an ntlm_auth option
6499 that restricts all authentication to members of this particular
6501 * Improve our fall back code for password changes.
6502 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
6503 after the server had said something (such as an error).
6504 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
6507 o Alexander Bokovoy <ab@samba.org>
6508 * Fix incorrect size calculation of the directory name
6510 * Fix problems with very long filenames in both smbd and smbclient
6511 caused by truncating paths during character conversions.
6512 * Fix smbfs problem with Tree Disconnect issued before smbfs
6516 o Gerald Carter <jerry@samba.org>
6517 * BUG 850: Fix 'make installmodules' bug on True64.
6518 * BUG 66: mark 'only user' deprecated.
6519 * Remove corrupt tdb and shutdown (only for printing tdbs,
6520 connections, sessionid & locking).
6521 * decrement smbd counter in connections.tdb in smb_panic().
6522 * RedHat specfile updates.
6523 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
6524 * BUG 1147; bad pointer case in get_stored_queue_info()
6526 * BUG 761: read the config file before initialized default
6527 values for printing options; don't default to bsd printing
6529 * Allow the 'printing' parameter to be set on a per share basis.
6530 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
6531 * BUG 848: don't create winbind local users/groups that already
6533 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
6535 * BUG 488: fix the 'show client in col 1' button and correctly
6536 enumerate active connections.
6537 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
6538 problem when storing the updating pid for the lpq cache.
6539 * BUG 1007 (partial): Fix print change notify bugs.
6540 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
6541 and winbind use default domain = yes. Also ensures that
6542 * BUG 1151: Ensure that winbindd users are passed through
6544 * Fix client rpc binds for ASU derived servers (pc netlink,
6546 * BUG 417, 1128: Ensure that the current_user_info is set
6547 consistently so that %[UuGg] is expanded correctly.
6548 * BUG 1195: Fix crash in winbindd when the ADS server is
6550 * BUG 1185: Set reconnect time to be the same as the
6551 'winbind cache time'.
6552 * Ensure that we return the sec_desc in smb_io_printer_info_2.
6553 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
6554 * BUG 1095: Honor the '-l' option in smbclient.
6555 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
6557 * Ensure server schannel uses the auth level requested by the
6559 * Removed --with-cracklib option due to potential crash issue.
6560 * Fix -lcrypto linking problem with wbinfo.
6561 * BUG 761: allow printing parameter to set defaults on a per
6563 * Add 'cups options' parameter to allow raw printing without
6564 changing /etc/cups/cupsd.conf.
6565 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
6567 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
6568 * BUG 1288: resolve any machine netbios name (0x00) and not just
6570 * BUG 1199: Fix potential symlink issue in
6571 examples/printing/smbprint.
6574 o Robert Dahlem <Robert.Dahlem@gmx.net>
6575 * BUG 1048: Don't return short names when when 'mangled names = no'
6578 o Guenther Deschner <gd@suse.com>
6579 * Remove hard coded attribute name in the ads ranged retrieval
6581 * Add --with-libdir and --with-mandir to autoconf script.
6584 o Bostjan Golob <golob@gimb.org>
6585 * BUG 1046: Fix getpwent_list() so that the username is not
6586 overwritten by other fields.
6589 o Landon Fuller <landonf@opendarwin.org>
6590 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
6591 to fix user/group enumeration on systems whose libc does not
6592 call setgrent() before trying to enumerate users (i.e.
6596 o Steve French <sfrench@us.ibm.com>
6597 * Update mount.cifs to version 1.1.
6598 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
6599 * Fixes to minor security bug in the mount helper.
6600 * Fix credential file mounting for cifs vfs.
6601 * Fix free of incremented pointer in cifsvfs mount helper.
6602 * Fix path canonicalization of the mount target path and help
6603 text display in the cifs mount helper.
6604 * Add missing guest mount option for mount.cifs.
6607 o SATOH Fumiyasu <fumiya@miraclelinux.com>
6608 * BUG 1055; formatting fixes for 'net share'.
6609 * BUG 692: correct truncation of share names and workgroup
6611 * BUG 1088: use strchr_m() for query_host (smbclient -L).
6612 * Patch from to internally count characters correctly.
6615 o Paul Green <paulg@samba.org>
6616 * Update VOS _POSIX_C_SOURCE macro to 200112L.
6617 * Fix bug in configure.ion by moving the first use of
6618 AC_CHECK_HEADERS so it is always executed.
6619 * Fix configure.in to only use $BLDSHARED to select whether to
6620 build static or shared libraries.
6623 o Pat Haywarrd <Pat.Hayward@propero.net>
6624 * Make the session_users list dynamic (max of 128K).
6627 o Cal Heldenbrand <calzplace@yahoo.com>
6628 * Fix for for 'pam_smbpass migrate' functionality.
6631 o Chris Hertel <crh@samba.org>
6632 * fix enumeration of shares 12 characters in length via
6636 o Ulrich Holeschak <ulrich@holeschak.de>
6637 * BUG 932: fix local password change using pam_smbpass
6640 o Krischan Jodies <kj@sernet.de>
6641 * Implement 'net rpc group delete'
6644 o John Klinger <john.klinger@lmco.com>
6645 * Return NSS_SUCCESS once the max number of gids possible
6646 has been found in initgroups() on Solaris.
6647 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
6650 o Volker Lendecke <vl@samba.org>
6651 * Fix success message for net groupmap modify.
6652 * Fix errors when enumerating members of groups in 'net rpc'.
6653 * Match Windows behavior in samr_lookup_names() by returning
6654 ALIAS(4) when you search in BUILTIN.
6655 * Fix server SAMR code to be able to set alias info for
6657 * Fix duplication of logic when creating groups via smbd.
6658 * Ensure that the HWM values are set correctly after running
6660 * Add 'net rpc group add'.
6661 * Implement 'net groupmap set' and 'net groupmap cleanup'.
6662 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
6663 * Fix wb_delgrpmem (wbinfo -o).
6664 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
6665 * Fix sambaUserWorkstations on a Samba DC.
6666 * Implement wbinfo -k: Have winbind generate an AFS token after
6667 authenticating the user.
6668 * Add expand_msdfs VFS module for providing referrals based on the
6669 the client's IP address.
6670 * Implement client side NETLOGON GetDCName function.
6671 * Fix caching of name->sid lookups.
6672 * Add support in winbindd for expanding nested local groups.
6673 * Fix memleak in winbindd.
6675 * Don't list domain groups from BUILTIN.
6676 * Fix memleak in policy handle utility functions.
6677 * Decrease winbindd startup time by only contacting trusted
6678 domains as necessary.
6679 * Allow winbindd to ask the DC for its domain for a trusted
6681 * Fix Netscape DS schema based on comments from
6682 <thomas.mueller@christ-wasser.de>.
6683 * Correct case where adding a domain user to a XP local group
6684 did a lsalookupname on the user without domain prefix, and
6686 * Fix segfault in winbindd caused by 'wbinfo -a'.
6689 o Herb Lewis <herb@samba.org>
6690 * Fix typo for tag in proto file.
6691 * Add missing #ifdef HAVE_BICONV stuff.
6692 * Truncate Samba's netbios name at the first '.' (not
6696 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
6697 * Bug fixes and enhancements to libsmbclient library.
6700 o Jianliang Lu <j.lu@tiesse.com>
6701 * Enforce the 'user must change password at next login' flag.
6702 * Decode meaning of 'fields present' flags (improves support
6705 * Don't force an upper case domain name in the ntlmssp code.
6708 o L. Lucius <ib@digicron.com>.
6712 o Jim McDonough <jmcd@us.ibm.com>
6713 * Add versioning support to tdbsam.
6714 * Update the IBM Directory Server schema with the OpenLDAP
6716 * Various decoding fixes to improve usrmgr.exe support.
6717 * Fix statfs redeclaration of statfs struct on ppc
6718 * Implement support for password lockout of Samba domain
6719 controllers and standalone servers.
6720 * Get MungedDial attribute actually working with full TS
6721 strings in it for pdb_ldap.
6722 * BUG 1208 (partial): Improvements for working with expired krb5
6723 tickets in winbindd.
6724 * Use timegm, or our already existing replacement instead of
6725 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
6726 * Remove modifyTimestamp from list of our attributes.
6727 * Fix lsalookupnames to check for domain users as well as local
6729 * Merge struct uuid replacement for GUID from trunk.
6730 * BUG 1208: Finish support for handling expired tickets in
6731 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
6734 o Stefan Metzmacher <metze@samba.org>
6735 * Implement new VERSION schema based on subversion revision
6737 * Add shadow_copy vfs module.
6738 * Fix segault in login_cache support.
6741 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
6742 o BUG 979 -- Fix quota display on AIX.
6745 o James Peach <jpeach@sgi.com>
6746 * Correct check for printf() format when using the SGI MIPSPro
6748 * BUG 1038: support backtrace for 'panic action' on IRIX.
6749 * BUG 768: Accept profileing arg to IRIX init script.
6750 * BUG 748: Relax arg parsing to sambalp script (IRIX).
6751 * BUG 758: Fix pdma build.
6752 * Search IRIX ABI paths for libiconv. Based on initial fix from
6756 o Kurt Pfeifle <kpfeifle@danka.de>
6757 * Add example shell script for migrating drivers and printers
6758 from a Windows print server to a Samba print server using
6759 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
6762 o Tim Potter <tpot@samba.org>
6763 * Fix logic bug in tdb non-blocking lock routines when
6765 * BUG 1025: Include sys/acl.h in check for broken nisplus
6767 * BUG 1066: s/printf/d_printf/g in SWAT.
6768 * BUG 1098: rename internal msleep() function to fix build
6770 * BUG 1112: Fix for writable printerdata problem in python bindings.
6771 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
6772 * BUG 1155: enclose use of fchown() with guards.
6773 * Relicense tdb python module as LGPL.
6776 o Richard Sharpe <rsharpe@samba.org>
6777 * Add support to smbclient for multiple logins on the same
6778 session (based on work by abartlet@samba.org).
6779 * Correct blocking condition in smbd's use of accept() on IRIX.
6780 * Add support for printing out the MAC address on nmblookup.
6783 o Simo Sorce <idra@samba.org>
6784 * Replace unknown_3 with fields_present in SAMR code.
6785 * More length checks in strlcat().
6788 o Andrew Tridgell <tridge@samba.org>
6789 * Rewrote the AIX UESS backend for winbindd.
6790 * Fixed compilation with --enable-dmalloc.
6791 * Change tdb license to LGPL (see source/tdb/tdb.c).
6792 * Force winbindd to use schannel in clients connections to
6796 o Jelmer Vernooij <jelmer@samba.org>
6797 * Fix ETA Calculation when resuming downloads in smbget.
6798 * Add -O (for writing downloaded files to standard out)
6799 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
6800 * Fix syntax error in example mysql table
6803 o TAKEDA yasuma <yasuma@miraclelinux.com>
6804 * BUG 900: fix token processing in cmd_symlink, cmd_link,
6805 cmd_chown, cmd_chmod smbclient functions.
6808 o Shiro Yamada <shiro@miraclelinux.com>
6809 * BUG 1129: install image files for SWAT.
6812 --------------------------------------------------
6814 ==============================
6815 Release Notes for Samba 3.0.2a
6817 ==============================
6819 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6820 to address, in particular, a problem when using pdbedit to
6821 sanitize (--force-initialized-passwords) Samba's tdbsam
6822 backend. This is the latest stable release of Samba. This
6823 is the version that all production Samba servers should be
6824 running for all current bug-fixes.
6826 ******************* Attention! Achtung! Kree! *********************
6828 Beginning with Samba 3.0.2, passwords for accounts with a last
6829 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6830 ldapsam, etc...) of zero (0) will be regarded as uninitialized
6831 strings. This will cause authentication to fail for such
6832 accounts. If you have valid passwords that meet this criteria,
6833 you must update the last change time to a non-zero value. If you
6834 do not, then 'pdbedit --force-initialized-passwords' will disable
6835 these accounts and reset the password hashes to a string of X's.
6837 ******************* Attention! Achtung! Kree! *********************
6846 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6847 details. The list of changes per contributor are as follows:
6850 o Jeremy Allison <jra@samba.org>
6851 * Added paranoia checks in parsing code.
6854 o Andrew Bartlett <abartlet@samba.org>
6855 * Ensure that changes to uninitialized passwords in ldapsam
6856 are written to the DIT.
6859 o Gerald (Jerry) Carter <jerry@samba.org>
6860 * Fixed iterator in tdbsam.
6861 * Fix bug that disabled accounts with a valid NT password
6862 hash, but no LanMan hash.
6865 o Steve French <sfrench@us.ibm.com>
6866 * Added missing nosetuid and noexec options.
6869 o Bostjan Golob <golob@gimb.org>
6870 * BUG 1046: Don't overwrite usernames of entries returned
6874 o Sebastian Krahmer <krahmer@suse.de>
6875 * Fixed potential crash bug in NTLMSSP parsing code.
6878 o Tim Potter <tpot@samba.org>
6879 * Fixed logic in tdb_brlock error checking.
6882 o Urban Widmark <urban@teststation.com>
6883 * Set nosuid,nodev flags in smbmnt by default.
6886 --------------------------------------------------
6888 =============================
6889 Release Notes for Samba 3.0.2
6891 =============================
6893 It has been confirmed that previous versions of Samba 3.0 are
6894 susceptible to a password initialization bug that could grant an
6895 attacker unauthorized access to a user account created by the
6896 mksmbpasswd.sh shell script.
6898 The Common Vulnerabilities and Exposures project (cve.mitre.org)
6899 has assigned the name CAN-2004-0082 to this issue.
6901 Samba administrators not wishing to upgrade to the current
6902 version should download the 3.0.2 release, build the pdbedit
6905 root# pdbedit-3.0.2 --force-initialized-passwords
6907 This will disable all accounts not possessing a valid password
6908 (e.g. the password field has been set a string of X's).
6910 Samba servers running 3.0.2 are not vulnerable to this bug
6911 regardless of whether or not pdbedit has been used to sanitize
6914 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
6917 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
6918 o Logging onto a Samba domain from Windows XP clients.
6919 o Problems with the %U and %u smb.conf variables in relation to
6920 Windows 9x/ME clients.
6921 o Kerberos failures due to an invalid in memory keytab detection
6923 o Updates to the ntlm_auth tool.
6924 o Fixes for various SMB signing errors.
6925 o Better separation of WINS and DNS queries for domain controllers.
6926 o Issues with nss_winbind FreeBSD and Solaris.
6927 o Several crash bugs in smbd and winbindd.
6928 o Output formatting fixes for smbclient for better compatibility
6929 with scripts based on the 2.2 version.
6938 Parameter Name Action
6939 -------------- ------
6940 ldap replication sleep New
6941 read size removed (unused)
6942 source environment removed (unused)
6948 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6949 details. The list of changes per contributor are as follows:
6951 o Jeremy Allison <jra@samba.org>
6952 * Revert change that broke Exchange clear text samlogons.
6953 * Fix gcc 3.4 warning in MS-DFS code.
6954 * Tidy up of NTLMSSP code.
6955 * Fixes for SMB signing errors
6956 * BUG 815: Workaround NT4 bug to support plaintext
6957 password logins and UNICODE.
6958 * Fix SMB signing bug when copying large files.
6959 * Correct error logic in mkdir_internals() (caused a panic
6960 when combined with --enable-developer).
6961 * BUG 830: Protect against crashes due to bad character
6965 o Petri Asikainen <paca@sci.fi>
6966 * BUG 330, 387:Fix single valued attribute updates when
6967 working with Novell NDS.
6970 o Andrew Bartlett <abartlet@samba.org>
6971 * Correctly handle per-pipe NTLMSSP inside a NULL session.
6972 * Fix segfault in gencache
6973 * Fix early free() of encrypted_session_key.
6974 * Change DC lookup routines to more carefully separate
6975 DNS names (realms) from NetBIOS domain names.
6976 * Add new sid_to_dn() function for internal winbindd use.
6977 * Refactor cli_ds_enum_domain_trusts().
6978 * BUG 707: Implement range retrieval of ADS attributes (based
6979 on work from Volker <vl@samba.org> and Guenther Deschner
6981 * Automatically initialize the signing engine if a session key
6983 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
6984 encoded strings, only form input in SWAT.
6985 * Resets the NTLMSSP state for new negotiate packets.
6986 * Add 2-byte alignments in net_samlogon() queries to parse
6987 odd-length plain text passwords.
6988 * Allow Windows groups with no members in winbindd.
6989 * Allow normal authentication in the absence of a server
6990 generated session key.
6991 * More optimizations for looking up UNIX group lists.
6992 * Clean up error codes and return values for pam_winbindd
6993 and winbindd PAM interface.
6994 * Fix string return values in ntlm_auth tool.
6995 * Fix segfault when 'security = ads' but no realm is defined.
6996 * BUG 722: Allow winbindd to map machine accounts to uids.
6997 * More cleanups for winbindd's find_our_domain().
6998 * More clearly detect whether a domain controller is an NT4
6999 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
7000 * Increase separation between DNS queries for hosts and queries
7001 for AD domain controllers.
7002 * Include additional NT_STATUS to PAM error mappings.
7003 * Password initialization fixes.
7006 o Justin Baugh <justin.baugh@request.com>
7007 * BUG 948: Implement missing functions required for FreeBSD
7008 nss_winbind support.
7011 o Alexander Bokovoy <ab@samba.org>
7012 * BUG 922: Make sure enable fast path for strlower_m() and
7016 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
7017 * Fix crash when using 'security = server' and 'encrypt
7018 passwords = no' by always initializing the session key.
7021 o Dmitry Butskoj <buc@odusz.elektra.ru>
7022 * Fix for special files being hidden from admins.
7025 o Gerald (Jerry) Carter <jerry@samba.org>
7026 * Fix bug in the lanman session key generation. Caused
7027 "decode_pw: incorrect password length" error messages.
7028 * Save the right case for the located user name in
7029 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
7030 * BUG 897: Add well known rid for pre win2k compatible access
7032 * BUG 887: Correct typo in delete user script example.
7033 * Use short lived TALLOC_CTX* for allocating printer objects
7034 from the print handle cache.
7035 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
7036 * Fix several warnings reported by the SUN Forte C compiler.
7037 * Fully control DNS queries for AD DC's using 'name resolve order'.
7038 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
7039 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
7040 * BUG 936: fix bind credentials for schannel binds in smbd.
7041 * BUG 446: Fix output of smbclient for better compatibility
7042 with scripts based on the 2.2 version (including Amanda).
7043 * BUG 891, 949: Fedora packaging fixes.
7044 * Fix bug that caused rpcclient to incorrectly retrieve
7045 the SID for a server (this causing all calls that required
7046 this information to fail).
7047 * BUG 977: Don't create a homes share for a user if a static
7048 share already exists by the same name.
7049 * Removed unused smb.conf options.
7050 * Password initialization fixes.
7051 * Set the disable flag for template accounts created by
7053 * Disable any account has no passwords and does not have the
7054 ACB_PWNOTREQ bit set.
7057 o Guenther Deschner <gd@suse.com>
7058 * Install smbwrapper.so should be put into the $(libdir)
7060 * Add the capability to specify the new user password
7061 for "net ads password" on the command line.
7062 * Correctly detect AFS headers on SuSE.
7065 o James Flemer <jflemer@uvm.edu>
7066 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
7067 HAVE_SYS_ATTRIBUTES_H.
7070 o Luke Howard <lukeh@PADL.COM>
7071 * Fix segfault in session setup reply caused by a early free().
7074 o Stoian Ivanov <sdr@bultra.com>
7075 * Implement grepable output for smbclient -L.
7078 o LaMont Jones <lamont@debian.org>
7079 * BUG 225328 (Debian): Correct false failure LFS test that resulted
7080 in _GNU_SOURCE not being defined (thus resulting in strndup()
7084 o Volker Lendecke <vl@samba.org>
7085 * BUG 583: Ensure that user names always contain the short
7086 version of the domain name.
7087 * Fix our parsing of the LDAP uri.
7088 * Don't show the 'afs username map' in the SWAT basic view.
7089 * Fix SMB signing issues in relation to failed NTLMSSP logins.
7090 * BUG 924: Fix return codes in smbtorture harness.
7091 * Always lower-case usernames before handing it to AFS code.
7092 * Add a German translation for SWAT.
7093 * Fix a segfaults in winbindd.
7094 * Fix the user's domain passed to register_vuid() from
7095 reply_spnego_Kerberos().
7096 * Add NSS example code in nss_winbind to convert UNIX
7097 id's <-> Windows SIDs.
7098 * Display more descriptive error messages for login via 'net'.
7099 * Fix compiler warning in the net tool.
7100 * Fix length bug when decoding base64 strings.
7101 * Ensure we don't call getpwnam() inside a loop that is iterating
7102 over users with getpwent(). This broke on glibc 2.3.2.
7105 o Herb Lewis <herb@samba.org>
7106 * Fix bit rot in psec.
7109 o Jianliang Lu <j.lu@tiesse.com>
7110 * Ensure we delete the group mapping before calling the delete
7112 * Define well known RID for managing the "Power Users" group.
7113 * BUG 381: check builtin (not local) group SID when updating
7115 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
7119 o John Klinger <john.klinger@lmco.com>
7120 * Implement initgroups() call in nss_winbind on Solaris.
7123 o Jim McDonough <jmcd@us.ibm.com>
7124 * Fix regression in net rpc join caused by recent changes
7125 to cli_lsa_query_info_policy().
7126 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
7130 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
7131 * BUG 570: Ensure that configure honors the LDFLAGS variable.
7134 o Stefan Metzmacher <metze@samba.org>
7135 * Implement LDAP rebind sleep patch.
7136 * Revert to 2.2 quota code because of so many broken quota files
7138 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
7139 XFS_USER_QUOTA -> USRQUOTA
7140 XFS_GROUP_QUOTA -> GRPQUOTA
7141 * Fix disk_free calculation with group quotas.
7142 * Add debug class 'quota' and a lot of DEBUG()'s
7144 * Fix sys_chown() when no chown() is present.
7145 * Add SIGABRT to fault handling in order to catch got a
7146 backtrace if an error occurs the OpenLDAP client libs.
7150 * Allow an existing LDAP machine account to be re-used when
7151 joining an AD domain.
7154 o James Peach <jpeach@sgi.com>
7155 * BUG 889: Change smbd to use pread/pwrite on platforms that
7156 support these calls. Can lead to a significant speed increase.
7159 o Tim Potter <tpot@samba.org>
7160 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
7161 * BUG 924: Fix typo in RW2 torture test.
7164 o Richard Sharpe <rsharpe@samba.org>
7165 * Small fixes to torture.c to cleanup the error handling
7166 and prevent crashes.
7169 o J. Tournier <jerome.tournier@IDEALX.com>
7170 * Small fixes for the smbldap-tool scripts.
7173 o Andrew Tridgell <tridge@samba.org>
7174 * Fix src len check in pull_usc2().
7177 o Jelmer Vernooij <jelmer@samba.org>
7178 * Put functions for generating SQL queries in pdb_sql.c
7179 * Add pgSQL backend (based on patch by Hamish Friedlander)
7180 * BUG 908: Fix -s option to smbcontrol.
7181 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
7182 * Fix for libnss_wins on IRIX platforms.
7183 * Fix swatdir for --with-fhs.
7186 --------------------------------------------------
7188 =============================
7189 Release Notes for Samba 3.0.1
7191 =============================
7193 Some of the more common bugs in 3.0.0 addressed in the release
7196 o Substitution problems with smb.conf variables.
7197 o Errors in return codes which caused some applications
7198 to fail to open files.
7199 o General Protection Faults on Windows 2000/XP clients
7200 using Samba point-n-print features.
7201 o Several miscellaneous crash bugs.
7202 o Access problems when enumerating group mappings are
7203 stored in an LDAP Directory.
7204 o Several common SWAT bugs when writing changes to
7206 o Internal inconsistencies when 'winbind use default
7212 ----------------------
7214 Parameter Name Action
7215 -------------- ------
7216 hide local users Removed
7217 mangled map Deprecated
7218 mangled stack Removed
7219 passwd chat timeout New
7225 o Change the interface for init_unistr2 to not take a length
7226 but a flags field. We were assuming that
7227 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
7228 o Allow d_printf() to handle strings with escaped quotation
7229 marks since the msg file includes the escape character (bug 489).
7230 o Fix bad html table row termination in SWAT wizard code (bug 413).
7231 o Fix to parse the level-2 strings.
7232 o Fix for "valid users = %S" in [homes]. Fix read/write
7234 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
7235 This is the same way AC_CHECK_LIB works (bug 508).
7236 o Testparm output fixes for clarity.
7237 o Fix broken wins hook functionality -- i18n bug (bug 528).
7238 o Take care of condition where DOS and NT error codes must differ.
7239 o Default to using only built-in charsets when a working iconv
7240 implementation cannot be located.
7241 o Wrap internals of sys_setgroups() so the sys_XX() call can
7242 be done unconditionally (bug 550).
7243 o Remove duplicate smbspool link on SWAT's front page (bug 541).
7244 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
7245 --enable-debug=[yes|no] works correctly.
7246 o Allow ^C to interrupt smbpasswd if using our getpass
7247 (e.g. smbpasswd command).
7248 o Support signing only on RPC's (bug 167).
7249 o Correct bug that prevented Excel 2000 clients from opening
7250 files marked as read-only.
7251 o Portability fix bugs 546 - 549).
7252 o Explicitly initialize the value of AR for vendor makes that don't
7253 do this (e.g. HPUX 11). (bug 552).
7254 o More i18n fixes for SWAT (bug 413).
7255 o Change the cwd before the postexec script to ensure that a
7256 umount will succeed.
7257 o Correct double free that caused winbindd to crash when a DC
7258 is rebooted (bug 437).
7259 o Fix incorrect mode sum (bug 562).
7260 o Canonicalize SMB_INFO_ALLOCATION in the same was as
7261 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
7262 o Add script to generate *msg files.
7263 o Add Dutch SWAT translation file.
7264 o Make sure to call get_user_groups() with the full winbindd
7265 name for a user if he/she has one (bug 406).
7266 o Fix up error code returns from Samba4 tester. Ensure invalid
7267 paths are validated the same way.
7268 o Allow Samba3 to pass the Samba4 RAW-READ tests.
7269 o Refuse to configure if --with-expsam=$BACKEND was used but no
7270 libraries were found for $BACKEND.
7271 o Move sysquotas autoconf tests to a separate file.
7272 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
7274 o Make sure that the files that contain the static_init_$subsystem;
7275 macro get recompiled after configure by removing the object
7277 o Ensure canceling a blocking lock returns the correct error
7279 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
7280 o Updated Japanese welcome file in SWAT.
7281 o Fix to nt-time <-> unix-time functions reversible.
7282 o Ensure that winbindd uses the the escaped DN when querying
7284 o Fix portability issues when compiling (bug 505, 550)
7285 o Compile fix for tdbbackup when Samba needs to override
7286 non-C99 compliant implementations of snprintf().
7287 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
7288 o Make sure we break out of samsync loop on error.
7289 o Ensure error code path doesn't free unmalloc()'d memory
7291 o Add configure test for krb5_keytab_entry keyblock vs key
7294 o Modified testparm so that all output so all debug output goes
7295 to stderr, and all file processing goes to stdout.
7296 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
7298 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
7299 we have a devmode before copying a string to the devicename.
7300 o Support mapping REALM.COM\user to a local user account (without
7301 running winbindd) for compatibility with 2.2.x release.
7302 o Ensure we don't use mmap() on blacklisted systems.
7303 o fixed a number of bugs and memory leaks in the AIX
7305 o Call initgroups() in SWAT before becomming the user so that
7306 secondary group permissions can be used when writing to
7308 o Fix signing problems when reverse connecting back to a
7309 client for printer notify
7310 o Fix signing problems caused by a miss-sequence bug.
7311 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
7312 Fixes NEXUS tools running on Win9x clients (bug 64).
7313 o Don't leave the domain field uninitialized in cli_lsa.c if some
7314 SID could not be mapped.
7315 o Fix segfault in mount.cifs helper when there is no options
7316 specified during mount.
7317 o Change the \n after the password prompt to go to tty instead
7318 of stdout (bug 668).
7319 o Stop net -P from prompting for machine account password (bug 451).
7320 o Change in behavior to Not only change the effective uid but also
7321 the real uid when becoming unprivileged.
7322 o Cope with Exchange 5.5 cleartext pop password auth.
7323 o New files for support of initshutdown pipe. Win2k doesn't
7324 respond properly to all requests on the winreg pipe, so we need
7325 to handle this new pipe (bug 534).
7326 o Added more va_copy() checks in configure.in.
7327 o Include fixes for libsmbclient build problems.
7328 o Missing UNIX -> DOS codepage conversion in lanman.c.
7329 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
7330 o Parameterize the listen backlog in smbd and make it larger by
7331 default. A backlog of 5 is way too small these days.
7332 o Check for an invalid fid before dereferencing the fsp pointer
7334 o Remove invalid memory frees and return codes in pdb_ldap.c.
7335 o Prompt for password when invoking --set-auth-user and no
7337 o Bind the nmbd sending socket to the 'socket address'.
7338 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
7339 $LDFLAGS occurs before any library specification (bug 661).
7340 o Fix large number of printf() calls for 64-bit size_t.
7341 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
7342 keyblock in the krb5 structs.
7343 o Remove #include <compat.h> in hopes to avoid problems with
7344 apache header files.
7345 o Correct winbindd build problems on HP-UX 11.
7346 o Lowercase netgroups lookups (bug 703).
7347 o Use the actual size of the buffer in strftime instead of a made
7348 up value which just happens to be less than sizeof(fstring).
7350 o Add ldaplibs to pdbedit link line (bug 651).
7351 o Fix crash bug in smbclient completion (bug 659).
7352 o Fix packet length for browse list reply (bug 771).
7353 o Fix coredump in cli_get_backup_list().
7354 o Make sure that we expand %N (bug 612).
7355 o Allow rpcclient adddriver command to specify printer driver
7357 o Compile tdbdump by default.
7358 o Apply patches to fix iconv detection for FreeBSD.
7359 o Do not allow the 'guest account' to be added to a passdb backend
7360 using smbpasswd or pdbedit (bug 624).
7361 o Save LDFLAGS during iconv detection (bug 57).
7362 o Run krb5 logins through the username map if the winbindd
7363 lookup fails (bug 698).
7364 o Add const for lp_set_name_resolve_order() to avoid compiler
7366 o Add support for the %i macro in smb.conf to stand in for the for
7367 the local IP address to which a client connected.
7368 o Allow winbindd to match local accounts to domain SID when
7369 'winbind trusted domains only = yes' (bug 680).
7370 o Remove code in idmap_ldap that searches the user suffix and group
7371 suffix. It's not needed and provides inconsistent functionality
7372 from the tdb backend.
7373 o Patch to handle munged dial string for Windows 2000 TSE.
7374 Thanks to Gaz de France, Direction de la Recherche, Service
7375 Informatique Métier for their supporting this work by Aurelien
7376 Degrémont <adegremont@idealx.com>.
7377 o Correct the "smbldap_open: cannot access when not root error"
7378 messages when looking up group information (bug 281).
7379 o Skip over the winbind separator when looking up a user.
7380 This fixes the bug that prevented local users from
7381 matching an AD user when not running winbindd (bug 698).
7382 o Fix a problem with configure on *BSD systems. Make sure
7383 we add -liconv etc to LDFLAGS.
7384 o Fix core dump bug when "security = server" and the authentication
7386 o Correct crash bug due to an empty munged dial string.
7387 o Show files locked by a specific user (smbstatus -u 'user')
7389 o Fix bug preventing print jobs from display in the queue
7390 monitor used by Windows NT and later clients (bug 660).
7391 o Fix several reported problems with point-n-print from
7392 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
7393 reply (bug 338, 527 & 643).
7394 o Fix a handful of potential memory leaks in the LDAP code used
7395 by ldapsam[_compat] and the LDAP idmap backend.
7396 o Fix for pdbedit error code returns (bug 763).
7397 o Make sure we only enumerate group mapping entries (not
7398 /etc/group) even when doing local aliases.
7399 o Relax check on the pipe name in a dce/rpc bind response to work
7400 around issues with establishing trusts to a Windows 2003 domain.
7401 o Ensure we mangle names ending in '.' in hash2 mangling method.
7402 o Correct parsing issues with munged dial string.
7403 o Fix bugs in quota support for XFS.
7404 o Add a cleaner method for applications that need to provide
7405 name->SID mappings to do this via NSS rather than having to
7406 know the winbindd pipe protocol.
7407 o Adds a variant of the winbindd_getgroups() call called
7408 winbindd_getusersids() that provides direct SID->SIDs listing of
7409 a users supplementary groups. This is enough to allow non-Samba
7410 applications to do ACL checking.
7411 o Make sure we don't append the 'ldap suffix' when writing out the
7412 'ldap XXX suffix' values in SWAT (bug 328).
7413 o Fix renames across file systems.
7414 o Ensure that items in a list of strings containing whitespace are
7415 written out surrounded by single quotes. This means that both
7416 double and single quotes are now used to surround strings in
7418 o Enable SWAT to correctly determine if winbindd is running (bug
7420 o Include WWW-Authenticate field in 401 response for bad auth
7422 o Add support for NTLM2 (NTLMv2 session security).
7423 o Add support for variable-length session keys.
7424 o More privilege fixes for group enumeration in LDAP (bug 281).
7425 o Use the dns name (or IP) as the originating client name when
7426 using CUPS (bug 467).
7427 o Fix various SMB signing bugs.
7428 o Fix ACL propagation on a DFS root (bug 263).
7429 o Disable NTLM2 for RPC pipes.
7430 o Allow the client to specify the NTLM2 flags got NTLMSSP
7432 o Change the name of the job passed off to cups from "Test Page"
7433 to "smbprn.00000033 Test Page" so that we can get the smb
7434 jobid back. This allow users to delete jobs with cups printing
7435 backend (partial work on bug 770).
7436 o Fix build of winbindd with static pdb modules.
7437 o Retrieve the correct ACL group bits if the file has an ACL
7439 o Implement "net rpc group members": Get members of a domain group
7440 in human-readable format.
7441 o Add MacOSX (Darwin) specific charset module code.
7442 o Use samr_dispinfo(level == 1) for enumerating domain users so we
7443 can include the full name in gecos field (bug 587).
7444 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
7445 o Implement 'net rpc group list [global|local|builtin]*' for a
7446 select listing of the respective user databases.
7447 o Don't automatically set NT status code flag unless client tells
7449 o Add 'net status [sessions|shares] [parseable]'.
7450 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
7452 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
7454 o Fix inverted logic in hosts allow/deny checks caused by
7455 s/strcmp/strequal/ (bug 846).
7456 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
7457 o Fix typo in 'hash' mangling algorithm.
7458 o Support munged dial for ldapsam (bug 800).
7459 o Fix process_incoming_data() to return the number of bytes handled
7460 this call whether we have a complete PDU or not; fixes bug
7461 with multiple PDU request rpc's broken over SMBwriteX calls
7463 o Fix incorrect smb flags2 for connections to pre-NT servers
7464 (causes smbclient to fail to OS2 for example) (bug 821).
7465 o Update version string in smbldap-tools Makefile to 0.8.2.
7466 o Correct a problem with "net rpc vampire" mis-parsing the
7467 alias member info reply.
7468 o Ensure the ${libdir} is created by the installclientlib script.
7469 o Fix detection of Windows 2003 client architecture in the smb.conf
7471 o Ensure that smbd calls the add user script for a missing UNIX
7472 user on Kerberos auth call (bug 445).
7473 o Fix bugs in hosts allow/deny when using a mismatched
7474 network/netmask pair.
7475 o Protect alloc_sub_basic() from crashing when the source string
7476 is NULL (partial work on bug 687).
7477 o Fix spinlocks on IRIX.
7478 o Corrected some bad destination paths when running "configure
7480 o Add packaging files for Fedora Core 1.
7481 o Correct bug in SWAT install script for non-english languages.
7482 o Support character set ISO-8859-1 internally (bug 558).
7483 o Fixed more LDAP access errors when looking up group mappings
7485 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
7486 resolution to fail on local files on on domain members
7488 o Fix uninitialized variable in passdb.c.
7489 o Fix formal parameter type in get_static() in nsswitch/wins.c.
7490 o Fix problem mounting directories when mount.cifs is installed
7491 with the setuid bit on.
7492 o Fix bug that prevent --mandir from overriding the defaults
7493 given in the --with-fhs macro.
7494 o Fix bug in in-memory Kerberos keytab detection routines
7499 ######################################################################
7501 The original 3.0.0 release notes follow
7502 =======================================
7503 WHATS NEW IN Samba 3.0.0
7505 =======================================
7511 1) Active Directory support. Samba 3.0 is now able to
7512 join a ADS realm as a member server and authenticate
7513 users using LDAP/Kerberos.
7515 2) Unicode support. Samba will now negotiate UNICODE on the wire
7516 and internally there is now a much better infrastructure for
7517 multi-byte and UNICODE character sets.
7519 3) New authentication system. The internal authentication system
7520 has been almost completely rewritten. Most of the changes are
7521 internal, but the new auth system is also very configurable.
7523 4) New default filename mangling system.
7525 5) A new "net" command has been added. It is somewhat similar to
7526 the "net" command in windows. Eventually we plan to replace
7527 numerous other utilities (such as smbpasswd) with subcommands
7530 6) Samba now negotiates NT-style status32 codes on the wire. This
7531 improves error handling a lot.
7533 7) Better Windows 2000/XP/2003 printing support including publishing
7534 printer attributes in active directory.
7536 8) New loadable module support for passdb backends and character
7539 9) New default dual-daemon winbindd support for better performance.
7541 10) Support for migrating from a Windows NT 4.0 domain to a Samba
7542 domain and maintaining user, group and domain SIDs.
7544 11) Support for establishing trust relationships with Windows NT 4.0
7547 12) Initial support for a distributed Winbind architecture using
7548 an LDAP directory for storing SID to uid/gid mappings.
7550 13) Major updates to the Samba documentation tree.
7552 14) Full support for client and server SMB signing to ensure
7553 compatibility with default Windows 2003 security settings.
7555 15) Improvement of ACL mapping features based on code donated by
7556 Andreas Grünbacher.
7559 Plus lots of other improvements!
7562 Additional Documentation
7563 ------------------------
7565 Please refer to Samba documentation tree (included in the docs/
7566 subdirectory) for extensive explanations of installing, configuring
7567 and maintaining Samba 3.0 servers and clients. It is advised to
7568 begin with the Samba-HOWTO-Collection for overviews and specific
7569 tasks (the current book is up to approximately 400 pages) and to
7570 refer to the various man pages for information on individual options.
7572 We are very glad to be able to include the second edition of
7573 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
7574 (O'Reilly & Associates) in this release. The book is available
7575 on-line at http://samba.org/samba/docs/ and is included with
7576 the Samba Web Administration Tool (SWAT). Thanks to the authors and
7577 publisher for making "Using Samba" under the GNU Free Documentation
7581 ######################################################################
7582 Upgrading from a previous Samba 3.0 beta
7583 ########################################
7585 Beginning with Samba 3.0.0beta3, the RID allocation functions
7586 have been moved into winbindd. Previously these were handled
7587 by each passdb backend. This means that winbindd must be running
7588 to automatically allocate RIDs for users and/or groups. Otherwise,
7589 smbd will use the 2.2 algorithm for generating new RIDs.
7591 If you are using 'passdb backend = tdbsam' with a previous Samba
7592 3.0 beta release (or possibly alpha), it may be necessary to
7593 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
7594 to winbindd_idmap.tdb. To do this:
7596 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
7598 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
7600 3) run: (note that 'tdb>' is the tool's prompt for input)
7602 root# ./tdbtool /usr/local/samba/private/passdb.tdb
7603 tdb> show RID_COUNTER
7607 [000] 0A 52 00 00 .R.
7609 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
7613 If you are using 'passdb backend = ldapsam', it will be necessary to
7614 store idmap entries in the LDAP directory as well (i.e. idmap backend
7615 = ldap). Refer to the 'net idmap' command for more information on
7616 migrating SID<->UNIX id mappings from one backend to another.
7618 If the RID_COUNTER record does not exist, then these instructions are
7619 unneccessary and the new RID_COUNTER record will be correctly generated
7624 ########################
7625 Upgrading from Samba 2.2
7626 ########################
7628 This section is provided to help administrators understand the details
7629 involved with upgrading a Samba 2.2 server to Samba 3.0.
7635 Many of the options to the GNU autoconf script have been modified
7636 in the 3.0 release. The most noticeable are:
7638 * removal of --with-tdbsam (is now included by default; see section
7639 on passdb backends and authentication for more details)
7641 * --with-ldapsam is now on used to provided backward compatible
7642 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
7643 backend and authentication section for more details
7645 * inclusion of non-standard passdb modules may be enabled using
7646 --with-expsam. This includes an XML backend and a mysql backend.
7648 * removal of --with-msdfs (is now enabled by default)
7650 * removal of --with-ssl (no longer supported)
7652 * --with-utmp now defaults to 'yes' on supported systems
7654 * --with-sendfile-support is now enabled by default on supported
7661 This section contains a brief listing of changes to smb.conf options
7662 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
7663 complete descriptions of new or modified parameters.
7665 Removed Parameters (order alphabetically):
7668 * alternate permissions
7671 * code page directory
7673 * domain admin group
7674 * domain guest group
7675 * force unknown acl user
7681 * printer driver file
7682 * printer driver location
7684 * source environment
7692 New Parameters (new parameters have been grouped by function):
7696 * abort shutdown script
7699 User and Group Account Management
7700 ---------------------------------
7702 * add machine script
7703 * add user to group script
7704 * algorithmic rid base
7705 * delete group script
7706 * delete user from group script
7708 * set primary group script
7714 * passwd chat timeout
7718 * client lanman auth
7719 * client NTLMv2 auth
7725 * paranoid server security
7734 * hide special files
7735 * hide unwriteable files
7737 * kernel change notify
7747 * max reported print jobs
7749 UNICODE and Character Sets
7750 --------------------------
7756 SID to uid/gid Mappings
7757 -----------------------
7761 * winbind enable local accounts
7762 * winbind trusted domains only
7763 * template primary group
7764 * enable rid algorithm
7771 * ldap machine suffix
7773 * ldap replication sleep
7776 General Configuration
7777 ---------------------
7781 Modified Parameters (changes in behavior):
7783 * encrypt passwords (enabled by default)
7784 * mangling method (set to 'hash2' by default)
7787 * restrict anonymous (integer value)
7788 * security (new 'ads' value)
7789 * strict locking (enabled by default)
7790 * unix extensions (enabled by default)
7791 * winbind cache time (increased to 5 minutes)
7792 * winbind uid (deprecated in favor of 'idmap uid')
7793 * winbind gid (deprecated in favor of 'idmap gid')
7799 This section contains brief descriptions of any new databases
7800 introduced in Samba 3.0. Please remember to backup your existing
7801 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
7802 upgrade databases as they are opened (if necessary), but downgrading
7803 from 3.0 to 2.2 is an unsupported path.
7805 Name Description Backup?
7806 ---- ----------- -------
7807 account_policy User policy settings yes
7808 gencache Generic caching db no
7809 group_mapping Mapping table from Windows yes
7810 groups/SID to unix groups
7811 winbindd_idmap ID map table from SIDS to UNIX yes
7813 namecache Name resolution cache entries no
7814 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
7815 returned as part of a successful
7816 net_sam_logon request
7817 printing/*.tdb Cached output from 'lpq no
7818 command' created on a per print
7820 registry Read-only samba registry skeleton no
7821 that provides support for exporting
7822 various db tables via the winreg RPCs
7828 The following issues are known changes in behavior between Samba 2.2 and
7829 Samba 3.0 that may affect certain installations of Samba.
7831 1) When operating as a member of a Windows domain, Samba 2.2 would
7832 map any users authenticated by the remote DC to the 'guest account'
7833 if a uid could not be obtained via the getpwnam() call. Samba 3.0
7834 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
7835 current work around to re-establish the 2.2 behavior.
7837 2) When adding machines to a Samba 2.2 controlled domain, the
7838 'add user script' was used to create the UNIX identity of the
7839 machine trust account. Samba 3.0 introduces a new 'add machine
7840 script' that must be specified for this purpose. Samba 3.0 will
7841 not fall back to using the 'add user script' in the absence of
7842 an 'add machine script'
7845 ######################################################################
7846 Passdb Backends and Authentication
7847 ##################################
7849 There have been a few new changes that Samba administrators should be
7850 aware of when moving to Samba 3.0.
7852 1) encrypted passwords have been enabled by default in order to
7853 inter-operate better with out-of-the-box Windows client
7854 installations. This does mean that either (a) a samba account
7855 must be created for each user, or (b) 'encrypt passwords = no'
7856 must be explicitly defined in smb.conf.
7858 2) Inclusion of new 'security = ads' option for integration
7859 with an Active Directory domain using the native Windows
7860 Kerberos 5 and LDAP protocols.
7862 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
7863 type which is neccessary for servers on which the
7864 administrator password has not been changed, or Kerberos-enabled
7865 SMB connections to servers that require Kerberos SMB signing.
7866 Besides this one difference, either MIT or Heimdal Kerberos
7867 distributions are usable by Samba 3.0.
7870 Samba 3.0 also includes the possibility of setting up chains
7871 of authentication methods (auth methods) and account storage
7872 backends (passdb backend). Please refer to the smb.conf(5)
7873 man page for details. While both parameters assume sane default
7874 values, it is likely that you will need to understand what the
7875 values actually mean in order to ensure Samba operates correctly.
7877 The recommended passdb backends at this time are
7879 * smbpasswd - 2.2 compatible flat file format
7880 * tdbsam - attribute rich database intended as an smbpasswd
7881 replacement for stand alone servers
7882 * ldapsam - attribute rich account storage and retrieval
7883 backend utilizing an LDAP directory.
7884 * ldapsam_compat - a 2.2 backward compatible LDAP account
7887 Certain functions of the smbpasswd(8) tool have been split between the
7888 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
7889 utility. See the respective man pages for details.
7892 ######################################################################
7896 This section outlines the new features affecting Samba / LDAP
7902 A new object class (sambaSamAccount) has been introduced to replace
7903 the old sambaAccount. This change aids us in the renaming of
7904 attributes to prevent clashes with attributes from other vendors.
7905 There is a conversion script (examples/LDAP/convertSambaAccount) to
7906 modify and LDIF file to the new schema.
7910 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
7911 $ convertSambaAccount --sid=<Domain SID> \
7912 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
7913 --changetype=[modify|add]
7915 The <DOM SID> can be obtained by running 'net getlocalsid
7916 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
7917 the format of the generated LDIF output--either create new entries
7918 or modify existing entries.
7920 The old sambaAccount schema may still be used by specifying the
7921 "ldapsam_compat" passdb backend. However, the sambaAccount and
7922 associated attributes have been moved to the historical section of
7923 the schema file and must be uncommented before use if needed.
7924 The 2.2 object class declaration for a sambaAccount has not changed
7925 in the 3.0 samba.schema file.
7927 Other new object classes and their uses include:
7929 * sambaDomain - domain information used to allocate rids
7930 for users and groups as necessary. The attributes are added
7931 in 'ldap suffix' directory entry automatically if
7932 an idmap uid/gid range has been set and the 'ldapsam'
7933 passdb backend has been selected.
7935 * sambaGroupMapping - an object representing the
7936 relationship between a posixGroup and a Windows
7937 group/SID. These entries are stored in the 'ldap
7938 group suffix' and managed by the 'net groupmap' command.
7940 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
7941 automatically and contains the next available 'idmap uid' and
7944 * sambaIdmapEntry - object storing a mapping between a
7945 SID and a UNIX uid/gid. These objects are created by the
7946 idmap_ldap module as needed.
7948 * sambaSidEntry - object representing a SID alone, as a Structural
7949 class on which to build the sambaIdmapEntry.
7952 New Suffix for Searching
7953 ------------------------
7955 The following new smb.conf parameters have been added to aid in directing
7956 certain LDAP queries when 'passdb backend = ldapsam://...' has been
7959 * ldap suffix - used to search for user and computer accounts
7960 * ldap user suffix - used to store user accounts
7961 * ldap machine suffix - used to store machine trust accounts
7962 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
7963 * ldap idmap suffix - location of sambaIdmapEntry objects
7965 If an 'ldap suffix' is defined, it will be appended to all of the
7966 remaining sub-suffix parameters. In this case, the order of the suffix
7967 listings in smb.conf is important. Always place the 'ldap suffix' first
7970 Due to a limitation in Samba's smb.conf parsing, you should not surround
7971 the DN's with quotation marks.
7977 Samba 3.0 supports an ldap backend for the idmap subsystem. The
7978 following options would inform Samba that the idmap table should be
7979 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
7984 idmap backend = ldap:ldap://onterose/
7985 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
7986 idmap uid = 40000-50000
7987 idmap gid = 40000-50000
7989 This configuration allows winbind installations on multiple servers to
7990 share a uid/gid number space, thus avoiding the interoperability problems
7991 with NFS that were present in Samba 2.2.
7995 ######################################################################
7996 Trust Relationships and a Samba Domain
7997 ######################################
7999 Samba 3.0.0beta2 is able to utilize winbindd as the means of
8000 allocating uids and gids to trusted users and groups. More
8001 information regarding Samba's support for establishing trust
8002 relationships can be found in the Samba-HOWTO-Collection included
8003 in the docs/ directory of this release.
8005 First create your Samba PDC and ensure that everything is
8006 working correctly before moving on the trusts.
8008 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
8009 4.0 domain named WINDOWS:
8011 1) create the trust account for SAMBA in "User Manager for Domains"
8012 2) connect the trust from the Samba domain using
8013 'net rpc trustdom establish GLASS'
8015 To create a trustlationship with SAMBA as the trusted domain:
8017 1) create the initial trust account for GLASS using
8018 'smbpasswd -a -i GLASS'. You may need to create a UNIX
8019 account for GLASS$ prior to this step (depending on your
8020 local configuration).
8021 2) connect the trust from a WINDOWS DC using "User Manager
8024 Now join winbindd on the Samba PDC to the SAMBA domain using
8025 the normal steps for adding a Samba server to an NT4 domain:
8026 (note that smbd & nmbd must be running at this point)
8028 root# net rpc join -U root
8029 Password: <enter root password from smbpasswd file here>
8031 Start winbindd and test the join with 'wbinfo -t'.
8033 Now test the trust relationship by connecting to the SAMBA DC
8034 (e.g. POGO) as a user from the WINDOWS domain:
8036 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
8039 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
8041 $ smbclient //crystal/netlogon -U root -W WINDOWS
8044 ######################################################################
8048 Beginning with Samba3.0.0beta3, winbindd has been given new account
8049 manage functionality equivalent to the 'add user script' family of
8050 smb.conf parameters. The idmap design has also been changed to
8051 centralize control of foreign SID lookups and matching to UNIX
8055 Brief Description of Changes
8056 ----------------------------
8058 1) The sid_to_uid() family of functions (smbd/uid.c) have been
8059 reverted to the 2.2.x design. This means that when resolving a
8060 SID to a UID or similar mapping:
8062 a) First consult winbindd
8063 b) perform a local lookup only if winbindd fails to
8064 return a successful answer
8066 There are some variations to this, but these two rules generally
8069 2) All idmap lookups have been moved into winbindd. This means that
8070 a server must run winbindd (and support NSS) in order to achieve
8071 any mappings of SID to dynamically allocated UNIX ids. This was
8072 a conscious design choice.
8074 3) (OBSOLETE) New functions have been added to winbindd to emulate
8075 the 'add user script' family of smbd functions without requiring
8076 that external scripts be defined. This functionality is controlled
8077 by the 'winbind enable local accounts' smb.conf parameter (enabled
8080 However, this account management functionality is only supported
8081 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
8082 must be shared among multiple Samba servers (such as a PDC and BDCs),
8083 it will be necessary to define your own 'add user script', et. al.
8084 programs that place the accounts/groups in some form of directory
8085 such as NIS or LDAP. This requirement was deemed beyond the scope
8086 of winbind's account management functions. Solutions for
8087 distributing UNIX system information have been deployed and tested
8088 for many years. We saw no need to reinvent the wheel.
8090 4) A member of a Samba controlled domain running winbindd is now able
8091 to map domain users directly onto existing UNIX accounts while still
8092 automatically creating accounts for trusted users and groups. This
8093 behavior is controlled by the 'winbind trusted domains only' smb.conf
8094 parameter (disabled by default to provide 2.2.x winbind behavior).
8096 5) Group mapping support is wrapped in the local_XX_to_XX() functions
8097 in smbd/uid.c. The reason that group mappings are not included
8098 in winbindd is because the purpose of Samba's group map is to
8099 match any Windows SID with an existing UNIX group. These UNIX
8100 groups can be created by winbindd (see next section), but the
8101 SID<->gid mapping is retreived by smbd, not winbindd.
8107 * security = server running winbindd to allocate accounts on demand
8109 * Samba PDC running winbindd to handle the automatic creation of UNIX
8110 identities for machine trust accounts
8112 * Automtically creating UNIX user and groups when migrating a Windows NT
8113 4.0 PDC to a Samba PDC. Winbindd must be running when executing
8114 'net rpc vampire' for this to work.
8117 ######################################################################
8121 * There are several bugs currently logged against the 3.0 codebase
8122 that affect the use of NT 4.0 GUI domain management tools when run
8123 against a Samba 3.0 PDC. This bugs should be released in an early
8126 Please refer to https://bugzilla.samba.org/ for a current list of bugs
8127 filed against the Samba 3.0 codebase.
8130 ######################################################################
8131 Reporting bugs & Development Discussion
8132 #######################################
8134 Please discuss this release on the samba-technical mailing list or by
8135 joining the #samba-technical IRC channel on irc.freenode.net.
8137 If you do report problems then please try to send high quality
8138 feedback. If you don't provide vital information to help us track down
8139 the problem then you will probably be ignored.
8141 A new bugzilla installation has been established to help support the
8142 Samba 3.0 community of users. This server, located at
8143 https://bugzilla.samba.org/, has replaced the older jitterbug server
8144 previously located at http://bugs.samba.org/.