[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Volker Lendecke
The branch, master has been updated
   via  8aab926 tevent: Fix a typo
   via  1cb16a0 s3: Fix a typo
  from  d957fd5 selftest: Test both users created in plugin_s4_dc 
environment

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


- Log -
commit 8aab926c2804230b633e0eb29655f4e32226aa4f
Author: Volker Lendecke 
Date:   Mon May 9 07:13:00 2011 +0200

tevent: Fix a typo

Autobuild-User: Volker Lendecke 
Autobuild-Date: Mon May  9 08:17:08 CEST 2011 on sn-devel-104

commit 1cb16a9ee0cd8c442d2b52031f69805b4b8c
Author: Samba-JP oota 
Date:   Mon May 9 07:12:25 2011 +0200

s3: Fix a typo

---

Summary of changes:
 docs-xml/manpages-3/idmap_rid.8.xml |2 +-
 lib/tevent/tevent.h |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/idmap_rid.8.xml 
b/docs-xml/manpages-3/idmap_rid.8.xml
index a2a1c58..2fb246f 100644
--- a/docs-xml/manpages-3/idmap_rid.8.xml
+++ b/docs-xml/manpages-3/idmap_rid.8.xml
@@ -28,7 +28,7 @@
Currently, there should to be an explicit idmap configuration for each
domain that should use the idmap_rid backend, using disjoint ranges.
One usually needs to define a writeable default idmap range, using
-   a backent like tdb or ldap
+   a backend like tdb or ldap
that can create unix ids, in order to be able to map the BUILTIN sids
and other domains, and also in order to be able to create group 
mappings.
See the example below.
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 665c491..f4eb60c 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -136,7 +136,7 @@ struct tevent_context 
*tevent_context_init_byname(TALLOC_CTX *mem_ctx, const cha
 const char **tevent_backend_list(TALLOC_CTX *mem_ctx);
 
 /**
- * @brief Set the default tevent backent.
+ * @brief Set the default tevent backend.
  *
  * @param[in]  backend  The name of the backend to set.
  */


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Andrew Bartlett
The branch, master has been updated
   via  d957fd5 selftest: Test both users created in plugin_s4_dc 
environment
   via  a2caad2 selftest: don't override just-added username in 
plugin_s4_dc test
  from  05d00ed nsswitch: Fix build check logic

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


- Log -
commit d957fd5ae7c98fdfdc322b6aff1a7a8df09f7045
Author: Andrew Bartlett 
Date:   Mon May 9 04:22:01 2011 +0200

selftest: Test both users created in plugin_s4_dc environment

Autobuild-User: Andrew Bartlett 
Autobuild-Date: Mon May  9 06:10:52 CEST 2011 on sn-devel-104

commit a2caad24a12f3cfb8b122ed0e2cf22e612d38e35
Author: Andrew Bartlett 
Date:   Mon May 9 04:20:00 2011 +0200

selftest: don't override just-added username in plugin_s4_dc test

This will allow us to test a user added via smbpasswd as well as the
administrator added by provision.

Andrew Bartlett

---

Summary of changes:
 selftest/target/Samba3.pm |2 --
 source4/selftest/tests.py |1 +
 2 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index e99498b..2f65be4 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -300,8 +300,6 @@ sub setup_plugin_s4_dc()
$ret->{DOMAIN} = $dcvars->{DOMAIN};
$ret->{REALM} = $dcvars->{REALM};
$ret->{KRB5_CONFIG} = $dcvars->{KRB5_CONFIG};
-   $ret->{DC_USERNAME} = $dcvars->{USERNAME};
-   $ret->{DC_PASSWORD} = $dcvars->{PASSWORD};
 
# We need world access to this share, as otherwise the domain
# administrator from the AD domain provided by Samba4 can't
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index dfeb9ef..fab62d6 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -320,6 +320,7 @@ for mech in [
 name = "smb.signing on with %s" % signoptions
 plantestsuite_loadlist("samba4.%s local-creds" % name, "s4member", 
[valgrindify(smb4torture), "$LISTOPT", '//$NETBIOSNAME/tmp', signoptions, 
'-U$NETBIOSNAME/$USERNAME%$PASSWORD', 'base.xcopy'])
 plantestsuite_loadlist("samba4.%s" % name, "plugin_s4_dc", 
[valgrindify(smb4torture), "$LISTOPT", '//$NETBIOSNAME/tmp', signoptions, 
'-U$USERNAME%$PASSWORD', 'base.xcopy'])
+plantestsuite_loadlist("samba4.%s administrator" % name, "plugin_s4_dc", 
[valgrindify(smb4torture), "$LISTOPT", '//$NETBIOSNAME/tmp', signoptions, 
'-U$DC_USERNAME%$DC_PASSWORD', 'base.xcopy'])
 plantestsuite_loadlist("samba4.smb.signing --signing=yes anon", "dc", 
[valgrindify(smb4torture), "$LISTOPT", '//$NETBIOSNAME/tmp', '-k', 'no', 
'--signing=yes', '-U%', 'base.xcopy'])
 plantestsuite_loadlist("samba4.smb.signing --signing=required anon", "dc", 
[valgrindify(smb4torture), "$LISTOPT", '//$NETBIOSNAME/tmp', '-k', 'no', 
'--signing=required', '-U%', 'base.xcopy'])
 plantestsuite_loadlist("samba4.smb.signing --signing=no anon", "s4member",  
[valgrindify(smb4torture), "$LISTOPT", '//$NETBIOSNAME/tmp', '-k', 'no', 
'--signing=no', '-U%', 'base.xcopy'])


-- 
Samba Shared Repository


[SCM] CTDB repository - branch master updated - ctdb-1.10-197-g8837daa

2011-05-08 Thread Ronnie Sahlberg
The branch, master has been updated
   via  8837daa424732aeb5a20814b1709c345a97a0e09 (commit)
  from  ce6409dc7d059701f0fe4b57e7c05c38c66629c5 (commit)

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


- Log -
commit 8837daa424732aeb5a20814b1709c345a97a0e09
Author: Ronnie Sahlberg 
Date:   Mon May 9 06:35:33 2011 +1000

Remove logging of spam/errors from the 10.interfrace
script if/when we have for example NATGW configured but no public addresses 
defined on that interface

CQ S1023378

---

Summary of changes:
 config/events.d/10.interface |   19 +--
 1 files changed, 9 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/10.interface b/config/events.d/10.interface
index e0689c4..81eff51 100755
--- a/config/events.d/10.interface
+++ b/config/events.d/10.interface
@@ -13,7 +13,6 @@ loadconfig
 }
 
 [ ! -f "$CTDB_PUBLIC_ADDRESSES" ] && {
-   echo "No public addresses file found. Nothing to do for 10.interfaces"
exit 0
 }
 
@@ -54,25 +53,25 @@ monitor_interfaces()
grep -q 'Currently Active Slave: None' 
/proc/net/bonding/$REALIFACE && {
echo "ERROR: No active slaves for bond device 
$REALIFACE"
fail=1
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
continue;
}
grep -q '^MII Status: up' /proc/net/bonding/$REALIFACE || {
echo "ERROR: public network interface $REALIFACE is 
down"
fail=1
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
continue;
}
grep -q '^Bonding Mode: IEEE 802.3ad Dynamic link aggregation' 
/proc/net/bonding/$REALIFACE && {
grep 'MII Status:' /proc/net/bonding/$REALIFACE | tail 
-n +2 | grep -q '^MII Status: up' || {
echo No active slaves for 802.ad bond device 
$REALIFACE
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 
2>/dev/null
fail=1
continue
}
}
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
continue;
}
 
@@ -80,12 +79,12 @@ monitor_interfaces()
lo*)
# loopback is always working
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
;;
ib*)
# we dont know how to test ib links
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
;;
*)
[ -z "$IFACE" ] || {
@@ -99,12 +98,12 @@ monitor_interfaces()
ethtool $IFACE | grep -q 'Link detected: yes' || {
echo "ERROR: No link on the public network 
interface $IFACE"
fail=1
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
continue
}
}
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
}
;;
esac
@@ -141,7 +140,7 @@ case "$1" in
INTERFACES=`for IFACE in $INTERFACES ; do echo $IFACE ; done | sort | 
uniq`
 
