[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3038-gd553faf

2008-09-18 Thread Karolin Seeger
The branch, v3-2-test has been updated
   via  d553faff4ae9aa1fdc1bb716e901dcede7799f27 (commit)
   via  1b9f43d732362e32bbe07d6bc6f5b3d7e3a247c0 (commit)
  from  a31b006a411266adf49d2eefd1f80bbb091f0c4c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit d553faff4ae9aa1fdc1bb716e901dcede7799f27
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Wed Sep 17 08:48:19 2008 +0200

find_missing_manpages.pl: Adapt script to changed directory structure.

Karolin
(cherry picked from commit b6b7aa023b62ab8994d13cb91d5185204c1500b2)

commit 1b9f43d732362e32bbe07d6bc6f5b3d7e3a247c0
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 08:46:54 2008 +0200

WHATSNEW: Improve description of Simo's bug fix.

Karolin

---

Summary of changes:
 WHATSNEW.txt  |3 ++-
 docs-xml/scripts/find_missing_manpages.pl |   27 ---
 2 files changed, 22 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 2a211ec..87acb2e 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -95,7 +95,8 @@ o   David Leonard [EMAIL PROTECTED]
 
 
 o   Simo Sorce [EMAIL PROTECTED]
-* BUG 5571: Fix group memeberships in Winbind.
+* BUG 5571: Fix enumeration of nested group memberships in Winbind.
+  This affected only setups using security = ads.
 
 
 o   Timur [EMAIL PROTECTED]
diff --git a/docs-xml/scripts/find_missing_manpages.pl 
b/docs-xml/scripts/find_missing_manpages.pl
index c468d7d..aa5751b 100755
--- a/docs-xml/scripts/find_missing_manpages.pl
+++ b/docs-xml/scripts/find_missing_manpages.pl
@@ -1,14 +1,25 @@
 #!/usr/bin/perl
 
-my %doc;
-
 $invar = 0;
-
 $topdir = (shift @ARGV) or $topdir = .;
-
+$makefile = $topdir/source/Makefile.in;
+$mandir = $topdir/docs-xml/manpages-3;
 $progs = ;
 
-open(IN, $topdir/Makefile.in);
+chdir($topdir);
+
+if(! -e $makefile) {
+   print $makefile does not exist!\n;
+   print Wrong directory?\n;
+   exit(1);
+}
+
+if(! -d $mandir) {
+print $mandir does not exist!\n;
+exit(1);
+}
+
+open(IN, $makefile);
 while(IN) {
if($invar  /^([ \t]*)(.*?)([\\])$/) {
$progs.=  . $2;
@@ -22,15 +33,17 @@ while(IN) {
 foreach(split(/bin\//, $progs)) {
next if($_ eq  );
s/[EMAIL PROTECTED]@//g;
+   s/[EMAIL PROTECTED]@//g;
s/ //g;
 
 
$f = $_;
-   
+
$found = 0;
 
+
for($i = 0; $i  9; $i++) {
-   if(-e manpages/$f.$i.xml) { $found = 1; }
+   if(-e $mandir/$f.$i.xml) { $found = 1; }
}
 
if(!$found) {


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-3-99-gd89ba32

2008-09-18 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  d89ba32c49049ae105b02b2cea578605a13a7afb (commit)
   via  ce92c96a3e80409b6dca7ef0198400403d72b7d4 (commit)
  from  3202012836cc25b6981bced9c9fa12458df0de9d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit d89ba32c49049ae105b02b2cea578605a13a7afb
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Wed Sep 17 08:48:19 2008 +0200

find_missing_manpages.pl: Adapt script to changed directory structure.

Karolin
(cherry picked from commit b6b7aa023b62ab8994d13cb91d5185204c1500b2)
(cherry picked from commit d553faff4ae9aa1fdc1bb716e901dcede7799f27)

commit ce92c96a3e80409b6dca7ef0198400403d72b7d4
Author: Jeremy Allison [EMAIL PROTECTED]
Date:   Wed Sep 17 11:59:18 2008 -0700

Ensure all pointers are initialized. Without this we can crash when looking 
up a non-existant uid.
Jeremy.
(cherry picked from commit a31b006a411266adf49d2eefd1f80bbb091f0c4c)

---

Summary of changes:
 docs-xml/scripts/find_missing_manpages.pl |   27 ++-
 source/services/services_db.c |   40 ++--
 2 files changed, 40 insertions(+), 27 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/scripts/find_missing_manpages.pl 
b/docs-xml/scripts/find_missing_manpages.pl
index c468d7d..aa5751b 100755
--- a/docs-xml/scripts/find_missing_manpages.pl
+++ b/docs-xml/scripts/find_missing_manpages.pl
@@ -1,14 +1,25 @@
 #!/usr/bin/perl
 
-my %doc;
-
 $invar = 0;
-
 $topdir = (shift @ARGV) or $topdir = .;
-
+$makefile = $topdir/source/Makefile.in;
+$mandir = $topdir/docs-xml/manpages-3;
 $progs = ;
 
-open(IN, $topdir/Makefile.in);
+chdir($topdir);
+
+if(! -e $makefile) {
+   print $makefile does not exist!\n;
+   print Wrong directory?\n;
+   exit(1);
+}
+
+if(! -d $mandir) {
+print $mandir does not exist!\n;
+exit(1);
+}
+
+open(IN, $makefile);
 while(IN) {
if($invar  /^([ \t]*)(.*?)([\\])$/) {
$progs.=  . $2;
@@ -22,15 +33,17 @@ while(IN) {
 foreach(split(/bin\//, $progs)) {
next if($_ eq  );
s/[EMAIL PROTECTED]@//g;
+   s/[EMAIL PROTECTED]@//g;
s/ //g;
 
 
$f = $_;
-   
+
$found = 0;
 
+
for($i = 0; $i  9; $i++) {
-   if(-e manpages/$f.$i.xml) { $found = 1; }
+   if(-e $mandir/$f.$i.xml) { $found = 1; }
}
 
if(!$found) {
diff --git a/source/services/services_db.c b/source/services/services_db.c
index 620b036..56e76a3 100644
--- a/source/services/services_db.c
+++ b/source/services/services_db.c
@@ -91,8 +91,8 @@ static SEC_DESC* construct_service_sd( TALLOC_CTX *ctx )
SEC_ACE ace[4];
SEC_ACCESS mask;
size_t i = 0;
-   SEC_DESC *sd;
-   SEC_ACL *acl;
+   SEC_DESC *sd = NULL;
+   SEC_ACL *acl = NULL;
size_t sd_size;
 
/* basic access for Everyone */
@@ -188,11 +188,11 @@ static char *cleanup_string( const char *string )
 
 static bool read_init_file( const char *servicename, struct 
rcinit_file_information **service_info )
 {
-   struct rcinit_file_information *info;
+   struct rcinit_file_information *info = NULL;
char *filepath = NULL;
char str[1024];
-   XFILE *f;
-   char *p;
+   XFILE *f = NULL;
+   char *p = NULL;
 
if ( !(info = TALLOC_ZERO_P( NULL, struct rcinit_file_information ) ) )
return False;
@@ -335,12 +335,12 @@ static void fill_service_values( const char *name, 
REGVAL_CTR *values )
 static void add_new_svc_name( REGISTRY_KEY *key_parent, REGSUBKEY_CTR *subkeys,
   const char *name )
 {
-   REGISTRY_KEY *key_service, *key_secdesc;
+   REGISTRY_KEY *key_service = NULL, *key_secdesc = NULL;
WERROR wresult;
char *path = NULL;
-   REGVAL_CTR *values;
-   REGSUBKEY_CTR *svc_subkeys;
-   SEC_DESC *sd;
+   REGVAL_CTR *values = NULL;
+   REGSUBKEY_CTR *svc_subkeys = NULL;
+   SEC_DESC *sd = NULL;
DATA_BLOB sd_blob;
NTSTATUS status;
 
@@ -444,7 +444,7 @@ void svcctl_init_keys( void )
 {
const char **service_list = lp_svcctl_list();
int i;
-   REGSUBKEY_CTR *subkeys;
+   REGSUBKEY_CTR *subkeys = NULL;
REGISTRY_KEY *key = NULL;
WERROR wresult;
 
@@ -502,9 +502,9 @@ void svcctl_init_keys( void )
 
 SEC_DESC *svcctl_get_secdesc( TALLOC_CTX *ctx, const char *name, NT_USER_TOKEN 
*token )
 {
-   REGISTRY_KEY *key;
-   REGVAL_CTR *values;
-   REGISTRY_VALUE *val;
+   REGISTRY_KEY *key = NULL;
+   REGVAL_CTR *values = NULL;
+   REGISTRY_VALUE *val = NULL;
SEC_DESC *ret_sd = NULL;
char *path= NULL;
WERROR wresult;
@@ -563,10 +563,10 @@ done:
 
 bool svcctl_set_secdesc( TALLOC_CTX *ctx, 

[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-39-g72b4ca3

2008-09-18 Thread Günther Deschner
The branch, v3-0-test has been updated
   via  72b4ca3ec5714d6056654ecb0fdcbd7d954e6984 (commit)
  from  a605c5352485cf1b50090301b909b5258de8be8c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -
commit 72b4ca3ec5714d6056654ecb0fdcbd7d954e6984
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Thu Sep 18 14:09:27 2008 +0200

fix net_io_q_srv_pwset2.

yes, we all love hand-marshalled rpc...

Guenther

---

Summary of changes:
 source/rpc_parse/parse_net.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c
index 708f5ba..8d99e80 100644
--- a/source/rpc_parse/parse_net.c
+++ b/source/rpc_parse/parse_net.c
@@ -1044,7 +1044,7 @@ BOOL net_io_q_srv_pwset2(const char *desc, 
NET_Q_SRV_PWSET2 *q_s, prs_struct *ps
 
if(!smb_io_clnt_info(, q_s-clnt_id, ps, depth)) /* client 
identification/authentication info */
return False;
-   if(!prs_uint8s(False, pwd.data, ps, depth, q_s-pwd.data, 516)) /* 
new password - undocumented */
+   if(!prs_uint8s(False, pwd.data, ps, depth, q_s-pwd.data, 512)) /* 
new password - undocumented */
return False;
if(!prs_uint32(pwd.length, ps, depth, q_s-pwd.length)) /* new 
password - undocumented */
return False;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - annotated tag release-3-2-4 created - release-3-2-4

2008-09-18 Thread Karolin Seeger
The annotated tag, release-3-2-4 has been created
at  ca69b01d0d39fb9619b126a59585e9f5b4705a84 (tag)
   tagging  d89ba32c49049ae105b02b2cea578605a13a7afb (commit)
  replaces  release-3-2-3
 tagged by  Karolin Seeger
on  Thu Sep 18 13:59:22 2008 +0200

- Log -
tag release 3-2-4
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQBI0kX4bzORW2Vot+oRAlLnAJ9/crbcVHNJ8nSu7+5fw7K8OLp9pwCghXfw
/k5djphuV9ahk8OYwPYRXdQ=
=dch8
-END PGP SIGNATURE-

Andrew Tridgell (6):
  Avoid a race condition in glibc between AIO and setresuid().
  EINVAL is also a valid error return, meaning this filesystem
  become root for AIO operations
  fixed tsmsm_sendfile(). The logic was totally broken.
  fixed an errno handling bug that could lead to an infinite loop
  Handle arbitrary new PAC types

David Leonard (1):
  Fix bug 4516, no IPv6 on Solaris 2.6.

Ephi Dror (1):
  Correct the netsamlogon_clear_cached_user function.

Gerald (Jerry) Carter (4):
  nss_winbind: When returning NSS_UNAVAIL, squash errno to ENOENT
  winbindd: Fix crash in cm_connect_sam()
  Add simple script to build docs
  Add workaround for docs build and dependency on parameters.all.xml

Gerald W. Carter (2):
  Release scripts: Update create-tarball to include docs and other 
packaging details.
  idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads 
structure.

Günther Deschner (7):
  fix another build warning.
  fix build warning.
  IDL: fix IDL for netr_ServerPasswordSet2().
  re-run make idl.
  Fix Bug #5710 and make machine account password changing work again.
  winbindd: fix invalid sid copy (hit when enumerating sibling domains).
  kerberos: fix indent of enc type lines in generated krb5.conf files.

Herb Lewis (2):
  get rid of unneeded argument for get_methods
  get rid of unneeded argument for get_alloc_methods as well

James Ding (1):
  Fix winbindd crash bug with trusted domains. Bug #5736

Jeff Layton (7):
  cifs.upcall: handle MSKRB5 OID properly
  cifs.upcall: fix build warning
  cifs.upcall: bump SPNEGO msg version number and don't reject old versions
  cifs.upcall: enable building by default on linux
  cifs.upcall: move default install location to EPREFIX/sbin
  cifs.upcall: make most functions static and silence compiler warnings
  mount.cifs: make local versions of strlcat and strlcpy static

Jeremy Allison (20):
  Fix bug 5697 nmbd spins in reload_interfaces when only loopback has an 
IPv4 address
  Fix bug 5698 - mixup of TALLOC/malloc. Spotted by Douglas Wegscheid 
[EMAIL PROTECTED].
  Don't re-initialize a token when we already have one. This fixes the 
build farm failures when winbindd connects as guest.
  Be explicit about setting perms for the ldb. Helps others who may use 
this api.
  Fix the wcache_invalidate_samlogon calls.
  Add st_birthtime and friends for accurate create times on systems that 
support it (*BSD and MacOSX). This really needs to be in 3.2.x.
  Clarify usage of force create mode.
  Deal with systems that don't initialize birthtime correctly.
  Fix bug #5729. Explicitly allow -valid.
  Remove unecessary msync.
  Write times code update.
  Fix debug message to show correct function name.
  Fix blocker bug 5745 kerberos authentication with (lib)smbclient is 
broken.
  When requesting UNIX info levels on findfirst/findnext, don't play games 
with write time,
  Fix bug #5052 - not work cancel inheritance on share. We were
  Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu [EMAIL 
PROTECTED].
  Use the given name, not the absolute pathname, when printing out ACL info.
  Modify a comment to make things clearer.
  Fix bug 5761 open of mangled directory name results in 'is a stream 
name'
  Ensure all pointers are initialized. Without this we can crash when 
looking up a non-existant uid.

Karolin Seeger (12):
  VERSION: Raise version number up tp 3.2.4.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  man cifs.upcall: Fix typo, wrap lines.
  WHATSNEW: Update changes since 3.2.3.
  WHATSNEW: Update changes since 3.2.3.
  find_missing_manpages.pl: Adapt script to changed directory structure.

Michael Adam (20):
  build: fix linking cifs.upcall when nscd_flush_cache() is found.
  build: rename LIBNETAPI_OBJ1 to LIBNETAPI_OBJ0 for consistency.
  build: fall down to the same place when using an internal lib statically.
  build: fix bug #5590 by not linking in the static libs but the objects.
  

svn commit: samba-web r1238 - in trunk: . devel history

2008-09-18 Thread kseeger
Author: kseeger
Date: 2008-09-18 13:14:06 + (Thu, 18 Sep 2008)
New Revision: 1238

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

Log:
Announce Samba 3.2.4.
Karolin
Added:
   trunk/history/samba-3.2.4.html
Modified:
   trunk/devel/index.html
   trunk/header_columns.html
   trunk/history/header_history.html
   trunk/index.html


Changeset:
Modified: trunk/devel/index.html
===
--- trunk/devel/index.html  2008-09-15 17:57:33 UTC (rev 1237)
+++ trunk/devel/index.html  2008-09-18 13:14:06 UTC (rev 1238)
@@ -20,8 +20,8 @@
 3.0.x and 2.2.x versions of Samba, which are no longer in active development.
 /p
 
-pThe latest production release is emSamba 3.2.3/em (a
-href=/samba/history/samba-3.2.3.htmlrelease notes/a and a
+pThe latest production release is emSamba 3.2.4/em (a
+href=/samba/history/samba-3.2.4.htmlrelease notes/a and a
 href=/samba/download/download/a)./p
 
 pWith the release of version 3 of the GPL, the Samba Team has decided to

Modified: trunk/header_columns.html
===
--- trunk/header_columns.html   2008-09-15 17:57:33 UTC (rev 1237)
+++ trunk/header_columns.html   2008-09-18 13:14:06 UTC (rev 1238)
@@ -130,9 +130,9 @@
   div class=releases
 h4Current Stable Release/h4
 ul
-lia href=/samba/ftp/stable/samba-3.2.3.tar.gzSamba 3.2.3 
(gzipped)/a/li
-lia href=/samba/history/samba-3.2.3.htmlRelease Notes/a/li
-lia href=/samba/ftp/stable/samba-3.2.3.tar.ascSignature/a/li
+lia href=/samba/ftp/stable/samba-3.2.4.tar.gzSamba 3.2.4 
(gzipped)/a/li
+lia href=/samba/history/samba-3.2.4.htmlRelease Notes/a/li
+lia href=/samba/ftp/stable/samba-3.2.4.tar.ascSignature/a/li
 /ul
 
 h4Historical/h4

Modified: trunk/history/header_history.html
===
--- trunk/history/header_history.html   2008-09-15 17:57:33 UTC (rev 1237)
+++ trunk/history/header_history.html   2008-09-18 13:14:06 UTC (rev 1238)
@@ -77,6 +77,7 @@
   div class=notes
 h6Release Notes/h6
 ul
+lia href=samba-3.2.4.htmlsamba-3.2.4/a/li
 lia href=samba-3.2.3.htmlsamba-3.2.3/a/li
 lia href=samba-3.2.2.htmlsamba-3.2.2/a/li
 lia href=samba-3.2.1.htmlsamba-3.2.1/a/li

Added: trunk/history/samba-3.2.4.html
===
--- trunk/history/samba-3.2.4.html  2008-09-15 17:57:33 UTC (rev 1237)
+++ trunk/history/samba-3.2.4.html  2008-09-18 13:14:06 UTC (rev 1238)
@@ -0,0 +1,157 @@
+!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
+html xmlns=http://www.w3.org/1999/xhtml;
+
+head
+titleSamba - Release Notes Archive/title
+/head
+
+body
+
+   H2Samba 3.2.4 Available for Download/H2
+
+p
+pre
+   ==
+   Release Notes for Samba 3.2.4
+   September 18, 2008
+   ==
+
+
+This is a bug fix release of the Samba 3.2 series.
+
+Major bug fixes included in Samba 3.2.4 are:
+
+  o Fix Winbind crashes.
+  o Fix changing of machine account passwords.
+  o Fix non guest connections to shares when security = share
+is used.
+  o Fix file write times.
+
+
+##
+Changes
+###
+
+Changes since 3.2.3
+---
+
+
+o   Michael Adam [EMAIL PROTECTED]
+* BUG 5590: Fix binary stripping on older OS.
+* BUG 5492: Fix RHEL SPEC file by removing libmsrpc stuff.
+* BUG 5507: Fix several issues in the RHEL SPEC file.
+* Fix linking of cifs.upcall when nscd_flush_cache() is found.
+
+
+o   Jeremy Allison [EMAIL PROTECTED]
+* BUG 5052: Allow inheritable permissions.
+* BUG 5697: Fix spinning of nmbd in reload_interfaces when only loopback
+  has an IPv4 address.
+* BUG 5698: Fix non guest connections to shares when security = share
+  is used.
+* BUG 5729: Explicitly allow -valid.
+* BUG 5745: Fix Kerberos authentication with (lib)smbclient.
+* BUG 5751: Fix showing of ACLs on DFS in (lib)smbclient.
+* BUG 5761: Fix opening of mangled directory name (resulted
+  'is a stream name').
+* Fix the wcache_invalidate_samlogon calls.
+* Add st_birthtime and friends for accurate create times on *BSD and 
MacOSX.
+* Clarify usage of force create mode.
+* Write times code update.
+
+
+o   Gerald (Jerry) Carter [EMAIL PROTECTED]
+* Fix Winbind crash.
+* idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads
+  structure.
+
+
+o   Steven Danneman [EMAIL PROTECTED]
+* Fix build warnings.
+* Cleanup of DC enumeration in get_dcs().
+
+
+o   Günther Deschner [EMAIL PROTECTED]
+* BUG 5710: Fix changing of machine account passwords.
+* Fix several build warnings.

[SCM] Samba Shared Repository - branch master updated - fcf6740d3f6adab2bcaea819c4e84126555ce3e0

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  fcf6740d3f6adab2bcaea819c4e84126555ce3e0 (commit)
  from  0379d9c151359f0f74cbe7883e73a87b7d96d48d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit fcf6740d3f6adab2bcaea819c4e84126555ce3e0
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 15:16:48 2008 +0200

Fix location of nss_wrapper.pl script.

---

Summary of changes:
 source3/script/tests/selftest.sh |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 15e48b0..0894b25 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -166,9 +166,9 @@ cat $SERVERCONFFILEEOF
domain logons = yes
time server = yes
 
-   add user script = $PERL $SRCDIR/lib/nss_wrapper/nss_wrapper.pl --path 
$NSS_WRAPPER_PASSWD --type passwd --action add --name %u
-   add machine script = $PERL $SRCDIR/lib/nss_wrapper/nss_wrapper.pl 
--path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
-   delete user script = $PERL $SRCDIR/lib/nss_wrapper/nss_wrapper.pl 
--path $NSS_WRAPPER_PASSWD --type passwd --action delete --name %u
+   add user script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl 
--path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
+   add machine script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl 
--path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
+   delete user script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl 
--path $NSS_WRAPPER_PASSWD --type passwd --action delete --name %u
 
kernel oplocks = no
kernel change notify = no


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - b72d29724d5dec8133cb2afc039ed8c6fb6f5227

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  b72d29724d5dec8133cb2afc039ed8c6fb6f5227 (commit)
  from  fcf6740d3f6adab2bcaea819c4e84126555ce3e0 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit b72d29724d5dec8133cb2afc039ed8c6fb6f5227
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 15:25:31 2008 +0200

Fix python path for systems without tdb installed in the system.

---

Summary of changes:
 source4/selftest/samba4_tests.sh |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/selftest/samba4_tests.sh b/source4/selftest/samba4_tests.sh
index cde0a05..3c2bb13 100755
--- a/source4/selftest/samba4_tests.sh
+++ b/source4/selftest/samba4_tests.sh
@@ -334,7 +334,7 @@ SUBUNITRUN=$PYTHON ./scripting/bin/subunitrun
 plantest ldb.python none PYTHONPATH=$PYTHONPATH:lib/ldb/tests/python/ 
$SUBUNITRUN api
 plantest credentials.python none 
PYTHONPATH=$PYTHONPATH:auth/credentials/tests $SUBUNITRUN bindings
 plantest registry.python none PYTHONPATH=$PYTHONPATH:lib/registry/tests/ 
$SUBUNITRUN bindings
-plantest tdb.python none PYTHONPATH=$PYTHONPATH:lib/tdb/python/tests 
$SUBUNITRUN simple
+plantest tdb.python none PYTHONPATH=$PYTHONPATH:../lib/tdb/python/tests 
$SUBUNITRUN simple
 plantest auth.python none PYTHONPATH=$PYTHONPATH:auth/tests/ $SUBUNITRUN 
bindings
 plantest security.python none PYTHONPATH=$PYTHONPATH:libcli/security/tests 
$SUBUNITRUN bindings
 plantest param.python none PYTHONPATH=$PYTHONPATH:param/tests $SUBUNITRUN 
bindings


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4150-g020c03b

2008-09-18 Thread Günther Deschner
The branch, v3-3-test has been updated
   via  020c03bff844ef976dd786a755c4d682bf161a3d (commit)
  from  e60be05baff1a0d9f99cd2be8fbfd66e76893c1d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -
commit 020c03bff844ef976dd786a755c4d682bf161a3d
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Fri Sep 5 14:01:45 2008 +0200

build: don't install the cifs.upcall binary twice.

Guenther
(cherry picked from commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b)

---

Summary of changes:
 source/Makefile.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index ca1b887..1b2339e 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -178,7 +178,7 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\$(SMB_PASSWD_FILE)\ \
 
 # Note that all executable programs now provide for an optional executable 
suffix.
 
-SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@ @CIFSUPCALL_PROGS@
+SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@
 
 ROOT_SBIN_PROGS = @CIFSMOUNT_PROGS@
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4151-gcf40fb9

2008-09-18 Thread Karolin Seeger
The branch, v3-3-test has been updated
   via  cf40fb97239ed9a11e5750fde6e078233e567bba (commit)
  from  020c03bff844ef976dd786a755c4d682bf161a3d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -
commit cf40fb97239ed9a11e5750fde6e078233e567bba
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:52:06 2008 +0200

build-docs: Add 'make clean'.

Karolin

---

Summary of changes:
 release-scripts/build-docs |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/release-scripts/build-docs b/release-scripts/build-docs
index fa38d8d..53500d7 100755
--- a/release-scripts/build-docs
+++ b/release-scripts/build-docs
@@ -25,4 +25,7 @@ cd ../docs || exit 1
 mv manpages-3 manpages
 mv htmldocs/manpages-3 htmldocs/manpages
 
+cd $DOCSRCDIR || exit 1
+make clean
+
 exit


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-3-stable updated - release-3-3-0pre1-315-g6e1d92e

2008-09-18 Thread Karolin Seeger
The branch, v3-3-stable has been updated
   via  6e1d92e3b324a0759486f914a0e4b32be1142aee (commit)
  from  4b67ebea54ab1bb974aead28c5bf2d841013a61e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable


- Log -
commit 6e1d92e3b324a0759486f914a0e4b32be1142aee
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:52:06 2008 +0200

build-docs: Add 'make clean'.

Karolin
(cherry picked from commit cf40fb97239ed9a11e5750fde6e078233e567bba)

---

Summary of changes:
 release-scripts/build-docs |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/release-scripts/build-docs b/release-scripts/build-docs
index fa38d8d..53500d7 100755
--- a/release-scripts/build-docs
+++ b/release-scripts/build-docs
@@ -25,4 +25,7 @@ cd ../docs || exit 1
 mv manpages-3 manpages
 mv htmldocs/manpages-3 htmldocs/manpages
 
+cd $DOCSRCDIR || exit 1
+make clean
+
 exit


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3041-g6561897

2008-09-18 Thread Karolin Seeger
The branch, v3-2-test has been updated
   via  656189740d701246a8689e3348510715122bf148 (commit)
   via  5a4ffd53c49efb37a15f097438d4ee4487d1b616 (commit)
   via  fa66d3220ecd48b488f40e96492154ac7f130322 (commit)
  from  d553faff4ae9aa1fdc1bb716e901dcede7799f27 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit 656189740d701246a8689e3348510715122bf148
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:52:06 2008 +0200

build-docs: Add 'make clean'.

Karolin
(cherry picked from commit cf40fb97239ed9a11e5750fde6e078233e567bba)
(cherry picked from commit 6e1d92e3b324a0759486f914a0e4b32be1142aee)

commit 5a4ffd53c49efb37a15f097438d4ee4487d1b616
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:58:02 2008 +0200

WHATSNEW: Start WHATSNEW for 3.2.5.

Karolin

commit fa66d3220ecd48b488f40e96492154ac7f130322
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:56:02 2008 +0200

VERSION: Raise version number up to 3.2.5.

Karolin

---

Summary of changes:
 WHATSNEW.txt   |  107 ++-
 release-scripts/build-docs |3 +
 source/VERSION |2 +-
 3 files changed, 9 insertions(+), 103 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 87acb2e..51d88da 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,120 +1,23 @@
==
-   Release Notes for Samba 3.2.4
-   September 18, 2008
+   Release Notes for Samba 3.2.5
+
==
 
 
 This is a bug fix release of the Samba 3.2 series.
 
-Major bug fixes included in Samba 3.2.4 are:
-
-  o Fix Winbind crashes.
-  o Fix changing of machine account passwords.
-  o Fix non guest connections to shares when security = share
-is used.
-  o Fix file write times.
+Major bug fixes included in Samba 3.2.5 are:
 
+  o 
 
 ##
 Changes
 ###
 
-Changes since 3.2.3
+Changes since 3.2.4
 ---
 
 
-o   Michael Adam [EMAIL PROTECTED]
-* BUG 5590: Fix binary stripping on older OS.
-* BUG 5492: Fix RHEL SPEC file by removing libmsrpc stuff.
-* BUG 5507: Fix several issues in the RHEL SPEC file.
-* Fix linking of cifs.upcall when nscd_flush_cache() is found.
-
-
-o   Jeremy Allison [EMAIL PROTECTED]
-* BUG 5052: Allow inheritable permissions.
-* BUG 5697: Fix spinning of nmbd in reload_interfaces when only loopback
-  has an IPv4 address.
-* BUG 5698: Fix non guest connections to shares when security = share
-  is used.
-* BUG 5729: Explicitly allow -valid.
-* BUG 5745: Fix Kerberos authentication with (lib)smbclient.
-* BUG 5751: Fix showing of ACLs on DFS in (lib)smbclient.
-* BUG 5761: Fix opening of mangled directory name (resulted
-  'is a stream name').
-* Fix the wcache_invalidate_samlogon calls.
-* Add st_birthtime and friends for accurate create times on *BSD and 
MacOSX.
-* Clarify usage of force create mode.
-* Write times code update.
-
-
-o   Gerald (Jerry) Carter [EMAIL PROTECTED]
-* Fix Winbind crash.
-* idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads
-  structure.
-
-
-o   Steven Danneman [EMAIL PROTECTED]
-* Fix build warnings.
-* Cleanup of DC enumeration in get_dcs().
-
-
-o   Günther Deschner [EMAIL PROTECTED]
-* BUG 5710: Fix changing of machine account passwords.
-* Fix several build warnings.
-* Fix invalid sid copy (hit when enumerating sibling domains) in Winbind.
-
-
-o   James Ding [EMAIL PROTECTED]
-* BUG 5736: Fix Winbind crash bug with trusted domains.
-
-
-o   Ephi Dror [EMAIL PROTECTED]
-* Correct the netsamlogon_clear_cached_user function.
-
-
-o   Jeff Layton [EMAIL PROTECTED]
-* Fix handling of MSKRB5 OID in cifs.upcall.
-* Fix build warnings in cifs.upcall.
-* Change default install location of cifs.upcall to EPREFIX/sbin.
-* Enable building of cifs.upcall by default on Linux.
-
-
-o   Volker Lendecke [EMAIL PROTECTED]
-* BUG 5707: Do proper error handling if the socket is closed.
-* Fix calculation of useable_space for trans2 and nttrans replies.
-* Fix Coverity ID 587.
-* Add mapping of generic bits when setting an NFSv4 ACL.
-
-
-o   Stefan Metzmacher [EMAIL PROTECTED]
-* Some write time fixes.
-
-
-o   David Leonard [EMAIL PROTECTED]
-* BUG 4516: No IPv6 on Solaris 2.6.
-
-
-o   Simo Sorce [EMAIL PROTECTED]
-* BUG 5571: Fix enumeration of nested group memberships in Winbind.
-  This affected only setups using security = ads.
-
-
-o   Timur [EMAIL PROTECTED]
-* Fix cut and paste error in 

[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-4-3-g4f9f592

2008-09-18 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  4f9f592ab792e36e870bbeba96a1fb8f0ee9efda (commit)
   via  5fa999c79ef7f68cd98805365168669e3edf102a (commit)
   via  f9f2a78144813abfae75d8031e99d35e7b2ac9f3 (commit)
  from  d89ba32c49049ae105b02b2cea578605a13a7afb (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit 4f9f592ab792e36e870bbeba96a1fb8f0ee9efda
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:52:06 2008 +0200

build-docs: Add 'make clean'.

Karolin
(cherry picked from commit cf40fb97239ed9a11e5750fde6e078233e567bba)
(cherry picked from commit 6e1d92e3b324a0759486f914a0e4b32be1142aee)
(cherry picked from commit 656189740d701246a8689e3348510715122bf148)

commit 5fa999c79ef7f68cd98805365168669e3edf102a
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 15:58:02 2008 +0200

WHATSNEW: Start WHATSNEW for 3.2.5.

Karolin

commit f9f2a78144813abfae75d8031e99d35e7b2ac9f3
Author: Karolin Seeger [EMAIL PROTECTED]
Date:   Thu Sep 18 16:02:19 2008 +0200

VERSION: Raise version number up to 3.2.5.

Karolin

---

Summary of changes:
 WHATSNEW.txt   |  106 ++-
 release-scripts/build-docs |3 +
 source/VERSION |2 +-
 3 files changed, 9 insertions(+), 102 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 2a211ec..51d88da 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,119 +1,23 @@
==
-   Release Notes for Samba 3.2.4
-   September 18, 2008
+   Release Notes for Samba 3.2.5
+
==
 
 
 This is a bug fix release of the Samba 3.2 series.
 
-Major bug fixes included in Samba 3.2.4 are:
-
-  o Fix Winbind crashes.
-  o Fix changing of machine account passwords.
-  o Fix non guest connections to shares when security = share
-is used.
-  o Fix file write times.
+Major bug fixes included in Samba 3.2.5 are:
 
+  o 
 
 ##
 Changes
 ###
 
-Changes since 3.2.3
+Changes since 3.2.4
 ---
 
 
-o   Michael Adam [EMAIL PROTECTED]
-* BUG 5590: Fix binary stripping on older OS.
-* BUG 5492: Fix RHEL SPEC file by removing libmsrpc stuff.
-* BUG 5507: Fix several issues in the RHEL SPEC file.
-* Fix linking of cifs.upcall when nscd_flush_cache() is found.
-
-
-o   Jeremy Allison [EMAIL PROTECTED]
-* BUG 5052: Allow inheritable permissions.
-* BUG 5697: Fix spinning of nmbd in reload_interfaces when only loopback
-  has an IPv4 address.
-* BUG 5698: Fix non guest connections to shares when security = share
-  is used.
-* BUG 5729: Explicitly allow -valid.
-* BUG 5745: Fix Kerberos authentication with (lib)smbclient.
-* BUG 5751: Fix showing of ACLs on DFS in (lib)smbclient.
-* BUG 5761: Fix opening of mangled directory name (resulted
-  'is a stream name').
-* Fix the wcache_invalidate_samlogon calls.
-* Add st_birthtime and friends for accurate create times on *BSD and 
MacOSX.
-* Clarify usage of force create mode.
-* Write times code update.
-
-
-o   Gerald (Jerry) Carter [EMAIL PROTECTED]
-* Fix Winbind crash.
-* idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads
-  structure.
-
-
-o   Steven Danneman [EMAIL PROTECTED]
-* Fix build warnings.
-* Cleanup of DC enumeration in get_dcs().
-
-
-o   Günther Deschner [EMAIL PROTECTED]
-* BUG 5710: Fix changing of machine account passwords.
-* Fix several build warnings.
-* Fix invalid sid copy (hit when enumerating sibling domains) in Winbind.
-
-
-o   James Ding [EMAIL PROTECTED]
-* BUG 5736: Fix Winbind crash bug with trusted domains.
-
-
-o   Ephi Dror [EMAIL PROTECTED]
-* Correct the netsamlogon_clear_cached_user function.
-
-
-o   Jeff Layton [EMAIL PROTECTED]
-* Fix handling of MSKRB5 OID in cifs.upcall.
-* Fix build warnings in cifs.upcall.
-* Change default install location of cifs.upcall to EPREFIX/sbin.
-* Enable building of cifs.upcall by default on Linux.
-
-
-o   Volker Lendecke [EMAIL PROTECTED]
-* BUG 5707: Do proper error handling if the socket is closed.
-* Fix calculation of useable_space for trans2 and nttrans replies.
-* Fix Coverity ID 587.
-* Add mapping of generic bits when setting an NFSv4 ACL.
-
-
-o   Stefan Metzmacher [EMAIL PROTECTED]
-* Some write time fixes.
-
-
-o   David Leonard [EMAIL PROTECTED]
-* BUG 4516: No IPv6 on Solaris 2.6.
-
-
-o   Simo Sorce [EMAIL PROTECTED]
-* BUG 5571: Fix group memeberships in Winbind.
-
-
-o   Timur [EMAIL PROTECTED]
-* Fix cut and paste error 

[SCM] Samba Shared Repository - branch master updated - b4bd93776cf1cdd3f11856876688bdbcc261bdb9

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  b4bd93776cf1cdd3f11856876688bdbcc261bdb9 (commit)
   via  a61c9ded4060e9d83c58bee5b8390ff31e4aa108 (commit)
  from  b72d29724d5dec8133cb2afc039ed8c6fb6f5227 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit b4bd93776cf1cdd3f11856876688bdbcc261bdb9
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 16:06:45 2008 +0200

List more delaywrite tests as known failing against Samba 4, per Metze's 
request.

commit a61c9ded4060e9d83c58bee5b8390ff31e4aa108
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 16:05:46 2008 +0200

Properly report why a test didn't succeed (required for use with known
failures).

---

Summary of changes:
 source4/samba4-knownfail   |6 +
 source4/torture/basic/delaywrite.c |  208 
 2 files changed, 97 insertions(+), 117 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/samba4-knownfail b/source4/samba4-knownfail
index ded7922..f99db4f 100644
--- a/source4/samba4-knownfail
+++ b/source4/samba4-knownfail
@@ -44,3 +44,9 @@ samba4.winbind.struct.*.SHOW_SEQUENCE # Not yet working 
in winbind
 samba4.winbind.struct.*.GETPWENT  # Not yet working in winbind
 samba4.winbind.struct.*.SETPWENT  # Not yet working in winbind
 samba4.winbind.struct.*.LOOKUP_NAME_SID   # Not yet working in winbind
+^samba4.*base.delaywrite.*update of write time and SMBwrite truncate$
+^samba4.*base.delaywrite.*update of write time and SMBwrite truncate expand$
+^samba4.*base.delaywrite.*delayed update of write time 3a$
+^samba4.*base.delaywrite.*delayed update of write time 3c$
+^samba4.*base.delaywrite.*update of write time using SET_END_OF_FILE$
+^samba4.*base.delaywrite.*update of write time using SET_ALLOCATION_SIZE$
diff --git a/source4/torture/basic/delaywrite.c 
b/source4/torture/basic/delaywrite.c
index af42beb..61678f4 100644
--- a/source4/torture/basic/delaywrite.c
+++ b/source4/torture/basic/delaywrite.c
@@ -55,7 +55,7 @@ static bool test_delayed_write_update(struct torture_context 
*tctx, struct smbcl
 
fnum1 = smbcli_open(cli-tree, fname, O_RDWR|O_CREAT, DENY_NONE);
if (fnum1 == -1) {
-   torture_comment(tctx, Failed to open %s\n, fname);
+   torture_result(tctx, TORTURE_FAIL, Failed to open %s, fname);
return false;
}
 
@@ -65,10 +65,7 @@ static bool test_delayed_write_update(struct torture_context 
*tctx, struct smbcl
 
status = smb_raw_fileinfo(cli-tree, tctx, finfo1);
 
-   if (!NT_STATUS_IS_OK(status)) {
-   DEBUG(0, (fileinfo failed: %s\n, nt_errstr(status)));
-   return false;
-   }
+   torture_assert_ntstatus_ok(tctx, status, fileinfo failed);

torture_comment(tctx, Initial write time %s\n, 
   nt_time_string(tctx, finfo1.basic_info.out.write_time));
@@ -80,8 +77,9 @@ static bool test_delayed_write_update(struct torture_context 
*tctx, struct smbcl
written =  smbcli_write(cli-tree, fnum1, 0, x, 0, 1);
 
if (written != 1) {
-   torture_comment(tctx, write failed - wrote %d bytes (%s)\n, 
-  (int)written, __location__);
+   torture_result(tctx, TORTURE_FAIL, 
+  write failed - wrote %d bytes 
(%s)\n, 
+  (int)written, __location__);
return false;
}
 
@@ -117,7 +115,8 @@ static bool test_delayed_write_update(struct 
torture_context *tctx, struct smbcl
}

if (finfo1.basic_info.out.write_time == 
finfo2.basic_info.out.write_time) {
-   torture_comment(tctx, Server did not update write time 
(wrong!)\n);
+   torture_result(tctx, TORTURE_FAIL, 
+  Server did not update write time 
(wrong!));
ret = false;
}
 
@@ -154,7 +153,7 @@ static bool test_delayed_write_update1(struct 
torture_context *tctx, struct smbc
 
fnum1 = smbcli_open(cli-tree, fname, O_RDWR|O_CREAT, DENY_NONE);
if (fnum1 == -1) {
-   torture_comment(tctx, Failed to open %s\n, fname);
+   torture_result(tctx, TORTURE_FAIL, Failed to open %s, fname);
return false;
}
 
@@ -174,10 +173,7 @@ static bool test_delayed_write_update1(struct 
torture_context *tctx, struct smbc
 
status = smb_raw_fileinfo(cli-tree, tctx, finfo1);
 
-   if (!NT_STATUS_IS_OK(status)) {
-   DEBUG(0, (fileinfo failed: %s\n, nt_errstr(status)));
-   return false;
-   }
+   torture_assert_ntstatus_ok(tctx, status, fileinfo failed);
 
torture_comment(tctx, Initial write time %s\n, 
   nt_time_string(tctx, 

[SCM] Samba Shared Repository - branch master updated - a45782a4cbba2b92c04d3ac9dba85db8c692145e

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  a45782a4cbba2b92c04d3ac9dba85db8c692145e (commit)
  from  b4bd93776cf1cdd3f11856876688bdbcc261bdb9 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit a45782a4cbba2b92c04d3ac9dba85db8c692145e
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 16:27:38 2008 +0200

Update pdbsql maintainers.

---

Summary of changes:
 MAINTAINERS |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/MAINTAINERS b/MAINTAINERS
index 2b09221..f6824a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -26,8 +26,8 @@ libmsrpc  Chris Nichols [EMAIL PROTECTED]
 
 libsmbclient   Derrell Lipman [EMAIL PROTECTED]
 
-pdb_*sql   Wilco Baan Hofman [EMAIL PROTECTED]
-   Florian Effenberger [EMAIL PROTECTED]
+pdb_*sql   Collen Blijenberg [EMAIL PROTECTED]
+   Herwin Weststrate [EMAIL PROTECTED]
 
http://pdbsql.sourceforge.net/
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - a0e5f9194a8214e6bc7f7e56b82575300401ffef

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  a0e5f9194a8214e6bc7f7e56b82575300401ffef (commit)
  from  a45782a4cbba2b92c04d3ac9dba85db8c692145e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit a0e5f9194a8214e6bc7f7e56b82575300401ffef
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 16:56:11 2008 +0200

Import ndr_syntax_id_equal from Samba 3.

---

Summary of changes:
 source4/librpc/ndr/libndr.h   |1 +
 source4/librpc/ndr/ndr_misc.c |6 ++
 2 files changed, 7 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index b719be2..3f4de78 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -342,6 +342,7 @@ void ndr_print_dom_sid0(struct ndr_print *ndr, const char 
*name, const struct do
 size_t ndr_size_dom_sid0(const struct dom_sid *sid, int flags);
 void ndr_print_ipv4_addr(struct ndr_print *ndr, const char *name, const struct 
in_addr *_ip);
 void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID 
*guid);
+bool ndr_syntax_id_equal(const struct ndr_syntax_id *i1, const struct 
ndr_syntax_id *i2); 
 enum ndr_err_code ndr_push_struct_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, 
struct smb_iconv_convenience *iconv_convenience, const void *p, 
ndr_push_flags_fn_t fn);
 enum ndr_err_code ndr_push_union_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, 
struct smb_iconv_convenience *iconv_convenience, void *p, uint32_t level, 
ndr_push_flags_fn_t fn);
 size_t ndr_size_struct(const void *p, int flags, ndr_push_flags_fn_t push);
diff --git a/source4/librpc/ndr/ndr_misc.c b/source4/librpc/ndr/ndr_misc.c
index be7dab9..2e5ecba 100644
--- a/source4/librpc/ndr/ndr_misc.c
+++ b/source4/librpc/ndr/ndr_misc.c
@@ -38,3 +38,9 @@ _PUBLIC_ void ndr_print_GUID(struct ndr_print *ndr, const 
char *name, const stru
ndr-print(ndr, %-25s: %s, name, GUID_string(ndr, guid));
 }
 
+bool ndr_syntax_id_equal(const struct ndr_syntax_id *i1,
+const struct ndr_syntax_id *i2)
+{
+   return GUID_equal(i1-uuid, i2-uuid)
+(i1-if_version == i2-if_version);
+}


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-3-stable updated - release-3-3-0pre1-316-g5a9a190

2008-09-18 Thread Karolin Seeger
The branch, v3-3-stable has been updated
   via  5a9a190a5588b0cf938bc5c9659b7704d18cd4a3 (commit)
  from  6e1d92e3b324a0759486f914a0e4b32be1142aee (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable


- Log -
commit 5a9a190a5588b0cf938bc5c9659b7704d18cd4a3
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Fri Sep 5 14:01:45 2008 +0200

build: don't install the cifs.upcall binary twice.

Guenther
(cherry picked from commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b)
(cherry picked from commit 020c03bff844ef976dd786a755c4d682bf161a3d)

---

Summary of changes:
 source/Makefile.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index beb14ee..704d3e5 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -178,7 +178,7 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\$(SMB_PASSWD_FILE)\ \
 
 # Note that all executable programs now provide for an optional executable 
suffix.
 
-SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@ @CIFSUPCALL_PROGS@
+SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@
 
 ROOT_SBIN_PROGS = @CIFSMOUNT_PROGS@
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3042-gc83295d

2008-09-18 Thread Karolin Seeger
The branch, v3-2-test has been updated
   via  c83295d3b575be80a432c4716be62cd63eb3bdef (commit)
  from  656189740d701246a8689e3348510715122bf148 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -
commit c83295d3b575be80a432c4716be62cd63eb3bdef
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Fri Sep 5 14:01:45 2008 +0200

build: don't install the cifs.upcall binary twice.

Guenther
(cherry picked from commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b)
(cherry picked from commit 020c03bff844ef976dd786a755c4d682bf161a3d)
(cherry picked from commit 5a9a190a5588b0cf938bc5c9659b7704d18cd4a3)

---

Summary of changes:
 source/Makefile.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index 12c62e1..cf405fe 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -175,7 +175,7 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\$(SMB_PASSWD_FILE)\ \
 
 # Note that all executable programs now provide for an optional executable 
suffix.
 
-SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@ @CIFSUPCALL_PROGS@
+SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@
 
 ROOT_SBIN_PROGS = @CIFSMOUNT_PROGS@
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-4-4-gcfc8dc2

2008-09-18 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  cfc8dc236dda869dbe4141bef80f6965ce76188d (commit)
  from  4f9f592ab792e36e870bbeba96a1fb8f0ee9efda (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -
commit cfc8dc236dda869dbe4141bef80f6965ce76188d
Author: Günther Deschner [EMAIL PROTECTED]
Date:   Fri Sep 5 14:01:45 2008 +0200

build: don't install the cifs.upcall binary twice.

Guenther
(cherry picked from commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b)
(cherry picked from commit 020c03bff844ef976dd786a755c4d682bf161a3d)
(cherry picked from commit 5a9a190a5588b0cf938bc5c9659b7704d18cd4a3)
(cherry picked from commit c83295d3b575be80a432c4716be62cd63eb3bdef)

---

Summary of changes:
 source/Makefile.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index 12c62e1..cf405fe 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -175,7 +175,7 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\$(SMB_PASSWD_FILE)\ \
 
 # Note that all executable programs now provide for an optional executable 
suffix.
 
-SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@ @CIFSUPCALL_PROGS@
+SBIN_PROGS = bin/[EMAIL PROTECTED]@ bin/[EMAIL PROTECTED]@ @SWAT_SBIN_TARGETS@ 
@EXTRA_SBIN_PROGS@
 
 ROOT_SBIN_PROGS = @CIFSMOUNT_PROGS@
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - 5b827dfd8b20e4c268a594e733765bef147020fb

2008-09-18 Thread Stefan Metzmacher
The branch, master has been updated
   via  5b827dfd8b20e4c268a594e733765bef147020fb (commit)
  from  a0e5f9194a8214e6bc7f7e56b82575300401ffef (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 5b827dfd8b20e4c268a594e733765bef147020fb
Author: Stefan Metzmacher [EMAIL PROTECTED]
Date:   Thu Sep 18 17:38:47 2008 +0200

s4:lib/com: fix the build with automatic dependecies

metze

---

Summary of changes:
 source4/lib/com/main.c   |3 +--
 source4/lib/com/tables.c |2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c
index 3e4127f..882b479 100644
--- a/source4/lib/com/main.c
+++ b/source4/lib/com/main.c
@@ -19,11 +19,10 @@
 */
 
 #include includes.h
-#include dlinklist.h
+#include lib/util/dlinklist.h
 #include lib/com/com.h
 #include lib/events/events.h
 #include librpc/gen_ndr/com_dcom.h
-#include build.h
 
 WERROR com_init_ctx(struct com_context **ctx, struct event_context *event_ctx)
 {
diff --git a/source4/lib/com/tables.c b/source4/lib/com/tables.c
index d9989ec..11bf95c 100644
--- a/source4/lib/com/tables.c
+++ b/source4/lib/com/tables.c
@@ -19,7 +19,7 @@
 */
 
 #include includes.h
-#include dlinklist.h
+#include lib/util/dlinklist.h
 #include lib/com/com.h
 #include librpc/gen_ndr/ndr_misc.h
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - fc7050e54c69919d754ca0adf3f2f741a501fec4

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  fc7050e54c69919d754ca0adf3f2f741a501fec4 (commit)
   via  900768067831f773b7cdeec03e095956bccb961e (commit)
   via  cb16488cb1bc29657a024a74c21b33445cde87b0 (commit)
   via  75b59c9b31d1a69ab58770d8741e15a894a1cad3 (commit)
   via  e9429a2abe06c20e5e4582febe8e6c0a20756e48 (commit)
  from  5b827dfd8b20e4c268a594e733765bef147020fb (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit fc7050e54c69919d754ca0adf3f2f741a501fec4
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 19:58:47 2008 +0200

Add header.

commit 900768067831f773b7cdeec03e095956bccb961e
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 19:56:25 2008 +0200

Remove obsolete script.

commit cb16488cb1bc29657a024a74c21b33445cde87b0
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 19:18:13 2008 +0200

Fix path, typo.

commit 75b59c9b31d1a69ab58770d8741e15a894a1cad3
Merge: e9429a2abe06c20e5e4582febe8e6c0a20756e48 
5b827dfd8b20e4c268a594e733765bef147020fb
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 18:41:23 2008 +0200

Merge branch 'master' of ssh://git.samba.org/data/git/samba

commit e9429a2abe06c20e5e4582febe8e6c0a20756e48
Author: Matthias Dieter Wallnoefer [EMAIL PROTECTED]
Date:   Thu Sep 18 18:40:47 2008 +0200

Prevent prefix=/usr being used without --with-fhs.

---

Summary of changes:
 README.Coding  |2 +-
 prog_guide4.txt|4 +-
 source4/build/m4/check_path.m4 |5 +
 source4/script/build_smb_interfaces.pl |  161 
 source4/script/harness2subunit.pl  |4 +
 5 files changed, 12 insertions(+), 164 deletions(-)
 delete mode 100755 source4/script/build_smb_interfaces.pl


Changeset truncated at 500 lines:

diff --git a/README.Coding b/README.Coding
index 52ecf0e..8063ae8 100644
--- a/README.Coding
+++ b/README.Coding
@@ -173,7 +173,7 @@ Goto
 
 
 While many people have been academically taught that goto's are fundamentally
-evil, then can greatly enhance readability and reduce memory leaks when used
+evil, they can greatly enhance readability and reduce memory leaks when used
 as the single exit point from a function.  But in no Samba world what so ever 
 is a goto outside of a function or block of code a good idea.
 
diff --git a/prog_guide4.txt b/prog_guide4.txt
index bba58b3..2f5be5f 100644
--- a/prog_guide4.txt
+++ b/prog_guide4.txt
@@ -194,7 +194,7 @@ in the data and bss columns in size anyway (it will be 
included in
 How to use talloc
 -
 
-Please see the separate document, source/lib/talloc/talloc_guide.txt
+Please see the separate document, lib/talloc/talloc_guide.txt
 You _must_ read this if you want to program in Samba4.
 
 
@@ -646,7 +646,7 @@ file cannot be deleted until you reboot
 trans2 qpathinfo doesn't see the delete_pending flag correctly, but
 qfileinfo does!
 
-get rid of pstring, fstring, strtok
+get rid of strtok
 
 add programming documentation note about lp_set_cmdline()
 
diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4
index c45a803..51d5daa 100644
--- a/source4/build/m4/check_path.m4
+++ b/source4/build/m4/check_path.m4
@@ -23,6 +23,11 @@ winbindd_socket_dir=${localstatedir}/run/winbindd
 winbindd_privileged_socket_dir=${localstatedir}/lib/winbindd_privileged
 ntp_signd_socket_dir=${localstatedir}/run/ntp_signd
 
+# Check to prevent installing directly under /usr without the FHS
+AS_IF([test ${prefix} == /usr],[
+AC_MSG_ERROR([Don't install directly under /usr without using the FHS 
option (--with-fhs). This could lead to file loss!])
+])
+
 AC_ARG_WITH(fhs, 
 [AS_HELP_STRING([--with-fhs],[Use FHS-compliant paths (default=no)])],
 lockdir=${localstatedir}/lib/samba
diff --git a/source4/script/build_smb_interfaces.pl 
b/source4/script/build_smb_interfaces.pl
deleted file mode 100755
index 5fac94c..000
--- a/source4/script/build_smb_interfaces.pl
+++ /dev/null
@@ -1,161 +0,0 @@
-#!/usr/bin/perl
-#
-# Create ejs interfaces for structures in a C header file
-#
-
-use File::Basename;
-use Data::Dumper;
-
-#
-# Generate parse tree for header file
-#
-
-my $file = shift;
-require smb_interfaces;
-my $parser = new smb_interfaces;
-$header = $parser-parse($file);
-
-#
-# Make second pass over tree to make it easier to process.
-#
-
-sub flatten_structs($) {
-  my $obj = shift;
-  my $s = { %$obj };
-
-  # Map NAME, STRUCT_NAME and UNION_NAME elements into a more likeable
-  # property.
-
-  if (defined($obj-{STRUCT_NAME}) or defined($obj-{UNION_NAME})) {
-
-$s-{TYPE_DEFINED} = defined($obj-{STRUCT_NAME}) ? $obj-{STRUCT_NAME} 
-  : $obj-{UNION_NAME};
-
-delete $s-{STRUCT_NAME};
-delete $s-{UNION_NAME};
-  }
-
-  # Create a new list of structure fields 

[SCM] Samba Shared Repository - branch master updated - 6f6e42ce60e3f9adfebffa7db04eafe717942c1b

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  6f6e42ce60e3f9adfebffa7db04eafe717942c1b (commit)
   via  ec80fe4b214e311952ab67b3fd8b1cb1551c3b5c (commit)
  from  fc7050e54c69919d754ca0adf3f2f741a501fec4 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 6f6e42ce60e3f9adfebffa7db04eafe717942c1b
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 23:55:50 2008 +0200

Generate with 1.3.36.

commit ec80fe4b214e311952ab67b3fd8b1cb1551c3b5c
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Thu Sep 18 23:54:53 2008 +0200

Implement __repr__ for Sid.

---

Summary of changes:
 source4/auth/auth.py|2 +-
 source4/auth/auth_wrap.c|   14 +++-
 source4/auth/credentials/credentials.py |2 +-
 source4/auth/credentials/credentials_wrap.c |   47 +++--
 source4/lib/events/events.i |2 +-
 source4/lib/events/events.py|2 +-
 source4/lib/events/events_wrap.c|   17 +++--
 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c  |4 +
 source4/lib/registry/registry.i |2 +-
 source4/libcli/security/security.i  |8 ++-
 source4/libcli/security/security.py |5 +-
 source4/libcli/security/security_wrap.c |   62 +
 source4/libcli/swig/libcli_smb.i|2 +-
 source4/libcli/swig/libcli_smb.py   |2 +-
 source4/libcli/swig/libcli_smb_wrap.c   |   14 +++-
 source4/param/param.py  |2 +-
 source4/param/param_wrap.c  |  100 ++-
 source4/scripting/python/config.m4  |2 +-
 source4/scripting/python/misc.i |2 +-
 19 files changed, 164 insertions(+), 127 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/auth/auth.py b/source4/auth/auth.py
index 226175a..1e5d688 100644
--- a/source4/auth/auth.py
+++ b/source4/auth/auth.py
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.35
+# Version 1.3.36
 #
 # Don't modify this file, modify the SWIG interface instead.
 
diff --git a/source4/auth/auth_wrap.c b/source4/auth/auth_wrap.c
index dea76ef..c514821 100644
--- a/source4/auth/auth_wrap.c
+++ b/source4/auth/auth_wrap.c
@@ -1,6 +1,6 @@
 /* 
  * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.35
+ * Version 1.3.36
  * 
  * This file is not intended to be easily readable and contains a number of 
  * coding conventions designed to improve portability and efficiency. Do not 
make
@@ -52,6 +52,12 @@
 # endif
 #endif
 
+#ifndef SWIG_MSC_UNSUPPRESS_4505
+# if defined(_MSC_VER)
+#   pragma warning(disable : 4505) /* unreferenced local function has been 
removed */
+# endif 
+#endif
+
 #ifndef SWIGUNUSEDPARM
 # ifdef __cplusplus
 #   define SWIGUNUSEDPARM(p)
@@ -2523,7 +2529,7 @@ static swig_module_info swig_module = {swig_types, 16, 0, 
0, 0, 0};
 
 #define SWIG_name_auth
 
-#define SWIGVERSION 0x010335 
+#define SWIGVERSION 0x010336 
 #define SWIG_VERSION SWIGVERSION
 
 
@@ -2548,13 +2554,13 @@ SWIGINTERN PyObject *_wrap_system_session(PyObject 
*SWIGUNUSEDPARM(self), PyObje
   PyObject *resultobj = 0;
   TALLOC_CTX *arg1 = (TALLOC_CTX *) 0 ;
   struct loadparm_context *arg2 = (struct loadparm_context *) 0 ;
-  struct auth_session_info *result = 0 ;
   void *argp2 = 0 ;
   int res2 = 0 ;
   PyObject * obj0 = 0 ;
   char *  kwnames[] = {
 (char *) lp_ctx, NULL 
   };
+  struct auth_session_info *result = 0 ;
   
   arg2 = loadparm_init(NULL);
   arg1 = NULL;
@@ -2578,13 +2584,13 @@ SWIGINTERN PyObject *_wrap_system_session_anon(PyObject 
*SWIGUNUSEDPARM(self), P
   PyObject *resultobj = 0;
   TALLOC_CTX *arg1 = (TALLOC_CTX *) 0 ;
   struct loadparm_context *arg2 = (struct loadparm_context *) 0 ;
-  struct auth_session_info *result = 0 ;
   void *argp2 = 0 ;
   int res2 = 0 ;
   PyObject * obj0 = 0 ;
   char *  kwnames[] = {
 (char *) lp_ctx, NULL 
   };
+  struct auth_session_info *result = 0 ;
   
   arg2 = loadparm_init(NULL);
   arg1 = NULL;
diff --git a/source4/auth/credentials/credentials.py 
b/source4/auth/credentials/credentials.py
index 2cd56c3..fe21dd2 100644
--- a/source4/auth/credentials/credentials.py
+++ b/source4/auth/credentials/credentials.py
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.35
+# Version 1.3.36
 #
 # Don't modify this file, modify the SWIG interface instead.
 
diff --git a/source4/auth/credentials/credentials_wrap.c 
b/source4/auth/credentials/credentials_wrap.c
index 81ba426..260451d 100644
--- a/source4/auth/credentials/credentials_wrap.c
+++ b/source4/auth/credentials/credentials_wrap.c
@@ -1,6 +1,6 @@
 /* 

[SCM] Samba Shared Repository - branch master updated - ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b (commit)
  from  6f6e42ce60e3f9adfebffa7db04eafe717942c1b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Fri Sep 19 00:05:34 2008 +0200

Add test for Sid.__repr__.

---

Summary of changes:
 source4/libcli/security/tests/bindings.py |4 
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/libcli/security/tests/bindings.py 
b/source4/libcli/security/tests/bindings.py
index 82ce7ae..b539de8 100644
--- a/source4/libcli/security/tests/bindings.py
+++ b/source4/libcli/security/tests/bindings.py
@@ -65,6 +65,10 @@ class DomSidTests(unittest.TestCase):
 sid = security.random_sid()
 self.assertTrue(str(sid).startswith(S-1-5-21-))
 
+def test_repr(self):
+sid = security.random_sid()
+self.assertTrue(repr(sid).startswith(Sid('S-1-5-21-))
+
 
 class PrivilegeTests(unittest.TestCase):
 def test_privilege_name(self):


-- 
Samba Shared Repository


Build status as of Fri Sep 19 00:00:03 2008

2008-09-18 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2008-09-18 
00:00:27.0 +
+++ /home/build/master/cache/broken_results.txt 2008-09-19 00:00:36.0 
+
@@ -1,4 +1,4 @@
-Build status as of Thu Sep 18 00:00:02 2008
+Build status as of Fri Sep 19 00:00:03 2008
 
 Build counts:
 Tree Total  Broken Panic 
@@ -6,18 +6,18 @@
 ccache   34 10 0 
 ctdb 0  0  0 
 distcc   1  0  0 
-ldb  33 32 0 
-libreplace   32 12 0 
+ldb  34 32 0 
+libreplace   33 12 0 
 lorikeet-heimdal 30 20 0 
 pidl 21 19 0 
 ppp  15 0  0 
 rsync34 11 0 
 samba-docs   0  0  0 
-samba-gtk7  6  0 
-samba_3_X_devel 29 25 0 
-samba_3_X_test 30 16 0 
+samba-gtk7  7  0 
+samba_3_X_devel 29 17 0 
+samba_3_X_test 30 15 0 
 samba_4_0_test 33 30 1 
-smb-build31 6  0 
+smb-build32 6  0 
 talloc   34 32 0 
 tdb  31 12 0 
 


[SCM] Samba Shared Repository - branch master updated - 495758a73e125e59921092c893c6e32ba7091fe1

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  495758a73e125e59921092c893c6e32ba7091fe1 (commit)
  from  ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 495758a73e125e59921092c893c6e32ba7091fe1
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Fri Sep 19 02:27:40 2008 +0200

Fix COM compilation, add framework for COM python module.

---

Summary of changes:
 source4/lib/com/com.h |2 +
 source4/lib/com/config.mk |9 +-
 source4/lib/com/main.c|   22 +-
 source4/lib/com/pycom.c   |   70 +
 source4/lib/com/rot.c |1 +
 5 files changed, 82 insertions(+), 22 deletions(-)
 create mode 100644 source4/lib/com/pycom.c


Changeset truncated at 500 lines:

diff --git a/source4/lib/com/com.h b/source4/lib/com/com.h
index 2074bd1..5d594ad 100644
--- a/source4/lib/com/com.h
+++ b/source4/lib/com/com.h
@@ -47,4 +47,6 @@ WERROR com_create_object(struct com_context *ctx, struct GUID 
*clsid, int num_if
 WERROR com_get_class_object(struct com_context *ctx, struct GUID *clsid, 
struct GUID *iid, struct IUnknown **ip);
 NTSTATUS com_init(void);
 
+typedef struct IUnknown *(*get_class_object_function) (const struct GUID 
*clsid);
+
 #endif /* __SAMBA_COM_H__ */
diff --git a/source4/lib/com/config.mk b/source4/lib/com/config.mk
index 5c8e98d..c5c5a35 100644
--- a/source4/lib/com/config.mk
+++ b/source4/lib/com/config.mk
@@ -1,9 +1,10 @@
 [SUBSYSTEM::COM]
+PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG LIBEVENTS LIBNDR
 
 COM_OBJ_FILES = $(addprefix lib/com/, tables.o rot.o main.o)
 
 [SUBSYSTEM::DCOM]
-PUBLIC_DEPENDENCIES = com DCOM_PROXY_DCOM RPC_NDR_REMACT \
+PUBLIC_DEPENDENCIES = COM DCOM_PROXY_DCOM RPC_NDR_REMACT \
  RPC_NDR_OXIDRESOLVER
 
 DCOM_OBJ_FILES = $(addprefix lib/com/dcom/, main.o tables.o)
@@ -13,3 +14,9 @@ SUBSYSTEM = COM
 INIT_FUNCTION = com_simple_init
 
 com_simple_OBJ_FILES = lib/com/classes/simple.o
+
+[PYTHON::pycom]
+LIBRARY_REALNAME = samba/com.$(SHLIBEXT)
+PRIVATE_DEPENDENCIES = COM
+
+pycom_OBJ_FILES = lib/com/pycom.o
diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c
index 882b479..bcc5fa3 100644
--- a/source4/lib/com/main.c
+++ b/source4/lib/com/main.c
@@ -42,7 +42,7 @@ WERROR com_create_object(struct com_context *ctx, struct GUID 
*clsid, int num_if
int i;
struct GUID classfact_iid;
 
-   GUID_from_string(DCERPC_ICLASSFACTORY_UUID, classfact_iid);
+   GUID_from_string(NDR_ICLASSFACTORY_UUID, classfact_iid);
 
/* Obtain class object */
error = com_get_class_object(ctx, clsid, classfact_iid, (struct 
IUnknown **)factory);
@@ -88,23 +88,3 @@ WERROR com_get_class_object(struct com_context *ctx, struct 
GUID *clsid, struct

return IUnknown_QueryInterface(iu, ctx, iid, ip);
 }
-
-NTSTATUS com_init(void)
-{
-   static BOOL initialized = False;
-   
-   init_module_fn static_init[] = STATIC_com_MODULES; 
-   init_module_fn *shared_init;
-
-   if (initialized) return NT_STATUS_OK;
-   initialized = True;
-
-   shared_init = load_samba_modules(NULL, com);
-
-   run_init_functions(static_init);
-   run_init_functions(shared_init);
-
-   talloc_free(shared_init);
-   
-   return NT_STATUS_OK;
-}
diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c
new file mode 100644
index 000..b6d6b77
--- /dev/null
+++ b/source4/lib/com/pycom.c
@@ -0,0 +1,70 @@
+/* 
+   Unix SMB/CIFS implementation.
+   Python bindings for COM library.
+   Copyright (C) Jelmer Vernooij [EMAIL PROTECTED] 2008
+   
+   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
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see http://www.gnu.org/licenses/.
+*/
+
+#include includes.h
+#include Python.h
+#include lib/com/com.h
+
+static PyObject *py_get_class_object(PyObject *self, PyObject *args)
+{
+   char *s_clsid, *s_iid;
+   struct GUID clsid, iid;
+   struct IUnknown *object;
+
+   if (!PyArg_ParseTuple(args, ss, s_clsid, s_iid))
+   return NULL;
+
+   status = GUID_from_string(s_clsid, clsid);
+   if (!NT_STATUS_IS_OK(status)) {
+   PyErr_FromNTSTATUS(status);
+   return NULL;
+   }
+
+   status 

[SCM] Samba Shared Repository - branch master updated - b5e8d8d22ae599778e889a8df5a18c07c9180af5

2008-09-18 Thread Jelmer Vernooij
The branch, master has been updated
   via  b5e8d8d22ae599778e889a8df5a18c07c9180af5 (commit)
  from  495758a73e125e59921092c893c6e32ba7091fe1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit b5e8d8d22ae599778e889a8df5a18c07c9180af5
Author: Jelmer Vernooij [EMAIL PROTECTED]
Date:   Fri Sep 19 02:39:03 2008 +0200

initialize a COM context.

---

Summary of changes:
 source4/lib/com/pycom.c |   15 +--
 1 files changed, 13 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c
index b6d6b77..9222be4 100644
--- a/source4/lib/com/pycom.c
+++ b/source4/lib/com/pycom.c
@@ -20,12 +20,18 @@
 #include includes.h
 #include Python.h
 #include lib/com/com.h
+#include librpc/ndr/libndr.h
+#include libcli/util/pyerrors.h
+
+static struct com_context *py_com_ctx = NULL; /* FIXME: evil global */
 
 static PyObject *py_get_class_object(PyObject *self, PyObject *args)
 {
char *s_clsid, *s_iid;
struct GUID clsid, iid;
struct IUnknown *object;
+   NTSTATUS status;
+   WERROR error;
 
if (!PyArg_ParseTuple(args, ss, s_clsid, s_iid))
return NULL;
@@ -42,7 +48,7 @@ static PyObject *py_get_class_object(PyObject *self, PyObject 
*args)
return NULL;
}
 
-   error = com_get_class_object(ctx, clsid, iid, object);
+   error = com_get_class_object(py_com_ctx, clsid, iid, object);
if (!W_ERROR_IS_OK(error)) {
PyErr_FromWERROR(error);
return NULL;
@@ -61,8 +67,13 @@ static struct PyMethodDef com_methods[] = {
 void initcom(void)
 {
PyObject *m;
+   WERROR error;
 
-   /* FIXME: Initialize COM context and attach it to m. */
+   error = com_init_ctx(py_com_ctx, NULL);
+   if (!W_ERROR_IS_OK(error)) {
+   PyErr_FromWERROR(error);
+   return;
+   }
 
m = Py_InitModule3(com, com_methods, Simple COM implementation);
if (m == NULL)


-- 
Samba Shared Repository