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

2009-06-16 Thread Karolin Seeger
The annotated tag, release-3-2-12 has been created
at  286f5e46b94dcbcc67a137d7e8ecbf95ca30c5ba (tag)
   tagging  5dd021374cf399278305e390629abc15296dd1fa (commit)
  replaces  release-3-2-11
 tagged by  Karolin Seeger
on  Tue Jun 16 10:24:31 2009 +0200

- Log -
tag release-3-2-12
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQBKN1bZbzORW2Vot+oRAn1+AJ4wmijsb/cFXEhpKMNYLG7e0oZbKgCgh31H
5k3ctC8Baeq/GAAxkbX4680=
=TGx1
-END PGP SIGNATURE-

Björn Jacke (1):
  s3/ldap: also handle DirX return codes

Guenther Deschner (2):
  Jeremy, with 9a5d5cc1db0ee60486f932e34cd7961b90c70a56 you alter the in 
negotiate flags (which are a pointer to the out negotiate flags assigned in the 
generated netlogon server code). So, while you wanted to just set the *out* 
negflags, you did in fact reset the *in* negflags, effectively eliminating the 
NETLOGON_NEG_STRONG_KEYS bit (formerly known as NETLOGON_NEG_128BIT) which then 
caused creds_server_init() to generate 64bit creds instead of 128bit, causing 
the whole chain to break. *Please* check.
  s3-credentials: protect netlogon_creds_server_step() against NULL creds.

Günther Deschner (6):
  s3-selftest: test wbinfo --allocate-uid/gid.
  3.2 samr bug 6301: fix samr_ConnectVersion enum which is 32bit not 16bit.
  s3-docs: Fix Bug #6331. Document net dom join/net dom unjoin.
  s3-samr: Fix Bug #6372, usermanager only displaying 1024 groups and 
aliases.
  s3-docs: Fix Bug #4280. Shutdown scripts are called as root for 
privileged users.
  s3-groupdb: fix enum_aliasmem in ldb branch.

Jeremy Allison (9):
  Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning 
LDAP_SUCCESS but not returning a result.
  Add comment explaining the previous fix.
  Fix bug #6291 - force user stop working. A previous fix broke the 
invariant that *uid is always initialized on return from 
create_token_from_username(). Restore it. Jeremy.
  After getting confirmation from Guenther, add 3 changes we'll ultimately 
need to fix bug #6099 Samba returns incurrate capabilities list. 1). Add a 
comment to point out that r-in.negotiate_flags is an aliased pointer to 
r-out.negotiate_flags. 2). Ensure we return NETLOGON_NEG_STRONG_KEYS in our 
flags return if the client requested it. 3). Clean up the error exits so we 
always return the same way. Signed off by Guenther. Jeremy.
  s3-auth: use full 16byte session key in 
