svn commit: samba r21838 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

2007-03-14 Thread metze
Author: metze
Date: 2007-03-14 12:07:56 + (Wed, 14 Mar 2007)
New Revision: 21838

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21838

Log:
generate no metadata for constructed attributes

metze
Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c
===
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c   
2007-03-14 00:44:29 UTC (rev 21837)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c   
2007-03-14 12:07:56 UTC (rev 21838)
@@ -492,8 +492,10 @@
return LDB_ERR_NO_SUCH_ATTRIBUTE;
}
 
-   if (sa-systemFlags  0x0001) {
-   /* attribute is not replicated so it has no meta data */
+   if ((sa-systemFlags  0x0001) || (sa-systemFlags  
0x0004)) {
+   /* if the attribute is not replicated (0x0001)
+* or constructed (0x0004) it has no metadata
+*/
continue;
}
 



svn commit: samba-web r1091 - in trunk/docs: .

2007-03-14 Thread jerry
Author: jerry
Date: 2007-03-14 12:33:23 + (Wed, 14 Mar 2007)
New Revision: 1091

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1091

Log:
add new edition of Using Samba to the list of current books
Modified:
   trunk/docs/index.html


Changeset:
Modified: trunk/docs/index.html
===
--- trunk/docs/index.html   2007-03-07 07:38:25 UTC (rev 1090)
+++ trunk/docs/index.html   2007-03-14 12:33:23 UTC (rev 1091)
@@ -55,7 +55,8 @@
 h3Other Documentation/h3
 ul
   lia href=/samba/docs/using_samba/toc.htmlUsing Samba, 2ed, 
O'Reilly 
-  amp; Associates/a (Feb. 2003)/li
+  amp; Associates/a (Feb. 2003).  (Jan 2007: The 3rd edition
+  has been released and will be available online soon)./li
   lia href=http://hr.uoregon.edu/davidrl/samba.html;The Unofficial 
   Samba HOWTO, by David Lechnyr/a/li
   liPDF version of the 
@@ -136,6 +137,16 @@
 h3a name=SambaBookSamba Books/a/h3
 
 div class=book
+  a href=http://www.oreilly.com/catalog/samba3/;
+  img src=http://www.oreilly.com/catalog/covers/0596007698_cat.gif;
+  alt=Using Samba, 3rd ed.//aUsing Samba has been updated to
+  cover recent Samba 3.0 features and expanded to address more
+  topics.  The online version is not yet available in the Samba
+  releases.  However, you can read a sample chapter and purchase hard copies
+  from a href=http://www.oreilly.com/catalog/samba3/;O'Reilly/a.
+/div
+
+div class=book
   a 
href=http://www.amazon.com/exec/obidos/tg/detail/-/0131453556/qid=105885/sr=1-1/ref=sr_1_1/102-7153927-8348145?v=glanceamp;s=books;
   img src=http://images.pearsoned-ema.com/jpeg/small/0131453556.jpg; 
alt=Official Samba 3 HOWTO //a
   pThe current Samba-3 release version of the a 
href=/samba/docs/man/Samba3-HOWTO/Samba3-HOWTO/a



svn commit: samba-web r1092 - in trunk/docs: .

2007-03-14 Thread jerry
Author: jerry
Date: 2007-03-14 13:24:42 + (Wed, 14 Mar 2007)
New Revision: 1092

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1092

Log:
clean for docs page; link to generated index of man pages rather thank list 
each one
Modified:
   trunk/docs/index.html


Changeset:
Modified: trunk/docs/index.html
===
--- trunk/docs/index.html   2007-03-14 12:33:23 UTC (rev 1091)
+++ trunk/docs/index.html   2007-03-14 13:24:42 UTC (rev 1092)
@@ -2,136 +2,86 @@
   titleSamba Documentation/title
 !--#include virtual=/samba/header_wide.html --
 
-!-- $Revision: 1.76 $ --
-
 h2Documentation/h2
 
 pThe documentation (and in particular the man pages) given on this web page
 are taken from the latest development version of Samba. If you are using an
 earlier version of Samba then you may find some differences./p
 
-table border=0
- tr valign=top
-  td
-h3Man Pages/h3
-ul
-   lia href=man/manpages-3/samba.7.htmlsamba(7)/a/li
-   lia href=man/manpages-3/findsmb.1.htmlfindsmb(1)/a/li
-   lia href=man/manpages-3/lmhosts.5.htmllmhosts(5)/a/li
-   lia href=man/manpages-3/log2pcap.1.htmllog2pcap(1)/a/li
-   lia href=man/manpages-3/mount.cifs.8.htmlmount.cifs(8)/a/li
-   lia href=man/manpages-3/net.8.htmlnet(8)/a/li
-   lia href=man/manpages-3/nmbd.8.htmlnmbd(8)/a/li
-   lia href=man/manpages-3/nmblookup.1.htmlnmblookup(1)/a/li
-   lia href=man/manpages-3/ntlm_auth.1.htmlntlm_auth(1)/a/li
-   lia href=man/manpages-3/pdbedit.8.htmlpdbedit(8)/a/li
-   lia href=man/manpages-3/profiles.1.htmlprofiles(1)/a/li
-   lia href=man/manpages-3/rpcclient.1.htmlrpcclient(1)/a/li
-   lia href=man/manpages-3/smbcacls.1.htmlsmbcacls(1)/a/li
-   lia href=man/manpages-3/smbclient.1.htmlsmbclient(1)/a/li
-   lia href=man/manpages-3/smb.conf.5.htmlsmb.conf(5)/a/li
-   lia href=man/manpages-3/smbcontrol.1.htmlsmbcontrol(1)/a/li
-   lia href=man/manpages-3/smbcquotas.1.htmlsmbcquotas(1)/a/li   
-   lia href=man/manpages-3/smbd.8.htmlsmbd(8)/a/li
-   lia href=man/manpages-3/smbmnt.8.htmlsmbmnt(8)/a/li
-   lia href=man/manpages-3/smbmount.8.htmlsmbmount(8)/a/li
-   lia href=man/manpages-3/smbpasswd.5.htmlsmbpasswd(5)/a/li
-   lia href=man/manpages-3/smbpasswd.8.htmlsmbpasswd(8)/a/li
-   lia href=man/manpages-3/smbsh.1.htmlsmbsh(1)/a/li
-   lia href=man/manpages-3/smbspool.8.htmlsmbspool(8)/a/li
-   lia href=man/manpages-3/smbstatus.1.htmlsmbstatus(1)/a/li
-   lia href=man/manpages-3/smbtar.1.htmlsmbtar(1)/a/li
-   lia href=man/manpages-3/smbtree.1.htmlsmbtree(1)/a/li
-   lia href=man/manpages-3/smbumount.8.htmlsmbumount(8)/a/li
-   lia href=man/manpages-3/swat.8.htmlswat(8)/a/li
-   lia href=man/manpages-3/tdbbackup.8.htmltdbbackup(8)/a/li 
-   lia href=man/manpages-3/testparm.1.htmltestparm(1)/a/li
-   lia href=man/manpages-3/vfstest.1.htmlvfstest(1)/a/li
-   lia href=man/manpages-3/wbinfo.1.htmlwbinfo(1)/a/li
-   lia href=man/manpages-3/winbindd.8.htmlwinbindd(8)/a/li
-/ul
-  /td
-  td
-h3Other Documentation/h3
-ul
-  lia href=/samba/docs/using_samba/toc.htmlUsing Samba, 2ed, 
O'Reilly 
+h3Documentation/h3
+ul
+  lia href=man/manpages-3/Samba man pages/a. You can also download the 
+  a 
href=http://www.samba.org/~samba-bugs/docs/samba-docs-latest.tar.bz2;tarball 
+  of the daily docs build/a which includes the HTML and PDF versions of 
both 
+  the Samba3-HOWTO and Samba3-ByExample./li
+  lia href=/samba/docs/using_samba/toc.htmlUsing Samba, 2ed, O'Reilly 
   amp; Associates/a (Feb. 2003).  (Jan 2007: The 3rd edition
   has been released and will be available online soon)./li
-  lia href=http://hr.uoregon.edu/davidrl/samba.html;The Unofficial 
+  lia href=http://hr.uoregon.edu/davidrl/samba.html;The Unofficial 
   Samba HOWTO, by David Lechnyr/a/li
-  liPDF version of the 
+  liPDF version of the 
   a href=/samba/docs/Samba24Hc13.pdfTroubleshooting Techniques/a
   chapter from the second edition of Sam's Teach Yourself Samba in 24 
Hours 
   (Dec. 2001)/li
-  lia href=/samba/ftp/slides/Slide presentations/a by Samba Team 
+  lia href=/samba/ftp/slides/Slide presentations/a by Samba Team 
   members/li
-   lia 
href=http://www.atmarkit.co.jp/flinux/special/samba3/samba3a.html;Introduction
 to Samba 3.0/a by Motonobu Takahashi (written in Japanese)./li
-  lia href=http://www.linux-mag.com/2001-05/smb_01.html;Understanding
-   the Network Neighborhood/a, by team member Chris Hertel.  This
-   article appeared in the May 2001 issue of a
-   href=http://www.linux-mag.com/;Linux Magazine/a./li
-  lia href=http://www.ubiqx.org/cifs/;Implementing CIFS/a; an
-  on-line book describing the workings and implementation
-  of the CIFS protocol suite./li
-  lia 

svn commit: samba r21839 - in branches/SAMBA_4_0/source: dsdb/repl dsdb/samdb/ldb_modules dsdb/schema libnet torture/libnet

2007-03-14 Thread metze
Author: metze
Date: 2007-03-14 19:10:21 + (Wed, 14 Mar 2007)
New Revision: 21839

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21839

Log:
add my email address

metze
Modified:
   branches/SAMBA_4_0/source/dsdb/repl/replicated_objects.c
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/schema_fsmo.c
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/show_deleted.c
   branches/SAMBA_4_0/source/dsdb/schema/schema.h
   branches/SAMBA_4_0/source/dsdb/schema/schema_init.c
   branches/SAMBA_4_0/source/dsdb/schema/schema_syntax.c
   branches/SAMBA_4_0/source/libnet/libnet_become_dc.c
   branches/SAMBA_4_0/source/libnet/libnet_become_dc.h
   branches/SAMBA_4_0/source/libnet/libnet_unbecome_dc.c
   branches/SAMBA_4_0/source/libnet/libnet_unbecome_dc.h
   branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/repl/replicated_objects.c
===
--- branches/SAMBA_4_0/source/dsdb/repl/replicated_objects.c2007-03-14 
12:07:56 UTC (rev 21838)
+++ branches/SAMBA_4_0/source/dsdb/repl/replicated_objects.c2007-03-14 
19:10:21 UTC (rev 21839)
@@ -2,7 +2,7 @@
Unix SMB/CIFS mplementation.
Helper functions for applying replicated objects

-   Copyright (C) Stefan Metzmacher 2007
+   Copyright (C) Stefan Metzmacher [EMAIL PROTECTED] 2007
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c
===
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c   
2007-03-14 12:07:56 UTC (rev 21838)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c   
2007-03-14 19:10:21 UTC (rev 21839)
@@ -4,7 +4,7 @@
Copyright (C) Simo Sorce  2004-2006
Copyright (C) Andrew Bartlett [EMAIL PROTECTED] 2005
Copyright (C) Andrew Tridgell 2005
-   Copyright (C) Stefan Metzmacher 2007
+   Copyright (C) Stefan Metzmacher [EMAIL PROTECTED] 2007
 
  ** NOTE! The following LGPL license applies to the ldb
  ** library. This does NOT imply that all of Samba is released

Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/schema_fsmo.c
===
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/schema_fsmo.c  
2007-03-14 12:07:56 UTC (rev 21838)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/schema_fsmo.c  
2007-03-14 19:10:21 UTC (rev 21839)
@@ -4,7 +4,7 @@
The module that handles the Schema FSMO Role Owner
checkings, it also loads the dsdb_schema.

-   Copyright (C) Stefan Metzmacher 2007
+   Copyright (C) Stefan Metzmacher [EMAIL PROTECTED] 2007
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/show_deleted.c
===
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/show_deleted.c 
2007-03-14 12:07:56 UTC (rev 21838)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/show_deleted.c 
2007-03-14 19:10:21 UTC (rev 21839)
@@ -2,7 +2,7 @@
ldb database library
 
Copyright (C) Simo Sorce  2005
-   Copyright (C) Stefa Metzmacher 2007
+   Copyright (C) Stefa Metzmacher [EMAIL PROTECTED] 2007
 
  ** NOTE! The following LGPL license applies to the ldb
  ** library. This does NOT imply that all of Samba is released

Modified: branches/SAMBA_4_0/source/dsdb/schema/schema.h
===
--- branches/SAMBA_4_0/source/dsdb/schema/schema.h  2007-03-14 12:07:56 UTC 
(rev 21838)
+++ branches/SAMBA_4_0/source/dsdb/schema/schema.h  2007-03-14 19:10:21 UTC 
(rev 21839)
@@ -2,7 +2,7 @@
Unix SMB/CIFS mplementation.
DSDB schema header

-   Copyright (C) Stefan Metzmacher 2006
+   Copyright (C) Stefan Metzmacher [EMAIL PROTECTED] 2006
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Modified: branches/SAMBA_4_0/source/dsdb/schema/schema_init.c
===
--- branches/SAMBA_4_0/source/dsdb/schema/schema_init.c 2007-03-14 12:07:56 UTC 
(rev 21838)
+++ branches/SAMBA_4_0/source/dsdb/schema/schema_init.c 2007-03-14 19:10:21 UTC 
(rev 21839)
@@ -2,7 +2,7 @@
Unix SMB/CIFS mplementation.
DSDB schema header

-   Copyright (C) Stefan Metzmacher 2006
+   Copyright (C) Stefan Metzmacher [EMAIL PROTECTED] 2006
 
This program is free software; you can redistribute it and/or modify
it 

svn commit: samba r21840 - in branches/SAMBA_3_0/source/client: .

2007-03-14 Thread sfrench
Author: sfrench
Date: 2007-03-14 22:15:21 + (Wed, 14 Mar 2007)
New Revision: 21840

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21840

Log:
mount.cifs compile on old libc missing bind mount #define

Thanks to Thomas Jarosch for pointing this out.


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   2007-03-14 19:10:21 UTC 
(rev 21839)
+++ branches/SAMBA_3_0/source/client/mount.cifs.c   2007-03-14 22:15:21 UTC 
(rev 21840)
@@ -59,6 +59,10 @@
 #define MS_MOVE 8192 
 #endif 
 
+#ifndef MS_BIND
+#define MS_BIND 4096
+#endif
+
 #define CONST_DISCARD(type, ptr)  ((type) ((void *) (ptr)))
 
 const char *thisprogram;



svn commit: samba r21841 - in branches/SAMBA_4_0/services/samba: .

2007-03-14 Thread mimir
Author: mimir
Date: 2007-03-14 23:25:54 + (Wed, 14 Mar 2007)
New Revision: 21841

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21841

Log:
Rename the method and check parameters more strictly.


rafal


Modified:
   branches/SAMBA_4_0/services/samba/ejsnet.esp


Changeset:
Modified: branches/SAMBA_4_0/services/samba/ejsnet.esp
===
--- branches/SAMBA_4_0/services/samba/ejsnet.esp2007-03-14 22:15:21 UTC 
(rev 21840)
+++ branches/SAMBA_4_0/services/samba/ejsnet.esp2007-03-14 23:25:54 UTC 
(rev 21841)
@@ -9,7 +9,7 @@
 jsonrpc_include(resources.esp);
 
 
-function _init_ctx(params, error)
+function _NetContext(params, error)
 {
   if (params.length  1)
   {
@@ -26,24 +26,27 @@
 return error;
   }
   
-  if (creds.domain == undefined)
+  if (creds.domain == undefined ||
+  typeof(creds.domain) != string)
   {
 error.setError(jsonrpc.Constant.ServerError.ParameterMismatch,
-  credentials.domain is undefined);
+  a valid string is expected in credentials.domain);
 return error;
   }
   
-  if (creds.username == undefined)
+  if (creds.username == undefined ||
+  typeof(creds.username) != string)
   {
 error.setError(jsonrpc.Constant.ServerError.ParameterMismatch,
-  credentials.username is undefined);
+  a valid string is expected in credentials.username);
 return error;
   }
   
