Hi all, I just released Samba 2.0.7pre3, available from : ftp://samba.org/pub/samba/alpha/samba-2.0.7pre3.tar.gz This is the third snapshot of the code that should become the official Samba 2.0.7 and is feature complete (ie. I'm only going to accept bug fixes, not more features). This is *not* production code, but should work well as a file and print server, and contains fixes for all known Windows 2000 bugs - two more discovered since 2.0.7pre2. Please download and test this code and report back any problems to samba@samba.org. Your help in this will make the official Samba 2.0.7 release better for everyone. NOTE FOR PACKAGE MAINTAINERS ---------------------------- I have fixed the packaging for the RedHat rpm's as far as I know - so if people would test this I'd be grateful. Also, if other packaging maintainers could look at their versions of the packaging and send me fixes that would be good. Note that I will just apply these as sent as I cannot easily test most of them. The extra files that need to be installed are the make_unicodemap man pages and binaries, the "Using Samba" html and gif files, (yes I know gifs are evil, sorry, we're working on that :-) and the unicode map binary files. The final things left to do before official 2.0.7 release are : (1) Fix any reported bugs in this release (2) Get "Using Samba" updates for 2.0.7. (3) Update the packaging code for systems other than RPM based systems. So official release is "close" - please download and test this code. To everyone who contributed patches, many thinks, and please download and test this code to ensure that the functionality you wanted has been correctly implemented in the code. The updated part of the WHATSNEW.txt file follows. Regards, Jeremy Allison, Samba Team. ------------------------------------------------------------------- WHATS NEW IN Samba 2.0.7-pre3 ============================ This is the latest stable release of Samba. This is the version that all production Samba servers should be running for all current bug-fixes. TODO Before Official 2.0.7 release ---------------------------------- Update "Using Samba" html to match 2.0.7 code. Update packaging code to include all new files. New Documentation in 2.0.7 -------------------------- O'Reilly and Associates have donated their book "Using Samba" to the Samba community to be updated in a collaberative way along with the Samba software. Starting with this release the html of "Using Samba" will be distributed with the Samba software as the online documentation for Samba. Bug fixes for the book are encouraged as is new material. Please help us make this documentation the best it can be for Samba ! SWAT (Samba Web Administration Tool) has been updated to add a link to the full text of "Using Samba" from the start screen. Note that this does not mean that the other documentation (man pages especially) are being abandoned. The Samba Team is still committed to updating and improving *all* the documentation shipped with Samba. Also, as the source code for the book is moved into a more manageable format (not raw HTML) we are committed to making it available for editing by all interested parties. The current situation of only shipping HTML with the Samba software is a first attempt at getting this documentation integrated with the Samba software and should not be regarded as the only way in which this material will be made available (it was just the quickest way to get the book integrated into 2.0.7 :-). Windows 2000 Issues ------------------- This version of Samba has been tested with Windows 2000 and the five known incompatibilities with Windows 2000 have been fixed. See the "Changes in 2.0.7" list below for details. New/Changed parameters in 2.0.7 ------------------------------- There is a new option to the autoconf "./configure" script. This is the "--with-utmp" (and attendant "--without-utmp") option. Running configure with this option will cause smbd to attempt to use utmp accounting for users who log on and log off to the Samba server. There are 5 new parameters in the smb.conf file. ump utmp dir These two parameters are only available if the "--with-utmp" option was selected at configure time. The yes/no option "utmp" specifies whether utmp records should be recorded on user logon/logoff. It defaults to "no". The "utmp dir" (which also has a synonym of "utmp directory") parameter is a string parameter specifying a pathname to the directory containing the utmp file databases. This defaults to "" (the empty string). See the smb.conf man page for more details. inherit permissions This boolean parameter causes newly created files and directories to inherit their initial permissions from their parent directory. This can be very useful in propagating such things as the set-group bit in directory heirarchies. See the smb.conf man page for more details. write cache size This integer parameter specifies (in bytes) the size of a user level per-file write cache that smbd will create for an oplocked file. This can improve performance significantly for writing files by causing writes to be done in large chunk sizes. If this parameter is set (it defaults to zero which means no write cache) to the stripe size of a raid volume then it will cause writes to be much more efficient. Up to 10 write caches can be active simultaneously per smbd (allocated for the first 10 oplocked file opens). All normal warnings about the dangers of user level caching of data apply. See the smb.conf man page for more details. source environment This pathname parameter causes Samba to read a list of environment variables from a named file on startup. This can be useful in setting up Samba in a clustered environment. See the smb.conf man page for more details. The default setting of the "level2 oplocks" parameter has changed from False to True in this release. Ability to delete users added ----------------------------- SWAT and smbpasswd can now delete users from the Samba smbpasswd file. See the man page for smbpasswd for details. Roving profile behavior finalized --------------------------------- The change in behavior with roving profiles (using the "logon home" parameter instead of the "logon path" parameter) introduced in 2.0.6 has been discovered to be consistant with the way Windows NT behaves, and has been left as the default action. Please see the additional notes in the "logon home" parameter description in the smb.conf man page for more details. Changes in 2.0.7 ----------------- 1). Fix for the semaphore promblems when compiling Samba with gcc on SGI IRIX 6.5.x. 2). Quota support for Veritas filesystem added by David Lee. 3). Incoming RPC code re-written to support multiple PDU input from the client. This should make the RPC subsystem more robust. 4). Fix from Ying Chen @ IBM to inline many frequently called functions. This decreased CPU usage by 10%. 5). Fix from Ying Chen @ IBM to use a hash table to lookup entries in the file cache. This is a significant improvement over the old linked-list lookup code. 6). smbclient issues with native language support fixed. smbclient now uses UNIX filename character sets exclusively when communicating with libsmb library. 7). smbclient fix to not print error messages when "putting" an empty file. 8). smbclient fix to cope with spaces in filenames when recursing. 9). Improved error reporting in smbclient when getting browse lists. 10). NetBIOS "scope" now supported in all Samba code/tools. 11). New mapping from code page 850 to UNIX "roman8" character set. 12). Fix for crash bug if debug file handle couldn't be opened. 13). Fix to allow mkdir to correctly set the high order permissions bits for UNIX's that don't allow this by default. 14). Fix to dynamically allocate group array for setgroups. Don't depend on NGROUPS_MAX being correctly defined in header files. 15). Fix for crash bug in floating point in snprintf. 16). "Safe" version of popen() included to allow use in code such as "source environment" patch. 17). Fix for SWAT for trailing '\n' in asctime(). 18). Wildcard match fix from weidel@multichart.de for NT wildcard processing. 19). unix_mask_match fixes for "veto files" parameter. 20). Fix for system call bug when configuring on Linux kernel 2.0.x with glibc2.1.x. 21). SO_REUSEPORT socket option added for HPUX. 22). All recv() calls changed back to read() to fix Solaris 2.5.x bug. 23). Some UNICODE conversion fixes. Not complete yet. 24). NetShareEnum fix for Windows 2000. Don't ask for 64K as Win2k can't cope with this (returns "Out of memory" error). 25). Fixes for cli_error() crashes. 26). Fix for crash when connecting to password server by DNS name not NetBIOS name. 27). Fix bug in demangling of compacted NetBIOS names. 28). Fixes for slow locking code for VMS. 29). Reply to short NetLogon packet in nmbd with short reply. 30). Correctly allign userdata to prevent crashes in nmbd. 31). Use talloc() in string buffer rotation code to prevent overwrites. 32). Added multi-byte awareness to parameter loading code. 33). Re-wrote password file modification code. We can now delete users atomically. Original patch from Bruce Tenison. 34). Fixed bug in parsing smbpasswd type entries. 35). Fixes from HP to the windows registry RPC emulation. 36). Added ability to return RPC fault PDU to unknown calls. Needed to allow Windows 2000 to return UNIX permissions as NT ACLs. 37). utmp code patch from T.D.Lee@durham.ac.uk. Not available on all platforms - test with ./configure. 38). Inherit permissions fix from David Lee. 39). Added write caching code for oplocked files. 40). Workaround for new bug in Windows 2000 where NT file create using NTtransact call sends UNICODE without bothering to set the UNICODE flag bit. 41). Workaround for new bug in Windows 2000 where it attempts to re-write existing ACLs to make them inherit only. 42). Removed unused mmap code. 43). Added correct implementation of share mode deny table. We now match Windows NT. 44). Fix recursion bug with group enumeration. 45). Fix from Bjart Kvarme to take into account changed machine passwords that haven't yet propagated from PDC to BDC. 46). Correctly skip two byte length field when accepting RPC "start of message" packets in SMBwriteX on pipes. 47). Added auto-detection of Windows 2000 clients. 48). Fix bug with rollback of POSIX locks if a lock in a range fails to apply. 49). Fix bug with registering startup smbd's in flat file. 50). Ensure usernames are converted correctly between DOS codepages and UNIX character sets. 51). Fix for timestamps being set incorrectly on copied files from Paul Eggert. 52). Fix for parsing HP specific printer definitions in make_printerdef. 53). Fix for smbclient doing an 'ls' on large directories from OS/2 servers from Christoph Pfisterer. 54). Fix for WINS server code where "do you still want name?" request was being sent to the wrong IP address. 55). Fixed "recursion desired" bits set in nmbd so we are identical to Windows NT. 56). nmbd now should process logon packets from Win95, Win98 and both versions of the NT logon packet. 57). Correctly set parameter offset value for first trans2 reply. 58). Win2K will only accept volume labels in UNICODE. 59). Ensure nmbd doesn't attempt to use the loopback interface when registering names. ------------------------------------------------------------------- -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------
Yo! yikes, i have a problem. --with-smbwrapper and --with-dfs bails out on compile. i'm doing a compile on mandrake 6.0. if you like, i can mail you what's wrong since this is a reproducable problem. :/ well, i tried compiling without those options and then it compiled ok, but then when i tried to add domain when my ppp0 interface is up, the nt box tells me that it fails with error that it canot update local security? it's funny that this shold happen. i'm doing a compile on gcc/egcs, glibc 2.1.2 btw. Geoff.> -----Original Message----- > From: samba-ntdom@samba.org [mailto:samba-ntdom@samba.org]On Behalf Of > Jeremy Allison > Sent: Saturday, April 01, 2000 3:10 PM > To: Multiple recipients of list SAMBA-NTDOM > Subject: Samba 2.0.7pre3 snapshot released. > > > Hi all, > > I just released Samba 2.0.7pre3, available from : > > ftp://samba.org/pub/samba/alpha/samba-2.0.7pre3.tar.gz > > This is the third snapshot of the code that should become > the official Samba 2.0.7 and is feature complete (ie. I'm > only going to accept bug fixes, not more features). > > This is *not* production code, but should work well as a > file and print server, and contains fixes for all known > Windows 2000 bugs - two more discovered since 2.0.7pre2. > > Please download and test this code and report back any > problems to samba@samba.org. Your help in this will make > the official Samba 2.0.7 release better for everyone. > > NOTE FOR PACKAGE MAINTAINERS > ---------------------------- > I have fixed the packaging for the RedHat rpm's as far > as I know - so if people would test this I'd be grateful. > Also, if other packaging maintainers could look at their > versions of the packaging and send me fixes that would be > good. Note that I will just apply these as sent as I cannot > easily test most of them. The extra files that need to be > installed are the make_unicodemap man pages and binaries, > the "Using Samba" html and gif files, (yes I know gifs are > evil, sorry, we're working on that :-) and the unicode map > binary files. > > The final things left to do before official 2.0.7 release > are : > > (1) Fix any reported bugs in this release > (2) Get "Using Samba" updates for 2.0.7. > (3) Update the packaging code for systems other than RPM > based systems. > > So official release is "close" - please download and > test this code. > > To everyone who contributed patches, many thinks, and > please download and test this code to ensure that the > functionality you wanted has been correctly implemented > in the code. > > The updated part of the WHATSNEW.txt file follows. > > Regards, > > Jeremy Allison, > Samba Team. > > ------------------------------------------------------------------- > WHATS NEW IN Samba 2.0.7-pre3 > ============================> > This is the latest stable release of Samba. This is the > version that all production Samba servers should be running > for all current bug-fixes. > > TODO Before Official 2.0.7 release > ---------------------------------- > > Update "Using Samba" html to match 2.0.7 code. > Update packaging code to include all new files. > > New Documentation in 2.0.7 > -------------------------- > > O'Reilly and Associates have donated their book "Using Samba" > to the Samba community to be updated in a collaberative way > along with the Samba software. Starting with this release the > html of "Using Samba" will be distributed with the Samba software > as the online documentation for Samba. Bug fixes for the book > are encouraged as is new material. Please help us make this > documentation the best it can be for Samba ! > > SWAT (Samba Web Administration Tool) has been updated to > add a link to the full text of "Using Samba" from the start > screen. > > Note that this does not mean that the other documentation > (man pages especially) are being abandoned. The Samba Team > is still committed to updating and improving *all* the > documentation shipped with Samba. > > Also, as the source code for the book is moved into a more > manageable format (not raw HTML) we are committed to making > it available for editing by all interested parties. The > current situation of only shipping HTML with the Samba software > is a first attempt at getting this documentation integrated > with the Samba software and should not be regarded as the only > way in which this material will be made available (it was just > the quickest way to get the book integrated into 2.0.7 :-). > > Windows 2000 Issues > ------------------- > > This version of Samba has been tested with Windows 2000 and > the five known incompatibilities with Windows 2000 have been > fixed. See the "Changes in 2.0.7" list below for details. > > New/Changed parameters in 2.0.7 > ------------------------------- > > There is a new option to the autoconf "./configure" script. > This is the "--with-utmp" (and attendant "--without-utmp") > option. Running configure with this option will cause smbd > to attempt to use utmp accounting for users who log on and > log off to the Samba server. > > There are 5 new parameters in the smb.conf file. > > ump > utmp dir > > These two parameters are only available if the "--with-utmp" > option was selected at configure time. The yes/no option "utmp" > specifies whether utmp records should be recorded on user > logon/logoff. It defaults to "no". The "utmp dir" (which > also has a synonym of "utmp directory") parameter is a > string parameter specifying a pathname to the directory containing > the utmp file databases. This defaults to "" (the empty string). > See the smb.conf man page for more details. > > inherit permissions > > This boolean parameter causes newly created files and directories > to inherit their initial permissions from their parent directory. > This can be very useful in propagating such things as the set-group > bit in directory heirarchies. See the smb.conf man page for more > details. > > write cache size > > This integer parameter specifies (in bytes) the size of a user level > per-file write cache that smbd will create for an oplocked file. This > can improve performance significantly for writing files by causing > writes to be done in large chunk sizes. If this parameter is set (it > defaults to zero which means no write cache) to the stripe size of > a raid volume then it will cause writes to be much more efficient. > Up to 10 write caches can be active simultaneously per smbd (allocated > for the first 10 oplocked file opens). All normal warnings about the > dangers of user level caching of data apply. See the smb.conf man page > for more details. > > source environment > > This pathname parameter causes Samba to read a list of environment > variables from a named file on startup. This can be useful in setting > up Samba in a clustered environment. See the smb.conf man page for more > details. > > The default setting of the "level2 oplocks" parameter has changed from > False to True in this release. > > Ability to delete users added > ----------------------------- > > SWAT and smbpasswd can now delete users from the Samba smbpasswd file. > See the man page for smbpasswd for details. > > Roving profile behavior finalized > --------------------------------- > > The change in behavior with roving profiles (using the "logon home" > parameter instead of the "logon path" parameter) introduced in 2.0.6 > has been discovered to be consistant with the way Windows NT behaves, > and has been left as the default action. Please see the additional > notes in the "logon home" parameter description in the smb.conf man > page for more details. > > Changes in 2.0.7 > ----------------- > > 1). Fix for the semaphore promblems when compiling Samba with gcc on > SGI IRIX 6.5.x. > 2). Quota support for Veritas filesystem added by David Lee. > 3). Incoming RPC code re-written to support multiple PDU input from > the client. This should make the RPC subsystem more robust. > 4). Fix from Ying Chen @ IBM to inline many frequently called > functions. This > decreased CPU usage by 10%. > 5). Fix from Ying Chen @ IBM to use a hash table to lookup > entries in the file > cache. This is a significant improvement over the old linked-list > lookup code. > 6). smbclient issues with native language support fixed. smbclient > now uses UNIX filename character sets exclusively when communicating > with libsmb library. > 7). smbclient fix to not print error messages when "putting" an > empty file. > 8). smbclient fix to cope with spaces in filenames when recursing. > 9). Improved error reporting in smbclient when getting browse lists. > 10). NetBIOS "scope" now supported in all Samba code/tools. > 11). New mapping from code page 850 to UNIX "roman8" character set. > 12). Fix for crash bug if debug file handle couldn't be opened. > 13). Fix to allow mkdir to correctly set the high order permissions > bits for UNIX's that don't allow this by default. > 14). Fix to dynamically allocate group array for setgroups. Don't > depend on NGROUPS_MAX being correctly defined in header files. > 15). Fix for crash bug in floating point in snprintf. > 16). "Safe" version of popen() included to allow use in code such > as "source environment" patch. > 17). Fix for SWAT for trailing '\n' in asctime(). > 18). Wildcard match fix from weidel@multichart.de for NT wildcard > processing. > 19). unix_mask_match fixes for "veto files" parameter. > 20). Fix for system call bug when configuring on Linux kernel 2.0.x > with glibc2.1.x. > 21). SO_REUSEPORT socket option added for HPUX. > 22). All recv() calls changed back to read() to fix Solaris 2.5.x bug. > 23). Some UNICODE conversion fixes. Not complete yet. > 24). NetShareEnum fix for Windows 2000. Don't ask for 64K as Win2k > can't cope with this (returns "Out of memory" error). > 25). Fixes for cli_error() crashes. > 26). Fix for crash when connecting to password server by DNS name > not NetBIOS name. > 27). Fix bug in demangling of compacted NetBIOS names. > 28). Fixes for slow locking code for VMS. > 29). Reply to short NetLogon packet in nmbd with short reply. > 30). Correctly allign userdata to prevent crashes in nmbd. > 31). Use talloc() in string buffer rotation code to prevent overwrites. > 32). Added multi-byte awareness to parameter loading code. > 33). Re-wrote password file modification code. We can now delete users > atomically. Original patch from Bruce Tenison. > 34). Fixed bug in parsing smbpasswd type entries. > 35). Fixes from HP to the windows registry RPC emulation. > 36). Added ability to return RPC fault PDU to unknown calls. Needed to > allow Windows 2000 to return UNIX permissions as NT ACLs. > 37). utmp code patch from T.D.Lee@durham.ac.uk. Not available on all > platforms - test with ./configure. > 38). Inherit permissions fix from David Lee. > 39). Added write caching code for oplocked files. > 40). Workaround for new bug in Windows 2000 where NT file create using > NTtransact call sends UNICODE without bothering to set the UNICODE flag > bit. > 41). Workaround for new bug in Windows 2000 where it attempts to re-write > existing ACLs to make them inherit only. > 42). Removed unused mmap code. > 43). Added correct implementation of share mode deny table. We now match > Windows NT. > 44). Fix recursion bug with group enumeration. > 45). Fix from Bjart Kvarme to take into account changed machine passwords > that haven't yet propagated from PDC to BDC. > 46). Correctly skip two byte length field when accepting RPC "start of > message" packets in SMBwriteX on pipes. > 47). Added auto-detection of Windows 2000 clients. > 48). Fix bug with rollback of POSIX locks if a lock in a range fails to > apply. > 49). Fix bug with registering startup smbd's in flat file. > 50). Ensure usernames are converted correctly between DOS codepages > and UNIX character sets. > 51). Fix for timestamps being set incorrectly on copied files from > Paul Eggert. > 52). Fix for parsing HP specific printer definitions in make_printerdef. > 53). Fix for smbclient doing an 'ls' on large directories from > OS/2 servers > from Christoph Pfisterer. > 54). Fix for WINS server code where "do you still want name?" request was > being sent to the wrong IP address. > 55). Fixed "recursion desired" bits set in nmbd so we are identical to > Windows NT. > 56). nmbd now should process logon packets from Win95, Win98 and both > versions of the NT logon packet. > 57). Correctly set parameter offset value for first trans2 reply. > 58). Win2K will only accept volume labels in UNICODE. > 59). Ensure nmbd doesn't attempt to use the loopback interface when > registering names. > ------------------------------------------------------------------- > > -- > -------------------------------------------------------- > Buying an operating system without source is like buying > a self-assembly Space Shuttle with no instructions. > -------------------------------------------------------- >
Hello, I found bug on mapping codepage 932 to unicode. A patch was up before in http://www.samba.org/cgi-bin/samba-patches/incoming?id=68 This is not fixed in pre3, yet. The problem is related to Codepage 932(Japanese). 1. convert from Unicode to CP932 is correct 2. convert form CP932 to Unicode is INCORRECT, because mapping from Unicode to CP932 is N:1 mapping. So, CP to Unicode is good, but in Unicode to CP we must decide whether code is correct. 3. In 2.0.7pre3, mapping of only 12 chars are incorrect. Thanks a lot to your efforts. -- MIURA, Hiroshi samba user group in JAPAN miura@samba.gr.jp, miura@blue.gr.jp
dennis wrote:> > Jeremy > > I was reading the list of fixes that are implemented in 2.0.7pre3. I > didn't > see any mention of a fix for file dates/times. > > I'm currently running 2.0.6 and had to apply a patch to fix the file > dates/times from changing when executing a copy from WNT4 to a samba > share. > > Did a fix get incorporated into 2.0.7pre(1-3)?? Or will I have to patch > it also?Check out the WHATSNEW.txt file for 2.0.7preX - item (51) is what you're looking for. 51). Fix for timestamps being set incorrectly on copied files from Paul Eggert. Regards, Jeremy Allison, Samba Team. -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------