make_user_info_netlogon_interactive().
  Fix bug in processing of open modes in POSIX open.
  Make test for open modes more robust against other bits.
  s3/groupmapping: Groupdb mapping fix (bug #6386).
  Revert the extra SAMR and LSA checks.

Karolin Seeger (22):
  s3/docs: Fix serveral typos.
  s3/docs: Fix typo.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  s3/packaging: Add keyutils-devel to build requires.
  s3/docs: Remove unnecessary .sp.
  s3/packaging: Fix build on RHEL when ccache is not available.
  s3/docs: Fix shutdown script example.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  WHATSNEW: Start WHATSNEW for 3.2.12.
  VERSION: Raise version number up to 3.2.12.
  WHATSNEW: Add changes since 3.2.11.
  s3/docs: Fix typo.
  s3/passdb: Fix debug message: 'net setmaxrid' does not exist.
  s3/docs: Fix example.
  s3/docs: Fix typos.
  WHATSNEW: Update changes since 3.2.11.
  WHATSNEW: Add bug numbers.
  WHATSNEW: Attach old release notes.
  WHATSNEW: Update changes since 3.2.11.
  WHATSNEW: Fix typo.

Marc VanHeyningen (1):
  s3: zero an uninitialized array

Michael Adam (1):
  s3:registry: Prevent creation of keys containing the '/' character.

Simo Sorce (3):
  Avoid duplicate aces
  Fix profile acls in some corner cases
  Insure we always return NULL on error.

Stefan Metzmacher (4):
  s3:net_rpc: don't shutdown a cli_state passed from the caller
  s3:net: add --request-timeout option
  s3:docs: document the --request-timeout option of net
  s3:smbd: fix posix acls when setting an ACL without explicit ACE for the 
owner (bug#2346)

Sébastien Prud'homme (1):
  s3/idmap: Fix out of memory error with Winbind idmap.

Volker Lendecke (3):
  Fix bug 5798: CFLAGS info lost in configure
  Fix bug 6382: Case insensitive access to DFS links broken
  Fix a race condition in winbind leading to a panic

---


-- 
Samba Shared Repository


svn commit: samba-web r1303 - in trunk: . history

2009-06-16 Thread kseeger
Author: kseeger
Date: 2009-06-16 09:35:28 + (Tue, 16 Jun 2009)
New Revision: 1303

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

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


Changeset:
Modified: trunk/header_columns.html
===
--- trunk/header_columns.html   2009-06-13 17:16:03 UTC (rev 1302)
+++ trunk/header_columns.html   2009-06-16 09:35:28 UTC (rev 1303)
@@ -137,9 +137,9 @@
 
 h4Historical/h4
 ul
-lia href=/samba/ftp/stable/samba-3.2.11.tar.gzSamba 3.2.11 
(gzipped)/a/li
-lia href=/samba/history/samba-3.2.11.htmlRelease Notes 
3.2.11/a/li
-lia href=/samba/ftp/stable/samba-3.2.11.tar.ascSignature 
3.2.11/a/li
+lia href=/samba/ftp/stable/samba-3.2.12.tar.gzSamba 3.2.12 
(gzipped)/a/li
+lia href=/samba/history/samba-3.2.12.htmlRelease Notes 
3.2.12/a/li
+lia href=/samba/ftp/stable/samba-3.2.12.tar.ascSignature 
3.2.12/a/li
 lia href=/samba/ftp/stable/samba-3.0.34.tar.gzSamba 3.0.34 
(gzipped)/a/li
 lia href=/samba/history/samba-3.0.34.htmlRelease Notes 
3.0.34/a/li
 lia href=/samba/ftp/stable/samba-3.0.34.tar.ascSignature 
3.0.34/a/li

Modified: trunk/history/header_history.html
===
--- trunk/history/header_history.html   2009-06-13 17:16:03 UTC (rev 1302)
+++ trunk/history/header_history.html   2009-06-16 09:35:28 UTC (rev 1303)
@@ -82,6 +82,8 @@
 lia href=samba-3.3.2.htmlsamba-3.3.2/a/li
 lia href=samba-3.3.1.htmlsamba-3.3.1/a/li
 lia href=samba-3.3.0.htmlsamba-3.3.0/a/li
+lia href=samba-3.2.12.htmlsamba-3.2.12/a/li
+lia href=samba-3.2.11.htmlsamba-3.2.11/a/li
 lia href=samba-3.2.10.htmlsamba-3.2.10/a/li
 lia href=samba-3.2.9.htmlsamba-3.2.9/a/li
 lia href=samba-3.2.8.htmlsamba-3.2.8/a/li

Added: trunk/history/samba-3.2.12.html
===
--- trunk/history/samba-3.2.12.html 2009-06-13 17:16:03 UTC (rev 1302)
+++ trunk/history/samba-3.2.12.html 2009-06-16 09:35:28 UTC (rev 1303)
@@ -0,0 +1,96 @@
+!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.12 Available for Download/H2
+
+p
+pre
+   ==
+   Release Notes for Samba 3.2.12
+  June 16, 2009
+   ==
+
+
+This is a maintenance release of the Samba 3.2 series.
+
+Major enhancements in 3.2.12 include:
+
+o Fix SAMR and LSA checks (bug #6089, #6289)
+o Fix posix acls when setting an ACL without explicit ACE for the
+  owner (bug #2346).
+o Fix force user (bug #6291).
+o Fix Winbind crash (bug #6279).
+o Fix joining of Win7 into Samba domain (bug #6099).
+
+
+##
+Changes
+###
+
+Changes since 3.2.11
+
+
+
+o   Michael Adam ob...@samba.org
+* Prevent creation of keys containing the '/' character.
+
+
+o   Jeremy Allison j...@samba.org
+* BUG 6089: Revert the extra SAMR and LSA checks.
+* BUG 6099: Fix joining of Win7 into Samba domain.
+* BUG 6279: Fix Winbind crash.
+* BUG 6289: Revert the extra SAMR and LSA checks.
+* BUG 6291: Fix force user.
+* BUG 6386: Groupdb mapping fix.
+* Fix bug in processing of open modes in POSIX open.
+
+
+o   Guenther Deschner g...@samba.org
+* BUG 6099: Fix joining of Win7 into Samba domain.
+* BUG 6301: Fix samr_ConnectVersion enum which is 32bit not 16bit.
+* BUG 6372: Fix usermanager only displaying 1024 groups and aliases.
+* BUG 6465: Fix enumeration of empty aliases (ldb backend).
+* Protect netlogon_creds_server_step() against NULL creds.
+
+
+o   Bjoern Jacke b...@sernet.de
+* Also handle DirX return codes.
+
+
+o   Volker Lendecke v...@samba.org
+* BUG 5798: CFLAGS info lost in configure.
+* BUG 6382: Fix case insensitive access to DFS links.
+* Fix a race condition in winbind leading to a panic.
+
+
+o   Stefan Metzmacher me...@samba.org
+* BUG 2346: Fix posix acls when setting an ACL without explicit ACE for the
+  owner.
+* Fix a crash bug if we timeout in net rpc trustdom list.
+
+
+o   D.L. Meyer dlme...@uiuc.edu
+* BUG 5832: Fix build on RHEL when ccache is not available.
+
+
+o   Sebastien Prud'homme sebastien.prudho...@gmail.com
+* BUG 5945: Fix out of memory error with Winbind idmap.
+
+
+o   Karolin Seeger ksee...@samba.org
+* BUG 5835: Add keyutils-devel to build requires.
+
+
+o   Simo Sorce sso...@redhat.com
+* Fix profile acls in some corner 

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

2009-06-16 Thread Karolin Seeger
The branch, v3-3-test has been updated
   via  6e45c21384b8845422967ff1fa46e48de9fee1ab (commit)
  from  acde34bc7d5b038f5965acc0fccaff6f7658f3d5 (commit)

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


- Log -
commit 6e45c21384b8845422967ff1fa46e48de9fee1ab
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jun 16 11:49:54 2009 +0200

s3/docs: Fix typo.

Karolin

---

Summary of changes:
 docs-xml/manpages-3/net.8.xml |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml
index 9206cb8..c63ec6a 100644
--- a/docs-xml/manpages-3/net.8.xml
+++ b/docs-xml/manpages-3/net.8.xml
@@ -1663,7 +1663,7 @@ This example would connect to a computer named XP as the 
local administrator usi
 /refsect2
 
 refsect2
- 80d32b8... s3-docs: Fix Bug #6331. Document net dom join/net dom 
unjoin.:docs-xml/manpages-3/net.8.xml
+
 titleHELP [COMMAND]/title
 
 paraGives usage information for the specified command./para


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2335-g2f88475

2009-06-16 Thread Günther Deschner
The branch, master has been updated
   via  2f884753dd9fea349adfd826b14780129d5fdd06 (commit)
   via  c033039e622f711568fbbc316bef257b33888928 (commit)
  from  308de544f4dd1e23197d3b6d3be85cef1f5f9ded (commit)

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


- Log -
commit 2f884753dd9fea349adfd826b14780129d5fdd06
Author: Günther Deschner g...@samba.org
Date:   Tue Jun 16 11:49:36 2009 +0200

s3-docs: fix typo in pam_winbind.8.

Guenther

commit c033039e622f711568fbbc316bef257b33888928
Author: Günther Deschner g...@samba.org
Date:   Mon Jun 15 17:25:08 2009 +0200

s3-netapi: add NetGetJoinInformation example code.

Guenther

---

Summary of changes:
 docs-xml/manpages-3/pam_winbind.8.xml  |2 +-
 source3/lib/netapi/examples/Makefile.in|6 ++
 .../{getjoinableous.c = getjoininformation.c} |   57 +++
 3 files changed, 40 insertions(+), 25 deletions(-)
 copy source3/lib/netapi/examples/join/{getjoinableous.c = 
getjoininformation.c} (60%)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/pam_winbind.8.xml 
b/docs-xml/manpages-3/pam_winbind.8.xml
index 730ad96..ae29c40 100644
--- a/docs-xml/manpages-3/pam_winbind.8.xml
+++ b/docs-xml/manpages-3/pam_winbind.8.xml
@@ -221,7 +221,7 @@
termPAM_WINBIND_PROFILEPATH/term
listitem
para
-   This is the profile path set in the profile tab 
in the user settings. Noramlly
+   This is the profile path set in the profile tab 
in the user settings. Normally
the home directory is synced with this 
directory on a share.
/para
/listitem
diff --git a/source3/lib/netapi/examples/Makefile.in 
b/source3/lib/netapi/examples/Makefile.in
index 5adedac..2a99f57 100644
--- a/source3/lib/netapi/examples/Makefile.in
+++ b/source3/lib/netapi/examples/Makefile.in
@@ -22,6 +22,7 @@ PROGS = bin/ge...@exeext@ \
bin/netdomj...@exeext@ \
bin/netdomjoin-...@exeext@ \
bin/getjoinable...@exeext@ \
+   bin/getjoininformat...@exeext@ \
bin/rename_mach...@exeext@ \
bin/user_...@exeext@ \
bin/user_...@exeext@ \
@@ -98,6 +99,7 @@ DSGETDC_OBJ = dsgetdc/dsgetdc.o $(CMDLINE_OBJ)
 NETDOMJOIN_OBJ = join/netdomjoin.o $(CMDLINE_OBJ)
 NETDOMJOIN_GUI_OBJ = netdomjoin-gui/netdomjoin-gui.o
 GETJOINABLEOUS_OBJ = join/getjoinableous.o $(CMDLINE_OBJ)
+GETJOININFORMATION_OBJ = join/getjoininformation.o $(CMDLINE_OBJ)
 RENAMEMACHINE_OBJ = join/rename_machine.o $(CMDLINE_OBJ)
 USERADD_OBJ = user/user_add.o $(CMDLINE_OBJ)
 USERDEL_OBJ = user/user_del.o $(CMDLINE_OBJ)
@@ -154,6 +156,10 @@ bin/getjoinable...@exeext@: $(BINARY_PREREQS) 
$(GETJOINABLEOUS_OBJ)
@echo Linking $@
@$(CC) $(CCFLAGS) -o $@ $(GETJOINABLEOUS_OBJ) $(LDFLAGS) $(DYNEXP) 
$(CMDLINE_LIBS)
 
+bin/getjoininformat...@exeext@: $(BINARY_PREREQS) $(GETJOININFORMATION_OBJ)
+   @echo Linking $@
+   @$(CC) $(CCFLAGS) -o $@ $(GETJOININFORMATION_OBJ) $(LDFLAGS) $(DYNEXP) 
$(CMDLINE_LIBS)
+
 bin/rename_mach...@exeext@: $(BINARY_PREREQS) $(RENAMEMACHINE_OBJ)
@echo Linking $@
@$(CC) $(CCFLAGS) -o $@ $(RENAMEMACHINE_OBJ) $(LDFLAGS) $(DYNEXP) 
$(CMDLINE_LIBS)
diff --git a/source3/lib/netapi/examples/join/getjoinableous.c 
b/source3/lib/netapi/examples/join/getjoininformation.c
similarity index 60%
copy from source3/lib/netapi/examples/join/getjoinableous.c
copy to source3/lib/netapi/examples/join/getjoininformation.c
index 732f73d..3db0f4a 100644
--- a/source3/lib/netapi/examples/join/getjoinableous.c
+++ b/source3/lib/netapi/examples/join/getjoininformation.c
@@ -1,7 +1,7 @@
 /*
  *  Unix SMB/CIFS implementation.
  *  Join Support (cmdline + netapi)
- *  Copyright (C) Guenther Deschner 2008
+ *  Copyright (C) Guenther Deschner 2009
  *
  *  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
@@ -30,18 +30,15 @@ int main(int argc, const char **argv)
 {
NET_API_STATUS status;
const char *host_name = NULL;
-   const char *domain_name = NULL;
-   const char **ous = NULL;
-   uint32_t num_ous = 0;
+   const char *name_buffer = NULL;
+   uint16_t name_type = 0;
struct libnetapi_ctx *ctx = NULL;
-   int i;
 
poptContext pc;
int opt;
 
struct poptOption long_options[] = {
POPT_AUTOHELP
-   { domain, 0, POPT_ARG_STRING, NULL, 'D', Domain name, 
DOMAIN },
POPT_COMMON_LIBNETAPI_EXAMPLES
POPT_TABLEEND
};
@@ -51,15 +48,10 @@ int main(int argc, const char **argv)
return status;
}
 
-   pc = 

[SCM] Samba Shared Repository - branch v3-3-stable updated - release-3-3-4-68-gaa97504

2009-06-16 Thread Karolin Seeger
The branch, v3-3-stable has been updated
   via  aa97504f0358dcc23de7a65f39a1c4d24f0709b7 (commit)
  from  557f9175c3a94ee6904ff7e1af0c361071d80258 (commit)

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


- Log -
commit aa97504f0358dcc23de7a65f39a1c4d24f0709b7
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jun 16 11:49:54 2009 +0200

s3/docs: Fix typo.

Karolin
(cherry picked from commit 6e45c21384b8845422967ff1fa46e48de9fee1ab)

---

Summary of changes:
 docs-xml/manpages-3/net.8.xml |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml
index 9206cb8..c63ec6a 100644
--- a/docs-xml/manpages-3/net.8.xml
+++ b/docs-xml/manpages-3/net.8.xml
@@ -1663,7 +1663,7 @@ This example would connect to a computer named XP as the 
local administrator usi
 /refsect2
 
 refsect2
- 80d32b8... s3-docs: Fix Bug #6331. Document net dom join/net dom 
unjoin.:docs-xml/manpages-3/net.8.xml
+
 titleHELP [COMMAND]/title
 
 paraGives usage information for the specified command./para


-- 
Samba Shared Repository


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

2009-06-16 Thread Karolin Seeger
The branch, v3-2-test has been updated
   via  57a019524d0d2bd434ac7382ed355f69c510ff14 (commit)
  from  26b5cb2df0fbf2d0c004da4872c3733f3b75fd62 (commit)

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


- Log -
commit 57a019524d0d2bd434ac7382ed355f69c510ff14
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jun 16 11:49:54 2009 +0200

s3/docs: Fix typo.

Karolin
(cherry picked from commit 6e45c21384b8845422967ff1fa46e48de9fee1ab)
(cherry picked from commit aa97504f0358dcc23de7a65f39a1c4d24f0709b7)

---

Summary of changes:
 docs-xml/manpages-3/net.8.xml |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml
index 97c6c86..3db3533 100644
--- a/docs-xml/manpages-3/net.8.xml
+++ b/docs-xml/manpages-3/net.8.xml
@@ -1650,7 +1650,7 @@ This example would connect to a computer named XP as the 
local administrator usi
 /refsect2
 
 refsect2
- 80d32b8... s3-docs: Fix Bug #6331. Document net dom join/net dom 
unjoin.:docs-xml/manpages-3/net.8.xml
+
 titleHELP [COMMAND]/title
 
 paraGives usage information for the specified command./para


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - annotated tag release-3-2-12 updated - release-3-2-12

2009-06-16 Thread Karolin Seeger
The annotated tag, release-3-2-12 has been updated
to  7d41234b04047f924dace8dc1d92ed04afce4cce (tag)
  from  286f5e46b94dcbcc67a137d7e8ecbf95ca30c5ba (which is now obsolete)
   tagging  a3d27deaa6c20d5764a511384d75ee481c92e13d (commit)
  replaces  release-3-2-11
 tagged by  Karolin Seeger
on  Tue Jun 16 12:03:15 2009 +0200

- Log -
tag release-3-2-12
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQBKN233bzORW2Vot+oRAghtAKDH21EGKdyaJI2ngdIQwjftR3EFIACdG0gO
UEWFlOARtU92YxtJ+CL2Dy0=
=huYQ
-END PGP SIGNATURE-

Andreas Schneider (5):
  Add a synopsis section to the pam_winbind manpage.
  Document the try_first_pass option in the pam_winbind manpage.
  Dcoument the PAM data exports in the pam_winbind manpage.
  Move pam_winbind to the right manpage section (8).
  Fix the section of the pam_winbind manpage.

Björn Jacke (1):
  s3/ldap: also handle DirX return codes

Guenther Deschner (2):
  Jeremy, with 9a5d5cc1db0ee60486f932e34cd7961b90c70a56 you alter the in 
negotiate flags (which are a pointer to the out negotiate flags assigned in the 
generated netlogon server code). So, while you wanted to just set the *out* 
negflags, you did in fact reset the *in* negflags, effectively eliminating the 
NETLOGON_NEG_STRONG_KEYS bit (formerly known as NETLOGON_NEG_128BIT) which then 
caused creds_server_init() to generate 64bit creds instead of 128bit, causing 
the whole chain to break. *Please* check.
  s3-credentials: protect netlogon_creds_server_step() against NULL creds.

Günther Deschner (6):
  s3-selftest: test wbinfo --allocate-uid/gid.
  3.2 samr bug 6301: fix samr_ConnectVersion enum which is 32bit not 16bit.
  s3-docs: Fix Bug #6331. Document net dom join/net dom unjoin.
  s3-samr: Fix Bug #6372, usermanager only displaying 1024 groups and 
aliases.
  s3-docs: Fix Bug #4280. Shutdown scripts are called as root for 
privileged users.
  s3-groupdb: fix enum_aliasmem in ldb branch.

Jeremy Allison (9):
  Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning 
LDAP_SUCCESS but not returning a result.
  Add comment explaining the previous fix.
  Fix bug #6291 - force user stop working. A previous fix broke the 
invariant that *uid is always initialized on return from 
create_token_from_username(). Restore it. Jeremy.
  After getting confirmation from Guenther, add 3 changes we'll ultimately 
need to fix bug #6099 Samba returns incurrate capabilities list. 1). Add a 
comment to point out that r-in.negotiate_flags is an aliased pointer to 
r-out.negotiate_flags. 2). Ensure we return NETLOGON_NEG_STRONG_KEYS in our 
flags return if the client requested it. 3). Clean up the error exits so we 
always return the same way. Signed off by Guenther. Jeremy.
  s3-auth: use full 16byte session key in 
make_user_info_netlogon_interactive().
  Fix bug in processing of open modes in POSIX open.
  Make test for open modes more robust against other bits.
  s3/groupmapping: Groupdb mapping fix (bug #6386).
  Revert the extra SAMR and LSA checks.

Karolin Seeger (23):
  s3/docs: Fix serveral typos.
  s3/docs: Fix typo.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  s3/packaging: Add keyutils-devel to build requires.
  s3/docs: Remove unnecessary .sp.
  s3/packaging: Fix build on RHEL when ccache is not available.
  s3/docs: Fix shutdown script example.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  WHATSNEW: Start WHATSNEW for 3.2.12.
  VERSION: Raise version number up to 3.2.12.
  WHATSNEW: Add changes since 3.2.11.
  s3/docs: Fix typo.
  s3/passdb: Fix debug message: 'net setmaxrid' does not exist.
  s3/docs: Fix example.
  s3/docs: Fix typos.
  WHATSNEW: Update changes since 3.2.11.
  WHATSNEW: Add bug numbers.
  WHATSNEW: Attach old release notes.
  WHATSNEW: Update changes since 3.2.11.
  WHATSNEW: Fix typo.
  s3/docs: Fix typo.

Marc VanHeyningen (1):
  s3: zero an uninitialized array

Michael Adam (1):
  s3:registry: Prevent creation of keys containing the '/' character.

Simo Sorce (3):
  Avoid duplicate aces
  Fix profile acls in some corner cases
  Insure we always return NULL on error.

Stefan Metzmacher (4):
  s3:net_rpc: don't shutdown a cli_state passed from the caller
  s3:net: add --request-timeout option
  s3:docs: document the --request-timeout option of net
  s3:smbd: fix posix acls when setting an ACL without explicit ACE for the 
owner (bug#2346)

Sébastien Prud'homme (1):
  s3/idmap: Fix out of memory error with Winbind idmap.

Volker Lendecke (3):
  Fix bug 5798: CFLAGS info lost in configure
  Fix bug 6382: Case insensitive access to DFS links broken
  Fix a race condition in winbind leading to a panic


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

2009-06-16 Thread Karolin Seeger
The branch, v3-2-stable has been updated
   via  a3d27deaa6c20d5764a511384d75ee481c92e13d (commit)
   via  21be6f7f0aa8004ebbb6c85299b159baefa8d325 (commit)
   via  141f19076c28877a34c14f41b681e4403dff32de (commit)
   via  ff8a9f0bd61b2402f48751bd1e14566c1d57e35f (commit)
   via  619149e42256af28cf166c9781a11731a6eece35 (commit)
   via  cd0703ae89de7722f57ba7b7049f2f48cba1e93f (commit)
  from  5dd021374cf399278305e390629abc15296dd1fa (commit)

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


- Log -
commit a3d27deaa6c20d5764a511384d75ee481c92e13d
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jun 16 11:49:54 2009 +0200

s3/docs: Fix typo.

Karolin
(cherry picked from commit 6e45c21384b8845422967ff1fa46e48de9fee1ab)
(cherry picked from commit aa97504f0358dcc23de7a65f39a1c4d24f0709b7)
(cherry picked from commit 57a019524d0d2bd434ac7382ed355f69c510ff14)

commit 21be6f7f0aa8004ebbb6c85299b159baefa8d325
Author: Andreas Schneider m...@cynapses.org
Date:   Mon Jun 15 12:22:58 2009 +0200

Fix the section of the pam_winbind manpage.

Signed-off-by: Andreas Schneider m...@cynapses.org
(cherry picked from commit cce2cdf3041bedf14e08b1f839ab8ddfa88dd3d3)

commit 141f19076c28877a34c14f41b681e4403dff32de
Author: Andreas Schneider m...@cynapses.org
Date:   Mon Jun 15 12:21:07 2009 +0200

Move pam_winbind to the right manpage section (8).

Signed-off-by: Andreas Schneider m...@cynapses.org
(cherry picked from commit 59ab1574e41993d24733affbca07d3f7da245fc7)
(cherry picked from commit d547aab1511c72e1cab034e2945f6ad63bda6659)
(cherry picked from commit c9b89676983c5fd0ec12df121fc5d9e06facdd80)
(cherry picked from commit f0d073d4e787516ae6e1a005e145ef2adf6a6e5d)

commit ff8a9f0bd61b2402f48751bd1e14566c1d57e35f
Author: Andreas Schneider m...@cynapses.org
Date:   Mon Jun 15 12:16:49 2009 +0200

Dcoument the PAM data exports in the pam_winbind manpage.

Signed-off-by: Andreas Schneider m...@cynapses.org
(cherry picked from commit 1809ff4b2339bd3066532abccea0944da45edf64)
(cherry picked from commit 5d2dfba6d1699c6e417cc21233a1cc871f3c0ad1)
(cherry picked from commit 282682c989a8008de5f8d30c48c9a740b315a230)
(cherry picked from commit 15892ce595ea050b58756130b6bc6031ae0752ca)

commit 619149e42256af28cf166c9781a11731a6eece35
Author: Andreas Schneider m...@cynapses.org
Date:   Mon Jun 15 12:16:15 2009 +0200

Document the try_first_pass option in the pam_winbind manpage.

Signed-off-by: Andreas Schneider m...@cynapses.org
(cherry picked from commit 779eea49de3f53040fe792de4b74b73a0c51ecb3)
(cherry picked from commit 24d6f697844bc85a03c047e5470abcfdd53735a2)
(cherry picked from commit 2ed85b0ebfc50cad847050cc6b5269c470956ea3)
(cherry picked from commit 0619c29d3b0bb59cd31ed48df47878170d4cfd9b)

commit cd0703ae89de7722f57ba7b7049f2f48cba1e93f
Author: Andreas Schneider m...@cynapses.org
Date:   Mon Jun 15 12:15:26 2009 +0200

Add a synopsis section to the pam_winbind manpage.

Signed-off-by: Andreas Schneider m...@cynapses.org
(cherry picked from commit 24f9f32fedb92f881658db856db15173e57af0bd)
(cherry picked from commit 55df96313c5b966f41b0b5c426cf6a420cafa855)
(cherry picked from commit f738862d9f419fec27c9fb15c880a452aff333d9)
(cherry picked from commit 0669d66d81be3f265eab442c22b2881615d502db)

---

Summary of changes:
 docs-xml/Samba3-HOWTO/manpages.xml |2 +-
 docs-xml/manpages-3/net.8.xml  |2 +-
 .../{pam_winbind.7.xml = pam_winbind.8.xml}   |   88 ++--
 3 files changed, 82 insertions(+), 10 deletions(-)
 rename docs-xml/manpages-3/{pam_winbind.7.xml = pam_winbind.8.xml} (69%)


Changeset truncated at 500 lines:

diff --git a/docs-xml/Samba3-HOWTO/manpages.xml 
b/docs-xml/Samba3-HOWTO/manpages.xml
index 4de54bf..eef4207 100644
--- a/docs-xml/Samba3-HOWTO/manpages.xml
+++ b/docs-xml/Samba3-HOWTO/manpages.xml
@@ -22,7 +22,7 @@
xi:include href=../manpages-3/nmbd.8.xml/
xi:include href=../manpages-3/nmblookup.1.xml/
xi:include href=../manpages-3/ntlm_auth.1.xml/
-   xi:include href=../manpages-3/pam_winbind.7.xml/
+   xi:include href=../manpages-3/pam_winbind.8.xml/
xi:include href=../manpages-3/pdbedit.8.xml/
xi:include href=../manpages-3/profiles.1.xml/
xi:include href=../manpages-3/rpcclient.1.xml/
diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml
index 97c6c86..3db3533 100644
--- a/docs-xml/manpages-3/net.8.xml
+++ b/docs-xml/manpages-3/net.8.xml
@@ -1650,7 +1650,7 @@ This example would connect to a computer named XP as the 
local administrator usi
 /refsect2
 
 refsect2
- 80d32b8... s3-docs: Fix Bug #6331. Document net dom join/net dom 

[SCM] Samba Shared Repository - annotated tag release-3-2-12 updated - release-3-2-12

2009-06-16 Thread Karolin Seeger
The annotated tag, release-3-2-12 has been updated
to  3cefd76b5897ad42d7f2ce6fe30da33f15a19e2d (tag)
  from  7d41234b04047f924dace8dc1d92ed04afce4cce (which is now obsolete)
   tagging  a3d27deaa6c20d5764a511384d75ee481c92e13d (commit)
  replaces  release-3-2-11
 tagged by  Karolin Seeger
on  Tue Jun 16 12:10:18 2009 +0200

- Log -
release-3-2-12
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQBKN2+PbzORW2Vot+oRAhH4AJ42ICwHx4poXcnUye4ok3dwSIDMAQCfazGU
2aRv+MvMcJzV8eVPhDobCV4=
=elDb
-END PGP SIGNATURE-

Andreas Schneider (5):
  Add a synopsis section to the pam_winbind manpage.
  Document the try_first_pass option in the pam_winbind manpage.
  Dcoument the PAM data exports in the pam_winbind manpage.
  Move pam_winbind to the right manpage section (8).
  Fix the section of the pam_winbind manpage.

Björn Jacke (1):
  s3/ldap: also handle DirX return codes

Guenther Deschner (2):
  Jeremy, with 9a5d5cc1db0ee60486f932e34cd7961b90c70a56 you alter the in 
negotiate flags (which are a pointer to the out negotiate flags assigned in the 
generated netlogon server code). So, while you wanted to just set the *out* 
negflags, you did in fact reset the *in* negflags, effectively eliminating the 
NETLOGON_NEG_STRONG_KEYS bit (formerly known as NETLOGON_NEG_128BIT) which then 
caused creds_server_init() to generate 64bit creds instead of 128bit, causing 
the whole chain to break. *Please* check.
  s3-credentials: protect netlogon_creds_server_step() against NULL creds.

Günther Deschner (6):
  s3-selftest: test wbinfo --allocate-uid/gid.
  3.2 samr bug 6301: fix samr_ConnectVersion enum which is 32bit not 16bit.
  s3-docs: Fix Bug #6331. Document net dom join/net dom unjoin.
  s3-samr: Fix Bug #6372, usermanager only displaying 1024 groups and 
aliases.
  s3-docs: Fix Bug #4280. Shutdown scripts are called as root for 
privileged users.
  s3-groupdb: fix enum_aliasmem in ldb branch.

Jeremy Allison (9):
  Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning 
LDAP_SUCCESS but not returning a result.
  Add comment explaining the previous fix.
  Fix bug #6291 - force user stop working. A previous fix broke the 
invariant that *uid is always initialized on return from 
create_token_from_username(). Restore it. Jeremy.
  After getting confirmation from Guenther, add 3 changes we'll ultimately 
need to fix bug #6099 Samba returns incurrate capabilities list. 1). Add a 
comment to point out that r-in.negotiate_flags is an aliased pointer to 
r-out.negotiate_flags. 2). Ensure we return NETLOGON_NEG_STRONG_KEYS in our 
flags return if the client requested it. 3). Clean up the error exits so we 
always return the same way. Signed off by Guenther. Jeremy.
  s3-auth: use full 16byte session key in 
make_user_info_netlogon_interactive().
  Fix bug in processing of open modes in POSIX open.
  Make test for open modes more robust against other bits.
  s3/groupmapping: Groupdb mapping fix (bug #6386).
  Revert the extra SAMR and LSA checks.

Karolin Seeger (23):
  s3/docs: Fix serveral typos.
  s3/docs: Fix typo.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  s3/packaging: Add keyutils-devel to build requires.
  s3/docs: Remove unnecessary .sp.
  s3/packaging: Fix build on RHEL when ccache is not available.
  s3/docs: Fix shutdown script example.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  WHATSNEW: Start WHATSNEW for 3.2.12.
  VERSION: Raise version number up to 3.2.12.
  WHATSNEW: Add changes since 3.2.11.
  s3/docs: Fix typo.
  s3/passdb: Fix debug message: 'net setmaxrid' does not exist.
  s3/docs: Fix example.
  s3/docs: Fix typos.
  WHATSNEW: Update changes since 3.2.11.
  WHATSNEW: Add bug numbers.
  WHATSNEW: Attach old release notes.
  WHATSNEW: Update changes since 3.2.11.
  WHATSNEW: Fix typo.
  s3/docs: Fix typo.

Marc VanHeyningen (1):
  s3: zero an uninitialized array

Michael Adam (1):
  s3:registry: Prevent creation of keys containing the '/' character.

Simo Sorce (3):
  Avoid duplicate aces
  Fix profile acls in some corner cases
  Insure we always return NULL on error.

Stefan Metzmacher (4):
  s3:net_rpc: don't shutdown a cli_state passed from the caller
  s3:net: add --request-timeout option
  s3:docs: document the --request-timeout option of net
  s3:smbd: fix posix acls when setting an ACL without explicit ACE for the 
owner (bug#2346)

Sébastien Prud'homme (1):
  s3/idmap: Fix out of memory error with Winbind idmap.

Volker Lendecke (3):
  Fix bug 5798: CFLAGS info lost in configure
  Fix bug 6382: Case insensitive access to DFS links broken
  Fix a race condition in winbind leading to a panic


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2336-g33be1f5

2009-06-16 Thread Günther Deschner
The branch, master has been updated
   via  33be1f56f778116a5657b257ffb0f1eb7196658a (commit)
  from  2f884753dd9fea349adfd826b14780129d5fdd06 (commit)

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


- Log -
commit 33be1f56f778116a5657b257ffb0f1eb7196658a
Author: Günther Deschner g...@samba.org
Date:   Wed May 13 23:57:26 2009 +0200

s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username 
was given.

When no callback or wrapping has managed to get a password, prompt in the
netapi connection manager for a password.

Guenther

---

Summary of changes:
 source3/lib/netapi/cm.c |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index d28b2b2..55f5350 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -42,8 +42,12 @@ static WERROR libnetapi_open_ipc_connection(struct 
libnetapi_ctx *ctx,
}
auth_info-signing_state = Undefined;
set_cmdline_auth_info_use_kerberos(auth_info, ctx-use_kerberos);
-   set_cmdline_auth_info_password(auth_info, ctx-password);
set_cmdline_auth_info_username(auth_info, ctx-username);
+   if (ctx-password) {
+   set_cmdline_auth_info_password(auth_info, ctx-password);
+   } else {
+   set_cmdline_auth_info_getpass(auth_info);
+   }
 
if (ctx-username  ctx-username[0] 
ctx-password  ctx-password[0] 


-- 
Samba Shared Repository


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

2009-06-16 Thread Karolin Seeger
The annotated tag, release-3-3-5 has been created
at  75161c542ef1128ffb325b12705d4396a5e1cf39 (tag)
   tagging  aa97504f0358dcc23de7a65f39a1c4d24f0709b7 (commit)
  replaces  release-3-3-4
 tagged by  Karolin Seeger
on  Tue Jun 16 12:51:05 2009 +0200

- Log -
tag release-3-3-5
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQBKN3kgbzORW2Vot+oRAuU5AJ9H6iMRUGRgWB94bgH4+XhpeyP5ngCcDyix
vTByDzSMIG3dW7BStdn8dM4=
=JIpk
-END PGP SIGNATURE-

Andreas Schneider (5):
  Add a synopsis section to the pam_winbind manpage.
  Document the try_first_pass option in the pam_winbind manpage.
  Dcoument the PAM data exports in the pam_winbind manpage.
  Move pam_winbind to the right manpage section (8).
  Fix the section of the pam_winbind manpage.

Björn Jacke (2):
  to be portable, use options first, arguments last
  s3/ldap: also handle DirX return codes

Guenther Deschner (2):
  s3-netlogon: Fix NETLOGON credential chain. Fixes Bug #6099 (Windows 7 
joining Samba3) and probably many, many more.
  s3-credentials: protect netlogon_creds_server_step() against NULL creds.

Günther Deschner (6):
  3.3 samr bug 6301: fix samr_ConnectVersion enum which is 32bit not 16bit.
  s3-docs: Fix Bug #6331. Document net dom join/net dom unjoin.
  s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or 
greater.
  s3-samr: Fix Bug #6372, usermanager only displaying 1024 groups and 
aliases.
  s3-docs: Fix Bug #4280. Shutdown scripts are called as root for 
privileged users.
  s3-groupdb: fix enum_aliasmem in ldb branch.

Jeremy Allison (8):
  Fix bug #6315 smbd crashes doing vfs_full_audit on IPC$ close event. The 
underlying problem is that once SMBulogoff is called, all server_info contexts 
associated with the vuid should become invalid, even if that's the context 
being currently used by the connection struct (tid). When the SMBtdis comes in 
it doesn't need a valid vuid value, but the code called inside vfs_full_audit 
always assumes that there is one (and hence a valid conn-server_info pointer) 
available.
  Fix bug #6291 - force user stop working. A previous fix broke the 
invariant that *uid is always initialized on return from 
create_token_from_username(). Restore it. Jeremy.
  Fix bug #6330 - DFS doesn't work on AIX. Jeremy.
  After getting confirmation from Guenther, add 3 changes we'll ultimately 
need to fix bug #6099 Samba returns incurrate capabilities list. 1). Add a 
comment to point out that r-in.negotiate_flags is an aliased pointer to 
r-out.negotiate_flags. 2). Ensure we return NETLOGON_NEG_STRONG_KEYS in our 
flags return if the client requested it. 3). Clean up the error exits so we 
always return the same way. Signed off by Guenther. Jeremy.
  s3-auth: use full 16byte session key in 
make_user_info_netlogon_interactive().
  Simplify the dropbox patch
  Fix bug #6297 - owner of sticky directory cannot delete files created by 
others. The reason we couldn't delete was we were erroring out early if 
requestor was not the owner of the file we wanted to delete, instead of 
checking if the requestor owned the directory as well. If either of these is 
true, we must go on and check the ACL. Karolin, this is a must for 3.4.0 and 
also 3.3.next. I'll update the bug report with patches for 3.4.0 and 3.3.next 
and ask vl to review. Jeremy.
  Revert the extra SAMR and LSA checks.

Karolin Seeger (23):
  s3/docs: Fix serveral typos.
  s3/docs: Fix typo.
  s3/docs: Fix typos.
  s3/docs: Fix typo.
  s3/packaging: Add keyutils-devel to build requires.
  s3/docs: Remove unnecessary .sp.
  s3/packaging: Fix build on RHEL when ccache is not available.
  Revert Do not use the file system GET_REAL_FILENAME for mangled names
  s3/docs: Fix shutdown script example.
  s3/docs: Fix typos.
  s3/docs: Correct version number.
  s3/docs: Fix typo.
  s3/docs: Fix typo.
  s3/passdb: Fix debug message: 'net setmaxrid' does not exist.
  s3/docs: Fix example.
  s3/docs: Fix typos.
  WHATSNEW: Update changes since 3.3.4.
  VERSION: Raise version number up to 3.3.5.
  WHATSNEW: Attach older 3.3 release notes.
  s3/libsmb: Fix debug message.
  WHATSNEW: Update changes since 3.3.4.
  WHATSNEW: Fix typo.
  s3/docs: Fix typo.

Marc VanHeyningen (1):
  s3: zero an uninitialized array

Michael Adam (7):
  s3:loadparm: prevent infinite include nesting.
  s3:loadparm: mark registry shares without path unavailable
  s3:mark registry shares without path unavailable in the server, too
  s3:loadparm: handle registry config source in file_list - fixes bug #6320
  s3:idmap_tdb2: filter out of range mappings in default idmap config
  s3:idmap_ldap: filter out of range mappings in default idmap config
  s3:idmap_tdb: filter out of 

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

2009-06-16 Thread kseeger
Author: kseeger
Date: 2009-06-16 12:32:17 + (Tue, 16 Jun 2009)
New Revision: 1304

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

Log:
Announce Samba 3.3.5
Karolin
Added:
   trunk/history/samba-3.3.5.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  2009-06-16 09:35:28 UTC (rev 1303)
+++ trunk/devel/index.html  2009-06-16 12:32:17 UTC (rev 1304)
@@ -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.3.4/em (a
-href=/samba/history/samba-3.3.4.htmlrelease notes/a and a
+pThe latest production release is emSamba 3.3.5/em (a
+href=/samba/history/samba-3.3.5.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   2009-06-16 09:35:28 UTC (rev 1303)
+++ trunk/header_columns.html   2009-06-16 12:32:17 UTC (rev 1304)
@@ -130,9 +130,9 @@
   div class=releases
 h4Current Stable Release/h4
 ul
-lia href=/samba/ftp/stable/samba-3.3.4.tar.gzSamba 3.3.4 
(gzipped)/a/li
-lia href=/samba/history/samba-3.3.4.htmlRelease Notes/a/li
-lia href=/samba/ftp/stable/samba-3.3.4.tar.ascSignature/a/li
+lia href=/samba/ftp/stable/samba-3.3.5.tar.gzSamba 3.3.5 
(gzipped)/a/li
+lia href=/samba/history/samba-3.3.5.htmlRelease Notes/a/li
+lia href=/samba/ftp/stable/samba-3.3.5.tar.ascSignature/a/li
 /ul
 
 h4Historical/h4

Modified: trunk/history/header_history.html
===
--- trunk/history/header_history.html   2009-06-16 09:35:28 UTC (rev 1303)
+++ trunk/history/header_history.html   2009-06-16 12:32:17 UTC (rev 1304)
@@ -77,6 +77,7 @@
   div class=notes
 h6Release Notes/h6
 ul
+lia href=samba-3.3.5.htmlsamba-3.3.5/a/li
 lia href=samba-3.3.4.htmlsamba-3.3.4/a/li
 lia href=samba-3.3.3.htmlsamba-3.3.3/a/li
 lia href=samba-3.3.2.htmlsamba-3.3.2/a/li

Added: trunk/history/samba-3.3.5.html
===
--- trunk/history/samba-3.3.5.html  2009-06-16 09:35:28 UTC (rev 1303)
+++ trunk/history/samba-3.3.5.html  2009-06-16 12:32:17 UTC (rev 1304)
@@ -0,0 +1,115 @@
+!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.3.5 Available for Download/H2
+
+p
+pre
+   =
+   Release Notes for Samba 3.3.5
+ June, 16  2009
+   =
+
+
+This is the latest bugfix release of the Samba 3.3 series.
+
+Major enhancements in Samba 3.3.5 include:
+
+o Fix SAMR and LSA checks (bug #6089, #6289)
+o Fix posix acls when setting an ACL without explicit ACE for the
+  owner (bug #2346).
+o Fix joining of Win7 into Samba domain (bug #6099).
+o Fix joining of Win2000 SP4 clients (bug #6301).
+
+
+##
+Changes
+###
+
+
+Changes since 3.3.4:
+
+
+
+o   Michael Adam ob...@samba.org
+* BUG 6320: Handle registry config source in file_list.
+* BUG 6415: Filter out of range mappings in default idmap config in
+  idmap_tdb.
+* BUG 6416: Filter out of range mappings in default idmap config in
+  idmap_tdb2.
+* BUG 6417: Filter out of range mappings in default idmap config in
+  idmap_ldap.
+* Prevent infinite include nesting.
+* Mark registry shares without path unavailable.
+
+
+o   Jeremy Allison j...@samba.org
+* BUG 6089: Revert the extra SAMR and LSA checks.
+* BUG 6099: Fix joining of Win7 into Samba domain.
+* BUG 6289: Revert the extra SAMR and LSA checks.
+* BUG 6297: Owner of sticky directory cannot delete files created by
+  others.
+* BUG 6315: smbd crashes doing vfs_full_audit on IPC$ close event.
+* BUG 6330: Fix DFS on AIX.
+
+
+o   Guenther Deschner g...@samba.org
+* BUG 6099: Fix joining of Win7 into Samba domain.
+* BUG 6157: Fix handling of multi-value attribute uid.
+* BUG 6301: Fix joining of Win2000 SP4 clients.
+* BUG 6309: Support remote unjoining of Windows 2003 or greater.
+* BUG 6372: Fix usermanager only displaying 1024 groups and aliases.
+* BUG 6465: Fix enumeration of empty aliases (ldb backend).
+
+
+o   Bjoern Jacke b...@sernet.de
+* Also handle DirX return codes.
+
+
+o   

[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2337-g29b8e08

2009-06-16 Thread Günther Deschner
The branch, master has been updated
   via  29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b (commit)
  from  33be1f56f778116a5657b257ffb0f1eb7196658a (commit)

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


- Log -
commit 29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b
Author: Günther Deschner g...@samba.org
Date:   Tue Jun 16 15:00:20 2009 +0200

s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.

Guenther

---

Summary of changes:
 source3/lib/netapi/user.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index 849ba9c..5fb6c20 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -1746,6 +1746,8 @@ WERROR NetUserSetInfo_r(struct libnetapi_ctx *ctx,
 
switch (r-in.level) {
case 0:
+   user_mask = SAMR_USER_ACCESS_SET_ATTRIBUTES;
+   break;
case 1003:
user_mask = SAMR_USER_ACCESS_SET_PASSWORD;
break;


-- 
Samba Shared Repository


svn commit: samba-web r1305 - in trunk: . history

2009-06-16 Thread kseeger
Author: kseeger
Date: 2009-06-16 13:04:29 + (Tue, 16 Jun 2009)
New Revision: 1305

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

Log:
Move some entries to the history
Karolin
Modified:
   trunk/history/index.html
   trunk/index.html


Changeset:
Modified: trunk/history/index.html
===
--- trunk/history/index.html2009-06-16 12:32:17 UTC (rev 1304)
+++ trunk/history/index.html2009-06-16 13:04:29 UTC (rev 1305)
@@ -17,6 +17,87 @@
 
 h2Previous Release Announcements/h2
 
+   h429 April 2009/h4
+
+p class=headlineSamba 3.3.4 Available for Download/p
+
+pThis is the latest stable release of the Samba 3.3 series/p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.3.4.tar.gzdownloaded now/a.
+A a href=/samba/ftp/patches/patch-3.3.3-3.3.4.diffs.gzpatch against Samba 
3.3.3/a
+is also available. See a href=/samba/history/samba-3.3.4.html
+the release notes for more info/a./p
+
+h417 April 2009/h4
+
+p class=headlineSamba 3.2.11 Maintenance Release Available/p
+
+pThis is the latest bug fix release for Samba 3.2 and is the
+version recommended for all production Samba servers running
+this release series.  The uncompressed tarballs and patch files have been 
signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.2.11.tar.gzdownloaded
+now/a.  A a href=/samba/ftp/patches/patch-3.2.10-3.2.11.diffs.gzpatch 
against Samba 3.2.10/a
+is also available. This release fixes an issue which caused problems after
+updates in Samba 3.2.9. See a href=/samba/history/samba-3.2.11.htmlthe
+release notes for more info/a./p
+
+p class=headlineSamba 3.3.3 Available for Download/p
+
+pThis is the latest stable release of the Samba 3.3 series/p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.3.3.tar.gzdownloaded now/a.
+See a href=/samba/history/samba-3.3.3.htmlthe release notes for more 
info/a./p
+
+h41 April 2009/h4
+p class=headlineSamba 3.2.10 Maintenance Release Available/p
+
+pThis is the latest bug fix release for Samba 3.2 and is the
+version recommended for all production Samba servers running
+this release series.  The uncompressed tarballs and patch files have been 
signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.2.10.tar.gzdownloaded
+now/a.  A a href=/samba/ftp/patches/patch-3.2.9-3.2.10.diffs.gzpatch 
against Samba 3.2.9/a
+is also available. This release fixes an issue which caused problems after
+updates in Samba 3.2.9. See a href=/samba/history/samba-3.2.10.htmlthe
+release notes for more info/a./p
+
+h431 March 2009/h4
+p class=headlineSamba 3.2.9 Maintenance Release Available/p
+
+pThis is the latest bug fix release for Samba 3.2 and is the
+version recommended for all production Samba servers running
+this release series.  The uncompressed tarballs and patch files have been 
signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.2.9.tar.gzdownloaded
+now/a.  A a href=/samba/ftp/patches/patch-3.2.8-3.2.9.diffs.gzpatch 
against Samba 3.2.8/a
+is also available.  See a href=/samba/history/samba-3.2.9.htmlthe
+release notes for more info/a./p
+
+h412 March 2009/h4
+p class=headlineSamba 3.3.2 Available for Download/p
+
+pThis is the latest stable release of the Samba 3.3 series/p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.3.2.tar.gzdownloaded now/a.
+See a href=/samba/history/samba-3.3.2.htmlthe release notes for more 
info/a./p
+
+h424 February 2009/h4
+p class=headlineSamba 3.3.1 Available for Download/p
+
+pThis is the latest stable release of the Samba 3.3 series/p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=/samba/ftp/stable/samba-3.3.1.tar.gzdownloaded now/a.
+See a href=/samba/history/samba-3.3.1.htmlthe release notes for more 
info/a./p
+
 h403 February 2009/h4
 p class=headlineSamba 3.2.8 Maintenance Release Available/p
 

Modified: trunk/index.html
===
--- trunk/index.html2009-06-16 12:32:17 UTC (rev 1304)
+++ trunk/index.html2009-06-16 13:04:29 UTC (rev 1305)
@@ -75,88 +75,6 @@
 found in the a href=/samba/ftp/Binary_Packages/Binary_Packages download
 area/a./p
 
-
-h429 April 2009/h4
-
-p class=headlineSamba 3.3.4 Available for Download/p
-
-pThis is the latest stable release of the Samba 3.3 series/p
-
-pThe uncompressed tarballs and patch files have been signed
-using GnuPG (ID 6568B7EA).  The source code can be
-a href=/samba/ftp/stable/samba-3.3.4.tar.gzdownloaded now/a.
-A a 

[SCM] Samba Shared Repository - tag talloc-1-3-1 created - release-4-0-0alpha7-2328-ge83f4b8

2009-06-16 Thread Karolin Seeger
The tag, talloc-1-3-1 has been created
at  e83f4b868b208724a732b45a0aa4f6ee8a08b115 (commit)

- Log -
commit e83f4b868b208724a732b45a0aa4f6ee8a08b115
Author: Simo Sorce sso...@redhat.com
Date:   Sun Jun 7 14:20:36 2009 -0400

Add exports file and abi checker for talloc

This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on talloc.h contents and the gcc -aux-info option
---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - tag tdb-1-1-5 created - release-4-0-0alpha7-2327-g7aee9f9

2009-06-16 Thread Karolin Seeger
The tag, tdb-1-1-5 has been created
at  7aee9f92e7c3e3eb48c0456d821125b60f8d8259 (commit)

- Log -
commit 7aee9f92e7c3e3eb48c0456d821125b60f8d8259
Author: Simo Sorce i...@samba.org
Date:   Mon Jun 15 16:19:19 2009 -0400

Add exports file and abi checker for tdb

This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on tdb.h contents and the gcc -aux-info option
---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2338-gcbb55b3

2009-06-16 Thread Jeremy Allison
The branch, master has been updated
   via  cbb55b34e27b3927f4fb05e47cd8c19828553b6a (commit)
  from  29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b (commit)

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


- Log -
commit cbb55b34e27b3927f4fb05e47cd8c19828553b6a
Author: Jeremy Allison j...@samba.org
Date:   Tue Jun 16 13:17:24 2009 -0700

_lsa_EnumAccountRights and _lsa_EnumPrivsAccount can return an
empty set of privilages if the SID doesn't have any.
(From [MS-LSAD.pdf])
Jeremy.

---

Summary of changes:
 source3/rpc_server/srv_lsa_nt.c |   36 +---
 1 files changed, 17 insertions(+), 19 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index f434cfa..8773c29 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1672,23 +1672,22 @@ NTSTATUS _lsa_EnumPrivsAccount(pipes_struct *p,
if (!(info-access  LSA_ACCOUNT_VIEW))
return NT_STATUS_ACCESS_DENIED;
 
-   if ( !get_privileges_for_sids( mask, info-sid, 1 ) )
-   return NT_STATUS_OBJECT_NAME_NOT_FOUND;
+   get_privileges_for_sids(mask, info-sid, 1);
 
privilege_set_init( privileges );
 
+   priv_set = TALLOC_ZERO_P(p-mem_ctx, struct lsa_PrivilegeSet);
+   if (!priv_set) {
+   status = NT_STATUS_NO_MEMORY;
+   goto done;
+   }
+
if ( se_priv_to_privilege_set( privileges, mask ) ) {
 
DEBUG(10,(_lsa_EnumPrivsAccount: %s has %d privileges\n,
  sid_string_dbg(info-sid),
  privileges.count));
 
-   priv_set = TALLOC_ZERO_P(p-mem_ctx, struct lsa_PrivilegeSet);
-   if (!priv_set) {
-   status = NT_STATUS_NO_MEMORY;
-   goto done;
-   }
-
luid_attrs = TALLOC_ZERO_ARRAY(p-mem_ctx,
   struct lsa_LUIDAttribute,
   privileges.count);
@@ -1707,11 +1706,14 @@ NTSTATUS _lsa_EnumPrivsAccount(pipes_struct *p,
priv_set-unknown = 0;
priv_set-set = luid_attrs;
 
-   *r-out.privs = priv_set;
} else {
-   status = NT_STATUS_NO_SUCH_PRIVILEGE;
+   priv_set-count = 0;
+   priv_set-unknown = 0;
+   priv_set-set = NULL;
}
 
+   *r-out.privs = priv_set;
+
  done:
privilege_set_free( privileges );
 
@@ -2150,20 +2152,16 @@ NTSTATUS _lsa_EnumAccountRights(pipes_struct *p,
 
sid_copy( sid, r-in.sid );
 
-   if ( !get_privileges_for_sids( mask, sid, 1 ) )
-   return NT_STATUS_OBJECT_NAME_NOT_FOUND;
+   get_privileges_for_sids(mask, sid, 1);
 
privilege_set_init( privileges );
 
-   if ( se_priv_to_privilege_set( privileges, mask ) ) {
+   se_priv_to_privilege_set(privileges, mask);
 
-   DEBUG(10,(_lsa_EnumAccountRights: %s has %d privileges\n,
- sid_string_dbg(sid), privileges.count));
+   DEBUG(10,(_lsa_EnumAccountRights: %s has %d privileges\n,
+ sid_string_dbg(sid), privileges.count));
 
-   status = init_lsa_right_set(p-mem_ctx, r-out.rights, 
privileges);
-   } else {
-   status = NT_STATUS_NO_SUCH_PRIVILEGE;
-   }
+   status = init_lsa_right_set(p-mem_ctx, r-out.rights, privileges);
 
privilege_set_free( privileges );
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2340-gbdd214b

2009-06-16 Thread Günther Deschner
The branch, master has been updated
   via  bdd214b38c9c97550cf8122f75c6a14e0b0397d0 (commit)
   via  823681bc9965b58404afda205782896c8226d053 (commit)
  from  cbb55b34e27b3927f4fb05e47cd8c19828553b6a (commit)

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


- Log -
commit bdd214b38c9c97550cf8122f75c6a14e0b0397d0
Author: Günther Deschner g...@samba.org
Date:   Wed Jun 17 01:20:03 2009 +0200

s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.

Guenther

commit 823681bc9965b58404afda205782896c8226d053
Author: Günther Deschner g...@samba.org
Date:   Wed Jun 17 01:06:14 2009 +0200

s4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.

Guenther

---

Summary of changes:
 source4/torture/libnetapi/libnetapi_user.c |   32 +--
 source4/torture/rpc/samr.c |   30 +-
 2 files changed, 30 insertions(+), 32 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/libnetapi/libnetapi_user.c 
b/source4/torture/libnetapi/libnetapi_user.c
index c634330..7269988 100644
--- a/source4/torture/libnetapi/libnetapi_user.c
+++ b/source4/torture/libnetapi/libnetapi_user.c
@@ -22,7 +22,8 @@
 #include netapi.h
 #include torture/libnetapi/proto.h
 
-#define TORTURE_TEST_USER testuser
+#define TORTURE_TEST_USER torture_testuser
+#define TORTURE_TEST_USER2 torture_testuser2
 
 #define NETAPI_STATUS(tctx, x,y,fn) \
torture_warning(tctx, FAILURE: line %d: %s failed with status: %s 
(%d)\n, \
@@ -342,7 +343,6 @@ static NET_API_STATUS test_netusergetgroups(struct 
torture_context *tctx,
 bool torture_libnetapi_user(struct torture_context *tctx)
 {
NET_API_STATUS status = 0;
-   const char *username, *username2;
uint8_t *buffer = NULL;
uint32_t levels[] = { 0, 1, 2, 3, 4, 10, 11, 20, 23 };
uint32_t enum_levels[] = { 0, 1, 2, 3, 4, 10, 11, 20, 23 };
@@ -360,16 +360,14 @@ bool torture_libnetapi_user(struct torture_context *tctx)
 
torture_comment(tctx, NetUser tests\n);
 
-   username = torture_test_user;
-   username2 = torture_test_user2;
-
/* cleanup */
-   NetUserDel(hostname, username);
-   NetUserDel(hostname, username2);
+
+   NetUserDel(hostname, TORTURE_TEST_USER);
+   NetUserDel(hostname, TORTURE_TEST_USER2);
 
/* add a user */
 
-   status = test_netuseradd(tctx, hostname, username);
+   status = test_netuseradd(tctx, hostname, TORTURE_TEST_USER);
if (status) {
NETAPI_STATUS(tctx, ctx, status, NetUserAdd);
goto out;
@@ -379,7 +377,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
 
for (i=0; iARRAY_SIZE(enum_levels); i++) {
 
-   status = test_netuserenum(tctx, hostname, enum_levels[i], 
username);
+   status = test_netuserenum(tctx, hostname, enum_levels[i], 
TORTURE_TEST_USER);
if (status) {
NETAPI_STATUS(tctx, ctx, status, NetUserEnum);
goto out;
@@ -392,7 +390,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
 
torture_comment(tctx, testing NetUserGetInfo level %d\n, 
levels[i]);
 
-   status = NetUserGetInfo(hostname, username, levels[i], buffer);
+   status = NetUserGetInfo(hostname, TORTURE_TEST_USER, levels[i], 
buffer);
if (status  status != 124) {
NETAPI_STATUS(tctx, ctx, status, NetUserGetInfo);
goto out;
@@ -403,7 +401,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
 
for (i=0; iARRAY_SIZE(getgr_levels); i++) {
 
-   status = test_netusergetgroups(tctx, hostname, getgr_levels[i], 
username, NULL);
+   status = test_netusergetgroups(tctx, hostname, getgr_levels[i], 
TORTURE_TEST_USER, NULL);
if (status) {
NETAPI_STATUS(tctx, ctx, status, NetUserGetGroups);
goto out;
@@ -416,7 +414,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
 
u1007.usri1007_comment = NetApi modified user;
 
-   status = NetUserSetInfo(hostname, username, 1007, (uint8_t *)u1007, 
parm_err);
+   status = NetUserSetInfo(hostname, TORTURE_TEST_USER, 1007, (uint8_t 
*)u1007, parm_err);
if (status) {
NETAPI_STATUS(tctx, ctx, status, NetUserSetInfo);
goto out;
@@ -425,7 +423,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
/* query info */
 
for (i=0; iARRAY_SIZE(levels); i++) {
-   status = NetUserGetInfo(hostname, username, levels[i], buffer);
+   status = NetUserGetInfo(hostname, TORTURE_TEST_USER, levels[i], 
buffer);
if (status  status != 124) {
 

[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2341-gfbe85c7

2009-06-16 Thread Günther Deschner
The branch, master has been updated
   via  fbe85c70ef0aed6ff3c20585ae1f001c0417665c (commit)
  from  bdd214b38c9c97550cf8122f75c6a14e0b0397d0 (commit)

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


- Log -
commit fbe85c70ef0aed6ff3c20585ae1f001c0417665c
Author: Günther Deschner g...@samba.org
Date:   Wed Jun 17 01:30:22 2009 +0200

s4-smbtorture: add test for NetUserSetInfo level 0 (user rename).

Guenther

---

Summary of changes:
 source4/torture/libnetapi/libnetapi_user.c |   15 +--
 1 files changed, 13 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/libnetapi/libnetapi_user.c 
b/source4/torture/libnetapi/libnetapi_user.c
index 7269988..2731cbd 100644
--- a/source4/torture/libnetapi/libnetapi_user.c
+++ b/source4/torture/libnetapi/libnetapi_user.c
@@ -349,6 +349,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
uint32_t getgr_levels[] = { 0, 1 };
int i;
 
+   struct USER_INFO_0 u0;
struct USER_INFO_1007 u1007;
uint32_t parm_err = 0;
 
@@ -430,11 +431,21 @@ bool torture_libnetapi_user(struct torture_context *tctx)
}
}
 
+   torture_comment(tctx, testing NetUserSetInfo level 0\n);
+
+   u0.usri0_name = TORTURE_TEST_USER2;
+
+   status = NetUserSetInfo(hostname, TORTURE_TEST_USER, 0, (uint8_t *)u0, 
parm_err);
+   if (status) {
+   NETAPI_STATUS(tctx, ctx, status, NetUserSetInfo);
+   goto out;
+   }
+
/* delete */
 
torture_comment(tctx, testing NetUserDel\n);
 
-   status = NetUserDel(hostname, TORTURE_TEST_USER);
+   status = NetUserDel(hostname, TORTURE_TEST_USER2);
if (status) {
NETAPI_STATUS(tctx, ctx, status, NetUserDel);
goto out;
@@ -442,7 +453,7 @@ bool torture_libnetapi_user(struct torture_context *tctx)
 
/* should not exist anymore */
 
-   status = NetUserGetInfo(hostname, TORTURE_TEST_USER, 0, buffer);
+   status = NetUserGetInfo(hostname, TORTURE_TEST_USER2, 0, buffer);
if (status == 0) {
NETAPI_STATUS(tctx, ctx, status, NetUserGetInfo);
status = -1;


-- 
Samba Shared Repository


Build status as of Wed Jun 17 00:00:02 2009

2009-06-16 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2009-06-16 
00:00:50.0 +
+++ /home/build/master/cache/broken_results.txt 2009-06-17 00:00:26.0 
+
@@ -1,4 +1,4 @@
-Build status as of Tue Jun 16 00:00:02 2009
+Build status as of Wed Jun 17 00:00:02 2009
 
 Build counts:
 Tree Total  Broken Panic 
@@ -6,17 +6,17 @@
 ccache   31 5  0 
 distcc   0  0  0 
 ldb  31 31 0 
-libreplace   31 11 0 
+libreplace   31 10 0 
 lorikeet 0  0  0 
-pidl 21 2  0 
+pidl 22 2  0 
 ppp  15 0  0 
 rsync31 9  0 
 samba-docs   0  0  0 
 samba-web0  0  0 
-samba_3_current 29 26 0 
-samba_3_master 30 27 6 
+samba_3_current 29 22 0 
+samba_3_master 30 26 5 
 samba_3_next 30 29 1 
 samba_4_0_test 31 28 1 
-talloc   30 31 0 
-tdb  28 22 0 
+talloc   31 30 0 
+tdb  29 24 0 
 


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2342-g9b30c5c

2009-06-16 Thread Jeremy Allison
The branch, master has been updated
   via  9b30c5c1457a42a92a61086f8127caf6c60fc076 (commit)
  from  fbe85c70ef0aed6ff3c20585ae1f001c0417665c (commit)

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


- Log -
commit 9b30c5c1457a42a92a61086f8127caf6c60fc076
Author: Jeremy Allison j...@samba.org
Date:   Tue Jun 16 17:23:54 2009 -0700

Fix msdfs after the change to smb_filename struct. We must *always*
pull the pathname, then call resolve_dfspath(), before unix_convert().
Jeremy.

---

Summary of changes:
 source3/rpc_server/srv_srvsvc_nt.c |   25 ++-
 source3/smbd/nttrans.c |   42 +--
 source3/smbd/reply.c   |   79 ---
 source3/smbd/smb2_create.c |   15 ++-
 source3/smbd/trans2.c  |   29 ++---
 5 files changed, 161 insertions(+), 29 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_srvsvc_nt.c 
b/source3/rpc_server/srv_srvsvc_nt.c
index 7887f81..1b07fc2 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -2042,6 +2042,7 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p,
connection_struct *conn = NULL;
struct sec_desc_buf *sd_buf = NULL;
files_struct *fsp = NULL;
+   char *fname = NULL;
int snum;
char *oldcwd = NULL;
 
@@ -2066,7 +2067,17 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p,
goto error_exit;
}
 
-   nt_status = unix_convert(talloc_tos(), conn, r-in.file, smb_fname,
+   nt_status = resolve_dfspath(talloc_tos(),
+   conn,
+   false,
+   r-in.file,
+   fname);
+   if (!NT_STATUS_IS_OK(nt_status)) {
+   werr = ntstatus_to_werror(nt_status);
+   goto error_exit;
+   }
+
+   nt_status = unix_convert(talloc_tos(), conn, fname, smb_fname,
 0);
if (!NT_STATUS_IS_OK(nt_status)) {
werr = ntstatus_to_werror(nt_status);
@@ -2169,6 +2180,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p,
char *oldcwd = NULL;
struct security_descriptor *psd = NULL;
uint32_t security_info_sent = 0;
+   char *fname = NULL;
 
ZERO_STRUCT(st);
 
@@ -2191,7 +2203,16 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p,
goto error_exit;
}
 
-   nt_status = unix_convert(talloc_tos(), conn, r-in.file, smb_fname,
+   nt_status = resolve_dfspath(talloc_tos(),
+   conn,
+   false,
+   r-in.file,
+   fname);
+   if (!NT_STATUS_IS_OK(nt_status)) {
+   werr = ntstatus_to_werror(nt_status);
+   goto error_exit;
+   }
+   nt_status = unix_convert(talloc_tos(), conn, fname, smb_fname,
 0);
if (!NT_STATUS_IS_OK(nt_status)) {
werr = ntstatus_to_werror(nt_status);
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 7d0324b..a8716d3 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -507,6 +507,23 @@ void reply_ntcreate_and_X(struct smb_request *req)
? BATCH_OPLOCK : 0;
}
 
+   status = resolve_dfspath(ctx,
+   conn,
+   req-flags2  FLAGS2_DFS_PATHNAMES,
+   fname,
+   fname);
+
+   if (!NT_STATUS_IS_OK(status)) {
+   if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) {
+   reply_botherror(req,
+   NT_STATUS_PATH_NOT_COVERED,
+   ERRSRV, ERRbadpath);
+   goto out;
+   }
+   reply_nterror(req, status);
+   goto out;
+   }
+
status = unix_convert(ctx, conn, fname, smb_fname, 0);
if (!NT_STATUS_IS_OK(status)) {
reply_nterror(req, status);
@@ -976,10 +993,21 @@ static void call_nt_transact_create(connection_struct 
*conn,
goto out;
}
 
-   oplock_request = (flags  REQUEST_OPLOCK) ? EXCLUSIVE_OPLOCK : 0;
-   if (oplock_request) {
-   oplock_request |= (flags  REQUEST_BATCH_OPLOCK)
-   ? BATCH_OPLOCK : 0;
+   status = resolve_dfspath(ctx,
+   conn,
+   req-flags2  FLAGS2_DFS_PATHNAMES,
+   fname,
+   fname);
+
+   if (!NT_STATUS_IS_OK(status)) {
+ 

[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2343-geae3745

2009-06-16 Thread Jeremy Allison
The branch, master has been updated
   via  eae3745a3ba4bb812c07821c8d60a365386c2fa2 (commit)
  from  9b30c5c1457a42a92a61086f8127caf6c60fc076 (commit)

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


- Log -
commit eae3745a3ba4bb812c07821c8d60a365386c2fa2
Author: Jeremy Allison j...@samba.org
Date:   Tue Jun 16 17:42:41 2009 -0700

Remove msdfs pathname processing from default create file.
No longer needed.
Jeremy

---

Summary of changes:
 source3/smbd/open.c |   25 -
 1 files changed, 0 insertions(+), 25 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index c7d5979..c2e5cdf 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3369,31 +3369,6 @@ NTSTATUS create_file_default(connection_struct *conn,
  (unsigned int)root_dir_fid,
  ea_list, sd, smb_fname_str_dbg(smb_fname)));
 
-   /* MSDFS pathname processing must be done FIRST.
-  MSDFS pathnames containing IPv6 addresses can
-  be confused with NTFS stream names (they contain
-  : characters. JRA. */
-
-   if ((req != NULL)  (req-flags2  FLAGS2_DFS_PATHNAMES)) {
-   char *resolved_fname;
-
-   status = resolve_dfspath(talloc_tos(), conn, true,
-smb_fname-base_name,
-resolved_fname);
-
-   if (!NT_STATUS_IS_OK(status)) {
-   /*
-* For PATH_NOT_COVERED we had
-* reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,
-* ERRSRV, ERRbadpath);
-* Need to fix in callers
-*/
-   goto fail;
-   }
-   TALLOC_FREE(smb_fname-base_name);
-   smb_fname-base_name = resolved_fname;
-   }
-
status = get_full_smb_filename(talloc_tos(), smb_fname, fname);
if (!NT_STATUS_IS_OK(status)) {
goto fail;


-- 
Samba Shared Repository