svn commit: samba r5880 - in branches/SAMBA_3_0/source: . modules
Author: vlendec Date: 2005-03-18 13:13:38 + (Fri, 18 Mar 2005) New Revision: 5880 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5880 Log: From the comment * Implement a fixed mapping of forbidden NT characters in filenames that are * used a lot by the CAD package Catia. * * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people * out there. Catia V4 on AIX uses characters like *$ a *lot*, all forbidden * under Windows... Volker Added: branches/SAMBA_3_0/source/modules/vfs_catia.c Modified: branches/SAMBA_3_0/source/Makefile.in branches/SAMBA_3_0/source/configure.in Changeset: Sorry, the patch is too large (361 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5880
svn commit: samba r5881 - in trunk/source: . modules
Author: vlendec Date: 2005-03-18 13:14:37 + (Fri, 18 Mar 2005) New Revision: 5881 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5881 Log: From the comment * Implement a fixed mapping of forbidden NT characters in filenames that are * used a lot by the CAD package Catia. * * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people * out there. Catia V4 on AIX uses characters like *$ a *lot*, all forbidden * under Windows... Volker Added: trunk/source/modules/vfs_catia.c Modified: trunk/source/Makefile.in trunk/source/configure.in Changeset: Sorry, the patch is too large (361 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5881
svn commit: samba r5882 - in branches/SAMBA_3_0_RELEASE: .
Author: jerry Date: 2005-03-18 14:56:19 + (Fri, 18 Mar 2005) New Revision: 5882 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5882 Log: updating release notes Modified: branches/SAMBA_3_0_RELEASE/WHATSNEW.txt Changeset: Sorry, the patch is too large (796 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5882
svn commit: samba r5884 - in branches/SAMBA_3_0/packaging/RedHat: .
Author: jerry Date: 2005-03-18 15:58:47 + (Fri, 18 Mar 2005) New Revision: 5884 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5884 Log: require cups to build and install; remove restruction from winbindd.init to have 'idmap [g|u]id' range set in smb.conf Modified: branches/SAMBA_3_0/packaging/RedHat/samba.spec.tmpl branches/SAMBA_3_0/packaging/RedHat/winbind.init Changeset: Modified: branches/SAMBA_3_0/packaging/RedHat/samba.spec.tmpl === --- branches/SAMBA_3_0/packaging/RedHat/samba.spec.tmpl 2005-03-18 15:06:17 UTC (rev 5883) +++ branches/SAMBA_3_0/packaging/RedHat/samba.spec.tmpl 2005-03-18 15:58:47 UTC (rev 5884) @@ -16,8 +16,8 @@ Source999: filter-requires-samba_rh9.sh Packager: Gerald Carter [Samba-Team] [EMAIL PROTECTED] -Requires: pam openldap krb5-libs -BuildRequires: openldap-devel krb5-devel pam-devel +Requires: pam openldap krb5-libs cups +BuildRequires: openldap-devel krb5-devel pam-devel cups-devel Prereq: chkconfig fileutils /sbin/ldconfig Provides: samba = %{version} Obsoletes: samba-common, samba-client, samba-swat @@ -90,6 +90,7 @@ --with-fhs \ --with-quotas \ --with-smbmount \ + --enable-cups \ --with-pam \ --with-pam_smbpass \ --with-syslog \ Modified: branches/SAMBA_3_0/packaging/RedHat/winbind.init === --- branches/SAMBA_3_0/packaging/RedHat/winbind.init2005-03-18 15:06:17 UTC (rev 5883) +++ branches/SAMBA_3_0/packaging/RedHat/winbind.init2005-03-18 15:58:47 UTC (rev 5884) @@ -26,11 +26,8 @@ start() { echo -n Starting Winbind services: - RETVAL=1 - if [ `egrep -i '(idmap.*uid|winbind.*uid)' $CONFIG | egrep -v [\#\;]` ]; then - daemon winbindd - RETVAL=$? - fi + daemon winbindd + RETVAL=$? echo [ $RETVAL -eq 0 ] touch /var/lock/subsys/winbind || \ RETVAL=1 @@ -38,11 +35,8 @@ } stop() { echo -n Shutting down Winbind services: - RETVAL=1 - if [ `egrep -i '(idmap.*uid|winbind.*uid)' $CONFIG | egrep -v [\#\;]` ]; then - killproc winbindd - RETVAL=$? - fi + killproc winbindd + RETVAL=$? echo [ $RETVAL -eq 0 ] rm -f /var/lock/subsys/winbind return $RETVAL
svn commit: samba r5885 - in tags: .
Author: jerry Date: 2005-03-18 16:05:05 + (Fri, 18 Mar 2005) New Revision: 5885 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5885 Log: tagging 3.0.12 Added: tags/release-3-0-12/ Changeset: Copied: tags/release-3-0-12 (from rev 5884, branches/SAMBA_3_0_RELEASE)
svn commit: samba-docs r430 - in tags: .
Author: jerry Date: 2005-03-18 16:05:58 + (Fri, 18 Mar 2005) New Revision: 430 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=430 Log: tagging 3.0.12 Added: tags/release-3-0-12/ Changeset: Copied: tags/release-3-0-12 (from rev 429, trunk)
svn commit: samba-web r586 - in trunk/news/advocacy: .
Author: deryck Date: 2005-03-18 16:31:34 + (Fri, 18 Mar 2005) New Revision: 586 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=586 Log: Adding news item on the various reports regarding the EU rejecting MS's interoperability license. deryck Added: trunk/news/advocacy/eu_not_satisfied.html Changeset: Added: trunk/news/advocacy/eu_not_satisfied.html === --- trunk/news/advocacy/eu_not_satisfied.html 2005-03-17 15:45:29 UTC (rev 585) +++ trunk/news/advocacy/eu_not_satisfied.html 2005-03-18 16:31:34 UTC (rev 586) @@ -0,0 +1,25 @@ +h3a name=eu_not_satisfiedEU Not Satisfied With MS License/a/h3 + +div class=article +pa href=http://yro.slashdot.org/yro/05/03/18/1356203.shtml?tid=109tid=123;Everyone/a +a href=http://news.bbc.co.uk/1/hi/business/4360577.stm;isa +a href=http://www.kansascity.com/mld/kansascity/business/11169986.htm;reporting/a +on this, but since Samba and our very own Jeremy Allison get mentioned in +a href=http://news.zdnet.co.uk/0,39020330,39191837,00.htm;this +article/a by a href=http://www.zdnet.co.uk/;ZDNet UK/a, we'll +mention it, too. The European Commission is not satisfied with Microsoft's +attempts to comply with the EC's order to open up Window's server +protocols. MS proposed a licensing scheme which would provide access +to protocol information for a fee./p + +blockquoteThe server interoperability licence proposed by Microsoft +treats open source vendors unfairly and has unreasonably high royalties, +according to the EC./blockquote + +pFor the full story, see +a href=http://news.zdnet.co.uk/0,39020330,39191837,00.htm;EU rejects +Microsoft's licence offer/a. And here's the +a href=http://news.zdnet.co.uk/software/applications/0,39020384,39186884,00.htm;original article with Jeremy/a that is referenced./p +/div + +
svn commit: samba-docs r431 - in trunk/smbdotconf: logon security
Author: jerry Date: 2005-03-18 16:53:46 + (Fri, 18 Mar 2005) New Revision: 431 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=431 Log: correct '[abort] shutdown script' explanation (has been in 3.0.x for a while now). add basic description of 'inherit owner' parameter (jra, feel free to add more to this for describing the drop-box scenario). Added: trunk/smbdotconf/security/inheritowner.xml Modified: trunk/smbdotconf/logon/abortshutdownscript.xml trunk/smbdotconf/logon/shutdownscript.xml Changeset: Modified: trunk/smbdotconf/logon/abortshutdownscript.xml === --- trunk/smbdotconf/logon/abortshutdownscript.xml 2005-03-18 16:05:58 UTC (rev 430) +++ trunk/smbdotconf/logon/abortshutdownscript.xml 2005-03-18 16:53:46 UTC (rev 431) @@ -1,16 +1,16 @@ samba:parameter name=abort shutdown script context=G advanced=1 developer=1 -type=string +type=string xmlns:samba=http://www.samba.org/samba/DTD/samba-doc; description - paraemphasisThis parameter only exists in the HEAD cvs branch/emphasis - This a full path name to a script called by citerefentryrefentrytitlesmbd/refentrytitle + paraThis a full path name to a script called by citerefentryrefentrytitlesmbd/refentrytitle manvolnum8/manvolnum/citerefentry that should stop a shutdown procedure issued by the link linkend=SHUTDOWNSCRIPT parameter moreinfo=noneshutdown script/parameter/link./para - paraThis command will be run as user./para + paraIf the connected user posseses the constantSeRemoteShutdownPrivilege/constant, + right, this command will be run as user./para /description value type=default/value value type=example/sbin/shutdown -c/value Modified: trunk/smbdotconf/logon/shutdownscript.xml === --- trunk/smbdotconf/logon/shutdownscript.xml 2005-03-18 16:05:58 UTC (rev 430) +++ trunk/smbdotconf/logon/shutdownscript.xml 2005-03-18 16:53:46 UTC (rev 431) @@ -1,20 +1,22 @@ samba:parameter name=shutdown script context=G -type=string +type=string advanced=1 developer=1 xmlns:samba=http://www.samba.org/samba/DTD/samba-doc; description - paraemphasisThis parameter only exists in the HEAD cvs branch/emphasis - This a full path name to a script called by citerefentryrefentrytitlesmbd/refentrytitle -manvolnum8/manvolnum/citerefentry that should start a shutdown procedure./para + paraThis a full path name to a script called by + citerefentryrefentrytitlesmbd/refentrytitle +manvolnum8/manvolnum/citerefentry that should + start a shutdown procedure./para - paraThis command will be run as the user connected to the server./para + paraIf the connected user posseses the constantSeRemoteShutdownPrivilege/constant, + right, this command will be run as user./para - para%m %t %r %f parameters are expanded:/para + paraThe %z %t %r %f variables are expanded as follows:/para itemizedlist listitem - paraparameter moreinfo=none%m/parameter will be substituted with the + paraparameter moreinfo=none%z/parameter will be substituted with the shutdown message sent to the server./para /listitem Added: trunk/smbdotconf/security/inheritowner.xml === --- trunk/smbdotconf/security/inheritowner.xml 2005-03-18 16:05:58 UTC (rev 430) +++ trunk/smbdotconf/security/inheritowner.xml 2005-03-18 16:53:46 UTC (rev 431) @@ -0,0 +1,21 @@ +samba:parameter name=inherit owner + context=S +type=boolean + xmlns:samba=http://www.samba.org/samba/DTD/samba-doc; +description + paraThe ownership of new files and directories + is normally governed by effective uid of the connected user. + This option allows the Samba administrator to specify that + the ownership for new files and directories should be controlled + by the ownership of the parent directory./para + + paraCommon scenarios where this behavior is useful is in + implementing drop-boxes where users can create and edit files but not + delete them and to ensure that newly create files in a user's + roaming profile directory are actually owner by the user./para +/description + +relatedinherit permissions/related + +value type=defaultno/value +/samba:parameter
svn commit: samba-docs r432 - in trunk/manpages: .
Author: jerry Date: 2005-03-18 18:07:01 + (Fri, 18 Mar 2005) New Revision: 432 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=432 Log: update %a values Modified: trunk/manpages/smb.conf.5.xml Changeset: Modified: trunk/manpages/smb.conf.5.xml === --- trunk/manpages/smb.conf.5.xml 2005-03-18 16:53:46 UTC (rev 431) +++ trunk/manpages/smb.conf.5.xml 2005-03-18 18:07:01 UTC (rev 432) @@ -379,12 +379,13 @@ varlistentry term%a/term listitemparathe architecture of the remote - machine. Only some are recognized, and those may not be - 100% reliable. It currently recognizes Samba, Windows for Workgroups, Windows 95, - Windows NT and Windows 2000. Anything else will be known as - quoteUNKNOWN/quote. If it gets it wrong sending a level - 3 log to ulink url=mailto:[EMAIL PROTECTED][EMAIL PROTECTED] - /ulink should allow it to be fixed./para/listitem + machine. It currently recognizes Samba (constantSamba/constant, + the Linux CIFS file system (constantCIFSFS/constant, OS/2, (constantOS2/constant), + Windows for Workgroups (constantWfWg/constant, Windows 9x/ME + (constantWin95/constant), Windows NT (constantWinNT/constant), + Windows 2000 (constantWin2K/constant), Windows XP (constantWinXP/constant), + and Windows 2003 (constantWin2K3/constant). Anything else will be known as + quoteUNKNOWN/quote./para /varlistentry varlistentry
svn commit: samba r5886 - in trunk/source/printing: .
Author: gd Date: 2005-03-18 21:35:43 + (Fri, 18 Mar 2005) New Revision: 5886 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5886 Log: Minor fixes for printerdb. Allows very basic use of the file-backend. Guenther Modified: trunk/source/printing/printerdb.c trunk/source/printing/printerdb_file.c Changeset: Modified: trunk/source/printing/printerdb.c === --- trunk/source/printing/printerdb.c 2005-03-18 16:05:05 UTC (rev 5885) +++ trunk/source/printing/printerdb.c 2005-03-18 21:35:43 UTC (rev 5886) @@ -154,15 +154,22 @@ static BOOL printerdb_valid(struct printerdb_methods *printerdb, int tdb) { - time_t t = time(NULL); + time_t t; + if (lp_printerdb_cache_time() = 0) { + DEBUG(10,(printerdb_valid: tdb caching disabled\n)); + return False; + } + + t = time(NULL); + if (t printerdb-get_last_update(tdb) + lp_printerdb_cache_time()) { DEBUG(10,(printerdb_valid: printerdb still valid (%d %d)\n, (int)t, (int)printerdb-get_last_update(tdb) + lp_printerdb_cache_time())); return True; } - DEBUG(3,(printerdb_valid: cache expired, asking remote backend\n)); + DEBUG(10,(printerdb_valid: cache expired, asking remote backend\n)); return False; } Modified: trunk/source/printing/printerdb_file.c === --- trunk/source/printing/printerdb_file.c 2005-03-18 16:05:05 UTC (rev 5885) +++ trunk/source/printing/printerdb_file.c 2005-03-18 21:35:43 UTC (rev 5886) @@ -84,7 +84,7 @@ if (*num_files == 0) return False; - DEBUG(0,(found: %d files\n, *num_files)); + DEBUG(10,(found: %d files\n, *num_files)); return True; } @@ -330,7 +330,7 @@ if (ret != len) goto done; - DEBUG(0,(file_get_c_setprinter: will return %d\n, result)); + DEBUG(10,(file_get_c_setprinter: will return %d\n, result)); done: if (mem_ctx != NULL) @@ -817,7 +817,7 @@ result = sec_io_desc_buf(file_get_secdesc, secdesc_ctr, ps, 1) ? WERR_OK : WERR_NOMEM; - prs_mem_free(ps); + /* prs_mem_free(ps); */ return result; } @@ -959,12 +959,6 @@ len += unpack_values( info.data, buf+len, buflen-len ); - if (len != buflen) { - DEBUG(0,(len: %d != buflen %d\n, len, buflen)); - result = WERR_INVALID_PARAM; - goto done; - } - *info_ptr = (NT_PRINTER_INFO_LEVEL_2 *)memdup(info, sizeof(info)); done:
svn commit: samba r5887 - in trunk/source/printing: .
Author: gd Date: 2005-03-18 21:45:37 + (Fri, 18 Mar 2005) New Revision: 5887 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5887 Log: Fix tdb_del_driver() Guenther Modified: trunk/source/printing/printerdb_tdb.c Changeset: Modified: trunk/source/printing/printerdb_tdb.c === --- trunk/source/printing/printerdb_tdb.c 2005-03-18 21:35:43 UTC (rev 5886) +++ trunk/source/printing/printerdb_tdb.c 2005-03-18 21:45:37 UTC (rev 5887) @@ -870,7 +870,7 @@ TDB_DATAkbuf; /* delete the tdb data first */ - slprintf(key, sizeof(key)-1, %s/%s/%d/%s, DRIVERS_PREFIX, + slprintf(key, sizeof(key)-1, %s%s/%d/%s, DRIVERS_PREFIX, short_archi, version, drivername); DEBUG(5,(tdb_del_driver: key = [%s]\n, key));
svn commit: samba-web r587 - in trunk: . history
Author: jerry Date: 2005-03-18 22:03:20 + (Fri, 18 Mar 2005) New Revision: 587 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=587 Log: announcing 3.0.12 Added: trunk/history/samba-3.0.12.html Modified: trunk/header2.html trunk/index.html Changeset: Sorry, the patch is too large (4149 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=587
svn commit: samba-web r588 - in trunk/news/releases: .
Author: deryck Date: 2005-03-18 22:09:22 + (Fri, 18 Mar 2005) New Revision: 588 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=588 Log: Adding news item announcing 3.0.12. deryck Added: trunk/news/releases/3.0.12.html Changeset: Added: trunk/news/releases/3.0.12.html === --- trunk/news/releases/3.0.12.html 2005-03-18 22:03:20 UTC (rev 587) +++ trunk/news/releases/3.0.12.html 2005-03-18 22:09:22 UTC (rev 588) @@ -0,0 +1,19 @@ +h3a name=3.0.12Samba 3.0.12 Available for Download/a/h3 + +div class=article +pThis is the latest stable release of Samba. This is the version + that production Samba servers should be running for all current + bug-fixes. Please read about the important a + href=/samba/history/samba-3.0.12.htmlchanges in this + release/a./p + +pThe a href=/samba/ftp/samba-3.0.12.tar.gzSamba 3.0.12 + source code/a can be downloaded now. The a + href=/samba/ftp/samba-3.0.12.tar.ascGnuPG + signature for the emun/emcompressed tarball/a is also available. + Precompiled packages for various platforms are available in the + a href=/samba/ftp/Binary_Packages/Binary_Packages + download area/a./p +/div + +
svn commit: samba-web r589 - in trunk: . devel history
Author: deryck Date: 2005-03-18 22:14:13 + (Fri, 18 Mar 2005) New Revision: 589 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=589 Log: Updating latest stable release links throughout the site. Moving older release announcement to history and cleaning up older stuff on history. deryck Modified: trunk/devel/index.html trunk/history/index.html trunk/index.html Changeset: Modified: trunk/devel/index.html === --- trunk/devel/index.html 2005-03-18 22:09:22 UTC (rev 588) +++ trunk/devel/index.html 2005-03-18 22:14:13 UTC (rev 589) @@ -13,7 +13,7 @@ pAs of 4 April 2004, the Samba Team converted from CVS to Subversion for maintaining the Samba source code. All current development is done in a Subversion repository. All older code is in the original CVS tree; this would include 2.2.x versions of Samba, which are no longer in active development./p -pThe latest stable release is emSamba 3.0.11/em (a href=/samba/history/samba-3.0.11.htmlrelease notes/a and a href=/samba/download/download/a). The next major stable release will be emSamba 3.2/em. A release date has yet to be projected for 3.2, but it will be made available when the current development branch, Samba 3.1, becomes stable. Samba 4, an ambitious reworking of the Samba code, is being developed concurrently with Samba3./p +pThe latest stable release is emSamba 3.0.12/em (a href=/samba/history/samba-3.0.12.htmlrelease notes/a and a href=/samba/download/download/a). The next major stable release will be emSamba 3.2/em. A release date has yet to be projected for 3.2, but it will be made available when the current development branch, Samba 3.1, becomes stable. Samba 4, an ambitious reworking of the Samba code, is being developed concurrently with Samba3./p br / Modified: trunk/history/index.html === --- trunk/history/index.html2005-03-18 22:09:22 UTC (rev 588) +++ trunk/history/index.html2005-03-18 22:14:13 UTC (rev 589) @@ -6,8 +6,8 @@ div class=latest ul - liLatest Release mdash; a href=/samba/index.html#latestSamba 3.0.12rc1/a/li - liCurrent Stable Release mdash; a href=#stableSamba 3.0.11/a/li + liLatest Release mdash; a href=/samba/index.html#latestSamba 3.0.12/a/li + liCurrent Stable Release mdash; a href=/samba/index.html#latestSamba 3.0.12/a/li !-- Second link will point to #stable on this page when current release is a development release -- /ul /div @@ -16,6 +16,26 @@ h2Previous Release Announcments/h2 +h4a11 March 2005/a/h4 +p class=headlineSamba 3.0.12rc1 Available for Download/p + +pThis is a release candidate of the Samba 3.0.12 code base and is +provided for testing only. While close to the final stable release, +this snapshot is emnot/em intended for production servers. If all +goes well, this version (or something very similar) will become +the final 3.0.12 stable release. Full details are available in the +a href=/samba/ftp/rc/WHATSNEW-3-0-12rc1.txtRelease Notes/a. +/p + +pThe a href=/samba/ftp/rc/samba-3.0.12rc1.tar.gzSamba 3.0.12rc1 +source code/a can be downloaded now. The a +href=/samba/ftp/rc/samba-3.0.12rc1.tar.ascGnuPG +signature for the emun/emcompressed tarball/a is also available. +Precompiled packages for various platforms are available in the +a href=/samba/ftp/Binary_Packages/Binary_Packages +download area/a./p + + h4a25 February 2005/a/h4 p class=headlineSamba 3.0.12pre1 Available for Download/p @@ -241,20 +261,4 @@ has been posted./p -h4a30 September 2004/a/h4 -p class=headlineSecurity Notice -- CVE CAN-2004-0815/p - -pA security vulnerability has been located in Samba 2.2.x lt;= 2.2.11 -and Samba 3.0.x lt;= 3.0.5. A remote attacker may be able to gain -access to files which exist outside of the share's defined path. Such -files must still be readable by the account used for the connection./p - -pa href=/samba/ftp/samba-2.2.12.tar.gzSamba 2.2.12/a (a href=/samba/ftp/samba-2.2.12.tar.ascsignature/a) -has been released to address this issue in the 2.2.x release series. A -a href=/samba/ftp/patches/security/samba-3.0.5-reduce_name.patchpatch -for Samba 3.0.5 and earlier/a -(a href=/samba/ftp/patches/security/samba-3.0.5-reduce_name.patch.ascsignature/a) -is available as well./p - - !--#include virtual=footer_history.html -- Modified: trunk/index.html === --- trunk/index.html2005-03-18 22:09:22 UTC (rev 588) +++ trunk/index.html2005-03-18 22:14:13 UTC (rev 589) @@ -34,25 +34,6 @@ a href=/samba/ftp/Binary_Packages/Binary_Packages download area/a./p -h4a11 March 2005/a/h4 -p class=headlineSamba 3.0.12rc1 Available for Download/p - -pThis is a release candidate of the Samba 3.0.12 code base and is - provided for testing only.
svn commit: samba-web r590 - in trunk: .
Author: jerry Date: 2005-03-18 22:23:36 + (Fri, 18 Mar 2005) New Revision: 590 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=590 Log: adding note about BitTorrent access to 3.0.12 Modified: trunk/index.html Changeset: Modified: trunk/index.html === --- trunk/index.html2005-03-18 22:14:13 UTC (rev 589) +++ trunk/index.html2005-03-18 22:23:36 UTC (rev 590) @@ -33,6 +33,12 @@ Precompiled packages for various platforms are available in the a href=/samba/ftp/Binary_Packages/Binary_Packages download area/a./p + +pSamba 3.0.12 is also available via BitTorrent + (a href=/samba/ftp/samba-3.0.12.tar.gz.torrentsamba-3.0.12.tar.gz.torrent/a). Note + that when downloading via BitTorrent, you are encouraged + to verify the resulting uncompressed tarball's + a href=/samba/ftp/samba-3.0.12.tar.ascGPG signature/a./p div class=plugs a href=/samba/team/tshirt.htmlimg src=/samba/images/t-small.jpg
svn commit: samba r5888 - in branches/SAMBA_3_0/source/utils: .
Author: herb Date: 2005-03-18 22:31:44 + (Fri, 18 Mar 2005) New Revision: 5888 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5888 Log: fix incorrect test - don't print anything if user is not in any groups Modified: branches/SAMBA_3_0/source/utils/net_rpc.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_rpc.c === --- branches/SAMBA_3_0/source/utils/net_rpc.c 2005-03-18 21:45:37 UTC (rev 5887) +++ branches/SAMBA_3_0/source/utils/net_rpc.c 2005-03-18 22:31:44 UTC (rev 5888) @@ -1009,7 +1009,7 @@ /* Look up rids */ - if (rids) { + if (num_rids) { rids = TALLOC_ARRAY(mem_ctx, uint32, num_rids); for (i = 0; i num_rids; i++) @@ -1028,9 +1028,6 @@ for (i = 0; i num_names; i++) printf(%s\n, names[i]); } - else { - printf(no groups\n); - } done: return result; }
svn commit: samba r5889 - in trunk/source/utils: .
Author: herb Date: 2005-03-18 22:39:41 + (Fri, 18 Mar 2005) New Revision: 5889 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5889 Log: fix incorrect test and don't print anything if user is not in any groups Modified: trunk/source/utils/net_rpc.c Changeset: Modified: trunk/source/utils/net_rpc.c === --- trunk/source/utils/net_rpc.c2005-03-18 22:31:44 UTC (rev 5888) +++ trunk/source/utils/net_rpc.c2005-03-18 22:39:41 UTC (rev 5889) @@ -1009,7 +1009,7 @@ /* Look up rids */ - if (rids) { + if (num_rids) { rids = TALLOC_ARRAY(mem_ctx, uint32, num_rids); for (i = 0; i num_rids; i++) @@ -1028,9 +1028,6 @@ for (i = 0; i num_names; i++) printf(%s\n, names[i]); } - else { - printf(no groups\n); - } done: return result; }
svn commit: samba r5890 - in trunk/source/printing: .
Author: gd Date: 2005-03-18 23:31:14 + (Fri, 18 Mar 2005) New Revision: 5890 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5890 Log: Do not try reading nonexisting files (valgrind fix) Guenther Modified: trunk/source/printing/printerdb_file.c Changeset: Modified: trunk/source/printing/printerdb_file.c === --- trunk/source/printing/printerdb_file.c 2005-03-18 22:39:41 UTC (rev 5889) +++ trunk/source/printing/printerdb_file.c 2005-03-18 23:31:14 UTC (rev 5890) @@ -420,6 +420,9 @@ uint8_t *buf; size_t len; + if (!temp_list-file_path) + break; + if (!read_complete_file(mem_ctx, temp_list-file_path, buf, len)) goto done;
svn commit: samba r5891 - branches/SAMBA_3_0/source/rpcclient trunk/source/rpcclient
Author: gd Date: 2005-03-18 23:48:46 + (Fri, 18 Mar 2005) New Revision: 5891 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5891 Log: Make enum- and getform use the same form_display-function. Guenther Modified: branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c trunk/source/rpcclient/cmd_spoolss.c Changeset: Modified: branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c === --- branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c 2005-03-18 23:31:14 UTC (rev 5890) +++ branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c 2005-03-18 23:48:46 UTC (rev 5891) @@ -1813,6 +1813,38 @@ return werror; } +static const char *get_form_flag(int form_flag) +{ + switch (form_flag) { + case FORM_USER: + return FORM_USER; + case FORM_BUILTIN: + return FORM_BUILTIN; + case FORM_PRINTER: + return FORM_PRINTER; + default: + return unknown; + } +} + +static void display_form(FORM_1 *form) +{ + fstring form_name = ; + + if (form-name.buffer) + rpcstr_pull(form_name, form-name.buffer, + sizeof(form_name), -1, STR_TERMINATE); + + printf(%s\n \ + \tflag: %s (%d)\n \ + \twidth: %d, length: %d\n \ + \tleft: %d, right: %d, top: %d, bottom: %d\n\n, + form_name, get_form_flag(form-flag), form-flag, + form-width, form-length, + form-left, form-right, + form-top, form-bottom); +} + /* Get a form */ static WERROR cmd_spoolss_getform(struct cli_state *cli, TALLOC_CTX *mem_ctx, @@ -1847,7 +1879,7 @@ got_handle = True; - /* Set the form */ + /* Get the form */ werror = cli_spoolss_getform(cli, mem_ctx, 0, needed, handle, argv[2], 1, form); @@ -1859,12 +1891,7 @@ if (!W_ERROR_IS_OK(werror)) goto done; - printf(width: %d\n, form.width); - printf(length: %d\n, form.length); - printf(left: %d\n, form.left); - printf(top: %d\n, form.top); - printf(right: %d\n, form.right); - printf(bottom: %d\n, form.bottom); + display_form(form); done: if (got_handle) @@ -1925,20 +1952,6 @@ /* Enumerate forms */ -static const char *get_form_flag(int form_flag) -{ - switch (form_flag) { - case FORM_USER: - return FORM_USER; - case FORM_BUILTIN: - return FORM_BUILTIN; - case FORM_PRINTER: - return FORM_PRINTER; - default: - return unknown; - } -} - static WERROR cmd_spoolss_enum_forms(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc, const char **argv) @@ -1988,20 +2001,9 @@ /* Display output */ for (i = 0; i num_forms; i++) { - fstring form_name; - if (forms[i].name.buffer) - rpcstr_pull(form_name, forms[i].name.buffer, - sizeof(form_name), -1, STR_TERMINATE); + display_form(forms[i]); - printf(%s\n \ - \tflag: %s (%d)\n \ - \twidth: %d, length: %d\n \ - \tleft: %d, right: %d, top: %d, bottom: %d\n\n, - form_name, get_form_flag(forms[i].flag), forms[i].flag, - forms[i].width, forms[i].length, - forms[i].left, forms[i].right, - forms[i].top, forms[i].bottom); } done: Modified: trunk/source/rpcclient/cmd_spoolss.c === --- trunk/source/rpcclient/cmd_spoolss.c2005-03-18 23:31:14 UTC (rev 5890) +++ trunk/source/rpcclient/cmd_spoolss.c2005-03-18 23:48:46 UTC (rev 5891) @@ -1813,6 +1813,38 @@ return werror; } +static const char *get_form_flag(int form_flag) +{ + switch (form_flag) { + case FORM_USER: + return FORM_USER; + case FORM_BUILTIN: + return FORM_BUILTIN; + case FORM_PRINTER: + return FORM_PRINTER; + default: + return unknown; + } +} + +static void display_form(FORM_1 *form) +{ + fstring form_name = ; + + if (form-name.buffer) + rpcstr_pull(form_name, form-name.buffer, + sizeof(form_name), -1, STR_TERMINATE); + + printf(%s\n \ + \tflag: %s (%d)\n \ + \twidth: %d, length: %d\n \ + \tleft: %d, right: %d, top: %d, bottom: %d\n\n, + form_name, get_form_flag(form-flag), form-flag, + form-width, form-length, + form-left, form-right, +
svn commit: samba r5892 - in trunk/source/passdb: .
Author: gd Date: 2005-03-18 23:56:53 + (Fri, 18 Mar 2005) New Revision: 5892 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5892 Log: Another valgrind-fix (just for trunk). Guenther Modified: trunk/source/passdb/pdb_ldap.c Changeset: Modified: trunk/source/passdb/pdb_ldap.c === --- trunk/source/passdb/pdb_ldap.c 2005-03-18 23:48:46 UTC (rev 5891) +++ trunk/source/passdb/pdb_ldap.c 2005-03-18 23:56:53 UTC (rev 5892) @@ -883,6 +883,8 @@ } } + pwHistLen = 0; + pdb_get_account_policy(AP_PASSWORD_HISTORY, pwHistLen); if (pwHistLen 0){ uint8 *pwhist = NULL;
Build status as of Sat Mar 19 00:00:02 2005
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2005-03-18 00:00:13.0 + +++ /home/build/master/cache/broken_results.txt 2005-03-19 00:00:51.0 + @@ -1,25 +1,26 @@ -Build status as of Fri Mar 18 00:00:01 2005 +Build status as of Sat Mar 19 00:00:02 2005 Build counts: Tree Total Broken Panic ccache 37 3 0 distcc 36 2 0 -ppp 21 2 0 +ppp 20 2 0 rsync36 5 0 samba1 1 1 samba-docs 0 0 0 samba4 40 11 0 -samba_3_038 13 1 +samba_3_038 14 1 Currently broken builds: Host Tree Compiler Status +aix1 samba_3_0gcc 127/?/?/? fusberta samba4 gccok/ 2/?/? fusberta samba_3_0gccok/ok/ok/ 6/PANIC -yurok samba_3_0gcc 127/?/?/? -rhonwynrsyncgcc 1/?/?/? rhonwynsamba4 gcc-4.0ok/ 2/?/? +rhonwynsamba_3_0gcc-4.0ok/ 2/?/? rhonwynsamba4 tccok/ 2/?/? -superego samba_3_0gccok/ok/ 2/? +superego rsyncgccok/ok/ok/ 2 +superego samba_3_0gccok/ 2/?/? aretnapccache iccok/ok/ok/ 1 gwen distcc cc ok/ 1/?/? gwen samba4 cc ok/ 1/?/? @@ -46,7 +47,7 @@ m30ccache gccok/ok/ok/ 2 m30rsyncgccok/ok/ok/ 2 m30samba4 gccok/ 2/?/? -m30samba_3_0gccok/ 2/?/? +m30samba_3_0gccok/ok/ok/ 1 metze02sambagccok/ok/ok/ 1/PANIC l390vme1 samba_3_0gccok/ 2/?/? opippp gccok/ 2/?/?
svn commit: samba r5894 - in trunk/source/smbd: .
Author: jra Date: 2005-03-19 00:31:45 + (Sat, 19 Mar 2005) New Revision: 5894 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5894 Log: Get us to pass some of the Samba4 EA tests. EA_LIST seems to be working - need to valgrind it to be sure. Jeremy. Modified: trunk/source/smbd/nttrans.c trunk/source/smbd/trans2.c Changeset: Sorry, the patch is too large (350 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5894
svn commit: samba r5893 - in branches/SAMBA_3_0/source/smbd: .
Author: jra Date: 2005-03-19 00:31:45 + (Sat, 19 Mar 2005) New Revision: 5893 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5893 Log: Get us to pass some of the Samba4 EA tests. EA_LIST seems to be working - need to valgrind it to be sure. Jeremy. Modified: branches/SAMBA_3_0/source/smbd/nttrans.c branches/SAMBA_3_0/source/smbd/trans2.c Changeset: Sorry, the patch is too large (350 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5893
svn commit: samba r5895 - in branches/SAMBA_4_0/source/auth: .
Author: abartlet Date: 2005-03-19 03:15:23 + (Sat, 19 Mar 2005) New Revision: 5895 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5895 Log: Remove old auth_domain code - to be replaced with entirely new implementation. Andrew Bartlett Removed: branches/SAMBA_4_0/source/auth/auth_domain.c Changeset: Sorry, the patch is too large (557 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5895
svn commit: samba-web r591 - in trunk: .
Author: jerry Date: 2005-03-19 03:17:45 + (Sat, 19 Mar 2005) New Revision: 591 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=591 Log: still learning about bittorrent. Fix url Modified: trunk/index.html Changeset: Modified: trunk/index.html === --- trunk/index.html2005-03-18 22:23:36 UTC (rev 590) +++ trunk/index.html2005-03-19 03:17:45 UTC (rev 591) @@ -35,7 +35,7 @@ download area/a./p pSamba 3.0.12 is also available via BitTorrent - (a href=/samba/ftp/samba-3.0.12.tar.gz.torrentsamba-3.0.12.tar.gz.torrent/a). Note + (a href=http://torrent.samba.org/samba/ftp/samba-3.0.12.tar.gz.torrent;samba-3.0.12.tar.gz.torrent/a). Note that when downloading via BitTorrent, you are encouraged to verify the resulting uncompressed tarball's a href=/samba/ftp/samba-3.0.12.tar.ascGPG signature/a./p
svn commit: samba r5896 - in branches/SAMBA_3_0/source/client: .
Author: sfrench Date: 2005-03-19 05:00:57 + (Sat, 19 Mar 2005) New Revision: 5896 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5896 Log: Fix cifs mounts to handle commas embedded in prompted password, and password and credential files. Fix cifs mounts to handle domain name and user name in username field (in form domain\user) Modified: branches/SAMBA_3_0/source/client/mount.cifs.c Changeset: Sorry, the patch is too large (320 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5896
svn commit: samba r5897 - in branches/SAMBA_3_0/source/client: .
Author: sfrench Date: 2005-03-19 05:45:53 + (Sat, 19 Mar 2005) New Revision: 5897 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5897 Log: Fix domain name parsing for cifs mount util Modified: branches/SAMBA_3_0/source/client/mount.cifs.c Changeset: Modified: branches/SAMBA_3_0/source/client/mount.cifs.c === --- branches/SAMBA_3_0/source/client/mount.cifs.c 2005-03-19 05:00:57 UTC (rev 5896) +++ branches/SAMBA_3_0/source/client/mount.cifs.c 2005-03-19 05:45:53 UTC (rev 5897) @@ -61,7 +61,7 @@ static int free_share_name = 0; static char * user_name = NULL; static char * mountpassword = NULL; -static char * domain_name = NULL; +char * domain_name = NULL; /* BB finish BB @@ -632,7 +632,6 @@ /* move_string(*ppuser, usernm+1) */ len = strlen(usernm+1); - printf(\nlen %d original_len %d\n,len, original_len); if(len = original_len) { /* should not happen */ @@ -776,7 +775,6 @@ int flags = MS_MANDLOCK; /* no need to set legacy MS_MGC_VAL */ char * orgoptions = NULL; char * share_name = NULL; - char * domain_name = NULL; char * ipaddr = NULL; char * uuid = NULL; char * mountpoint; @@ -927,14 +925,12 @@ if (orgoptions parse_options(orgoptions, flags)) return -1; - ipaddr = parse_server(share_name); if((ipaddr == NULL) (got_ip == 0)) { printf(No ip address specified and hostname not found\n); return -1; } - /* BB save off path and pop after mount returns? */ resolved_path = malloc(PATH_MAX+1); if(resolved_path) { @@ -1022,13 +1018,14 @@ domain_name = check_for_domain(user_name); strncat(options,,user=,6); strcat(options,user_name); - } - if(retry == 0) + } + if(retry == 0) { if(domain_name) { /* extra length accounted for in option string above */ strncat(options,,domain=,8); strcat(options,domain_name); } + } if(mountpassword) { /* Commas have to be doubled, or else they will look like the parameter separator */
svn commit: samba r5898 - in branches/SAMBA_4_0/source/lib/socket: .
Author: abartlet Date: 2005-03-19 06:07:33 + (Sat, 19 Mar 2005) New Revision: 5898 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5898 Log: Handle errors in the 'sync' name and IP address handling code. Andrew Bartlett Modified: branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c Changeset: Modified: branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c === --- branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c 2005-03-19 05:45:53 UTC (rev 5897) +++ branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c 2005-03-19 06:07:33 UTC (rev 5898) @@ -111,6 +111,9 @@ } srv_ip = interpret_addr2(srv_address); + if (!srv_ip.addr) { + return NT_STATUS_BAD_NETWORK_NAME; + } ZERO_STRUCT(srv_addr); #ifdef HAVE_SOCK_SIN_LEN
svn commit: samba r5899 - in branches/SAMBA_4_0/source/smb_server: .
Author: abartlet Date: 2005-03-19 06:49:03 + (Sat, 19 Mar 2005) New Revision: 5899 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5899 Log: Fix spelling. Andrew Bartlett Modified: branches/SAMBA_4_0/source/smb_server/signing.c Changeset: Modified: branches/SAMBA_4_0/source/smb_server/signing.c === --- branches/SAMBA_4_0/source/smb_server/signing.c 2005-03-19 06:07:33 UTC (rev 5898) +++ branches/SAMBA_4_0/source/smb_server/signing.c 2005-03-19 06:49:03 UTC (rev 5899) @@ -79,7 +79,7 @@ { if (!smb_conn-signing.seen_valid) { DEBUG(5, (Client did not send a valid signature on - SPENGO session setup - ignored, expect good next time\n)); + SPNEGO session setup - ignored, expect good next time\n)); /* force things back on (most clients do not sign this packet)... */ srv_setup_signing(smb_conn, session_key, response); smb_conn-signing.next_seq_num = 2;