for IFACE in $INTERFACES ; do
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
done

monitor_interfaces


-- 
CTDB repository


[SCM] CTDB repository - branch 1.2 updated - ctdb-1.9.1-419-g3c21f5b

2011-05-08 Thread Ronnie Sahlberg
The branch, 1.2 has been updated
   via  3c21f5b6d7ba2d993c279bb75d37c46d1994ba6d (commit)
  from  426ed1d560745282ee647d40ce43d662c8bc5594 (commit)

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


- Log -
commit 3c21f5b6d7ba2d993c279bb75d37c46d1994ba6d
Author: Ronnie Sahlberg 
Date:   Mon May 9 06:35:33 2011 +1000

Remove logging of spam/errors from the 10.interfrace
script if/when we have for example NATGW configured but no public addresses 
defined on that interface

CQ S1023378

---

Summary of changes:
 config/events.d/10.interface |   19 +--
 1 files changed, 9 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/10.interface b/config/events.d/10.interface
index e0689c4..81eff51 100755
--- a/config/events.d/10.interface
+++ b/config/events.d/10.interface
@@ -13,7 +13,6 @@ loadconfig
 }
 
 [ ! -f "$CTDB_PUBLIC_ADDRESSES" ] && {
-   echo "No public addresses file found. Nothing to do for 10.interfaces"
exit 0
 }
 