-  if (creds.password == undefined)
+  if (creds.password == undefined ||
+  typeof(creds.username) != string)
   {
 error.setError(jsonrpc.Constant.ServerError.ParameterMismatch,
-  credentials.password is undefined);
+  a valid string is expected in credentials.password);
 return error;
   }
   
@@ -56,7 +59,7 @@
 
   return session.resources.set(netCtx, netCtx, error);
 }
-jsonrpc.method.init_ctx = _init_ctx;
+jsonrpc.method.NetContext = _NetContext;
 
 
 /*



Build status as of Thu Mar 15 00:00:01 2007

2007-03-14 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2007-03-14 
00:01:53.0 +
+++ /home/build/master/cache/broken_results.txt 2007-03-15 00:00:17.0 
+
@@ -1,23 +1,23 @@
-Build status as of Wed Mar 14 00:00:02 2007
+Build status as of Thu Mar 15 00:00:01 2007
 
 Build counts:
 Tree Total  Broken Panic 
 SOC  0  0  0 
 build_farm   0  0  0 
-ccache   33 8  0 
+ccache   33 7  0 
 ctdb 0  0  0 
-distcc   3  1  0 
+distcc   3  0  0 
 ldb  31 6  0 
 libreplace   29 2  0 
 lorikeet-heimdal 28 15 0 
 pidl 20 2  0 
 ppp  13 0  0 
-rsync32 9  0 
+rsync32 7  0 
 samba0  0  0 
 samba-docs   0  0  0 
 samba-gtk4  4  0 
-samba4   37 12 0 
-samba_3_039 14 1 
+samba4   37 9  0 
+samba_3_039 13 1 
 smb-build29 29 0 
 talloc   33 1  0 
 tdb  31 3  0