@@ -54,25 +53,25 @@ monitor_interfaces()
grep -q 'Currently Active Slave: None' 
/proc/net/bonding/$REALIFACE && {
echo "ERROR: No active slaves for bond device 
$REALIFACE"
fail=1
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
continue;
}
grep -q '^MII Status: up' /proc/net/bonding/$REALIFACE || {
echo "ERROR: public network interface $REALIFACE is 
down"
fail=1
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
continue;
}
grep -q '^Bonding Mode: IEEE 802.3ad Dynamic link aggregation' 
/proc/net/bonding/$REALIFACE && {
grep 'MII Status:' /proc/net/bonding/$REALIFACE | tail 
-n +2 | grep -q '^MII Status: up' || {
echo No active slaves for 802.ad bond device 
$REALIFACE
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 
2>/dev/null
fail=1
continue
}
}
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
continue;
}
 
@@ -80,12 +79,12 @@ monitor_interfaces()
lo*)
# loopback is always working
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
;;
ib*)
# we dont know how to test ib links
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
;;
*)
[ -z "$IFACE" ] || {
@@ -99,12 +98,12 @@ monitor_interfaces()
ethtool $IFACE | grep -q 'Link detected: yes' || {
echo "ERROR: No link on the public network 
interface $IFACE"
fail=1
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
continue
}
}
ok=1 # we only set ok for interfaces known to ctdbd
-   ctdb setifacelink $IFACE up
+   ctdb setifacelink $IFACE up >/dev/null 2>/dev/null
}
;;
esac
@@ -141,7 +140,7 @@ case "$1" in
INTERFACES=`for IFACE in $INTERFACES ; do echo $IFACE ; done | sort | 
uniq`
 
for IFACE in $INTERFACES ; do
-   ctdb setifacelink $IFACE down
+   ctdb setifacelink $IFACE down >/dev/null 2>/dev/null
done

monitor_interfaces


-- 
CTDB repository


[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Kai Blin
The branch, master has been updated
   via  05d00ed nsswitch: Fix build check logic
  from  ecc030e selftest: Polish selftest-vars.sh a little so it can be 
used again

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


- Log -
commit 05d00ed479e99dea28aead113a3de33546b44526
Author: Kai Blin 
Date:   Sun May 8 21:50:34 2011 +0200

nsswitch: Fix build check logic

Only build pam_winbind.so if we want pam modules _and_ have the libs

Autobuild-User: Kai Blin 
Autobuild-Date: Sun May  8 23:56:33 CEST 2011 on sn-devel-104

---

Summary of changes:
 nsswitch/wscript_build |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 83b10a7..47f6fbc 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -21,7 +21,7 @@ bld.SAMBA_LIBRARY('nss_winbind',
vnum='2')
 
 
-if bld.CONFIG_SET('WITH_PAM_MODULES') or bld.CONFIG_SET('HAVE_PAM_START'):
+if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
bld.SAMBA_LIBRARY('pamwinbind',
source='pam_winbind.c',
deps='intl talloc wbclient winbind-client LIBINIPARSER pam',


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Kamen Mazdrashki
The branch, master has been updated
   via  ecc030e selftest: Polish selftest-vars.sh a little so it can be 
used again
  from  5def7a1 s4-selftest Add tests for proxy_samba4_dc

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


- Log -
commit ecc030e2898f4f7be195111a24c5a76505ea0543
Author: Kamen Mazdrashki 
Date:   Sun May 8 13:31:32 2011 +0300

selftest: Polish selftest-vars.sh a little so it can be used again

Autobuild-User: Kamen Mazdrashki 
Autobuild-Date: Sun May  8 22:50:01 CEST 2011 on sn-devel-104

---

Summary of changes:
 source4/scripting/devel/selftest-vars.sh |   24 ++--
 1 files changed, 14 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/scripting/devel/selftest-vars.sh 
b/source4/scripting/devel/selftest-vars.sh
index bc73c05..a8f323d 100644
--- a/source4/scripting/devel/selftest-vars.sh
+++ b/source4/scripting/devel/selftest-vars.sh
@@ -2,38 +2,42 @@
 # outside the test environment
 
 export UID_WRAPPER=1
-export NSS_WRAPPER_PASSWD=st/dc/passwd
-export NSS_WRAPPER_GROUP=st/dc/group
+export NSS_WRAPPER_PASSWD=$PWD/st/dc/passwd
+export NSS_WRAPPER_GROUP=$PWD/st/dc/group
 export CONFIGURATION="--configfile=$PWD/st/dc/etc/smb.conf"
+export VAMPIRE_DC_SERVER=localvampiredc
+export VAMPIRE_DC_SERVER_IP=127.0.0.22
+export VAMPIRE_DC_NETBIOSNAME=localvampiredc1
+export VAMPIRE_DC_NETBIOSALIAS=localvampiredc
 export MEMBER_SERVER=localmember3
-export MEMBER_SERVER_IP=127.0.0.3
+export MEMBER_SERVER_IP=127.0.0.23
 export MEMBER_NETBIOSNAME=localmember3
 export MEMBER_NETBIOSALIAS=localmember
 export RPC_PROXY_SERVER=localrpcproxy4
-export RPC_PROXY_SERVER_IP=127.0.0.4
+export RPC_PROXY_SERVER_IP=127.0.0.24
 export RPC_PROXY_NETBIOSNAME=localrpcproxy4
 export RPC_PROXY_NETBIOSALIAS=localrpcproxy
 export SELFTEST_MAXTIME=1200
 export NETBIOSNAME=localdc1
 export REALM=SAMBA.EXAMPLE.COM
-export SOCKET_WRAPPER_DEFAULT_IFACE=1
+export SOCKET_WRAPPER_DEFAULT_IFACE=21
 export SERVER=localdc1
 export WINBINDD_SOCKET_DIR=$PWD/st/dc/winbindd_socket
 export SELFTEST_PREFIX=$PWD/st
 export DOMAIN=SAMBADOMAIN
 export BINDIR=./bin
-export DC_SERVER_IP=127.0.0.1
+export DC_SERVER_IP=127.0.0.21
 export 
SELFTEST_INTERFACES=127.0.0.6/8,127.0.0.7/8,127.0.0.8/8,127.0.0.9/8,127.0.0.10/8,127.0.0.11/8
 export SOCKET_WRAPPER_DIR=$PWD/st/w
 export DC_USERNAME=Administrator
 export USERNAME=Administrator
-export SERVER_IP=127.0.0.1
+export SERVER_IP=127.0.0.21
 export KRB5_CONFIG=$PWD/st/dc/etc/krb5.conf
 export PREFIX_ABS=$PWD/st
 export SRCDIR_ABS=$PWD
-export PREFIX=./st
-export KRB5CCNAME=./st/krb5ticket
-export SRCDIR=.
+export PREFIX=$PWD/st
+export KRB5CCNAME=$PWD/st/krb5ticket
+export SRCDIR=$PWD/
 export TLS_ENABLED=yes
 export DC_NETBIOSALIAS=localdc
 export DC_NETBIOSNAME=localdc1


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Andrew Bartlett
The branch, master has been updated
   via  5def7a1 s4-selftest Add tests for proxy_samba4_dc
   via  f4d9b40 selftest: Make the ncalrpc dir common between Samba4 and 
Samba3.
   via  aae9353 ncalrpc: Force ncalrpc dir to be mode 755 in all users
   via  eae0612 selftest: Add plugin_s4_dc environment
   via  f52c6ee s3-auth Add auth_samba4 module
   via  a47c7f6 s3-passdb: added pdb_samba4
   via  25cfa29 s3-passdb Redirect domain GUID and SID queries to the 
passdb stack
   via  5d2ce40 s4-dsdb Add transactions to dsdb modify helpers
   via  8882dab s4-samr Remove incorrect transaction_cancel() in error path
   via  ac82ac4 s4-param cope with doulbe-parsing of -foo and +foo lists
   via  d1df1cb build: Allow the C code to know if this is a waf build
  from  c596d85 s4-interfaces: keep interfaces in the order they were 
declared

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


- Log -
commit 5def7a1e5ef98d215d1e618b4e8fd9c5839c6e1e
Author: Andrew Bartlett 
Date:   Sun May 8 15:26:28 2011 +0200

s4-selftest Add tests for proxy_samba4_dc

Autobuild-User: Andrew Bartlett 
Autobuild-Date: Sun May  8 20:03:45 CEST 2011 on sn-devel-104

commit f4d9b40d7ff8f9e79972294c9dce2a52a67df24f
Author: Andrew Bartlett 
Date:   Sun May 8 10:32:01 2011 +0200

selftest: Make the ncalrpc dir common between Samba4 and Samba3.

This also avoids creating the directory, as the startup routines will
create it with the correct permissions.

Andrew Bartlett

commit aae9353ecf56323b63da66aa84d8a0a4f219d94d
Author: Andrew Bartlett 
Date:   Sun May 8 10:29:27 2011 +0200

ncalrpc: Force ncalrpc dir to be mode 755 in all users

This allows this directory to be shared between Samba3 and Samba4 in a
Franky-style setup easily.

Andrew Bartlett

commit eae061293bad97e6e70526b4e755ca69c02d0ae9
Author: Andrew Bartlett 
Date:   Sun May 8 06:55:33 2011 +0200

selftest: Add plugin_s4_dc environment

This environment uses pdb_samba4 and auth_samba4 to plug these
critical subsystems into a mixed Samba3/Samba4 DC, in a similar way to
the 'Franky' proposal.

Andrew Barltett

commit f52c6eeacc1131fca6656d07eca035668423b008
Author: Andrew Bartlett 
Date:   Sun May 8 14:48:11 2011 +0200

s3-auth Add auth_samba4 module

This module makes a direct call into the Samba4 auth stack to
authenticate Samba4 uses in a Samba3 file server.  The direct call
avoids the need to obtain schannel credentials.

Andrew Bartlett

Pair-Programmed-With: Andrew Tridgell 

commit a47c7f6b4cfc8ce271cfd5addbf8f901d9ab3c6e
Author: Andrew Bartlett 
Date:   Sat May 7 00:50:04 2011 +1000

s3-passdb: added pdb_samba4

This uses direct LDB operations and calls to the dsdb library to allow
passdb operations (such as pdbedit and smbpasswd) offline, and uses
transactions internally for database consistency.

Pair-Programmed-With: Andrew Tridgell 

commit 25cfa29e29bdbb6c84bd85ea02ec542228ae585f
Author: Andrew Bartlett 
Date:   Sun May 8 12:52:06 2011 +0200

s3-passdb Redirect domain GUID and SID queries to the passdb stack

This is done if the passdb module supports PDB_ADS, and ensures that a
random SID is never made up locally for these directories.

This is only enabled when in the waf build, due to dependency issues.

Andrew Bartlett

commit 5d2ce400d2324e58861b696a02582d2858d1b25b
Author: Andrew Bartlett 
Date:   Sun May 8 15:56:58 2011 +0200

s4-dsdb Add transactions to dsdb modify helpers

commit 8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb
Author: Andrew Bartlett 
Date:   Sun May 8 15:24:57 2011 +0200

s4-samr Remove incorrect transaction_cancel() in error path

The transactions are now handled entirely within dsdb_add_user()

Andrew Bartlett

commit ac82ac4b83d3910734943bbc4caba5ef1efefe06
Author: Andrew Bartlett 
Date:   Sun May 8 06:58:19 2011 +0200

s4-param cope with doulbe-parsing of -foo and +foo lists

For some reason these lists are parsed twice, and so any -foo was
failing as it was already removed the first time.

Andrew Bartlett

commit d1df1cb714289b90dc173a72e488773960952402
Author: Andrew Bartlett 
Date:   Sun May 8 17:35:05 2011 +0200

build: Allow the C code to know if this is a waf build

This allows addition of functionality that can't be handled (for
example, due to dependencies) in the autoconf build.

Andrew Bartlett

---

Summary of changes:
 selftest/target/Samba3.pm|   60 +-
 selftest/target/Samba4.pm|   57 +-
 source3/auth/auth_samba4.c   |  132 ++
 source3/auth/wscript_build   |9 +
 source3/passdb/machine_account_secrets.c |   58 +
 source3/passdb/pdb_samba

autobuild: intermittent test failure detected

2011-05-08 Thread Andrew Tridgell
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2011-05-08-1832/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2011-05-08-1832/samba3.stderr
   http://git.samba.org/autobuild.flakey/2011-05-08-1832/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2011-05-08-1832/samba4.stderr
   http://git.samba.org/autobuild.flakey/2011-05-08-1832/samba4.stdout
  
The top commit at the time of the failure was:

commit c596d85afd41c2512ef77a10a9d6b40f4836c386
Author: Andrew Tridgell 
Date:   Sun May 8 12:55:41 2011 +0200

s4-interfaces: keep interfaces in the order they were declared

the spoolss notify test depends on the interfaces order

Pair-Programmed-With: Andrew Bartlett 

Autobuild-User: Andrew Tridgell 
Autobuild-Date: Sun May  8 13:57:58 CEST 2011 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Andrew Tridgell
The branch, master has been updated
   via  c596d85 s4-interfaces: keep interfaces in the order they were 
declared
   via  64adea3 s3-test: build smbtorture with --enable-developer
   via  8a07ec7 lib/socket: Remove outdated comment
   via  22cb631 s4-interfaces Rename interfaces code so not to conflict 
with source3/
   via  897ef82 s3-lib Use common lib/socket code for get_interfaces() et al
   via  f346a73 lib/socket move interfaces code to the top level
   via  879498b s4-lib/socket Samba4 is not IPv6 compatible
   via  5a8b6ac s4-lib merge get_interfaces() from Samba3 to Samba4
  from  45e26fd s3-smbd: expose smbd_set_server_fd()

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


- Log -
commit c596d85afd41c2512ef77a10a9d6b40f4836c386
Author: Andrew Tridgell 
Date:   Sun May 8 12:55:41 2011 +0200

s4-interfaces: keep interfaces in the order they were declared

the spoolss notify test depends on the interfaces order

Pair-Programmed-With: Andrew Bartlett 

Autobuild-User: Andrew Tridgell 
Autobuild-Date: Sun May  8 13:57:58 CEST 2011 on sn-devel-104

commit 64adea3d857ac7fcfb86264e877e96a08c7b5aa0
Author: Andrew Tridgell 
Date:   Sun May 8 12:55:00 2011 +0200

s3-test: build smbtorture with --enable-developer

this makes debugging of tests much easier, as we get debug symbols

commit 8a07ec7babe728adf8a3d590e4c6e6a5d5f66bcd
Author: Andrew Bartlett 
Date:   Tue May 3 20:24:39 2011 +1000

lib/socket: Remove outdated comment

The autoconf and waf tests for interfaces logic are in libreplace now.

commit 22cb631b4fd0647b70fbaaafaffda8712a84a999
Author: Andrew Bartlett 
Date:   Mon May 2 15:57:19 2011 +1000

s4-interfaces Rename interfaces code so not to conflict with source3/

The iface_count, iface_n_bcast, and load_interfaces functions
conflicted with functions of the same name in source3, so the source4
functions were renamed.  Hopefully we can actually wrap one around the
other in future.

Andrew Bartlett

commit 897ef820a40afffbf337b5487a49d957464def67
Author: Andrew Bartlett 
Date:   Mon May 2 12:20:21 2011 +1000

s3-lib Use common lib/socket code for get_interfaces() et al

commit f346a737855bb5018978f0fcf1dcafbf5dc7e603
Author: Andrew Bartlett 
Date:   Mon May 2 13:02:17 2011 +1000

lib/socket move interfaces code to the top level

commit 879498b3622102630a5ade8d7d5421720f6fd7c6
Author: Andrew Bartlett 
Date:   Tue May 3 19:41:41 2011 +1000

s4-lib/socket Samba4 is not IPv6 compatible

Don't add IPv6 interfaces until we actually support them.

I'll soon have IPv6 service at home, and then I'll make it my buisness
to sort this out once and for all.

Andrew Bartlett

commit 5a8b6ac4c0ea88bdab12349830985560c69cbf8c
Author: Andrew Bartlett 
Date:   Mon May 2 12:09:19 2011 +1000

s4-lib merge get_interfaces() from Samba3 to Samba4

---

Summary of changes:
 {source3/lib => lib/socket}/interfaces.c |   10 +-
 {source3/include => lib/socket}/interfaces.h |   21 +--
 lib/socket/wscript_build |7 +
 libcli/nbt/tools/nmblookup.c |6 +-
 source3/Makefile-smbtorture4 |2 +-
 source3/Makefile.in  |2 +-
 source3/lib/access.c |2 +-
 source3/lib/interface.c  |2 +-
 source3/lib/util_sock.c  |2 +-
 source3/wscript_build|5 +-
 source4/cldap_server/cldap_server.c  |8 +-
 source4/cldap_server/netlogon.c  |6 +-
 source4/dns_server/dns_server.c  |8 +-
 source4/echo_server/echo_server.c|   10 +-
 source4/kdc/kdc.c|8 +-
 source4/ldap_server/ldap_server.c|6 +-
 source4/lib/socket/interface.c   |  273 +-
 source4/lib/socket/netif.c   |  127 
 source4/lib/socket/netif.h   |   14 +--
 source4/lib/socket/testsuite.c   |   14 +-
 source4/lib/socket/wscript_build |   10 +-
 source4/libcli/resolve/bcast.c   |6 +-
 source4/libcli/resolve/wins.c|2 +-
 source4/libcli/wrepl/winsrepl.c  |4 +-
 source4/nbt_server/interfaces.c  |   16 +-
 source4/nbt_server/nbt_server.c  |4 +-
 source4/nbt_server/wins/wins_ldb.c   |4 +-
 source4/nbt_server/wins/winsserver.c |6 +-
 source4/rpc_server/dcerpc_server.c   |6 +-
 source4/scripting/python/pyglue.c|   12 +-
 source4/smb_server/service_smb.c |6 +-
 source4/smb_server/smb_samba3.c  |6 +-
 source4/torture/nbt/dgram.c  |   12

[SCM] Samba Shared Repository - branch master updated

2011-05-08 Thread Andrew Bartlett
The branch, master has been updated
   via  45e26fd s3-smbd: expose smbd_set_server_fd()
   via  2c569cd s3-waf: expose the server_exit code in the smbd_base library
   via  7e4ba48 build: allow s3 libraries to be built with no undefined 
symbols
   via  958368e s4-param Don't set variables such as the debuglevel unless 
global
   via  f946668 Improve debug messages when creating socket directories
   via  8b2ba64 libds: moved enum security_types to a common header
   via  c3bb5b0 s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command 
line
   via  3eb1023 selftest Use die() less often, as it fails to allow cleanup
   via  6990536 auth: allow auth_common.h to be included multiple times 
without error
   via  ea0ac9c s4-auth Rename auth -> auth4 to avoid conflict with s3 auth
   via  1969aa8 s4-ntvfs: Rename brl_*() -> brlock_*() to avoid conflict 
with brlock_init in s3
   via  5c3e985 s4-auth: remove unused prototype
  from  622faa2 s3: Fix including libsmb/proto.h without prior ads.h

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


- Log -
commit 45e26fdeec4c6d3c4e75d648399ce2a8b3e26364
Author: Andrew Tridgell 
Date:   Tue May 3 09:32:01 2011 +1000

s3-smbd: expose smbd_set_server_fd()

this allows the fd to be setup by subsystems that want to use the s3
server core code

Pair-Programmed-With: Andrew Bartlett 

Autobuild-User: Andrew Bartlett 
Autobuild-Date: Sun May  8 12:01:13 CEST 2011 on sn-devel-104

commit 2c569cd8ba70e1aba30019618e759866c55eff30
Author: Andrew Tridgell 
Date:   Tue May 3 09:33:17 2011 +1000

s3-waf: expose the server_exit code in the smbd_base library

these functions are called from the rest of smbd_base

commit 7e4ba48135608b5c93cfa4e15f5e4e2c0788d61e
Author: Andrew Tridgell 
Date:   Sat May 7 00:49:13 2011 +1000

build: allow s3 libraries to be built with no undefined symbols

Pair-Programmed-With: Andrew Bartlett 

commit 958368efd0f0db4a0e77f6a374d3c7b5056105c6
Author: Andrew Bartlett 
Date:   Sun May 8 10:30:36 2011 +0200

s4-param Don't set variables such as the debuglevel unless global

This ensures that when a second lp_ctx is created, that it does not
set global variables such as the debug level, log file etc,
potentially overriding the settings created by another context.

In particular this matters when loading Samba4 modules into Samba3.

Andrew Bartlett

commit f946668b7ad1ecc1990fa8ee0499c63c4aac6ea6
Author: Andrew Bartlett 
Date:   Sun May 8 10:28:03 2011 +0200

Improve debug messages when creating socket directories

This makes clear what the permissions error and directory name actually is

Andrew Bartlett

commit 8b2ba64d603dd1ef1afde621f594dc46f2133708
Author: Andrew Tridgell 
Date:   Sat May 7 13:32:20 2011 +0200

libds: moved enum security_types to a common header

Pair-Programmed-With: Andrew Bartlett 

commit c3bb5b04e2b6535655dc03c870e02bd5b78a7dee
Author: Andrew Bartlett 
Date:   Sun May 8 06:56:47 2011 +0200

s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command line

This is similar to the code in popt_common and allows the smb.conf to
be re-loaded from this file later in the code (or for Samba4 plugins
to attempt to parse the same smb.conf).

Andrew Bartlett

commit 3eb1023d52d68f299365f24bf7dd30c428d835e9
Author: Andrew Bartlett 
Date:   Sun May 8 06:54:50 2011 +0200

selftest Use die() less often, as it fails to allow cleanup

commit 69905360002203faf2db7a4df2bca237ea406396
Author: Andrew Bartlett 
Date:   Sat May 7 08:36:06 2011 +0200

auth: allow auth_common.h to be included multiple times without error

commit ea0ac9cdfceae96b0e0be2531d9dea3b079bcd7f
Author: Andrew Bartlett 
Date:   Sat May 7 08:14:06 2011 +0200

s4-auth Rename auth -> auth4 to avoid conflict with s3 auth

commit 1969aa8eacd257951cdc8d13110302c3b9388013
Author: Andrew Bartlett 
Date:   Sat May 7 08:12:54 2011 +0200

s4-ntvfs: Rename brl_*() -> brlock_*() to avoid conflict with brlock_init 
in s3

commit 5c3e985fb53e7e210d665a6fc8199b0844019340
Author: Andrew Tridgell 
Date:   Sat May 7 00:49:38 2011 +1000

s4-auth: remove unused prototype

---

Summary of changes:
 auth/common_auth.h|5 +++
 buildtools/wafsamba/samba3.py |6 ++-
 lib/util/util.c   |3 +-
 libds/common/roles.h  |3 ++
 selftest/target/Samba.pm  |2 +-
 selftest/target/Samba3.pm |   37 +++
 source3/include/proto.h   |1 +
 source3/include/smb.h |3 --
 source3/lib/util_sock.c   |   17 ++---
 source3/smbd/global

autobuild: intermittent test failure detected

2011-05-08 Thread Andrew Tridgell
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2011-05-08-1059/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2011-05-08-1059/samba3.stderr
   http://git.samba.org/autobuild.flakey/2011-05-08-1059/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2011-05-08-1059/samba4.stderr
   http://git.samba.org/autobuild.flakey/2011-05-08-1059/samba4.stdout
  
The top commit at the time of the failure was:

commit 622faa268754eb1832bab638380991d419625519
Author: Volker Lendecke 
Date:   Sat May 7 10:38:12 2011 +0200

s3: Fix including libsmb/proto.h without prior ads.h

Autobuild-User: Volker Lendecke 
Autobuild-Date: Sat May  7 11:38:11 CEST 2011 on sn-devel-104