Re: [SCM] Samba Shared Repository - branch master updated - 6a4957d35d50e6508917aca62b282ae4904187c8

2008-11-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Adam wrote:
> The branch, master has been updated
>via  6a4957d35d50e6508917aca62b282ae4904187c8 (commit)
>via  afbfbd7f4c656fa4ed036314837024be8cd634c9 (commit)
>via  bf04324592695fd6e711ba25a89d47e1b61fa33e (commit)
>   from  9d2c2a7a0e9e69c8fa2ce81af79007da0e32605b (commit)
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
> 
> 
> - Log -
> commit 6a4957d35d50e6508917aca62b282ae4904187c8
> Author: Michael Adam <[EMAIL PROTECTED]>
> Date:   Sun Nov 23 22:59:40 2008 +0100
> 
> UNFINISHED - s3:idmap_ad: multi-domain

Michael,

Why not just add the SFU schema support to the idmap_Adex plugin?
It already has global catalog and cross forest support?




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJLAlpIR7qMdg1EfYRAk/FAJ9JO1yNGCKbdiSuz+bXcYOloxCj+ACgtzci
m+zd6UVg+P5d/b0RrvW9JNE=
=Vnu0
-END PGP SIGNATURE-


Re: [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-975-g7c2e735

2008-04-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan (metze) Metzmacher wrote:
>> commit 5c454e77cf664fee65fcb03e5811764c92e73696
>> Author: Gerald W. Carter <[EMAIL PROTECTED]>
>> Date:   Thu Apr 17 18:06:10 2008 +0200
>>
>> Add wbcListTrusts() API call to libwbclient.so
>>
> 
> Hi Jerry,
> 
> as this changes the wbcDomainInfo structure,
> it might be useful to add some additional infos
> about the online/offline status of the domain,
> so that we can drop the seqnum stuff.

I'm going to add another bitflag  for the wbcDomainInfo->domain_flags
field.  Seems to be the most o0bvious place rather than a new
field entirely.






cheers, jerry
- --
=
Samba--- http://www.samba.org
Likewise Software  -  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDiBXIR7qMdg1EfYRAqoRAJ0X6TN1krN/mRdUiRXlxi4LlQtUAQCeOATE
499H9w7oPKx72QupxyEA4uI=
=hdMS
-END PGP SIGNATURE-


[SCM] Samba Shared Repository - branch v3-2-stable updated - initial-v3-2-test-1389-gef2e825

2008-01-15 Thread Gerald (Jerry) Carter
The branch, v3-2-stable has been updated
   via  ef2e825e1fe5493115d2b271c2f4198e9e5b1f47 (commit)
   via  5a527476a07ea43178dc5afeaf8ad78da8a4080c (commit)
   via  642424b3779dd33cd2b5049789aa16e678438bb9 (commit)
   via  151b42a150a17f566e7b4055bbdbc0564a3c106d (commit)
   via  08c1720509dffa2886ed057e2d14907699122f3c (commit)
   via  7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95 (commit)
   via  561e529a711338b2a3191f1b04f384f5ab3413ac (commit)
   via  58c806dbf85fd634c8f3559a035751a4cd0b5c4b (commit)
   via  15d0e574386e39a4d2fa61cd268b48dfa5c84dcb (commit)
   via  586d6cef521cebfd6fe2d433fdef498d4a59cb1b (commit)
   via  d94bd3a03b574b3f62add25b0c04673500a3 (commit)
   via  0a914a55bab30d765872d72cfdd59889d2afe42a (commit)
   via  f44f76415a7ce3ea73b5c52494f3b36feab4c870 (commit)
   via  7a48779ee5ec8bdd5e2b5eef94fd465f733b74b4 (commit)
   via  9a4b6fd3e21f54a0ff83f1fd0d0d5331a2cfdd0a (commit)
   via  beaa83f32bd367f1b6ec72ef80a8a258d662f523 (commit)
   via  1941c365b50d48fc90f0f98059b8cccf6c7a1a06 (commit)
  from  04e0460c7e4adfe29a8c788e1912129c4c0c7e62 (commit)

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


- Log -
commit ef2e825e1fe5493115d2b271c2f4198e9e5b1f47
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Jan 15 10:48:49 2008 -0600

Update release notes for vfs_ea_rename to complete the recent merge.

commit 5a527476a07ea43178dc5afeaf8ad78da8a4080c
Merge: 04e0460c7e4adfe29a8c788e1912129c4c0c7e62 
642424b3779dd33cd2b5049789aa16e678438bb9
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Jan 15 10:47:07 2008 -0600

Merge commit 'samba/v3-2-test' into v3-2-stable

---

Summary of changes:
 WHATSNEW.txt|2 +-
 source/Makefile.in  |   13 +-
 source/configure.in |4 +-
 source/include/smb.h|2 +
 source/libnet/libnet.h  |2 +-
 source/libnet/libnet_join.c |   16 +-
 source/libnet/libnet_join.h |   75 
 source/librpc/gen_ndr/libnet_join.h |   73 +++
 source/librpc/gen_ndr/ndr_libnet_join.c |  103 +
 source/librpc/gen_ndr/ndr_libnet_join.h |   20 +
 source/librpc/idl/libnet_join.idl   |   60 +++
 source/librpc/ndr/ndr_basic.c   |   11 +
 source/librpc/ndr/ndr_misc.c|   81 
 source/modules/vfs_ea_tdb.c |  736 --
 source/modules/vfs_xattr_tdb.c  |  737 +++
 source/registry/reg_api.c   |   25 +-
 source/rpc_client/cli_lsarpc.c  |8 +-
 source/rpcclient/rpcclient.c|2 +-
 source/script/tests/selftest.sh |2 +-
 source/utils/net.h  |2 +-
 source/utils/net_ads.c  |7 +-
 source/utils/net_domain.c   |2 +-
 source/utils/net_rpc.c  |   11 +-
 source/utils/net_rpc_join.c |4 +-
 source/winbindd/winbindd_cm.c   |6 +-
 25 files changed, 1149 insertions(+), 855 deletions(-)
 delete mode 100644 source/libnet/libnet_join.h
 create mode 100644 source/librpc/gen_ndr/libnet_join.h
 create mode 100644 source/librpc/gen_ndr/ndr_libnet_join.c
 create mode 100644 source/librpc/gen_ndr/ndr_libnet_join.h
 create mode 100644 source/librpc/idl/libnet_join.idl
 delete mode 100644 source/modules/vfs_ea_tdb.c
 create mode 100644 source/modules/vfs_xattr_tdb.c


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 86f8ad9..253fe26 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -175,7 +175,7 @@ o   Volker Lendecke <[EMAIL PROTECTED]>
 * Add generic a in-memory cache.
 * Import the Linux red-black tree implementation.
 * Remove large amount of global variables.
-* Add vfs_ea_tdb module for file systems that do not implement xattrs.
+* Add vfs_xattr_tdb module for file systems that do not implement xattrs.
 
 
 o   Stefan Metzmacher <[EMAIL PROTECTED]>
diff --git a/source/Makefile.in b/source/Makefile.in
index 4260145..46f733c 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -268,7 +268,8 @@ LIBNDR_GEN_OBJ = librpc/gen_ndr/ndr_wkssvc.o \
 librpc/gen_ndr/ndr_srvsvc.o \
 librpc/gen_ndr/ndr_svcctl.o \
 librpc/gen_ndr/ndr_eventlog.o \
-librpc/gen_ndr/ndr_notify.o
+librpc/gen_ndr/ndr_notify.o \
+librpc/gen_ndr/ndr_libnet_join.o
 
 RPC_PARSE_OBJ0 = rpc_parse/parse_prs.o rpc_parse/parse_misc.o
 
@@ -503,7 +504,7 @@ VFS_CAP_OBJ = modules/vfs_cap.o
 VFS_EXPAND_MSDFS_OBJ = modules/vfs_expand_msdfs.o
 VFS_SHADOW_COPY_OBJ = modules/vfs_shadow_copy.o
 VFS_AFSACL_OBJ = modules/vfs_afsacl.o
-VFS_EA_TDB_OBJ = m

[SCM] Samba Shared Repository - branch v3-2-stable updated - initial-v3-2-test-1372-g04e0460

2008-01-15 Thread Gerald (Jerry) Carter
The branch, v3-2-stable has been updated
   via  04e0460c7e4adfe29a8c788e1912129c4c0c7e62 (commit)
  from  061c90fefef0e6093dfc3912d381cc306549ed4b (commit)

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


- Log -
commit 04e0460c7e4adfe29a8c788e1912129c4c0c7e62
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Jan 15 10:45:53 2008 -0600

Add notes from Michael Adam for the commit log in release notes

---

Summary of changes:
 WHATSNEW.txt |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 53a1c84..86f8ad9 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -109,6 +109,7 @@ smb.conf changes
 client plaintext auth  Changed Default No
 clustering New No
 cluster addresses  New ""
+debug class New No
 ctdb socketNew ""
 lanman authChanged Default No
 mangle map  Removed
@@ -124,10 +125,18 @@ Changes since 3.2.0pre1:
 ---
 
 o   Michael Adam <[EMAIL PROTECTED]>
-* Add vfs_zfsacl plugin.
+* Add library for access to the registry configuration data.
+* BUG 5023: Separate NFS4 and POSIX ACL code in file access checks.
+* BUG 4308: Fix Excel save operation ACL bug.
 * Refactor and consolidate logic for retrieving the machine
   trust password information.
+* VFS API cleanup.
 * BUG 4801: Correctly implement LSA lookup levels for LookupNames.
+* Add new option "debug class" to control printing of the debug class.
+  in debug headers.
+* Enable building of the zfsacl and notify_fam vfs modules.
+* BUG 5083: Fix memleak in solarisacl module.
+* BUG 5063: Fix build on RHEL5.
 
 
 o   Jeremy Allison <[EMAIL PROTECTED]>


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-stable updated - initial-v3-2-test-1371-g061c90f

2008-01-15 Thread Gerald (Jerry) Carter
The branch, v3-2-stable has been updated
   via  061c90fefef0e6093dfc3912d381cc306549ed4b (commit)
   via  5adf38606b4c6918412a3da76e6fb3298ac585af (commit)
   via  a5fb8b443a7c4ebf68ed005990683718c1092747 (commit)
   via  ed559b4a59e826851cb9894f0e519eaedb523f9d (commit)
   via  e37859164c35e8d908f3dfcc99226ee6773ba0a8 (commit)
   via  4f05b50d4c626f2c404bb4bfefb65998125b612f (commit)
   via  40aeb431604bd26fc543410de24593726ca0a01f (commit)
   via  f21871c6d60e02ed53f060abbbfb2ef656cdc311 (commit)
   via  1a5b72daa36073cc0604211248d869bf0d7546c6 (commit)
   via  99e3e4b0dd0b0755189c1c740f2975bc75a0e28d (commit)
   via  b66ac8567c16f2c35fceceba2f858d5503620309 (commit)
   via  2036b4c5ad677b8a477b34b0f076febab0abff5e (commit)
   via  e6bd1395f2c1da7bcf1a31cdb297919ed6a15469 (commit)
   via  7cb81bfc6bcdd56a8886e18aa9a7e05ec963d33d (commit)
   via  7dd65599a15bf1d164fcfa554c8057d43c51eb6d (commit)
   via  9f05d2eae7c55d39ad61da54c4a38d6b6f8d4d3a (commit)
   via  ef9b278b6289a9ecdd6b103927058f64fbb7eb97 (commit)
   via  bb36b74a4e8fa63672031145b6d39d79468241d9 (commit)
   via  a861ff20917eeca303e2d36de71cd8614e937d5f (commit)
   via  3f081ebeadf30a7943723703ecae479e0412c60c (commit)
   via  558ce4ec3eaa93c827316d92c346f35c140fadf0 (commit)
   via  44d67e84625a2a1a93baecef0e418b48e982443b (commit)
   via  94693755a291993217b5cb74794504a8593eae30 (commit)
   via  8b63a1665795d2739b54144212926113d9be7f09 (commit)
   via  be8071779fa14d964e86810f5fb16bc52aea4e36 (commit)
   via  33f6eff92b6bdf804d54c84375cece8a867933f2 (commit)
   via  b37b2b77edec72fc3f53b3461aa1c210e4366c1b (commit)
   via  add28753b2e740804c48db5f6235cb2f8908d82b (commit)
   via  dceb9a4c80fb241e12fafc6229aa8e81f5d2df1a (commit)
  from  6811ea1ce2d46f7303b4edf661e27d2edf54724f (commit)

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


- Log -
commit 061c90fefef0e6093dfc3912d381cc306549ed4b
Merge: 5adf38606b4c6918412a3da76e6fb3298ac585af 
a5fb8b443a7c4ebf68ed005990683718c1092747
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Jan 15 07:59:23 2008 -0600

Merge commit 'samba/v3-2-test' into v3-2-stable

commit 5adf38606b4c6918412a3da76e6fb3298ac585af
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Jan 15 07:59:18 2008 -0600

Add First draf of release notes.

commit bb36b74a4e8fa63672031145b6d39d79468241d9
Merge: 6811ea1ce2d46f7303b4edf661e27d2edf54724f 
a861ff20917eeca303e2d36de71cd8614e937d5f
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Jan 14 15:10:14 2008 -0600

Merge commit 'samba/v3-2-test' into v3-2-stable

---

Summary of changes:
 WHATSNEW.txt   |  136 +-
 source/Makefile.in |   26 +-
 source/configure.in|8 +-
 source/include/reg_objects.h   |4 +
 source/include/rpc_lsa.h   |   16 -
 source/lib/winbind_util.c  |2 +-
 source/libads/kerberos.c   |3 +-
 source/libnet/libnet_join.c|  134 +--
 source/librpc/gen_ndr/cli_lsa.c|   20 +-
 source/librpc/gen_ndr/cli_lsa.h|   14 +-
 source/librpc/gen_ndr/lsa.h|   20 +-
 source/librpc/gen_ndr/ndr_lsa.c|  123 +-
 source/librpc/gen_ndr/ndr_lsa.h|1 +
 source/librpc/gen_ndr/ndr_xattr.c  |  102 +
 source/librpc/gen_ndr/ndr_xattr.h  |   16 +
 source/librpc/gen_ndr/xattr.h  |   18 +
 source/librpc/idl/lsa.idl  |   18 +-
 source/librpc/idl/xattr.idl|   23 +
 source/libsmb/clireadwrite.c   |9 +-
 source/modules/vfs_ea_tdb.c|  736 
 source/nsswitch/libwbclient/wbc_err.h  |   51 ---
 source/nsswitch/libwbclient/wbclient.h |   27 ++-
 source/nsswitch/winbind_nss_config.h   |8 +
 source/pkgconfig/wbclient.pc.in|   13 +
 source/registry/reg_api.c  |8 +-
 source/registry/reg_db.c   |   29 ++-
 source/registry/reg_frontend_hilvl.c   |   29 ++
 source/registry/reg_printing.c |2 +-
 source/registry/reg_shares.c   |2 +-
 source/registry/reg_smbconf.c  |4 +-
 source/rpc_client/cli_lsarpc.c |   35 --
 source/rpc_parse/parse_lsa.c   |   58 ---
 source/script/fix_bool.pl  |   19 +
 source/script/tests/selftest.sh|1 +
 source/script/tests/test_posix_s3.sh   |2 +-
 source/utils/net_ads.c |   11 +-
 source/utils/net_dns.c |3 +-
 source/utils/net_rpc_audit.c   |  182 
 38 files changed, 1560 insertions(+), 353 deletions(-)
 create mode 100644 source/librpc/gen_ndr/ndr_xattr.c
 create mode 100644 source/librpc/g

[SCM] Samba Shared Repository - annotated tag initial-v3-0-test created - initial-v3-0-test

2008-01-14 Thread Gerald (Jerry) Carter
The annotated tag, initial-v3-0-test has been created
at  8dc54ea6d0e5bf00e069e52ef608baafc5f05ce2 (tag)
   tagging  65229e966119f0b1537d258854a54105f32ae399 (commit)
  replaces  initial-v3-0-unstable
 tagged by  Gerald (Jerry) Carter
on  Mon Jan 14 17:11:06 2008 -0600

- Log -
Tagging initial v3-0-test branch after swapping from SVN.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHi+wgIR7qMdg1EfYRAt3nAKDvXxz7vKf7tndaCXugB1/Bux/1lACgwBGY
YEA+XBcB5Lm4qnp7DcHXJIQ=
=hEXV
-END PGP SIGNATURE-

Gerald (Jerry) Carter (1):
  [GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.

---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - annotated tag initial-v3-2-test created - initial-v3-2-test

2008-01-14 Thread Gerald (Jerry) Carter
The annotated tag, initial-v3-2-test has been created
at  4cdd886813bd17c3df53f59d5531443e1bf8230b (tag)
   tagging  5c6c8e1fe93f340005110a7833946191659d88ab (commit)
  replaces  initial-v3-2-unstable
 tagged by  Gerald (Jerry) Carter
on  Mon Jan 14 15:12:38 2008 -0600

- Log -
Tagging initial revision of v3-2-test branch for reference
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHi9BVIR7qMdg1EfYRAgTIAJ9h7csf2Aq6bieKWmHM7LKIIqrCFQCdHrCm
Noo3Qq/YxjSKC3rrzXHK4WU=
=r7EE
-END PGP SIGNATURE-

Gerald (Jerry) Carter (1):
  [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test 
branch.

---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1352-ga861ff2

2008-01-14 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  a861ff20917eeca303e2d36de71cd8614e937d5f (commit)
  from  3f081ebeadf30a7943723703ecae479e0412c60c (commit)

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


- Log -
commit a861ff20917eeca303e2d36de71cd8614e937d5f
Author: Alexander Bokovoy <[EMAIL PROTECTED]>
Date:   Mon Jan 14 21:32:59 2008 +0300

Fix crash in winbind clients: instead of talloc-based pointer we passed 
address of a local variable.

---

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


Changeset truncated at 500 lines:

diff --git a/source/lib/winbind_util.c b/source/lib/winbind_util.c
index 3cf068a..14356b0 100644
--- a/source/lib/winbind_util.c
+++ b/source/lib/winbind_util.c
@@ -201,7 +201,7 @@ bool winbind_lookup_rids(TALLOC_CTX *mem_ctx,
*types   = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids);
 
for(i=0; i

[SCM] Samba Shared Repository - branch v3-2-stable updated - initial-v3-2-unstable-1343-g6811ea1

2008-01-14 Thread Gerald (Jerry) Carter
 (commit)
   via  88102b5b7c4eaad5445e9cb96e547dd918abc0c2 (commit)
   via  7a88cd61e09f6db9db38916704ae65e03b33139c (commit)
   via  c82c1d462be6ddccd6e395b4a9630df91dacbda2 (commit)
   via  c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1 (commit)
   via  a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04 (commit)
   via  87456d8eefe630ab6ac685524c4560a71764ea96 (commit)
   via  dec77b387cd9024eb33bb0617c7543814e9c9212 (commit)
  from  22d2ff0bc4d1012cc3ffc7ab0fdbab5a8188a0cb (commit)

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


- Log -
commit 6811ea1ce2d46f7303b4edf661e27d2edf54724f
Merge: 22d2ff0bc4d1012cc3ffc7ab0fdbab5a8188a0cb 
99dd28da84c270f46535bd2ffa6bfef96d2e2eed
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Jan 14 09:49:47 2008 -0600

Merge commit 'samba/v3-2-test' into v3-2-stable

---

Summary of changes:
 examples/VFS/skel_opaque.c |   16 +-
 examples/VFS/skel_transparent.c|   16 +-
 examples/logon/genlogon/genlogon.pl|2 +-
 source/Makefile.in |   58 ++--
 source/configure.in|   13 +-
 source/include/rpc_lsa.h   |  153 ---
 source/include/vfs.h   |   12 +-
 source/include/vfs_macros.h|   24 +-
 source/lib/dbwrap_rbt.c|  186 ++---
 source/lib/dbwrap_tdb.c|3 +-
 source/lib/module.c|2 +
 source/lib/netapi/examples/getdc/getdc.c   |2 +-
 .../examples/netdomjoin-gui/netdomjoin-gui.c   |8 +-
 source/lib/netapi/examples/netdomjoin/netdomjoin.c |4 +-
 source/lib/netapi/joindomain.c |4 +-
 source/lib/netapi/netapi.c |   21 +-
 source/lib/netapi/netapi.h |   15 +-
 source/lib/netapi/serverinfo.c |   18 +-
 source/lib/tdb/common/freelist.c   |  101 --
 source/lib/tdb/common/io.c |   20 +-
 source/lib/tdb/common/lock.c   |7 +
 source/lib/tdb/common/open.c   |   11 +-
 source/lib/tdb/common/tdb.c|   77 -
 source/lib/tdb/common/tdb_private.h|8 +-
 source/lib/tdb/common/transaction.c|  408 +++
 source/lib/tdb/common/traverse.c   |3 +
 source/lib/tdb/configure.ac|2 +-
 source/lib/tdb/include/tdb.h   |4 +
 source/libads/authdata.c   |4 +-
 source/libads/kerberos_verify.c|3 +-
 source/libnet/libnet.h |1 +
 source/libnet/libnet_conf.c|  279 ++
 source/libnet/{libnet.h => libnet_conf.h}  |   13 +-
 source/libnet/libnet_join.c|  269 -
 source/libnet/libnet_join.h|2 +
 source/librpc/gen_ndr/dfs.h|   15 +-
 source/librpc/gen_ndr/echo.h   |   10 +-
 source/librpc/gen_ndr/epmapper.h   |5 +-
 source/librpc/gen_ndr/lsa.h|   22 +-
 source/librpc/gen_ndr/ndr_svcctl.c |   12 +-
 source/librpc/gen_ndr/ndr_wkssvc.c |2 +
 source/librpc/gen_ndr/netlogon.h   |   21 +-
 source/librpc/gen_ndr/srvsvc.h |   14 +-
 source/librpc/gen_ndr/svcctl.h |5 +-
 source/librpc/gen_ndr/winreg.h |   12 +-
 source/librpc/gen_ndr/wkssvc.h |   17 +-
 source/librpc/idl/lsa.idl  |2 +-
 source/librpc/idl/netlogon.idl |6 +-
 source/librpc/idl/samr.idl |4 +-
 source/librpc/idl/srvsvc.idl   |4 +-
 source/librpc/idl/winreg.idl   |2 +-
 source/librpc/idl/wkssvc.idl   |2 +-
 source/libsmb/dsgetdcname.c|   76 ++--
 source/libsmb/namequery.c  |   13 +-
 source/locking/locking.c   |8 +-
 source/modules/vfs_cacheprime.c|   21 +-
 source/modules/vfs_commit.c|3 +-
 source/modules/vfs_default.c   |   31 +-
 source/modules/vfs_full_audit.c|   30 +-
 source/modules/vfs_readahead.c |   14 +-
 source/nmbd/nmbd_incomingdgrams.c  |4 +-
 source/passdb/pdb_tdb.c|3 +-
 source/printing/nt_printing.c  |7 +-

[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1068-ge7164a2

2008-01-04 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  e7164a252bf213a74d6eeac5aa04645eed5be241 (commit)
   via  f89e356bdaa203ef0a3ce6b8bd52170afa68a2c9 (commit)
   via  2030a8de19a2c7c735a8aa367dd953e4a5c447b8 (commit)
   via  ed30516bb0f55f9ba466debf91b6e33d1c28a484 (commit)
  from  df5839b5376e903486982ddc7c4f4fbd4550c60a (commit)

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


- Log -
commit e7164a252bf213a74d6eeac5aa04645eed5be241
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Jan 4 13:35:41 2008 -0600

Fix the inherited trust flags when spidering the trust heirarchy.

Also *do not* clear the trust list when rescanning or else it is possible
to suffer from a race condition where no trusted domains can be found.

commit f89e356bdaa203ef0a3ce6b8bd52170afa68a2c9
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Jan 4 13:34:10 2008 -0600

Add a missing check for dealing with a one-way trust in query_user().

commit 2030a8de19a2c7c735a8aa367dd953e4a5c447b8
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Jan 4 13:32:58 2008 -0600

Ensure that winbindd_getgroups() can deal with a UPN name.

A user logging in via GDM was not getting a complete list of supplementary
groups in his/her token.  This is because getgroup() was not able to
find the winbindd_domain* using the DNS name.  Fallback to matching the DNS
name is the short name match failes.

commit ed30516bb0f55f9ba466debf91b6e33d1c28a484
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Jan 4 13:31:07 2008 -0600

When connecting to an AD DC, use the DsGetDCName variant.

This allows us to deal with child domains in transitive forest trusts.
It also allows us to fill in the forest name to the target domain to the
struct winbindd_domain *.

---

Summary of changes:
 source/winbindd/winbindd_ads.c   |   12 
 source/winbindd/winbindd_cm.c|   38 --
 source/winbindd/winbindd_group.c |   11 ++-
 source/winbindd/winbindd_rpc.c   |6 ++
 source/winbindd/winbindd_util.c  |   10 +++---
 5 files changed, 71 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_ads.c b/source/winbindd/winbindd_ads.c
index c9b2a52..3aba824 100644
--- a/source/winbindd/winbindd_ads.c
+++ b/source/winbindd/winbindd_ads.c
@@ -1270,12 +1270,24 @@ static NTSTATUS trusted_domains(struct winbindd_domain 
*domain,
d.domain_type = domains[i].trust_type;
d.domain_trust_attribs = 
domains[i].trust_attributes;
} else {
+   /* Look up the record in the cache */
+   struct winbindd_tdc_domain *parent;
+
DEBUG(10,("trusted_domains(ads):  Inheriting 
trust "
  "flags for domain %s\n", 
d.alt_name));
+
+   parent = wcache_tdc_fetch_domain(NULL, 
domain->name);
+   if (parent) {
+   d.domain_flags = parent->trust_flags;
+   d.domain_type  = parent->trust_type;
+   d.domain_trust_attribs = 
parent->trust_attribs;
+   } else {
d.domain_flags = domain->domain_flags;  

d.domain_type  = domain->domain_type;
d.domain_trust_attribs = 
domain->domain_trust_attribs;
}
+   TALLOC_FREE(parent);
+   }
 
wcache_tdc_add_domain( &d );
 
diff --git a/source/winbindd/winbindd_cm.c b/source/winbindd/winbindd_cm.c
index 33674d2..99e401d 100644
--- a/source/winbindd/winbindd_cm.c
+++ b/source/winbindd/winbindd_cm.c
@@ -601,8 +601,34 @@ static bool get_dc_name_via_netlogon(const struct 
winbindd_domain *domain,
 
orig_timeout = cli_set_timeout(netlogon_pipe->cli, 35000);

-   werr = rpccli_netlogon_getanydcname(netlogon_pipe, mem_ctx, 
our_domain->dcname,
+   if (our_domain->active_directory) {
+   struct DS_DOMAIN_CONTROLLER_INFO *domain_info = NULL;
+   
+   werr = rpccli_netlogon_dsr_getdcname(netlogon_pipe, 
+mem_ctx, 
+our_domain->dcname,
+domain->name,
+   

[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-997-g5181684

2008-01-02 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  518168410c49ac25085714c73e76dcf358fc4b68 (commit)
  from  761858312b3470ff2acc2980882bad534275c552 (commit)

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


- Log -
commit 518168410c49ac25085714c73e76dcf358fc4b68
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Jan 2 17:34:41 2008 -0600

Fix some C++ warnings (patch was Volker's) - implicit case from void* to 
char*

---

Summary of changes:
 source/nsswitch/libwbclient/wbc_pwd.c |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/libwbclient/wbc_pwd.c 
b/source/nsswitch/libwbclient/wbc_pwd.c
index 4e3b0d3..5f7437b 100644
--- a/source/nsswitch/libwbclient/wbc_pwd.c
+++ b/source/nsswitch/libwbclient/wbc_pwd.c
@@ -228,7 +228,8 @@ wbcErr wbcGetgrnam(const char *name, struct group **grp)
&response);
BAIL_ON_WBC_ERROR(wbc_status);
 
-   *grp = copy_group_entry(&response.data.gr, response.extra_data.data);
+   *grp = copy_group_entry(&response.data.gr, 
+   (char*)response.extra_data.data);
BAIL_ON_PTR_ERROR(*grp, wbc_status);
 
  done:
@@ -270,7 +271,8 @@ wbcErr wbcGetgrgid(gid_t gid, struct group **grp)
&response);
BAIL_ON_WBC_ERROR(wbc_status);
 
-   *grp = copy_group_entry(&response.data.gr, response.extra_data.data);
+   *grp = copy_group_entry(&response.data.gr, 
+   (char*)response.extra_data.data);
BAIL_ON_PTR_ERROR(*grp, wbc_status);
 
  done:


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-996-g7618583

2008-01-02 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  761858312b3470ff2acc2980882bad534275c552 (commit)
   via  f22c9d6296c754d472e8eab51caa058f55ef370e (commit)
   via  39c2059f66ee9eb471a503b9c776807b91c2a8f8 (commit)
  from  1b06ee69f6b737c1d6e7b29f8ae9621e6eb07d27 (commit)

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


- Log -
commit 761858312b3470ff2acc2980882bad534275c552
Merge: 1b06ee69f6b737c1d6e7b29f8ae9621e6eb07d27 
f22c9d6296c754d472e8eab51caa058f55ef370e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Jan 2 17:15:10 2008 -0600

Merge branch 'work/v3-2-test' into v3-2-test

commit f22c9d6296c754d472e8eab51caa058f55ef370e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Jan 2 14:54:25 2008 -0600

use C99 bool return types (true & false).

commit 39c2059f66ee9eb471a503b9c776807b91c2a8f8
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Jan 2 14:50:59 2008 -0600

Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.

Follows existing convention that all returned memory should be freed with
wbcFreeMemory() and not directly with free().  Noticed by Volker.  Txs.

---

Summary of changes:
 source/lib/winbind_util.c  |   49 ---
 source/nsswitch/libwbclient/wbc_sid.c  |   37 ---
 source/nsswitch/libwbclient/wbc_util.c |4 --
 3 files changed, 44 insertions(+), 46 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/winbind_util.c b/source/lib/winbind_util.c
index f51a017..3cf068a 100644
--- a/source/lib/winbind_util.c
+++ b/source/lib/winbind_util.c
@@ -35,12 +35,12 @@ bool winbind_lookup_name(const char *dom_name, const char 
*name, DOM_SID *sid,
 
result = wbcLookupName(dom_name, name, &dom_sid, &type);
if (result != WBC_ERR_SUCCESS)
-   return False;
+   return false;
 
memcpy(sid, &dom_sid, sizeof(DOM_SID)); 
*name_type = (enum lsa_SidType)type;
 
-   return True;
+   return true;
 }
 
 /* Call winbindd to convert sid to name */
@@ -59,7 +59,7 @@ bool winbind_lookup_sid(TALLOC_CTX *mem_ctx, const DOM_SID 
*sid,
 
result = wbcLookupSid(&dom_sid, &domain_name, &account_name, &type);
if (result != WBC_ERR_SUCCESS)
-   return False;
+   return false;
 
/* Copy out result */
 
@@ -74,16 +74,16 @@ bool winbind_lookup_sid(TALLOC_CTX *mem_ctx, const DOM_SID 
*sid,
DEBUG(10, ("winbind_lookup_sid: SUCCESS: SID %s -> %s %s\n", 
   sid_string_dbg(sid), domain_name, account_name));
 
-   SAFE_FREE(domain_name);
-   SAFE_FREE(account_name);
+   wbcFreeMemory(domain_name);
+   wbcFreeMemory(account_name);

if ((domain && !*domain) || (name && !*name)) { 
DEBUG(0,("winbind_lookup_sid: talloc() failed!\n"));
-   return False;
+   return false;
}   
 
 
-   return True;
+   return true;
 }
 
 /* Ping winbindd to see it is alive */
@@ -192,8 +192,9 @@ bool winbind_lookup_rids(TALLOC_CTX *mem_ctx,

ret = wbcLookupRids(&dom_sid, num_rids, rids,
&dom_name, &namelist, &name_types);
-   if (ret != WBC_ERR_SUCCESS)
-   return False;
+   if (ret != WBC_ERR_SUCCESS) {   
+   return false;
+   }   

*domain_name = talloc_strdup(mem_ctx, dom_name);
*names   = TALLOC_ARRAY(mem_ctx, const char*, num_rids);
@@ -202,13 +203,13 @@ bool winbind_lookup_rids(TALLOC_CTX *mem_ctx,
for(i=0; i0; i++) {
char ridstr[12];
@@ -356,15 +354,15 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid,
wbc_status = wbcRequestResponse(WINBINDD_LOOKUPRIDS,
&request,
&response);
-   free(ridlist);
+   talloc_free(ridlist);
 
-   domain_name = strdup(response.data.domain_name);
+   domain_name = talloc_strdup(NULL, response.data.domain_name);
BAIL_ON_PTR_ERROR(domain_name, wbc_status);
 
-   *names = (const char**)malloc(sizeof(char*) * num_rids);
+   *names = talloc_array(NULL, const char*, num_rids);
BAIL_ON_PTR_ERROR((*names), wbc_status);
 
-   *types = (enum wbcSidType*)malloc(sizeof(enum wbcSidType) * num_rids);
+   *types = talloc_array(NULL, enum wbcSidType, num_rids);
BAIL_ON_PTR_ERROR((*types), wbc_status);
 
p = (char *)response.extra_data.data;
@@ -393,7 +391,8 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid,
 
*q = '\0';
 
- 

[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-701-g194c464

2007-12-17 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  194c4640b158457a6d0d5ea91e28d41d619c77de (commit)
  from  7f6593cddef048dd05140b05d306c708d8134f0e (commit)

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


- Log -
commit 194c4640b158457a6d0d5ea91e28d41d619c77de
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Dec 17 17:33:48 2007 -0600

Fix a segv in winbindd caused by trying to free an fstring.
Make a copy of the machine_password and machine_account strings
in all conditional paths so that SAFE_FREE() will always be valid.

---

Summary of changes:
 source/winbindd/winbindd_cm.c |8 ++--
 1 files changed, 6 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_cm.c b/source/winbindd/winbindd_cm.c
index cb366a2..6c5633c 100644
--- a/source/winbindd/winbindd_cm.c
+++ b/source/winbindd/winbindd_cm.c
@@ -2005,11 +2005,15 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, 
TALLOC_CTX *mem_ctx,
domain_name = domain->name;
goto schannel;
} else {
-   machine_password = conn_pwd;
-   machine_account = conn->cli->user_name;
+   machine_password = SMB_STRDUP(conn_pwd);
+   machine_account = SMB_STRDUP(conn->cli->user_name);
domain_name = conn->cli->domain;
}
 
+   if (!machine_password || !machine_account) {
+   result = NT_STATUS_NO_MEMORY;
+   goto done;
+   }
 
/* We have an authenticated connection. Use a NTLMSSP SPNEGO
   authenticated SAMR pipe with sign & seal. */


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - annotated tag release-3-0-28 updated - release-3-0-28

2007-12-10 Thread Gerald (Jerry) Carter
The annotated tag, release-3-0-28 has been updated
to  2823e00caae9aa7498e6f697cc7ec23db0974633 (tag)
  from  4e73bbd9dd682db9d49b5a074d8dd8c78d81a2e2 (which is now obsolete)
   tagging  06160682fba61e97c9837d1c074bb73d449f6e72 (commit)
  replaces  release-3-0-27a
 tagged by  Gerald (Jerry) Carter
on  Mon Dec 10 10:00:49 2007 -0600

- Log -
Tagging Samba 3.0.28
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHXWK7IR7qMdg1EfYRAnCcAKCtacIxn/R2zgo69b0X8kQsAHvlHgCfaVWW
jz1sPzvnQTbjmQw2BHVmFSg=
=XcBh
-END PGP SIGNATURE-

Gerald (Jerry) Carter (11):
  Copy the full release notes from the 3.0.27 tag.
  Update release notes for the 3.0.27a release.
  Set version to 3.0.27a-GIT--stable
  Merge commit 'release-3-0-27a' into v3-0-stable
  Fix from Volker for CVE-2007-6015 (send_mailslot() buffer overrun).
  Fix from Jeremy for CVE-2007-6015 (send_mailslot() buffer overrun).
  Set release version to 3.0.28.
  Update release notes for 3.0.28
  Remove "-stable" vendor suffix from release
  Additional fixes for SAMBA_VERSION_VENDOR_PATCH in lib/version.c
  Correct typos in the name of the CVE-2007-6015 references

Michael Adam (1):
  Adapt VERSION to use SAMBA_VERSION_VENDOR_PATCH instead of

Volker Lendecke (1):
  Correctly unbecome_root() on error

---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-28-1-g0616068

2007-12-10 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated
   via  06160682fba61e97c9837d1c074bb73d449f6e72 (commit)
  from  5cc2baea238b49b99d69099a12c3c02ac4860a52 (commit)

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


- Log -
---

Summary of changes:
 WHATSNEW.txt |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index bd4fe02..9e023d1 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -6,7 +6,7 @@
 Samba 3.0.28 is a security release in order to address the following
 defect:
 
-  o CVS-2007-6015
+  o CVE-2007-6015
 Boundary failure in GETDC mailslot processing can result in 
 a buffer overrun
 
@@ -21,10 +21,10 @@ Changes since 3.0.27a
 -
 
 o   Jeremy Allison <[EMAIL PROTECTED]>
-* Fix for CVS-2007-0615.
+* Fix for CVE-2007-6015.
 
 o   Volker Lendecke <[EMAIL PROTECTED]>
-* Fix for CVS-2007-0615.
+* Fix for CVE-2007-6015.
 * Add missing unbecome_root() calls in error path processing
   when failing to add local groups in create_local_nt_token().
 
@@ -131,7 +131,7 @@ o   Martin Zielinski <[EMAIL PROTECTED]>
 Samba 3.0.27 is a security release in order to address the following
 defects:
 
-  o CVS-2007-4572
+  o CVE-2007-4572
 Stack buffer overflow in nmbd's logon request processing.
 
   o CVE-2007-5398
@@ -149,12 +149,12 @@ Changes since 3.0.26a
 -
 
 o   Jeremy Allison <[EMAIL PROTECTED]>
-* Fix for CVS-2007-4572.
+* Fix for CVE-2007-4572.
 * Fix for CVE-2007-5398.
 
 
 o   Simo Sorce <[EMAIL PROTECTED]>
-* Additional fixes for CVS-2007-4572.
+* Additional fixes for CVE-2007-4572.
 
 
   --


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28-17-g46a7806

2007-12-10 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  46a780679b87132dbf76af3e684c2124b33a1edc (commit)
   via  06160682fba61e97c9837d1c074bb73d449f6e72 (commit)
  from  452e964995afe5a43040c8bdcadc9c45a1e1d007 (commit)

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


- Log -
commit 46a780679b87132dbf76af3e684c2124b33a1edc
Merge: 452e964995afe5a43040c8bdcadc9c45a1e1d007 
06160682fba61e97c9837d1c074bb73d449f6e72
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Dec 10 09:59:46 2007 -0600

Merge branch 'v3-0-stable' into v3-0-test

---

Summary of changes:
 WHATSNEW.txt |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index bd4fe02..9e023d1 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -6,7 +6,7 @@
 Samba 3.0.28 is a security release in order to address the following
 defect:
 
-  o CVS-2007-6015
+  o CVE-2007-6015
 Boundary failure in GETDC mailslot processing can result in 
 a buffer overrun
 
@@ -21,10 +21,10 @@ Changes since 3.0.27a
 -
 
 o   Jeremy Allison <[EMAIL PROTECTED]>
-* Fix for CVS-2007-0615.
+* Fix for CVE-2007-6015.
 
 o   Volker Lendecke <[EMAIL PROTECTED]>
-* Fix for CVS-2007-0615.
+* Fix for CVE-2007-6015.
 * Add missing unbecome_root() calls in error path processing
   when failing to add local groups in create_local_nt_token().
 
@@ -131,7 +131,7 @@ o   Martin Zielinski <[EMAIL PROTECTED]>
 Samba 3.0.27 is a security release in order to address the following
 defects:
 
-  o CVS-2007-4572
+  o CVE-2007-4572
 Stack buffer overflow in nmbd's logon request processing.
 
   o CVE-2007-5398
@@ -149,12 +149,12 @@ Changes since 3.0.26a
 -
 
 o   Jeremy Allison <[EMAIL PROTECTED]>
-* Fix for CVS-2007-4572.
+* Fix for CVE-2007-4572.
 * Fix for CVE-2007-5398.
 
 
 o   Simo Sorce <[EMAIL PROTECTED]>
-* Additional fixes for CVS-2007-4572.
+* Additional fixes for CVE-2007-4572.
 
 
   --


-- 
Samba Shared Repository


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

2007-12-10 Thread Gerald (Jerry) Carter
The annotated tag, release-3-0-28 has been created
at  4e73bbd9dd682db9d49b5a074d8dd8c78d81a2e2 (tag)
   tagging  5cc2baea238b49b99d69099a12c3c02ac4860a52 (commit)
  replaces  release-3-0-27a
 tagged by  Gerald (Jerry) Carter
on  Mon Dec 10 09:31:46 2007 -0600

- Log -
Tagging Samba 3.0.28 release
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHXVvsIR7qMdg1EfYRAqLTAKDLXQzyGYXCSPMeyitMGPWT2zimhgCgpEBz
VovsQ1GTD5h3Z/2CEJXYzxk=
=ujU0
-END PGP SIGNATURE-

Gerald (Jerry) Carter (10):
  Copy the full release notes from the 3.0.27 tag.
  Update release notes for the 3.0.27a release.
  Set version to 3.0.27a-GIT--stable
  Merge commit 'release-3-0-27a' into v3-0-stable
  Fix from Volker for CVE-2007-6015 (send_mailslot() buffer overrun).
  Fix from Jeremy for CVE-2007-6015 (send_mailslot() buffer overrun).
  Set release version to 3.0.28.
  Update release notes for 3.0.28
  Remove "-stable" vendor suffix from release
  Additional fixes for SAMBA_VERSION_VENDOR_PATCH in lib/version.c

Michael Adam (1):
  Adapt VERSION to use SAMBA_VERSION_VENDOR_PATCH instead of

Volker Lendecke (1):
  Correctly unbecome_root() on error

---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-27a-12-g5cc2bae

2007-12-10 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated
   via  5cc2baea238b49b99d69099a12c3c02ac4860a52 (commit)
   via  82bd5484ad502f2afdb771a27a12a39459cb2ec0 (commit)
   via  e1abd8c2265dd63d5de388e7d8047c80204bb36e (commit)
   via  1f7b4c72d953d2fc9d18eb96a4c7739ae36b5a3d (commit)
   via  62197dd367e7c04759560f395f554b2bfda90d78 (commit)
   via  64547bd884668d801c3ac48ff3374bf02a2d0959 (commit)
   via  b14aa30006033d9dbaa8120bc419406535d620b8 (commit)
   via  6a9610ba27f802136f1ca8a94816d552df17a166 (commit)
  from  2b4189175a4e54c922136dbfb35c276730a4039a (commit)

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


- Log -
---

Summary of changes:
 WHATSNEW.txt   |   39 +++
 source/VERSION |   10 +-
 source/auth/auth_util.c|2 ++
 source/lib/version.c   |6 +++---
 source/libsmb/clidgram.c   |6 ++
 source/nmbd/nmbd_packets.c |6 ++
 6 files changed, 57 insertions(+), 12 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 9b5494c..bd4fe02 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,38 @@
+   ==
+   Release Notes for Samba 3.0.28
+Dec 10, 2007
+   ==
+
+Samba 3.0.28 is a security release in order to address the following
+defect:
+
+  o CVS-2007-6015
+Boundary failure in GETDC mailslot processing can result in 
+a buffer overrun
+
+The original security announcement for this and past advisories can 
+be found http://www.samba.org/samba/security/
+
+##
+Changes
+###
+
+Changes since 3.0.27a
+-
+
+o   Jeremy Allison <[EMAIL PROTECTED]>
+* Fix for CVS-2007-0615.
+
+o   Volker Lendecke <[EMAIL PROTECTED]>
+* Fix for CVS-2007-0615.
+* Add missing unbecome_root() calls in error path processing
+  when failing to add local groups in create_local_nt_token().
+
+
+Release notes for older releases follow:
+
+  --
+
===
Release Notes for Samba 3.0.27a
  Nov 20, 2007
@@ -86,8 +121,6 @@ o   Martin Zielinski <[EMAIL PROTECTED]>
 
 
 
-Release notes for older releases follow:
-
   --
 
==
@@ -124,8 +157,6 @@ o   Simo Sorce <[EMAIL PROTECTED]>
 * Additional fixes for CVS-2007-4572.
 
 
-Release notes for older releases follow:
-
   --
===
Release Notes for Samba 3.0.26a
diff --git a/source/VERSION b/source/VERSION
index 4a0e3bd..d80ff13 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=0
-SAMBA_VERSION_RELEASE=27
+SAMBA_VERSION_RELEASE=28
 
 
 # Bug fix releases use a letter for the patch revision #
@@ -36,7 +36,7 @@ SAMBA_VERSION_RELEASE=27
 # e.g. SAMBA_VERSION_REVISION=a#
 #  ->  "2.2.8a"#
 
-SAMBA_VERSION_REVISION=a
+SAMBA_VERSION_REVISION=
 
 
 # For 'pre' releases the version will be   #
@@ -68,7 +68,7 @@ SAMBA_VERSION_RC_RELEASE=
 # e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes   #
 #  ->  "3.0.0-SVN-build-199"   #
 
-SAMBA_VERSION_IS_GIT_SNAPSHOT=yes
+SAMBA_VERSION_IS_GIT_SNAPSHOT=
 
 
 # This can be set by vendors if they want...   #
@@ -95,5 +95,5 @@ SAMBA_VERSION_IS_GIT_SNAPSHOT=yes
 # e.g. SAMBA_VERSION_VENDOR_SUFFIX=vendor_version()#
 #  ->  "CVS 3.0.0rc2-VendorVersion"#
 
-SAMBA_VERSION_VENDOR_SUFFIX="stable"
-SAMBA_VENDOR_PATCH=
+SAMBA_VERSION_VENDOR_SUFFIX=
+SAMBA_VERSION_VENDOR_PATCH=
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 6fbec48..32224fa 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -956,6 +956,7 @@ static struct nt_user_token 
*create_local_nt_token(TALLOC_CTX *mem_ctx,
status = add_aliases(get_global_sam_sid(), result);
 
if (!NT_STATUS_IS_OK(status)) {
+   unbecome_root();

[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-27a-27-g452e964

2007-12-10 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  452e964995afe5a43040c8bdcadc9c45a1e1d007 (commit)
   via  5cc2baea238b49b99d69099a12c3c02ac4860a52 (commit)
   via  82bd5484ad502f2afdb771a27a12a39459cb2ec0 (commit)
   via  f5afd08483dec2bd1c53c10550e512e12ebe4ab1 (commit)
   via  e1abd8c2265dd63d5de388e7d8047c80204bb36e (commit)
   via  1f7b4c72d953d2fc9d18eb96a4c7739ae36b5a3d (commit)
   via  62197dd367e7c04759560f395f554b2bfda90d78 (commit)
   via  64547bd884668d801c3ac48ff3374bf02a2d0959 (commit)
   via  b14aa30006033d9dbaa8120bc419406535d620b8 (commit)
   via  6a9610ba27f802136f1ca8a94816d552df17a166 (commit)
  from  9c0590cbca8128a76300d0e5b3f5b8e479d8080f (commit)

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


- Log -
commit 452e964995afe5a43040c8bdcadc9c45a1e1d007
Merge: f5afd08483dec2bd1c53c10550e512e12ebe4ab1 
5cc2baea238b49b99d69099a12c3c02ac4860a52
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Dec 10 09:30:23 2007 -0600

Merge branch 'v3-0-stable' into v3-0-test

commit f5afd08483dec2bd1c53c10550e512e12ebe4ab1
Merge: 9c0590cbca8128a76300d0e5b3f5b8e479d8080f 
e1abd8c2265dd63d5de388e7d8047c80204bb36e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Dec 10 08:34:15 2007 -0600

Merge branch 'v3-0-stable' into v3-0-test

Resolved conflicts in source/VERSION.

---

Summary of changes:
 WHATSNEW.txt   |   39 +++
 source/VERSION |4 ++--
 source/lib/version.c   |6 +++---
 source/libsmb/clidgram.c   |6 ++
 source/nmbd/nmbd_packets.c |6 ++
 5 files changed, 52 insertions(+), 9 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 9b5494c..bd4fe02 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,38 @@
+   ==
+   Release Notes for Samba 3.0.28
+Dec 10, 2007
+   ==
+
+Samba 3.0.28 is a security release in order to address the following
+defect:
+
+  o CVS-2007-6015
+Boundary failure in GETDC mailslot processing can result in 
+a buffer overrun
+
+The original security announcement for this and past advisories can 
+be found http://www.samba.org/samba/security/
+
+##
+Changes
+###
+
+Changes since 3.0.27a
+-
+
+o   Jeremy Allison <[EMAIL PROTECTED]>
+* Fix for CVS-2007-0615.
+
+o   Volker Lendecke <[EMAIL PROTECTED]>
+* Fix for CVS-2007-0615.
+* Add missing unbecome_root() calls in error path processing
+  when failing to add local groups in create_local_nt_token().
+
+
+Release notes for older releases follow:
+
+  --
+
===
Release Notes for Samba 3.0.27a
  Nov 20, 2007
@@ -86,8 +121,6 @@ o   Martin Zielinski <[EMAIL PROTECTED]>
 
 
 
-Release notes for older releases follow:
-
   --
 
==
@@ -124,8 +157,6 @@ o   Simo Sorce <[EMAIL PROTECTED]>
 * Additional fixes for CVS-2007-4572.
 
 
-Release notes for older releases follow:
-
   --
===
Release Notes for Samba 3.0.26a
diff --git a/source/VERSION b/source/VERSION
index 1f38b98..4095e11 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=0
-SAMBA_VERSION_RELEASE=27
+SAMBA_VERSION_RELEASE=28
 
 
 # Bug fix releases use a letter for the patch revision #
@@ -36,7 +36,7 @@ SAMBA_VERSION_RELEASE=27
 # e.g. SAMBA_VERSION_REVISION=a#
 #  ->  "2.2.8a"#
 
-SAMBA_VERSION_REVISION=b
+SAMBA_VERSION_REVISION=a
 
 
 # For 'pre' releases the version will be   #
diff --git a/source/lib/version.c b/source/lib/version.c
index ee8c3eb..93fd108 100644
--- a/source/lib/version.c
+++ b/source/lib/version.c
@@ -28,7 +28,7 @@ const char *samba_version_string(void)
 #else
static fstring samba_version;
static BOOL init_samba_version;
-#ifdef SAMBA_VENDOR_PATCH
+#ifdef SAMBA_VERSION_VENDOR_PATCH
fstring tmp_version;
si

[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-497-g487ab6e

2007-12-05 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  487ab6e75e8b8d15f2a37e4ba4129eb2475d4c86 (commit)
  from  2a1755327f6cef6c969308e9ebcb238048535533 (commit)

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


- Log -
commit 487ab6e75e8b8d15f2a37e4ba4129eb2475d4c86
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Dec 5 11:52:35 2007 -0600

Compile fix to the automount support.  Patch from GlaDiaC.

---

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


Changeset truncated at 500 lines:

diff --git a/source/lib/util.c b/source/lib/util.c
index f51761a..f0ea6c8 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -1384,7 +1384,7 @@ char *automount_lookup(TALLOC_CTX *ctx, const char 
*user_name)
 
if ((nis_error = yp_get_default_domain(&nis_domain)) != 0) {
DEBUG(3, ("YP Error: %s\n", yperr_string(nis_error)));
-   return last_value;
+   return NULL;
}
 
DEBUG(5, ("NIS Domain: %s\n", nis_domain));


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-351-g30c9e35

2007-11-21 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  30c9e3557bf4ca0b85e15bd7cc883391aec42f1f (commit)
   via  6b62b7dbab559ffc0047790c7ec68c1b30f0eff0 (commit)
  from  6f9c2910bdda605f90967e0aa6a84b8094f3a197 (commit)

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


- Log -
commit 30c9e3557bf4ca0b85e15bd7cc883391aec42f1f
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 21 10:27:22 2007 -0600

Allocate a talloc_stackframe() in main() for wbinfo.

commit 6b62b7dbab559ffc0047790c7ec68c1b30f0eff0
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 21 10:27:01 2007 -0600

Fix unresolved symbols in smbumount from addition of talloc_stackframe().

---

Summary of changes:
 source/Makefile.in   |5 +++--
 source/nsswitch/wbinfo.c |4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index 0ed7b4e..db6f123 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -735,7 +735,8 @@ MOUNT_OBJ = client/smbmount.o \
 
 MNT_OBJ = client/smbmnt.o $(VERSION_OBJ) $(LIBREPLACE_OBJ) 
$(SOCKET_WRAPPER_OBJ)
 
-UMOUNT_OBJ = client/smbumount.o $(SOCKET_WRAPPER_OBJ)
+UMOUNT_OBJ = client/smbumount.o $(SOCKET_WRAPPER_OBJ) $(PARAM_OBJ) 
$(LIBSMB_OBJ) \
+$(KRBCLIENT_OBJ) $(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
 
 CIFS_MOUNT_OBJ = client/mount.cifs.o
 
@@ -1188,7 +1189,7 @@ bin/[EMAIL PROTECTED]@: $(BINARY_PREREQS) $(MNT_OBJ)
 
 bin/[EMAIL PROTECTED]@: $(BINARY_PREREQS) $(UMOUNT_OBJ)
@echo Linking $@
-   @$(CC) $(FLAGS) -o $@ $(UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS)
+   @$(CC) $(FLAGS) -o $@ $(UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) 
$(KRB5LIBS) $(LDAP_LIBS)
 
 bin/[EMAIL PROTECTED]@: $(BINARY_PREREQS) $(CIFS_MOUNT_OBJ)
@echo Linking $@
diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c
index 2a1fe61..488a080 100644
--- a/source/nsswitch/wbinfo.c
+++ b/source/nsswitch/wbinfo.c
@@ -1273,7 +1273,7 @@ enum {
 int main(int argc, char **argv, char **envp)
 {
int opt;
-
+   TALLOC_CTX *frame = talloc_stackframe();
poptContext pc;
static char *string_arg;
static char *opt_domain_name;
@@ -1613,6 +1613,8 @@ int main(int argc, char **argv, char **envp)
/* Exit code */
 
  done:
+   talloc_destroy(frame);
+
poptFreeContext(pc);
return result;
 }


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-stable updated - release-3-0-27a-4-g2b41891

2007-11-21 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated
   via  2b4189175a4e54c922136dbfb35c276730a4039a (commit)
   via  7fe4b24fcebe231843149fd8f7dbe5676812367d (commit)
   via  d6c3df20e8f6656da40b1baba4618d0220c1a4c1 (commit)
   via  cd416a1df851d6098795ada33c2ca84cc4889dcb (commit)
  from  6abe6a6c4034ded26c33417bed6824f3aac6f334 (commit)

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


- Log -
commit 2b4189175a4e54c922136dbfb35c276730a4039a
Merge: 6abe6a6c4034ded26c33417bed6824f3aac6f334 
7fe4b24fcebe231843149fd8f7dbe5676812367d
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 21 07:38:19 2007 -0600

Merge commit 'release-3-0-27a' into v3-0-stable

Resolved Conflicts:

source/VERSION

commit 7fe4b24fcebe231843149fd8f7dbe5676812367d
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 21:55:27 2007 -0600

Update release notes for the 3.0.27a release.

commit d6c3df20e8f6656da40b1baba4618d0220c1a4c1
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 18:19:32 2007 -0600

Copy the full release notes from the 3.0.27 tag.

Some parts were somehow different.

commit cd416a1df851d6098795ada33c2ca84cc4889dcb
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 17:44:25 2007 -0600

Setting release version to 3.0.27a

---

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


Changeset truncated at 500 lines:

diff --git a/source/VERSION b/source/VERSION
index 280bd9b..4a0e3bd 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=0
-SAMBA_VERSION_RELEASE=27a
+SAMBA_VERSION_RELEASE=27
 
 
 # Bug fix releases use a letter for the patch revision #
@@ -36,7 +36,7 @@ SAMBA_VERSION_RELEASE=27a
 # e.g. SAMBA_VERSION_REVISION=a#
 #  ->  "2.2.8a"#
 
-SAMBA_VERSION_REVISION=
+SAMBA_VERSION_REVISION=a
 
 
 # For 'pre' releases the version will be   #


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-33-g761876c

2007-11-21 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  761876cdfd3805575de422a51fa1514edefea160 (commit)
  from  487186624bbe67a5cbbe7f48be031edf4e52bd4f (commit)

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


- Log -
commit 761876cdfd3805575de422a51fa1514edefea160
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 21 07:13:14 2007 -0600

Set version to 3.0.27b-GIT--test

---

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


Changeset truncated at 500 lines:

diff --git a/source/VERSION b/source/VERSION
index 002f246..9f6a524 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -36,7 +36,7 @@ SAMBA_VERSION_RELEASE=27
 # e.g. SAMBA_VERSION_REVISION=a#
 #  ->  "2.2.8a"#
 
-SAMBA_VERSION_REVISION=
+SAMBA_VERSION_REVISION=b
 
 
 # For 'pre' releases the version will be   #


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-stable updated - initial-v3-0-unstable-33-g6abe6a6

2007-11-21 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated
   via  6abe6a6c4034ded26c33417bed6824f3aac6f334 (commit)
  from  487186624bbe67a5cbbe7f48be031edf4e52bd4f (commit)

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


- Log -
commit 6abe6a6c4034ded26c33417bed6824f3aac6f334
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 21 07:12:08 2007 -0600

Set version to 3.0.27a-GIT--stable

---

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


Changeset truncated at 500 lines:

diff --git a/source/VERSION b/source/VERSION
index 002f246..280bd9b 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=0
-SAMBA_VERSION_RELEASE=27
+SAMBA_VERSION_RELEASE=27a
 
 
 # Bug fix releases use a letter for the patch revision #
@@ -95,5 +95,5 @@ SAMBA_VERSION_IS_GIT_SNAPSHOT=yes
 # e.g. SAMBA_VERSION_VENDOR_SUFFIX=vendor_version()#
 #  ->  "CVS 3.0.0rc2-VendorVersion"#
 
-SAMBA_VERSION_VENDOR_SUFFIX="test"
+SAMBA_VERSION_VENDOR_SUFFIX="stable"
 SAMBA_VENDOR_PATCH=


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-stable updated - initial-v3-0-unstable-32-g4871866

2007-11-21 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated
   via  487186624bbe67a5cbbe7f48be031edf4e52bd4f (commit)
   via  30eb456bc2e261f561f02a867309d62fff9a20a6 (commit)
   via  9acd56a247abdc1334fa011063940db6e0d65370 (commit)
   via  21e6405e0ca811fc5c74441c38f059ff41dc0c42 (commit)
   via  8ad2826c48a0d4d26abc3bb209860c776f55822f (commit)
   via  56b012b1c4dc48434bf5ae9cb8459bd7ad33d2a1 (commit)
   via  62a1c825b2cd702cc439c5f07fa36386b2260052 (commit)
   via  e56ee680c34f77497a436b8021b51fe296bcc322 (commit)
   via  6d3734aa74ce68ca340640aa478ec920af578e1b (commit)
   via  72be9cc495d796d700281c047b152ba909f6fd2b (commit)
   via  ea97a10df5732dfcc931197a01d6446ed92b7658 (commit)
   via  183eea4909d6678ac382eac16a5873a1fa3fd065 (commit)
   via  14ecfecbdf3e631f87d83337e06060724deb7756 (commit)
   via  63918ac0f0a3767237210182f0f35840db87242c (commit)
   via  96e61fb89caa9e9d500c3006b83299a7938d0af7 (commit)
   via  99eea67a5a1114e499ece00f8b68ccbf2ec4ae75 (commit)
   via  a7c6fe1e3cb4d66a48f43a49fe31778adace2332 (commit)
   via  1cdf89a02af6e7a2deed3f59519af97c10dbdaa3 (commit)
   via  3480b42be1adc7c2876a77e8260049447338c3ff (commit)
   via  c3fbfc37b578b8107be1f585cf6e3e2d001f7ab1 (commit)
   via  8cb09fe2d923fabbb6a7b909cc245c08128c0b67 (commit)
   via  26d8a1ad20c10da495970c584983fbd261b4946e (commit)
   via  f37f19f817874e885e70456328e0d3693fc24c9c (commit)
   via  d2a42b4b53362bd3873467ad8849a5e884c818d2 (commit)
   via  918dd7dfd4d6611079d430f9df45fcc53d675682 (commit)
   via  efe56c9de5b4e451917388c126ae9f6c6bd58970 (commit)
   via  5ec7b9f8b9941c1a0adcd10d52fdffc893c1b1a1 (commit)
   via  02cf5380e2deec1eaf10e8c1f393a1ddeee181d9 (commit)
   via  0fa0c924bbea430de9ea2f38ed9d6f4d6dff2fef (commit)
   via  0f633851537b689b0ac57b041d97115b6158546f (commit)
   via  b16e4e16340eaa8d93651ba816937e8040b85e95 (commit)
  from  65229e966119f0b1537d258854a54105f32ae399 (commit)

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


- Log -
commit 487186624bbe67a5cbbe7f48be031edf4e52bd4f
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 21:55:27 2007 -0600

Update release notes for the 3.0.27a release.
(cherry picked from commit 7fe4b24fcebe231843149fd8f7dbe5676812367d)

commit 30eb456bc2e261f561f02a867309d62fff9a20a6
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 18:19:32 2007 -0600

Copy the full release notes from the 3.0.27 tag.

Some parts were somehow different.
(cherry picked from commit d6c3df20e8f6656da40b1baba4618d0220c1a4c1)

commit 9acd56a247abdc1334fa011063940db6e0d65370
Author: Simo Sorce <[EMAIL PROTECTED]>
Date:   Tue Nov 20 18:19:54 2007 -0500

32/64 bit compatibility fix
this patch fixes platform where 32 and 64 bit apps can run at the same time
fixed in and tested in Fedora: 
https://bugzilla.redhat.com/show_bug.cgi?id=253036

commit 21e6405e0ca811fc5c74441c38f059ff41dc0c42
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Tue Nov 20 14:06:50 2007 -0800

Don't overrun directory listings by incorrectly calculating
end-of-data. Syncs up with 3.2.0. Jerry - this should fix the
profile bug.
Jeremy.

commit 8ad2826c48a0d4d26abc3bb209860c776f55822f
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 13:24:03 2007 -0600

Prevent segv in winbindd running on a DC using the "idmap backend" syntax.

The number of domains should be counted as they are added and not assumed
to match the loop counter.

commit 56b012b1c4dc48434bf5ae9cb8459bd7ad33d2a1
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Mon Nov 19 15:27:11 2007 -0800

Ensure every use of push_ascii checks for error -1 condition.
Ensure that is zero termination is requested that it is
applied if there's space.
Jeremy.

commit 62a1c825b2cd702cc439c5f07fa36386b2260052
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Mon Nov 19 12:02:11 2007 -0800

Back-port fix for bug found by kukks - Samba adding
non-initialized name to IP mapping.
Jeremy.

commit e56ee680c34f77497a436b8021b51fe296bcc322
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Sun Nov 18 15:06:53 2007 -0800

Fix remaining calls to srvstr_push -1 - noticed
by Simo (thanks !)
Jeremy.

commit 6d3734aa74ce68ca340640aa478ec920af578e1b
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Sat Oct 20 02:17:07 2007 +0200

Fix for Bug #5023 (separate access check from posix_acls code)

The three can_* access check functions in smbd/posix_acls.c that are used in
smbd/open.c and smbd/nttrans.c explicitly called 
check_posix_acl_group_access()

This lead to errors with nfsv4 acls (e.g. ZFS and GPFS).

This changes the can_* functions to 

[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-32-g4871866

2007-11-20 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  487186624bbe67a5cbbe7f48be031edf4e52bd4f (commit)
   via  30eb456bc2e261f561f02a867309d62fff9a20a6 (commit)
  from  9acd56a247abdc1334fa011063940db6e0d65370 (commit)

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


- Log -
commit 487186624bbe67a5cbbe7f48be031edf4e52bd4f
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 21:55:27 2007 -0600

Update release notes for the 3.0.27a release.
(cherry picked from commit 7fe4b24fcebe231843149fd8f7dbe5676812367d)

commit 30eb456bc2e261f561f02a867309d62fff9a20a6
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 18:19:32 2007 -0600

Copy the full release notes from the 3.0.27 tag.

Some parts were somehow different.
(cherry picked from commit d6c3df20e8f6656da40b1baba4618d0220c1a4c1)

---

Summary of changes:
 WHATSNEW.txt |  129 +++---
 1 files changed, 123 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index d208c07..9b5494c 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,95 @@
+   ===
+   Release Notes for Samba 3.0.27a
+ Nov 20, 2007
+   ===
+
+Samba 3.0.27a is a bug fix release and is the current release
+for production servers running the Samba 3.0 series.
+
+Important fixes in 3.0.27a include:
+
+  o A crash bug regression experienced by smbfs clients caused
+by the fix for CVE-2007-4572.
+
+
+
+##
+Changes
+###
+
+Changes since 3.0.27
+
+
+o   Michael Adam <[EMAIL PROTECTED]>
+* BUG 4308: Add missing become_root/unbecome_root around calls of 
+  add_aliases.  Add same changes in create_token_from_username()
+  surrounding the call to getsampwsid().
+* BUG 5083: Make solarisacl_sys_acl_get_fd() return a result when 
+  there is one (thereby fixing a memleak).
+* BUG 5023: Fix smbd's interaction with NFSv4 ACL compatible VFS 
+  plugins such as GPFS and ZFS.
+
+
+o   Jeremy Allison <[EMAIL PROTECTED]>
+* BUG 4978: Ensure that DOS attributes are copied with folders.
+* Fix bug where tdb lock call interrupted with an alarm sig would 
+  not terminate and could lead to runaway smbd processes.
+* Fix smbd crash bug which resulted from a regression in the patch
+  for CVE-2007-4572 patch.
+* Prevent nmbd from adding non-initialized name to IP address
+  mappings to it's WINS database.
+
+
+o   Dmitry Butskoy <[EMAIL PROTECTED]>
+* Properly catch errors in the query_user() callback to avoid
+  generated struct passwd replies with zero length usernames.
+
+
+o   Gerald (Jerry) Carter <[EMAIL PROTECTED]>
+* Prevent segv in winbindd running on a DC using the "idmap
+  backend" syntax.
+
+
+o   Steve Langasek <[EMAIL PROTECTED]>
+* BUG 4781: Allow cleaning of /etc/mtab by canonicalizing mountpoint.
+
+
+o   Volker Lendecke <[EMAIL PROTECTED]>
+* BUG 4028: Fix message popup sent via "smbclient -M".
+* BUG 4984: Filename unix_convert() fixes for WinNT 4.0 clients.
+
+
+o   Stefan Metzmacher <[EMAIL PROTECTED]>
+* Fix crash bug in pidl generated client code caused by
+  [in,out,unique] pointers.
+* Fix crash bug in the group mapping code.
+
+
+o   Heinrich Mislik <[EMAIL PROTECTED]>
+* Fixes for AIX quota support.
+
+
+o   Tomasz Ostrowski <[EMAIL PROTECTED]>
+* BUG 4393: Prevent smbclient from dropping 0 bytes files from tar 
+  archives.
+
+
+o   Simo Sorce <[EMAIL PROTECTED]>
+* Fixes for internal idmap domain list when "winbind trusted
+  domains only" is enabled.
+* Fix 32/64-bit compatibility issues in the winbind request/response
+  structures.
+
+
+o   Martin Zielinski <[EMAIL PROTECTED]>
+* Error code path fix for get_mydnsdomname().
+
+
+
+Release notes for older releases follow:
+
+  --
+
==
Release Notes for Samba 3.0.27
 Nov 15, 2007
@@ -265,13 +357,9 @@ o   Atsushi Nakabayashi <[EMAIL PROTECTED]>
   --
===
Release Notes for Samba 3.0.25b
- June 20, 2007
+ June 26, 2007
===
 
-This is the third production release of the Samba 3.0.25 code 
-base a

[SCM] Samba Shared Repository - annotated tag release-3-0-27a created - release-3-0-27a

2007-11-20 Thread Gerald (Jerry) Carter
The annotated tag, release-3-0-27a has been created
at  7f8f8d3ef26eae34ed0491cf53d4628e121d5533 (tag)
   tagging  7fe4b24fcebe231843149fd8f7dbe5676812367d (commit)
  replaces  initial-v3-0-unstable
 tagged by  Gerald (Jerry) Carter
on  Tue Nov 20 22:18:03 2007 -0600

- Log -
Tagging 3.0.27a
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHQ7GEIR7qMdg1EfYRAndqAKCD3gnPJy3XJD8few7R5ke7yawFkACfXwiq
rKb5XzF8rSKcxQeo/7d2RZw=
=MkEg
-END PGP SIGNATURE-

Gerald (Jerry) Carter (12):
  [GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
  Ensure we catch an error in the query_user() reply in the receive 
function.
  Merge branch 'v3-0-test' of git://git.samba.org/samba into v3-0-test
  Fix for CVE-2007-5398.
  Fix for CVE-2007-4572
  Set version to 3.0.27a
  Pull in release notes from 3.0.27 to the v3-0 development branch
  Set release to 3.0.27a in development branch
  Prevent segv in winbindd running on a DC using the "idmap backend" syntax.
  Setting release version to 3.0.27a
  Copy the full release notes from the 3.0.27 tag.
  Update release notes for the 3.0.27a release.

Jeremy Allison (8):
  Fix warning messages for unused variables.
  Fix bug where tdb lock call interrupted with
  Fix smbfs to not trigger our paranoid checker.
  Fix for bug 4393 smbclient does not store files with zero filesize in 
tar-archives
  Fix remaining calls to srvstr_push -1 - noticed
  Back-port fix for bug found by kukks - Samba adding
  Ensure every use of push_ascii checks for error -1 condition.
  Don't overrun directory listings by incorrectly calculating

Michael Adam (5):
  Add become_root/unbecome_root around one call of getsampwsid()
  Add .gitignore file from v3-2-test.
  Fix bug #5083 (and duplicate bug #5084).
  Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing 
mountpoint.
  Fix for Bug #5023 (separate access check from posix_acls code)

Simo Sorce (3):
  Fix default domains support using compat syntax.
  Fix dimap for trusted domains only case
  32/64 bit compatibility fix

Stefan Metzmacher (5):
  cleanup and extent .gitignore
  prepare the mkversion.sh infrastructure for git branches in the build-farm
  SAMBA_VERSION_VENDOR_SUFFIX="test"
  fix crash bug in pidl generated client code, this
  [crash fix] don't use already free'ed memory

---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-28-g8ad2826

2007-11-20 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  8ad2826c48a0d4d26abc3bb209860c776f55822f (commit)
  from  56b012b1c4dc48434bf5ae9cb8459bd7ad33d2a1 (commit)

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


- Log -
commit 8ad2826c48a0d4d26abc3bb209860c776f55822f
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 13:24:03 2007 -0600

Prevent segv in winbindd running on a DC using the "idmap backend" syntax.

The number of domains should be counted as they are added and not assumed
to match the loop counter.

---

Summary of changes:
 source/nsswitch/idmap.c |   15 ---
 1 files changed, 8 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/idmap.c b/source/nsswitch/idmap.c
index db1c6f3..9c38f6b 100644
--- a/source/nsswitch/idmap.c
+++ b/source/nsswitch/idmap.c
@@ -376,7 +376,7 @@ NTSTATUS idmap_init(void)
 */
DEBUG(1, ("Initializing idmap domains\n"));
 
-   for (i = 0; dom_list[i]; i++) {
+   for (i=0, num_domains=0; dom_list[i]; i++) {
const char *parm_backend;
char *config_option;
 
@@ -384,7 +384,7 @@ NTSTATUS idmap_init(void)
if (strequal(dom_list[i], "BUILTIN")
 || strequal(dom_list[i], get_global_sam_name()))
{
-   DEBUG(0,("idmap_init: Ignoring invalid domain %s\n",
+   DEBUG(0,("idmap_init: Ignoring domain %s\n",
 dom_list[i]));
continue;
}
@@ -492,13 +492,17 @@ NTSTATUS idmap_init(void)
ret = NT_STATUS_NO_MEMORY;
goto done;
}
-   idmap_domains[i] = dom;
+   idmap_domains[num_domains] = dom;
 
/* save default domain position for future uses */
if (dom->default_domain) {
-   def_dom_num = i;
+   def_dom_num = num_domains;
}
 
+   /* Bump counter to next available slot */
+
+   num_domains++;
+
DEBUG(10, ("Domain %s - Backend %s - %sdefault - %sreadonly\n",
dom->name, parm_backend,
dom->default_domain?"":"not ",
@@ -507,9 +511,6 @@ NTSTATUS idmap_init(void)
talloc_free(config_option);
}
 
-   /* save the number of domains we have */
-   num_domains = i;
-
/* automatically add idmap_nss backend if needed */
if ((lp_server_role() == ROLE_DOMAIN_MEMBER) &&
( ! pri_dom_is_in_list) &&


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-341-g99b75ca

2007-11-20 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  99b75cada2c4caaec5d30c8351080f0a41e44bd1 (commit)
  from  ae7885711f504f1442335f09088cbe149a7e00f9 (commit)

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


- Log -
commit 99b75cada2c4caaec5d30c8351080f0a41e44bd1
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Nov 20 13:24:03 2007 -0600

Prevent segv in winbindd running on a DC using the "idmap backend" syntax.

The number of domains should be counted as they are added and not assumed
to match the loop counter.

manually cherry-picked 8ad2826c48a0d4d26abc3bb209860c776f55822f

---

Summary of changes:
 source/winbindd/idmap.c |   15 ---
 1 files changed, 8 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/idmap.c b/source/winbindd/idmap.c
index e89ad73..6756c2a 100644
--- a/source/winbindd/idmap.c
+++ b/source/winbindd/idmap.c
@@ -387,7 +387,7 @@ NTSTATUS idmap_init(void)
 */
DEBUG(1, ("Initializing idmap domains\n"));
 
-   for (i = 0; dom_list[i]; i++) {
+   for (i=0, num_domains=0; dom_list[i]; i++) {
const char *parm_backend;
char *config_option;
 
@@ -395,7 +395,7 @@ NTSTATUS idmap_init(void)
if (strequal(dom_list[i], "BUILTIN")
 || strequal(dom_list[i], get_global_sam_name()))
{
-   DEBUG(0,("idmap_init: Ignoring invalid domain %s\n",
+   DEBUG(0,("idmap_init: Ignoring domain %s\n",
 dom_list[i]));
continue;
}
@@ -503,13 +503,17 @@ NTSTATUS idmap_init(void)
ret = NT_STATUS_NO_MEMORY;
goto done;
}
-   idmap_domains[i] = dom;
+   idmap_domains[num_domains] = dom;
 
/* save default domain position for future uses */
if (dom->default_domain) {
-   def_dom_num = i;
+   def_dom_num = num_domains;
}
 
+   /* Bump counter to next available slot */
+
+   num_domains++;
+
DEBUG(10, ("Domain %s - Backend %s - %sdefault - %sreadonly\n",
dom->name, parm_backend,
dom->default_domain?"":"not ",
@@ -518,9 +522,6 @@ NTSTATUS idmap_init(void)
talloc_free(config_option);
}
 
-   /* save the number of domains we have */
-   num_domains = i;
-
/* automatically add idmap_nss backend if needed */
if ((lp_server_role() == ROLE_DOMAIN_MEMBER) &&
( ! pri_dom_is_in_list) &&


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-318-ge40c372

2007-11-15 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  e40c372e0ddf631dd9162c1fdfaaa49c29915f23 (commit)
  from  242fc0099cc81877d8e9630b46dfb8d4a3265d94 (commit)

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


- Log -
commit e40c372e0ddf631dd9162c1fdfaaa49c29915f23
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 14 20:51:14 2007 -0600

Fix for CVE-2007-5398.

== Subject: Remote code execution in Samba's WINS
==  server daemon (nmbd) when processing name
==  registration followed name query requests.
==
== CVE ID#: CVE-2007-5398
==
== Versions:Samba 3.0.0 - 3.0.26a (inclusive)
...
Secunia Research reported a vulnerability that allows for
the execution of arbitrary code in nmbd.  This defect may
only be exploited when the "wins support" parameter has
been enabled in smb.conf.

---

Summary of changes:
 source/nmbd/nmbd_packets.c |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nmbd/nmbd_packets.c b/source/nmbd/nmbd_packets.c
index d49c8ba..b78ab5b 100644
--- a/source/nmbd/nmbd_packets.c
+++ b/source/nmbd/nmbd_packets.c
@@ -970,6 +970,12 @@ for id %hu\n", packet_type, 
nmb_namestr(&orig_nmb->question.question_name),
nmb->answers->ttl  = ttl;
 
if (data && len) {
+   if (len < 0 || len > sizeof(nmb->answers->rdata)) {
+   DEBUG(5,("reply_netbios_packet: "
+   "invalid packet len (%d)\n",
+   len ));
+   return;
+   }
nmb->answers->rdlength = len;
memcpy(nmb->answers->rdata, data, len);
}


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-20-g14ecfec

2007-11-15 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  14ecfecbdf3e631f87d83337e06060724deb7756 (commit)
   via  63918ac0f0a3767237210182f0f35840db87242c (commit)
   via  96e61fb89caa9e9d500c3006b83299a7938d0af7 (commit)
   via  99eea67a5a1114e499ece00f8b68ccbf2ec4ae75 (commit)
   via  a7c6fe1e3cb4d66a48f43a49fe31778adace2332 (commit)
  from  1cdf89a02af6e7a2deed3f59519af97c10dbdaa3 (commit)

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


- Log -
commit 14ecfecbdf3e631f87d83337e06060724deb7756
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Thu Nov 15 10:51:37 2007 -0600

Set release to 3.0.27a in development branch

commit 63918ac0f0a3767237210182f0f35840db87242c
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Thu Nov 15 10:51:23 2007 -0600

Pull in release notes from 3.0.27 to the v3-0 development branch

commit 96e61fb89caa9e9d500c3006b83299a7938d0af7
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Thu Nov 15 10:48:13 2007 -0600

Set version to 3.0.27a

commit 99eea67a5a1114e499ece00f8b68ccbf2ec4ae75
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 14 20:54:44 2007 -0600

Fix for CVE-2007-4572

== Subject: Stack buffer overflow in nmbd's logon
==  request processing.
==
== CVE ID#: CVE-2007-4572
==
== Versions:Samba 3.0.0 - 3.0.26a (inclusive)

...
Samba developers have discovered what is believed to be
a non-exploitable buffer over in nmbd during the processing
of GETDC logon server requests.  This code is only used
when the Samba server is configured as a Primary or Backup
Domain Controller.

commit a7c6fe1e3cb4d66a48f43a49fe31778adace2332
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Nov 14 20:51:14 2007 -0600

Fix for CVE-2007-5398.

== Subject: Remote code execution in Samba's WINS
==  server daemon (nmbd) when processing name
==  registration followed name query requests.
==
== CVE ID#: CVE-2007-5398
==
== Versions:Samba 3.0.0 - 3.0.26a (inclusive)
...
Secunia Research reported a vulnerability that allows for
the execution of arbitrary code in nmbd.  This defect may
only be exploited when the "wins support" parameter has
been enabled in smb.conf.

---

Summary of changes:
 WHATSNEW.txt|  265 +++
 source/VERSION  |4 +-
 source/lib/charcnv.c|4 +-
 source/libsmb/ntlmssp_parse.c   |3 +-
 source/nmbd/nmbd_packets.c  |6 +
 source/nmbd/nmbd_processlogon.c |   89 +++--
 source/smbd/lanman.c|2 +-
 7 files changed, 354 insertions(+), 19 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 5868036..d208c07 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,268 @@
+   ==
+   Release Notes for Samba 3.0.27
+Nov 15, 2007
+   ==
+
+Samba 3.0.27 is a security release in order to address the following
+defects:
+
+  o CVS-2007-4572
+Stack buffer overflow in nmbd's logon request processing.
+
+  o CVE-2007-5398
+Remote code execution in Samba's WINS server daemon (nmbd) 
+when processing name registration followed name query requests.
+
+The original security announcement for this and past advisories can 
+be found http://www.samba.org/samba/security/
+
+##
+Changes
+###
+
+Changes since 3.0.26a
+-
+
+o   Jeremy Allison <[EMAIL PROTECTED]>
+* Fix for CVS-2007-4572.
+* Fix for CVE-2007-5398.
+
+
+o   Simo Sorce <[EMAIL PROTECTED]>
+* Additional fixes for CVS-2007-4572.
+
+
+Release notes for older releases follow:
+
+  --
+   ===
+   Release Notes for Samba 3.0.26a
+ Sep 11, 2007
+   ===
+
+Major bug fixes included in Samba 3.0.26a are:
+
+  o Memory leaks in Winbind's IDMap manager.
+
+
+##
+Changes
+###
+
+Changes since 3.0.26
+
+
+o   Michael Adam <[EMAIL PROTECTED]>
+* Fix read_sock() semantics in wb_common.c to address "invalid
+  request size" errors in winbindd logs.
+* Fix use of pwrite() in tdb IO code paths.
+
+ 
+o   Jeremy Allison <[EMAIL PROTECTED]>
+* Fix logic error in timeout of blocking

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

2007-11-15 Thread Gerald (Jerry) Carter
The annotated tag, release-3-0-27 has been created
at  14bc8cc3b779c5ed54798b5dae4157dfaa8e6a89 (tag)
   tagging  6d9de2b0b3fb102762d8e17b4398e9d2d4e6bd65 (commit)
  replaces  release-3-0-26a
 tagged by  Gerald (Jerry) Carter
on  Wed Nov 14 21:39:26 2007 -0600

- Log -
Tagging 3.0.27 release.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHO798IR7qMdg1EfYRAutKAJ9iHsfozHGiCB5cPYbkXFQUNNl2FwCgoQLu
8G7JgY5okbVnRfH6RUhyYEU=
=ariO
-END PGP SIGNATURE-

Gerald (Jerry) Carter (3):
  Fix for CVE-2007-5398.
  Fix for CVE-2007-4572
  Update release notes for 3.0.27

---


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-164-g95de802

2007-11-02 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  95de80218c10a72c7b28541c3c2e475e083b68f1 (commit)
   via  10af752391be51c7381a4eaca27f29e1f2a677b3 (commit)
  from  c3de44b6b063e126095b30536fdcb643c70e395e (commit)

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


- Log -
commit 95de80218c10a72c7b28541c3c2e475e083b68f1
Merge: 10af752391be51c7381a4eaca27f29e1f2a677b3 
c3de44b6b063e126095b30536fdcb643c70e395e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Nov 2 14:16:40 2007 -0400

Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

commit 10af752391be51c7381a4eaca27f29e1f2a677b3
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Nov 2 14:16:06 2007 -0400

Fix build breakage when not specifying --with-fhs.
Ensure that CODEPAGEDIR, STATEDIR, and CACHEDIR have values.

---

Summary of changes:
 source/configure.in |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/configure.in b/source/configure.in
index 227ab40..1b282ae 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -52,6 +52,9 @@ test "${libdir}" || libdir="\${prefix}/lib"
 pammodulesdir="\${LIBDIR}/security"
 configdir="\${LIBDIR}"
 swatdir="\${prefix}/swat"
+codepagedir="\${LIBDIR}"
+statedir="\${LOCKDIR}"
+cachedir="\${LOCKDIR}"
 
 AC_ARG_WITH(fhs,
 [  --with-fhs  Use FHS-compliant paths (default=no)],


-- 
Samba Shared Repository


Re: [SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-156-g779353b

2007-11-02 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan (metze) Metzmacher wrote:
> Gerald (Jerry) Carter schrieb:
>> The branch, v3-2-test has been updated
>>via  779353b86d1699324149896f1ffa237c6ebe46ec (commit)
>>via  d6cdbfd875bb2653e831d314726c3240beb0a96b (commit)
>>via  b7d2fadbef044a89920da613b1aafc74a3d94e24 (commit)
>>   from  47dbddcb5361caa30ee60cf4e15bb50d557d1191 (commit)
> 
>> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
> 
> 
>> - Log -
>> commit 779353b86d1699324149896f1ffa237c6ebe46ec
>> Merge: d6cdbfd875bb2653e831d314726c3240beb0a96b 
>> 47dbddcb5361caa30ee60cf4e15bb50d557d1191
>> Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
>> Date:   Thu Nov 1 21:30:43 2007 -0400
> 
>> Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
> 
>> commit d6cdbfd875bb2653e831d314726c3240beb0a96b
>> Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
>> Date:   Thu Nov 1 15:53:44 2007 -0400
> 
>> Patch 2 of 3 from Debian Samba packagers:
> 
> Hi Jerry,
> 
> one of this patches, broke make install in the build-farm...

Gahok.  I'll fix it.  Sorry.






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKx/4IR7qMdg1EfYRAmAvAJ9bBHT1wbs8yAtIntwZ/a0Jqpe8kgCeJ3Km
LN/WKYb16hTfbgSxIZ3mD7A=
=r5jU
-END PGP SIGNATURE-


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-156-g779353b

2007-11-01 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  779353b86d1699324149896f1ffa237c6ebe46ec (commit)
   via  d6cdbfd875bb2653e831d314726c3240beb0a96b (commit)
   via  b7d2fadbef044a89920da613b1aafc74a3d94e24 (commit)
  from  47dbddcb5361caa30ee60cf4e15bb50d557d1191 (commit)

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


- Log -
commit 779353b86d1699324149896f1ffa237c6ebe46ec
Merge: d6cdbfd875bb2653e831d314726c3240beb0a96b 
47dbddcb5361caa30ee60cf4e15bb50d557d1191
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Thu Nov 1 21:30:43 2007 -0400

Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

commit d6cdbfd875bb2653e831d314726c3240beb0a96b
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Thu Nov 1 15:53:44 2007 -0400

Patch 2 of 3 from Debian Samba packagers:

The point is doing the following associations:

- non discardable state data (all TDB files that may need to be backed
  up) go to statedir
- shared data (codepage stuff) go to codepagedir

The patch *does not change* the default location for these
directories. So, there is no behaviour change when applying it.

The main change is for samba developers who have to think when dealing
with files that previously pertained to libdir whether they:
- go in statedir
- go in codepagedir
- stay in libdir

commit b7d2fadbef044a89920da613b1aafc74a3d94e24
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Thu Nov 1 13:00:10 2007 -0400

Patch from Debian Samba package maintainers:

Patch 1 of 3:

- Patch 1 adds the new variables
- Patch 2 makes uses of them for files belonging to the "state" path
  and the "code pages" path
  This patch seemed more easily acceptable, which explains why we
  separated it from patch 3
- Patch 3 reassigns files to the "cache" path. Indeed all "debatable"
  changes have been moved to that one

The point is adding:

- a path for non discardable state data: basically all TDB files
  that may need to be backed up
- a path for shared data: mostly codepage stuff
- a path for cache data to host files such as
  browse.dat, printers.tbd, .tdb

All these are currently mixed in "libdir" (${prefix}/lib/samba by default).
The patch keeps these new paths to point to ${prefix}/lib/samba by default
and does therefore not change the software behaviour.  Used alone, it just
adds unused variables...so it can safely be used in sources without any
behaviour change and no impact on Samba developers work.

---

Summary of changes:
 source/Makefile.in   |   16 +---
 source/configure.in  |7 +++
 source/dynconfig.c   |   31 +++
 source/groupdb/mapping_ldb.c |8 
 source/groupdb/mapping_tdb.c |2 +-
 source/include/dynconfig.h   |4 
 source/intl/lang_tdb.c   |2 +-
 source/lib/account_pol.c |4 ++--
 source/lib/sharesec.c|4 ++--
 source/lib/util.c|   33 +
 source/lib/util_unistr.c |6 +++---
 source/nmbd/nmbd_winsserver.c|4 ++--
 source/param/loadparm.c  |8 
 source/passdb/pdb_tdb.c  |4 ++--
 source/printing/nt_printing.c|   12 ++--
 source/registry/reg_db.c |   10 +-
 source/registry/reg_perfcount.c  |4 ++--
 source/rpc_server/srv_eventlog_lib.c |4 ++--
 source/winbindd/idmap_tdb.c  |2 +-
 19 files changed, 125 insertions(+), 40 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index a1da65a..baa1828 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -127,6 +127,13 @@ SWATDIR = @swatdir@
 # the directory where lock files go
 LOCKDIR = @lockdir@
 
+# FHS directories; equal to LOCKDIR if not using --with-fhs
+CACHEDIR = @cachedir@
+STATEDIR = @statedir@
+
+# Where to look for (and install) codepage databases.
+CODEPAGEDIR = @codepagedir@
+
 # the directory where pid files go
 PIDDIR = @piddir@
 
@@ -154,7 +161,10 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" \
-DLOGFILEBASE=\"$(LOGFILEBASE)\" \
-DSHLIBEXT=\"@[EMAIL PROTECTED]" \
-DCTDBDIR=\"$(CTDBDIR)\" \
-   -DCONFIGDIR=\"$(CONFIGDIR)\"
+   -DCONFIGDIR=\"$(CONFIGDIR)\" \
+   -DCODEPAGEDIR=\"$(CODEPAGEDIR)\" \
+   -DCACHEDIR=\"$(CACHEDIR)\" \
+   -DSTATEDIR=\"$(STATEDIR)\"
 
 # Note that all execut

[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-13-gc3fbfc3

2007-10-30 Thread Gerald (Jerry) Carter
The branch, v3-0-test has been updated
   via  c3fbfc37b578b8107be1f585cf6e3e2d001f7ab1 (commit)
   via  8cb09fe2d923fabbb6a7b909cc245c08128c0b67 (commit)
  from  26d8a1ad20c10da495970c584983fbd261b4946e (commit)

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


- Log -
commit c3fbfc37b578b8107be1f585cf6e3e2d001f7ab1
Merge: 8cb09fe2d923fabbb6a7b909cc245c08128c0b67 
26d8a1ad20c10da495970c584983fbd261b4946e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Oct 30 22:22:43 2007 -0400

Merge branch 'v3-0-test' of git://git.samba.org/samba into v3-0-test

commit 8cb09fe2d923fabbb6a7b909cc245c08128c0b67
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Oct 30 22:21:49 2007 -0400

Ensure we catch an error in the query_user() reply in the receive function.
backport of v3-2-test patch from Dmitry Butskoy <[EMAIL PROTECTED]>.

---

Summary of changes:
 source/nsswitch/winbindd_async.c |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/winbindd_async.c b/source/nsswitch/winbindd_async.c
index eb8631a..32d4e66 100644
--- a/source/nsswitch/winbindd_async.c
+++ b/source/nsswitch/winbindd_async.c
@@ -1413,6 +1413,12 @@ static void query_user_recv(TALLOC_CTX *mem_ctx, BOOL 
success,
return;
}
 
+   if (response->result != WINBINDD_OK) {
+   DEBUG(5, ("query_user returned an error\n"));
+   cont(private_data, False, NULL, NULL, NULL, NULL, -1, -1);
+   return;
+   }
+
cont(private_data, True, response->data.user_info.acct_name,
 response->data.user_info.full_name,
 response->data.user_info.homedir,


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-89-gdfef16a

2007-10-21 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  dfef16ac4318b460a5bd29475eb395c1905a5cd8 (commit)
  from  33f690b3de03dc300590c3f69718f608b104a529 (commit)

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


- Log -
commit dfef16ac4318b460a5bd29475eb395c1905a5cd8
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Sun Oct 21 13:44:29 2007 -0500

Fix compile error caused by unknown variable.

---

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


Changeset truncated at 500 lines:

diff --git a/source/lib/interfaces.c b/source/lib/interfaces.c
index 3b15e3e..ae6c972 100644
--- a/source/lib/interfaces.c
+++ b/source/lib/interfaces.c
@@ -210,7 +210,7 @@ static int _get_interfaces(struct iface_struct *ifaces, int 
max_interfaces)
 
ifaces[total].flags = ifr[i].ifr_flags;
 
-   if (!(flags & IFF_UP)) {
+   if (!(ifaces[total].flags & IFF_UP)) {
continue;
}
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-88-g33f690b

2007-10-21 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  33f690b3de03dc300590c3f69718f608b104a529 (commit)
   via  a62c7f9350322ab435244eafe6053fd5ee618973 (commit)
  from  67328bd27b1e881a4bcdd5160133afa9a267eaac (commit)

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


- Log -
commit 33f690b3de03dc300590c3f69718f608b104a529
Merge: a62c7f9350322ab435244eafe6053fd5ee618973 
67328bd27b1e881a4bcdd5160133afa9a267eaac
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Sun Oct 21 12:39:15 2007 -0500

Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

commit a62c7f9350322ab435244eafe6053fd5ee618973
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Sun Oct 21 12:32:06 2007 -0500

Correct VERSION and version.c to use SAMBA_VERSION_VENDOR_PATCH
which is used by mkversion.sh.

---

Summary of changes:
 source/VERSION   |2 +-
 source/lib/version.c |6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/VERSION b/source/VERSION
index 858b627..c97db4b 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -96,4 +96,4 @@ SAMBA_VERSION_IS_GIT_SNAPSHOT=yes
 #  ->  "CVS 3.0.0rc2-VendorVersion"#
 
 SAMBA_VERSION_VENDOR_SUFFIX="test"
-SAMBA_VENDOR_PATCH=
+SAMBA_VERSION_VENDOR_PATCH=
diff --git a/source/lib/version.c b/source/lib/version.c
index cee06fc..ca334a2 100644
--- a/source/lib/version.c
+++ b/source/lib/version.c
@@ -27,7 +27,7 @@ const char *samba_version_string(void)
 #else
static fstring samba_version;
static bool init_samba_version;
-#ifdef SAMBA_VENDOR_PATCH
+#ifdef SAMBA_VERSION_VENDOR_PATCH
fstring tmp_version;
size_t remaining;
 #endif
@@ -39,9 +39,9 @@ const char *samba_version_string(void)
SAMBA_VERSION_OFFICIAL_STRING,
SAMBA_VERSION_VENDOR_SUFFIX);
 
-#ifdef SAMBA_VENDOR_PATCH
+#ifdef SAMBA_VERSION_VENDOR_PATCH
remaining = sizeof(samba_version)-strlen(samba_version);
-   snprintf( tmp_version, sizeof(tmp_version),  "-%d", SAMBA_VENDOR_PATCH 
);
+   snprintf( tmp_version, sizeof(tmp_version),  "-%d", 
SAMBA_VERSION_VENDOR_PATCH );
strlcat( samba_version, tmp_version, remaining-1 );
 #endif
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-83-g3c50caa

2007-10-19 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  3c50caa9620899f982cd4a833356d965f47ec843 (commit)
  from  23d3db0c229fe5e1d69f890d87c2be39b356ffb5 (commit)

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


- Log -
commit 3c50caa9620899f982cd4a833356d965f47ec843
Author: Volker Lendecke <[EMAIL PROTECTED]>
Date:   Fri Oct 19 23:21:01 2007 +0200

Fix an incompatible pointer type warning

---

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


Changeset truncated at 500 lines:

diff --git a/source/winbindd/idmap.c b/source/winbindd/idmap.c
index 9800e32..e89ad73 100644
--- a/source/winbindd/idmap.c
+++ b/source/winbindd/idmap.c
@@ -362,9 +362,9 @@ NTSTATUS idmap_init(void)
 
if ( ! dom_list) {
/* generate a list with our main domain */
-   char ** dl;
+   const char ** dl;
 
-   dl = talloc_array(idmap_ctx, char *, 2);
+   dl = talloc_array(idmap_ctx, const char *, 2);
if (dl == NULL) {
ret = NT_STATUS_NO_MEMORY;
goto done;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-82-g23d3db0

2007-10-19 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  23d3db0c229fe5e1d69f890d87c2be39b356ffb5 (commit)
   via  aae3d04e30a0e6f21f661da3dc6a2835d31ce964 (commit)
   via  fd28d09a95b31bdbc6babd13c5a4ed9fc9ef4bfd (commit)
  from  620785df4e57b72471ff0315e22e0d2f28a2b1a5 (commit)

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


- Log -
commit 23d3db0c229fe5e1d69f890d87c2be39b356ffb5
Merge: aae3d04e30a0e6f21f661da3dc6a2835d31ce964 
620785df4e57b72471ff0315e22e0d2f28a2b1a5
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 19 15:54:32 2007 -0500

Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 
v3-2-test

commit aae3d04e30a0e6f21f661da3dc6a2835d31ce964
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Fri Oct 19 22:42:28 2007 +0200

Streamline logic, reducing the amount of indentation.

Michael

commit fd28d09a95b31bdbc6babd13c5a4ed9fc9ef4bfd
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 19 14:36:34 2007 -0500

Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.

---

Summary of changes:
 source/rpc_server/srv_srvsvc_nt.c |   31 +++
 1 files changed, 15 insertions(+), 16 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_server/srv_srvsvc_nt.c 
b/source/rpc_server/srv_srvsvc_nt.c
index 27bc807..55c30c5 100644
--- a/source/rpc_server/srv_srvsvc_nt.c
+++ b/source/rpc_server/srv_srvsvc_nt.c
@@ -2033,22 +2033,21 @@ WERROR _srv_net_file_query_secdesc(pipes_struct *p, 
SRV_Q_NET_FILE_QUERY_SECDESC
}
 
nt_status = open_file_stat(conn, NULL, filename, &st, &fsp);
-   if ( !NT_STATUS_IS_OK(nt_status)) {
-   /* Perhaps it is a directory */
-   if (NT_STATUS_EQUAL(nt_status, NT_STATUS_FILE_IS_A_DIRECTORY))
-   nt_status = open_directory(conn, NULL, filename, &st,
-   READ_CONTROL_ACCESS,
-   FILE_SHARE_READ|FILE_SHARE_WRITE,
-   FILE_OPEN,
-   0,
-   FILE_ATTRIBUTE_DIRECTORY,
-   NULL, &fsp);
-
-   if (!NT_STATUS_IS_OK(nt_status)) {
-   DEBUG(3,("_srv_net_file_query_secdesc: Unable to open 
file %s\n", filename));
-   r_u->status = ntstatus_to_werror(nt_status);
-   goto error_exit;
-   }
+   /* Perhaps it is a directory */
+   if (NT_STATUS_EQUAL(nt_status, NT_STATUS_FILE_IS_A_DIRECTORY)) {
+   nt_status = open_directory(conn, NULL, filename, &st,
+  READ_CONTROL_ACCESS,
+  FILE_SHARE_READ|FILE_SHARE_WRITE,
+  FILE_OPEN,
+  0,
+  FILE_ATTRIBUTE_DIRECTORY,
+  NULL, &fsp);
+   }
+
+   if (!NT_STATUS_IS_OK(nt_status)) {
+   DEBUG(3,("_srv_net_file_query_secdesc: Unable to open file 
%s\n", filename));
+   r_u->status = ntstatus_to_werror(nt_status);
+   goto error_exit;
}
 
sd_size = SMB_VFS_GET_NT_ACL(fsp, fsp->fsp_name, 
(OWNER_SECURITY_INFORMATION|GROUP_SECURITY_INFORMATION|DACL_SECURITY_INFORMATION),
 &psd);


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-53-g97f9a90

2007-10-15 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  97f9a90b823887e808cca96eca7a041f121e6111 (commit)
  from  357f00384994946485a5190b6a9c493aeee53cd2 (commit)

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


- Log -
commit 97f9a90b823887e808cca96eca7a041f121e6111
Author: Alexander Bokovoy <[EMAIL PROTECTED]>
Date:   Mon Oct 15 07:24:44 2007 +0400

Correctly free memory in regfio paths

---

Summary of changes:
 source/registry/regfio.c |4 
 source/utils/profiles.c  |5 -
 2 files changed, 8 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/registry/regfio.c b/source/registry/regfio.c
index 6dca0ba..93a2770 100644
--- a/source/registry/regfio.c
+++ b/source/registry/regfio.c
@@ -1171,6 +1171,7 @@ out:

if ( !(rb->mem_ctx = talloc_init( "read_regf_block" )) ) {
regfio_close( rb );
+   SAFE_FREE(rb);
return NULL;
}
 
@@ -1181,6 +1182,7 @@ out:
if ( (rb->fd = open(filename, flags, mode)) == -1 ) {
DEBUG(0,("regfio_open: failure to open %s (%s)\n", filename, 
strerror(errno)));
regfio_close( rb );
+   SAFE_FREE(rb);
return NULL;
}

@@ -1190,6 +1192,7 @@ out:
if ( !init_regf_block( rb ) ) {
DEBUG(0,("regfio_open: Failed to read initial REGF 
block\n"));
regfio_close( rb );
+   SAFE_FREE(rb);
return NULL;
}

@@ -1202,6 +1205,7 @@ out:
if ( !read_regf_block( rb ) ) {
DEBUG(0,("regfio_open: Failed to read initial REGF block\n"));
regfio_close( rb );
+   SAFE_FREE(rb);
return NULL;
}

diff --git a/source/utils/profiles.c b/source/utils/profiles.c
index 7c7b91a..921af56 100644
--- a/source/utils/profiles.c
+++ b/source/utils/profiles.c
@@ -138,6 +138,7 @@ static BOOL copy_registry_tree( REGF_FILE *infile, 
REGF_NK_REC *nk,
}
 
if ( !(values = TALLOC_ZERO_P( subkeys, REGVAL_CTR )) ) {
+   TALLOC_FREE( subkeys );
DEBUG(0,("copy_registry_tree: talloc() failure!\n"));
return False;
}
@@ -163,8 +164,10 @@ static BOOL copy_registry_tree( REGF_FILE *infile, 
REGF_NK_REC *nk,

nk->subkey_index = 0;
while ( (subkey = regfio_fetch_subkey( infile, nk )) ) {
-   if ( !copy_registry_tree( infile, subkey, key, outfile, path ) )
+   if ( !copy_registry_tree( infile, subkey, key, outfile, path ) 
) {
+   TALLOC_FREE( subkeys );
return False;
+   }
}
 
/* values is a talloc()'d child of subkeys here so just throw it all 
away */


-- 
Samba Shared Repository


Re: [SCM] Samba Shared Repository - branch v3-2-test updated

2007-10-12 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guenther Deschner wrote:
> Can we also have more uniqueness in the subject line? It 
> looks funny to have all commits as part of one huge thread.

We did but didn't you ask to have the initial-v3-2-test-#-$HASH
part removed?  I'll add it back in for now.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHD2oUIR7qMdg1EfYRAm5vAKDvubKsDeqOd4T7R9gy1SpmEOHjFwCgn32C
a+bthnBaEj945qd69R2LSLs=
=Ng5M
-END PGP SIGNATURE-


[SCM] Samba Shared Repository branch, v3-2-test, updated. initial-v3-2-unstable-4-gbe91677

2007-10-10 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  be916777da8c681c393b817105e3dfe8a9c4ef12 (commit)
  from  631464e2651e33812e43fe59c1e49c5d71f9621a (commit)

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

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit be916777da8c681c393b817105e3dfe8a9c4ef12
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Wed Oct 10 19:21:52 2007 -0500

Adding a draft section for 3.2.0pre2

Add the header and "commits since 3.2.0pre1" sections in preparation
for another preview release althought we might decide to go stright
to RC from here.

---

Summary of changes:
 WHATSNEW.txt |   13 -
 1 files changed, 8 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index d11e669..de8df4b 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,9 +1,9 @@
=
-   Release Notes for Samba 3.2.0pre1
-   Sep 28, 2007
+   Release Notes for Samba 3.2.0pre2
+   Oct XX, 2007
=
 
-This is the first preview release of Samba 3.2.0.  This is *not*
+This is the second preview release of Samba 3.2.0.  This is *not*
 intended for production environments and is designed for testing
 purposes only.  Please report any defects via the Samba bug reporting
 system at https://bugzilla.samba.org/.
@@ -117,9 +117,12 @@ smb.conf changes
 winbind rpc onlyNew No
 
 
-Commit Highlights:
---
+Changes since 3.2.0pre1:
+---
 
+
+Original 3.2.0pre1 commits:
+---
 o   Michael Adam <[EMAIL PROTECTED]>
 * Unified POSIX ACL detection including support for FreeBSD and
   HP-UX.


-- 
Samba Shared Repository


[SCM] Samba - Draft II. branch, v3-2-test, updated. ad9a1eb599c125964ac3e198d3003841edb4c54e

2007-10-09 Thread Gerald (Jerry) Carter
The branch, v3-2-test has been updated
   via  ad9a1eb599c125964ac3e198d3003841edb4c54e (commit)
  from  f2252e041e075e19bf27e53ab3ed62f39bc8b3e2 (commit)

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

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit ad9a1eb599c125964ac3e198d3003841edb4c54e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Tue Oct 9 12:03:47 2007 -0500

Example file for HOWTO

---

Summary of changes:
 git-test/README |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 git-test/README


Changeset truncated at 500 lines:

diff --git a/git-test/README b/git-test/README
new file mode 100644
index 000..ce01362
--- /dev/null
+++ b/git-test/README
@@ -0,0 +1 @@
+hello


-- 
Samba - Draft II.


[SCM] UNNAMED PROJECT branch, v3-0-stable, updated. abb1b37035a3f25f31048902c38dfe029cc6c615

2007-10-08 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated
   via  abb1b37035a3f25f31048902c38dfe029cc6c615 (commit)
  from  963b4b5e0adecbe799005200e69ac3f6b413420f (commit)

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

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit abb1b37035a3f25f31048902c38dfe029cc6c615
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Mon Oct 8 15:29:13 2007 -0500

Adding -stable to vendor tag for version

---

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


Changeset truncated at 500 lines:

diff --git a/source/VERSION b/source/VERSION
index 44ef543..cc46fa1 100644
--- a/source/VERSION
+++ b/source/VERSION
@@ -95,5 +95,5 @@ SAMBA_VERSION_IS_SVN_SNAPSHOT=
 # e.g. SAMBA_VERSION_VENDOR_SUFFIX=vendor_version()#
 #  ->  "CVS 3.0.0rc2-VendorVersion"#
 
-SAMBA_VERSION_VENDOR_SUFFIX=
+SAMBA_VERSION_VENDOR_SUFFIX="-stable"
 SAMBA_VENDOR_PATCH=


-- 
UNNAMED PROJECT


[SCM] Draft Samba Repository branch, v3-2-unstable, updated. ef25dc0a2e84194b46c4b11a0352e9ddd53fca7a

2007-10-05 Thread Gerald (Jerry) Carter
The branch, v3-2-unstable has been updated
   via  ef25dc0a2e84194b46c4b11a0352e9ddd53fca7a (commit)
   via  f33f3af877338563c5b1637aa54e7ab16540861e (commit)
  from  eccfb928f16964e07278747d2d2f13671d939f5c (commit)

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

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit ef25dc0a2e84194b46c4b11a0352e9ddd53fca7a
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 17:00:16 2007 -0500

Two commit push to update README

commit f33f3af877338563c5b1637aa54e7ab16540861e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 16:58:55 2007 -0500

More commit msg tests

---

Summary of changes:
 README|6 --
 Read-Manifest-Now |2 +-
 2 files changed, 1 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/README b/README
index 1ce6046..e311f3c 100644
--- a/README
+++ b/README
@@ -2,12 +2,6 @@ This is the release version of Samba, the free SMB and CIFS 
client and
 server for UNIX and other operating systems. Samba is maintained by
 the Samba Team, who support the original author, Andrew Tridgell.
 
->>>> Please read THE WHOLE of this file as it gives important information
->>>> about the configuration and use of Samba.
-
-NOTE: Installation instructions may be found in 
-  docs/htmldocs/Samba3-HOWTO/install.html
-
 This software is freely distributable under the GNU public license, a
 copy of which you should have received with this software (in a file
 called COPYING). 
diff --git a/Read-Manifest-Now b/Read-Manifest-Now
index 0737e63..bd371ad 100644
--- a/Read-Manifest-Now
+++ b/Read-Manifest-Now
@@ -1 +1 @@
-Please
+iHello World


-- 
Draft Samba Repository


[SCM] Draft Samba Repository branch, v3-2-unstable, updated. eccfb928f16964e07278747d2d2f13671d939f5c

2007-10-05 Thread Gerald (Jerry) Carter
The branch, v3-2-unstable has been updated
   via  eccfb928f16964e07278747d2d2f13671d939f5c (commit)
   via  34ddbed5875898ba7fa774b89c6845ba5812497e (commit)
  from  baa31a432629ed8aa0df928d5bd963a61c7e1597 (commit)

http://gitweb.samba.org/?p=jerry/samba-draft.git;a=commitdiff;h=eccfb928f16964e07278747d2d2f13671d939f5c

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit eccfb928f16964e07278747d2d2f13671d939f5c
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 16:38:08 2007 -0500

Testing multiple commits in push

commit 34ddbed5875898ba7fa774b89c6845ba5812497e
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 16:37:47 2007 -0500

More commit email tests

---

Summary of changes:
 README|2 +-
 Read-Manifest-Now |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
\nDiff (first 500 lines):
diff --git a/README b/README
index 1d55a10..1ce6046 100644
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ called COPYING).
 WHAT IS SMB/CIFS?
 =
 
-This is a big question. 
+This is a big question.   (Too hard to answer on a Friday evening)
 
 The very short answer is that it is the protocol by which a lot of
 PC-related machines share files and printers and other information
diff --git a/Read-Manifest-Now b/Read-Manifest-Now
index 01dc791..0737e63 100644
--- a/Read-Manifest-Now
+++ b/Read-Manifest-Now
@@ -1 +1 @@
-Please read me!
+Please


http://gitweb.samba.org/?p=jerry/samba-draft.git;a=commitdiff;h=eccfb928f16964e07278747d2d2f13671d939f5c
-- 
Draft Samba Repository


[SCM] Draft Samba Repository branch, v3-2-unstable, updated. baa31a432629ed8aa0df928d5bd963a61c7e1597

2007-10-05 Thread Gerald (Jerry) Carter
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Draft Samba Repository".

The branch, v3-2-unstable has been updated
   via  baa31a432629ed8aa0df928d5bd963a61c7e1597 (commit)
  from  fcc549204d1f216603eb095b440096dc8c87c734 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit baa31a432629ed8aa0df928d5bd963a61c7e1597
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 16:18:11 2007 -0500

Another test for the post-receive hook

---

Summary of changes:
 Read-Manifest-Now |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Draft Samba Repository


Re: [SCM] Draft Samba Repository branch, v3-2-unstable, updated. 4da9ac14bb49c8a977b57c97402244d98aa6fb92

2007-10-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan (metze) Metzmacher wrote:

> Yes, I also think we should improve the commit mail content
> e.g. add the gitweb url, add the diff and remove some unsed stuff.
> 
> But I think we can do that later

Right.  So we can tweak that post migration to our heart's content.
I won't worry about it right now.




- -- jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBoSVIR7qMdg1EfYRAuBdAJ9XBxAoKlo7q7YJcVIm+dJg3unKpgCgsviP
aFCK/K/kwezGXwx41fPFE4k=
=mOu+
-END PGP SIGNATURE-


[SCM] Draft Samba Repository branch, v3-2-unstable, updated. eb18d40b2e1411ba48bb15bf2a71e57c32f996dc

2007-10-05 Thread Gerald (Jerry) Carter
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Draft Samba Repository".

The branch, v3-2-unstable has been updated
   via  eb18d40b2e1411ba48bb15bf2a71e57c32f996dc (commit)
   via  e0eb05ebefa4fc5952398a57302e76d97b81eaf1 (commit)
  from  4da9ac14bb49c8a977b57c97402244d98aa6fb92 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit eb18d40b2e1411ba48bb15bf2a71e57c32f996dc
Merge: 4da9ac14bb49c8a977b57c97402244d98aa6fb92 
e0eb05ebefa4fc5952398a57302e76d97b81eaf1
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 11:51:45 2007 -0500

Merge branch '3-2-test' of 
http://apache.plainjoe.org/~coffeedude/git/samba-draft into v3-2-unstable

commit e0eb05ebefa4fc5952398a57302e76d97b81eaf1
Author: Gerald Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 11:41:06 2007 -0500

Add emphasis

---

Summary of changes:
 Read-Manifest-Now |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Draft Samba Repository


Re: [SCM] Draft Samba Repository branch, v3-2-unstable, updated. 4da9ac14bb49c8a977b57c97402244d98aa6fb92

2007-10-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fyi...

The From: on the commit mail will always be from the person
pushing to the repo.  But the history in the log commits will
be ok.

Metze, this is the standard post-receive-email script in
the contrib/ directory of the git source code.



jerry


Gerald (Jerry) Carter wrote:
> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project "Draft Samba Repository".
> 
> The branch, v3-2-unstable has been updated
>via  4da9ac14bb49c8a977b57c97402244d98aa6fb92 (commit)
>via  50830f057cbea2c9b9a2d02e9aeb207cdb01f626 (commit)
>   from  8d4599f5f19b16efe3414f0c8fede78b964460c4 (commit)
> 
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
> 
> - Log -
> commit 4da9ac14bb49c8a977b57c97402244d98aa6fb92
> Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
> Date:   Fri Oct 5 11:33:10 2007 -0500
> 
> Removing old script
> 
> commit 50830f057cbea2c9b9a2d02e9aeb207cdb01f626
> Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
> Date:   Fri Oct 5 11:33:04 2007 -0500
> 
> Updating release notes
> 
> ---
> 
> Summary of changes:
>  WHATSNEW.txt|2 +-
>  make-tarball.sh |   67 
> ---
>  2 files changed, 1 insertions(+), 68 deletions(-)
>  delete mode 100644 make-tarball.sh
> 
> 
> hooks/post-receive


- --
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBmiPIR7qMdg1EfYRAie4AKCAI7PuAIzedVt6ramNMb+ZjWmwJgCfQi7e
L3iqmtRwnzGelyP1Dp8anz4=
=mtDr
-END PGP SIGNATURE-


[SCM] Draft Samba Repository branch, v3-2-unstable, updated. 4da9ac14bb49c8a977b57c97402244d98aa6fb92

2007-10-05 Thread Gerald (Jerry) Carter
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Draft Samba Repository".

The branch, v3-2-unstable has been updated
   via  4da9ac14bb49c8a977b57c97402244d98aa6fb92 (commit)
   via  50830f057cbea2c9b9a2d02e9aeb207cdb01f626 (commit)
  from  8d4599f5f19b16efe3414f0c8fede78b964460c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 4da9ac14bb49c8a977b57c97402244d98aa6fb92
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 11:33:10 2007 -0500

Removing old script

commit 50830f057cbea2c9b9a2d02e9aeb207cdb01f626
Author: Gerald (Jerry) Carter <[EMAIL PROTECTED]>
Date:   Fri Oct 5 11:33:04 2007 -0500

Updating release notes

---

Summary of changes:
 WHATSNEW.txt|2 +-
 make-tarball.sh |   67 ---
 2 files changed, 1 insertions(+), 68 deletions(-)
 delete mode 100644 make-tarball.sh


hooks/post-receive
-- 
Draft Samba Repository


Re: svn commit: samba-docs r1145 - in trunk/manpages-3: .

2007-08-15 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kai,

[EMAIL PROTECTED] wrote:
> Author: kai
> Date: 2007-08-12 22:41:24 + (Sun, 12 Aug 2007)
> New Revision: 1145
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=1145
> 
> Log:
> Add --uid-info option to manpage.
> 
> I wanted to get this done before I forgot about it, but I don't have the
> required packages to build the manpage installed. Could someone check if the
> changes were valid, please?


Daily docs builds are posted at http://www.samba.org/~samba-bugs/docs/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwy3hIR7qMdg1EfYRAre3AKCQ5RGAOYTckvqVnWWB4ufuY8fUMgCgg5m/
S3ZUlol7Uv5hyBJjl+vh2JI=
=dBgW
-END PGP SIGNATURE-


Re: svn commit: samba r23426 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_26/source/nsswitch

2007-06-12 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:
> On Tue, Jun 12, 2007 at 08:02:33AM +, [EMAIL PROTECTED] wrote:
>> there, do some reformatting.
> 
> Argg. You're just upset I messed with your code :-).
> 
>> Jeremy, I think we should also kill the child. It might 
>> hang in something (an fcntl lock for example) that
>> the next child might run into immediately again.
> 
> Yes, that was my original idea as well. Jerry is a 
> little more conservative, but we should probably add
> this after more testing.

I think I'm ok with that now as the timeout can vary
per command.  I don't think that kill the child will
always solve your problem though :-)

The way I found out what was going on was that apache
was holding a read lock on /etc/krb5.keytab and the
winbindd child for our primary domain was attempting
to write to the keytab after changing the machine
trust password.




jerry




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbtoMIR7qMdg1EfYRAhXcAKCQYBKuCQ0+VUfHbnt8uhv1N8C/+QCfQpvX
cnXMbWRnZoSNVOwMZHv+qzY=
=LLZm
-END PGP SIGNATURE-


Re: svn commit: samba r23315 - in branches/SAMBA_3_0/source: .

2007-06-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan (metze) Metzmacher wrote:

> btw: what is $(GPLIBS) we never define it somewhere in Makefile...

Bad merge from me.  Sorry. I've removed it now.  Thanks.





jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGY2vPIR7qMdg1EfYRAiVGAJsG41n2mS+nem+HjkzBBNJ4+j9SQQCfTl0Q
LDQfk3aU/pxI3Z9Jr2L4YIo=
=DvfL
-END PGP SIGNATURE-


Re: svn commit: samba r22737 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_26/source/nsswitch

2007-05-07 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: gd
> Date: 2007-05-07 10:14:32 + (Mon, 07 May 2007)
> New Revision: 22737
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22737
> 
> Log:
> Fix crash bug (info3 is now talloced).

Thanks Guenther.  Sorry about that one.





jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGPxrzIR7qMdg1EfYRAo7aAKDzKIPmwwLTvgPvlNz8OWnKaseDTwCgi3m/
+T6hTmWdICRM6pVUVpkX+F0=
=9aTg
-END PGP SIGNATURE-


Re: svn commit: samba r22660 - in branches/SAMBA_3_0_25/source/lib/replace: . test

2007-05-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: metze
> Date: 2007-05-04 07:00:09 + (Fri, 04 May 2007)
> New Revision: 22660
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22660
> 
> Log:
> merge from SAMBA_4_0:
> - add AC_GNU_SOURCE macro for systems which don't have it
>   (sles8)
> - fix compiler warning on some systems
> 
> jerry: this should be in 3.0.25

Got it.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGO3kqIR7qMdg1EfYRAhcIAKDIJrrAfB/2pYAheXi3/owDMF6klQCgt6Po
nP3i/tdgNlldTiReWp4viOk=
=0pP3
-END PGP SIGNATURE-


Re: svn commit: samba r21937 - in branches/SAMBA_3_0_25/source/libsmb: .

2007-03-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

> I had requested confirmation from the OP, but got no response.

Sadly, this happens a lot.  Nothing we can do to twist someone's arm
to do the testing though.

> If you're comfortable, I'm comfortable. :-)

I looked over them as well and think hey are safe.  I can test
the Vista fix as well as the krb5 change I think.





cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAulYIR7qMdg1EfYRAvoQAJ9a/h08x87EnJMrn5BI96su0m0c4gCeIHGG
MojS0n4fJPC5HV8MriZWC5U=
=/6Db
-END PGP SIGNATURE-


sys_getpeerid() [was Re: svn commit: samba r21887 -...]

2007-03-20 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: gd
> Date: 2007-03-20 12:44:40 + (Tue, 20 Mar 2007)
> New Revision: 21887
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21887
> 
> Log:
> Fix annoying bug where in a pam_close_session (or a pam_setcred with the
> PAM_DELETE_CREDS flag set) any user could delete krb5 credential caches.
> Make sure that only root can do this.
> 
> Jerry, Jeremy, please check.


There are three places we use sys_getpeerid() that I can tell.

(a) Jeremy's Domain Users hack for reporting group membership,
(b) access to the ntlm_auth cache for applications like Firefox,
and now
(c) The capability to issue a logoff call.

If we don't have getpeerid() I can loose the first two.  No big
deal.

The problem I see with (c) is that if a platform does not support
getpeerid() then you get init a user's krb5 ccache but never
delete it.  Which makes the feature asymetrical based on support
for getpeerid().

Am I missing something here ?





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/+ngIR7qMdg1EfYRAhArAJ9DTSiM/wWflGkVq3kf0jIwC2j4dACgkINs
KunBqbQWkDYlMjC5yJ4ZJtY=
=hNHM
-END PGP SIGNATURE-


Re: svn commit: samba r21614 - in branches/SAMBA_3_0/source/nsswitch: .

2007-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


>> +#endif
>>
>> +/* On non-linux platforms, mlock()'d memory must be aligned */
>> +
>>  memcredp->nt_hash = SMB_MEMALIGN_ARRAY(unsigned char, psize,
>> memcredp->len);
> 
> Do you need the SMB_MEMALIGN_ARRAY twice?


Gahh...bad merge.  Thanks James.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5lzWIR7qMdg1EfYRAnnOAJ4vA9zoPZXNbXeOo1q0kdOAcmBH0wCggsCe
hZJ/+dNZ31+G4OzbIouUH7Y=
=+tFF
-END PGP SIGNATURE-


Re: svn commit: samba r21616 - in branches/SAMBA_3_0/source/nsswitch: .

2007-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: jerry
> Date: 2007-03-01 03:16:38 + (Thu, 01 Mar 2007)
> New Revision: 21616
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21616
> 
> Log:
> Delay initialization of idmap and nss_info backends until necessary
> so they can honor the offline logon state.
> 
> 

This also makes sid ->uid/gid lookups work while offline
with backends other than tdb.




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5kfIIR7qMdg1EfYRAt2NAJ9uY0Aj3VqRmJ71uKrWdiBIOSIi/ACfWXY6
ZcJvjfHDDEwJhaTIAO3Nvh4=
=FQQu
-END PGP SIGNATURE-


Re: svn commit: samba r21346 - in branches: SAMBA_3_0/source/rpc_parse SAMBA_3_0_25/source/rpc_parse

2007-02-15 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: jra
> Date: 2007-02-14 17:17:32 + (Wed, 14 Feb 2007)
> New Revision: 21346
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21346
> 
> Log:
> FIXME ! Our parsing here is wrong I think,
> but for a level3 it makes no sense for
> ptr_sec_desc to be NULL. JRA. Based on
> a Vista sniff from Martin Zielinski <[EMAIL PROTECTED]>.
> Jerry - part of the Vista patchset.
> Jeremy.

Added to the patches page.




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF1JERIR7qMdg1EfYRAhGaAKCXnpILsEj7mt10TXnWAHidhwsyKgCePSOB
V/JGQwhxpKu8p15dIFb0/lw=
=eunp
-END PGP SIGNATURE-


Re: svn commit: samba r20485 - in branches: SAMBA_3_0/source/libaddns SAMBA_3_0_24/source/libaddns

2007-01-02 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:
> On Tue, Jan 02, 2007 at 09:20:40PM +, [EMAIL PROTECTED] wrote:
>> Author: jerry
>> Date: 2007-01-02 21:20:40 + (Tue, 02 Jan 2007)
>> New Revision: 20485
>>
>> WebSVN: 
>> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20485
>>
>> Log:
>> Add select with a 10 second timeout when reading DSN update responses.
> 
> I think you want sys_select_intr to ignore interrupts here.
> Remember tdb messaging.

Yeah. You're right.  Thanks.




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFmukYIR7qMdg1EfYRAtStAKCmklGw0iL3tZh6UHbWDcPkY+LIPQCfQWJp
qCaKwrHmLAKcPeB7qD+rKvk=
=yZQ3
-END PGP SIGNATURE-


Re: svn commit: samba r20403 - in branches/SAMBA_3_0/source: libads libsmb

2007-01-02 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: abartlet
> Date: 2006-12-29 09:18:06 + (Fri, 29 Dec 2006)
> New Revision: 20403
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20403
> 
> Log:
> Cleaning out my Samba 3.0 tree:
> 
> As discussed with jerry at the CIFS conf: overriding the
> administrator's wishes from the krb5.conf has only every given me
> segfaults.  We suggest leaving this up to the defaults from the
> libraries anyway.

Andrew, this is not the patch I remember.  Can you show me
how this created segfaults.  Because now we are more vulnerable to
misconfigured krb5.conf files since IIRC rc4-hmac is included
in the list of default enc types.






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFmms6IR7qMdg1EfYRAiqQAJ9wBJGunheTmuzDNfsBkTmRvldsugCePqk6
VYFNB2aZFaG5cmRy0qC8Hc8=
=O2cN
-END PGP SIGNATURE-


Re: svn commit: samba r20214 - in branches/SAMBA_3_0/source/param: .

2006-12-18 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-12-16 17:47:22 + (Sat, 16 Dec 2006)
> New Revision: 20214
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20214
> 
> Log:
> Fix a type-punned warning. Simo, Jerry, please check

Yup.  Should be correct since the alloc backend is a
single value.





jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhpUjIR7qMdg1EfYRApomAJ98E1o53eV/3Qxl/cXy3ojHepbpWQCg6ZGf
X1JDTtl0O4oOZz/TysZsp2Q=
=qiR1
-END PGP SIGNATURE-


Re: svn commit: samba r20173 - in branches/SAMBA_3_0/source: libaddns libads utils

2006-12-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: jerry
> Date: 2006-12-14 17:00:10 + (Thu, 14 Dec 2006)
> New Revision: 20173
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20173
> 
> Log:
> DNS update fixes: 
> 
> * Fix DNS updates for multi-homed hosts
> * Child domains often don't have an NS record in
>   DNS so we have to fall back to looking up the the NS
>   records for the forest root.
> * Fix compile warning caused by mismatched 'struct in_addr'
>   and 'in_addr_t' parameters called to DoDNSUpdate()
> 
> 

This also has two other changes in the patch.

(a) Removed an unnecessary kinit() using the
machine creds from the dns update code.  We should have
already done that before calling into DoDNSUpdate().

(b) add get_dc_name() to net_ads_join() in order to initialize the
server affinity cache before joining the domain.



cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgYU9IR7qMdg1EfYRAsHTAJ9bLuz699aZwKaiq6sIKS1gv96xnACgqqi2
MP9xZomcDG5aYny1Z/N9kDE=
=nFfW
-END PGP SIGNATURE-


Re: svn commit: samba r19955 - in branches/SAMBA_3_0_24/source: . lib lib/ldb lib/ldb/common lib/ldb/examples lib/ldb/include lib/ldb/ldb_ildap lib/ldb/ldb_ldap lib/ldb/ldb_tdb lib/ldb/man lib/ldb/mod

2006-11-29 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tridge,

>  > I'll leave that to others. I *knew* I should not have touchec this
>  > anymore. Never.
> 
> Could you leave it a few hours until I've had a chance to be part of
> this discussion? I've only just woken up and I find that my work has
> tried and executed while I was asleep.

Just to clarify, this was a release decision for 3.0.24 only.
I was only based on what to include in 3.0.24.
I was a little nervous about bring in the new group mapping
code to that release anyways.  Please see the other messages
I've sent.




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbgdpIR7qMdg1EfYRAh/dAJoCExm/NtcjMXQXQRw1lZneMHKO6gCePAV1
DZWY53firQqtQ94K5qY3FXM=
=wE0Q
-END PGP SIGNATURE-


Re: svn commit: samba r19290 - in branches/SAMBA_3_0/source/librpc: gen_ndr idl

2006-10-18 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-10-15 14:47:25 + (Sun, 15 Oct 2006)
> New Revision: 19290
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19290
> 
> Log:
> regedit running on nt4 will cut off the last character from 
> a enumkey without this patch. Jerry, Jelmer, can you please
> check this?

Ahhthis makes me feel better since I know know why the
previous winreg functions in Samba 3 disagreed with the
IDL from Samba 4.  I think I can restart my effort to
consolidate the strings defnitions among various pipes now.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFNiaQIR7qMdg1EfYRAhI1AJ447jzras6pVRoZ/19HzHHA0SASAwCgp2Ox
iA2wkmiXh8TZiBCK7fENvfQ=
=HGsH
-END PGP SIGNATURE-


Re: svn commit: samba r19255 - in branches/SAMBA_3_0/source: nsswitch param

2006-10-12 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guenther,

> Author: gd
> Date: 2006-10-12 13:29:01 + (Thu, 12 Oct 2006)
> New Revision: 19255
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19255
> 
> Log:
> Add blacklist of accounts when NSS initgroups calls are coming in and
> "winbind use default domain" is set. Defaults to "root, nobody, lp"
> currently.

Other than being annoying, why does this matter?  Is it
really worth another parameter?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFLq4vIR7qMdg1EfYRApnFAJ9uHeWgwhWCsNPrF+ET0klBYdJToACg7AWd
HVswzYRTcf0bF9SVrZxFkhU=
=tEtw
-END PGP SIGNATURE-


Re: svn commit: samba r18399 - in branches/SAMBA_3_0_23/source/smbd: .

2006-09-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: jra
> Date: 2006-09-11 21:09:30 + (Mon, 11 Sep 2006)
> New Revision: 18399
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18399
> 
> Log:
> Fix bug #4095 - username composed into domain\user
> twice in spnego path. Jerry please check.
> Jeremy.

This is wrong.  It has to be DOMAIN\user and not just
the username in order to be consistent with how
username mapping works in the NTLM case.I think we
just need a copy of the "user" fstring before it was
passed through map_username().






cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFBdbPIR7qMdg1EfYRAuhiAJwI999RR8EP1R53ZBshlASc5S6gMgCgnzDR
yp2GzUT0/jb0DmTdgXvarzs=
=1bYD
-END PGP SIGNATURE-


Nested structures in C [was Re: svn commit: samba r18030 - in branches/SAMBA_3_0/source/tdb/common]

2006-09-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-09-04 10:12:04 + (Mon, 04 Sep 2006)
> New Revision: 18030
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18030
> 
> Log:
> When compiling with C++, nested structs lead to 
> nested class definitions which are not compatible. I am
> aware that this would be a huge change in Samba4, but
> I would like to see it in the code that is shared.
> 
> Stefan, when you do merge work, can you get this 
> across to Samba4?

Hey Volker,

I've got to agree with tridge here.  These kind of things
are just not going to go away.  The entire autogenerated
code from pidl uses the nested structure convention.
And we're about to get a lot more of that in Samba 3.





cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/Ma4IR7qMdg1EfYRAudaAJ9u0KBvlzzG+qklV2N7QDxytuQXBgCfYg/j
A3D4hkVYIEPwZ25cbObeozA=
=Z4wf
-END PGP SIGNATURE-


Re: svn commit: samba r17364 - in branches/SAMBA_3_0/source/rpc_server: .

2006-08-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-08-01 14:46:08 + (Tue, 01 Aug 2006)
> New Revision: 17364
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17364
> 
> Log:
> Another NT4 join bug: The idealx tools set the primary 
> group sid, and if we do an update_sam_account later on, we want to
> also set it using the delete/add method. As the idealx tools
> use the replace method, they don't care about what
> has been in there before.
> 
> Jerry, this is a likely 3.0.23b candidate. Not merging, 
> it's your call :-)

Volker,

Don't you think this is a bug in the idealx scripts.  The
sole purpose of the scripts should be to manage the Unix
attribute and not the Samba specific ones.  The change is
probably safe but it seems to be allowing external scripts
to mix semantics.





cheers,  jerry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0hN6IR7qMdg1EfYRAvUOAKDG+47L8KYL3JmBsO4jNdoGvVyU4wCeJN7E
srzRM72MbnOC+WlYS4VGIlM=
=k0VC
-END PGP SIGNATURE-


Re: svn commit: samba r17194 - in branches/SAMBA_3_0/source/rpc_server: .

2006-07-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-07-22 20:46:02 + (Sat, 22 Jul 2006)
> New Revision: 17194
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17194
> 
> Log:
> To run rpc-samba3-lsa in the build farm, we can't rely on geteuid()==0. Adapt
> it to other "Am I root?" checks.
> 
> Jerry, Jeremy, please check this!

Fine by me.  +1.




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEwpBfIR7qMdg1EfYRAmjCAJ0d94UXVEsv4B/FDXOJFg0pyL5G2QCfS1vw
BzesaK/ukrbCBqUEDF1zClM=
=1KTb
-END PGP SIGNATURE-


Re: svn commit: samba r17003 - in branches/SAMBA_3_0/source/libads: .

2006-07-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: jra
> Date: 2006-07-13 00:11:34 + (Thu, 13 Jul 2006)
> New Revision: 17003
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17003
> 
> Log:
> Fix coverity #303 - possible null deref. Jerry please
> check this is your new code.

It's right.  Thanks.



jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEt46UIR7qMdg1EfYRArZPAKCxe0ITDMm124/0REMfvrLzq0aThQCdFwNg
IYB9tAbTlbSpSLkZ6ntPd6M=
=e0/z
-END PGP SIGNATURE-


Re: svn commit: samba r16243 - in branches/SAMBA_3_0/source/printing: .

2006-06-15 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

> Log:
> Fix Klocwork bugs #581 and #706, ensure we check
> the end of array first in the loop. Reformat to
> modern standards.
> Jeremy.
> 
> Modified:
>branches/SAMBA_3_0/source/printing/lpq_parse.c
> 
> 
> Changeset:
> Sorry, the patch is too large (1402 lines) 

DuDE,  You're *killing* me.  So what was the actual change?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEkUbdIR7qMdg1EfYRAhB6AKDVtk9y0gK+4w+K3nRL1PsDEtinJgCfZ0Df
Y6S6WyPNejr/DqQ1KR9VhFQ=
=5ZuR
-END PGP SIGNATURE-


Re: svn commit: samba r15558 - branches/SAMBA_3_0/source/libads trunk/source/libads

2006-05-12 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: gd
> Date: 2006-05-12 23:20:39 + (Fri, 12 May 2006)
> New Revision: 15558
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15558
> 
> Log:
> Do not wait endless for a CLDAP reply when the LDAP server is
> unavailable; use "ldap timeout" handling.
> 
> Jerry, please check.

Good catch.   Looks right to me.



cheers, jerry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEZRk7IR7qMdg1EfYRAmMcAJ9IIneDY5pMoSgnvmMb9frm2ZEmgACeJhMd
xX+3bJpfm2LiayV76tGw2zI=
=6qNd
-END PGP SIGNATURE-


Re: svn commit: samba r14895 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

2006-04-07 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-04-03 19:08:23 + (Mon, 03 Apr 2006)
> New Revision: 14895
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14895
> 
> Log:
> Merge the 3.0.22 change


Thanks.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFENqxWIR7qMdg1EfYRAlfEAKDN1zProXFxeANiyCagzpqUQsMO4gCg7aGQ
w3SBCWqPfzbq4poRcVApWQc=
=0+Ev
-END PGP SIGNATURE-


Re: svn commit: samba r13841 - in branches/SAMBA_3_0/source/rpc_parse: .

2006-03-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-03-05 17:39:21 + (Sun, 05 Mar 2006)
> New Revision: 13841
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13841
> 
> Log:
> Fix an uninitialized variable warning.
> 
> Jerry, this just fixes the warning. This routine does not seem to cope well
> with !UNMARSHALLING. You might want to look...

Thanks.  I'm no where near done with this code.  I just
had to have something working by the end of Friday
to know if it was possible.  I'll clean it up and merge
it to trunk in the next few days.





jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEDDcCIR7qMdg1EfYRAmHyAKCrmWFZUPdWEnYumkV5+hSQeykJggCg0e9n
O3563EpsKflUj1z5s9Bpwfs=
=Y0lo
-END PGP SIGNATURE-


Re: svn commit: samba r13727 - branches/SAMBA_3_0/source/passdb trunk/source/passdb

2006-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-02-27 21:19:58 + (Mon, 27 Feb 2006)
> New Revision: 13727
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13727
> 
> Log:
> Fix a segfault

> Changeset:
> Modified: branches/SAMBA_3_0/source/passdb/pdb_interface.c
> ===
> --- branches/SAMBA_3_0/source/passdb/pdb_interface.c  2006-02-27 19:55:21 UTC 
> (rev 13726)
> +++ branches/SAMBA_3_0/source/passdb/pdb_interface.c  2006-02-27 21:19:58 UTC 
> (rev 13727)
> @@ -342,10 +342,14 @@
>   TALLOC_CTX *tmp_ctx, const char *name,
>   uint32 acb_info, uint32 *rid)
>  {
> - struct samu *sam_pass = NULL;
> + struct samu *sam_pass;
>   NTSTATUS status;
>   struct passwd *pwd;
>  
> + if ((sam_pass = TALLOC_ZERO_P(tmp_ctx, struct samu)) == NULL) {
> + return NT_STATUS_NO_MEMORY;
> + }
> +


Volker, the current code provides samu_new( CTX ) rather than calling
talloc() directly.  Mostly this is just to handle initialization
of the structure fields.





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEBFHTIR7qMdg1EfYRAvgbAJ9VwmvXIV4ukF2glQJm0RtP5jU5vwCfZ0GM
gdfbIoBvBXXam9/Vp+HTViw=
=8JZA
-END PGP SIGNATURE-


Re: svn commit: samba r13674 - in trunk/source/libsmb: .

2006-02-24 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: idra
> Date: 2006-02-24 15:57:42 + (Fri, 24 Feb 2006)
> New Revision: 13674
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13674
> 
> Log:
> 
> fix the return statement this is a non void function.

Ahh...Thanks Simo.  This was a problem in the release branch
and I assumed it was also in the SAMBA_3_0.  I should have checked better.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD/y7/IR7qMdg1EfYRAjWPAKChSWVmey0gflgQjvUhK9JXjPA0qgCgg2pN
AkG0f1rRFnVcAlr01fWGGlY=
=JCTD
-END PGP SIGNATURE-


Re: svn commit: samba r13576 - branches/SAMBA_3_0/source/auth branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/pam_smbpass branches/SAMBA_3_0/source/passdb branches/SAMBA_3_0/source/rpc_par

2006-02-20 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: jerry
> Date: 2006-02-20 20:09:36 + (Mon, 20 Feb 2006)
> New Revision: 13576
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13576
...
> Note that there are now passbd API changes.  And for the most
> part, the wrapper functions remain the same.

Sorry.  This should be 'no passdb API changes'.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+iKyIR7qMdg1EfYRAupZAJ9i1wjBUfzlezh1+q+XfaALbpZSrgCfRnUH
sK/iX6AjfCuKvDCZSVRHn7Y=
=jPsB
-END PGP SIGNATURE-


Re: svn commit: samba r13058 - branches/SAMBA_3_0/source/lib trunk/source/lib

2006-01-23 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:

> It's to allow the separator to be  set in one place, then
> all other instances of it in the smb.conf or included files
> don't need to be changed.
> 
> It's not a big invasive change and seems to make admin
> easier so I am in favour really.

I get that anyways. like you said, it's a minor change.





cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1RTsIR7qMdg1EfYRAuGbAKCZNdozggqQdskULJ779wb3ynFD6QCgmVsM
nG1G6W46EG+MlLGaywxRZuw=
=l4KD
-END PGP SIGNATURE-


Re: svn commit: samba r13058 - branches/SAMBA_3_0/source/lib trunk/source/lib

2006-01-23 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: lmuelle
> Date: 2006-01-20 20:22:23 + (Fri, 20 Jan 2006)
> New Revision: 13058
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13058
> 
> Log:
> Add %w macro for the winbind seperator which allows us for example
> valid users = %S, %D%w%S

Lars,

Why do we need a variable for this?  The admin knows the
separator.  Other than simple convience, is there an advantage
here I'm missing?  Even on the [homes] share I'm not sure I see
it.  The share gets renamed to %U.  Not %D+%U.





cheers, jerry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1OCEIR7qMdg1EfYRAhpDAKCdHfWFpE8DV4Z6BrHstJWze2AxIgCg9D6H
g6myJ5y6CKKIKPWfSEPvjaU=
=eLDm
-END PGP SIGNATURE-


Re: svn commit: samba r12960 - in trunk/source/libsmb: .

2006-01-16 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vlendec
> Date: 2006-01-16 16:28:14 + (Mon, 16 Jan 2006)
> New Revision: 12960
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12960
> 
> Log:
> One thing that has annoyed me for ages is the fact that you can't run
> smbclient against smbd -i anymore, smbclient opens two connections.
> 
> This makes cli_dfs_get_referral use the already opened connection.
> 
> Jerry, could you please look at this?

That's fine.   Better actually.  When the original code was written,
we couldn't multiplex pipe opens over a single cli_state IIRC.
Thanks.   I'll run some tests later today to make sure all my dfs
referrals are still followed correctly.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDy+mwIR7qMdg1EfYRAlALAKDUZtWDuHISwkJ3fsh00MzAdX7CygCeO22e
DZdw7G4f7zfKINfMESnggu4=
=9C5q
-END PGP SIGNATURE-


Re: svn commit: samba r12301 - in branches/SAMBA_4_0/source/build/m4: .

2005-12-19 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: metze
> Date: 2005-12-17 09:28:39 + (Sat, 17 Dec 2005)
> New Revision: 12301
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12301
> 
> Log:
> FHS 2.2 says that /var/cache/* contains only cached data, which can we 
> removed without
> losing data, we should keep our databases under /var/lib/*
> 
> should I merge this to samba3 too?

Yes. Please.  I'm pretty sure all of the packaging files
already use /var/lib/samba anyways. Thanks.



cheers, jerry




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDpvBcIR7qMdg1EfYRAqJdAJ9uOVQSifvhVBlw35gAYpVMlqWYewCgzD1w
dTjsv7N7O0HAFiLFBy31xos=
=gdrz
-END PGP SIGNATURE-


Re: svn commit: samba r11118 - in branches/SAMBA_3_0_RELEASE: packaging/Fedora packaging/RedHat packaging/Solaris source source/client source/include source/lib source/libads source/libsmb source/modu

2005-10-17 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] writes:
> 
>> Author: jerry
>> Date: 2005-10-17 14:15:27 + (Mon, 17 Oct 2005)
>> New Revision: 8
>>
>> WebSVN: 
>> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8
>>
>> Log:
>> syncing up some changez from 3.0 tree for the first 3.0.21 preview release
>>
>>branches/SAMBA_3_0_RELEASE/source/libsmb/libsmbclient.c
> 
> Hi Jerry,
> 
> Unless you and Kalim have made additional changes that I'm not aware of, we
> still have some issue in libsmbclient pertaining to the changes made for SOC.
> I believe there are some performance issues with those changes, as outlined
> previously.  You had indicated that you wanted Kalim involved, so I haven't
> made any changes to this code.  How shall we proceed?

I haven't forgotten.  Just slow. :-)




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDU8scIR7qMdg1EfYRAi32AJ9Z6N3oxYN9MVhAS+zuO0ZeC5OpNwCgro7k
ZFdZBY1tDzIsXvA3P4xz/E4=
=nmc0
-END PGP SIGNATURE-


Re: svn commit: samba r10458 - in branches/SAMBA_3_0/source: .

2005-09-23 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerald (Jerry) Carter wrote:
| [EMAIL PROTECTED] wrote:
| | Author: jra
| | Date: 2005-09-23 19:51:44 + (Fri, 23 Sep 2005)
| | New Revision: 10458
| |
| | WebSVN:
| http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10458
| |
| | Log:
| | Patches from Jiri Sasek <[EMAIL PROTECTED]> to help
| | configure run on Solaris.
|
| You know this is strange.  I have no problem with sed on solaris.
| And no one else has reported a compile failure due to this.

What I was trying to finish saying was.I wonder
what the difference in out environments is?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNGJNIR7qMdg1EfYRAnSBAJ4/rhJGPI1ubuB8913wiXu9Aea/0QCgvwY5
/WuhKEO6Hd5FwwOl2+7tyAA=
=X3kT
-END PGP SIGNATURE-


Re: svn commit: samba r10458 - in branches/SAMBA_3_0/source: .

2005-09-23 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Author: jra
| Date: 2005-09-23 19:51:44 + (Fri, 23 Sep 2005)
| New Revision: 10458
|
| WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10458
|
| Log:
| Patches from Jiri Sasek <[EMAIL PROTECTED]> to help
| configure run on Solaris.

You know this is strange.  I have no problem with sed on solaris.
And no one else has reported a compile failure due to this.



jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNGH6IR7qMdg1EfYRAvCRAKDqyInmSnYdI+ibOG4AhMybLFJsTgCguyjE
Q9M9/n17tzAdLmUEMmj5B3U=
=16sh
-END PGP SIGNATURE-


Re: svn commit: samba r10201 - in trunk/source: . include registry rpc_parse rpc_server script services

2005-09-13 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Author: jerry
| Date: 2005-09-13 13:36:24 + (Tue, 13 Sep 2005)
| New Revision: 10201
|
| WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10201
|
| Log:
| This is the svcctl work from the past few days.  I've been working
| on this using svk, but I think it's time to check at least this
| version in.  Not completed but getting closer
|
| * expand the svcctl_ops structure to be built at run-time to
|   include services listed in smb.conf
| * move the service data from its own tdb to the registry
| * persistently store service security descriptors
|   'hklm\system\currentcontrolset\service\\Security'
| * Cleanup several svcctl RPC's (parsing and server side implementation)
| * Add 'RemoteRegistry' builtin service to get the MMC service control
|   plugin a little farther along (services/svc_winreg.c)
| * Added separate set of SERVICE_CONTROL_OPS for netlogon
|   (services/svc_netlogon.c)
|
| TODO:
|
| * cleanup existing init script parsing
| * Finish QueryServiceConfig[2]() server code
| * fix the stub functions in services/svc_rcinit.c

Brian & Marcin,

You probably should review this for any design holes.
The start/stop or queryconfig calls are not finished but
you will get the actual idea.  I'm not quite sure how
the original code could have worked but that might
just be a difference in trunk and any integration work
you might have done.

My chainsaw is not quite dull yet so there's some more
stuff coming later today.  Hopefully I'll have the
QueryServiceConfig[2]() calls finished up for the new
design.

Please take a look over it and let me know if you see
any problems with the approach.





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJtcaIR7qMdg1EfYRAknPAKDCg9s0ZbtYo7RqElFnYaShoRZzjACdEU4l
B++ngxYTHdv1pjAOoGiQEiQ=
=aXok
-END PGP SIGNATURE-


Re: svn commit: samba r10119 - in trunk/source: auth include libads libsmb nsswitch passdb rpc_client rpc_parse rpc_server rpcclient smbd utils

2005-09-11 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Author: jra
| Date: 2005-09-09 17:39:09 + (Fri, 09 Sep 2005)
| New Revision: 10119
|
| WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10119
|
| Log:
| Ok, I'm being really evil here. The RPC rewrite is finished, but needs
| testing. I could leave it in my tree and test, but if I do that it will
| never get enough testing. By moving it over into HEAD, I make it everyone
| else's problem :-). Hey - at least it compiles ! Be thankfull for small
| mercies :-).

ok.  Please fix domain logons so I can continue to work
on the service control stuff :-)






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJKLZIR7qMdg1EfYRAkXkAKCGbAIf4fUtYJbDkCxjgEDfsBVSkwCeJoiI
6h4K6PSOVtr4ZEvyTgEjuVA=
=Hxgi
-END PGP SIGNATURE-


Re: svn commit: samba r9752 - branches/SAMBA_3_0/source/rpc_server trunk/source/rpc_server

2005-08-29 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan (metze) Metzmacher wrote:
| [EMAIL PROTECTED] schrieb:
|
|>>figured out why talloc_steal() is a bad idea for SEC_DESC*
|>>Add a comment so someone else doesn't get bitten by this as well.
|
| we hit the same problem in samba4 a few week ago,
| the solution is to correctly create the SEC_DESC buffers,
| and mad the sub elements childs of the main structure.

so then is talloc_steal supposed to move a pointer and
all its children from one context to another?  Or just
the pointer itself.  If I ensure that the members of
SEC_DESC are create from the top level SEC_DESC pointer,
talloc_steal() would work?







cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDE4ENIR7qMdg1EfYRAgmxAJ4y1LNH/bYP/wrgvqH4xyMLqShVfgCfRHG6
9/A6kzepTaG3rB8EhEcJqVM=
=5i1t
-END PGP SIGNATURE-


Re: svn commit: samba r8786 - branches/SAMBA_3_0/source/utils trunk/source/utils

2005-07-27 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

| Fix amazing and long-standing bug where user-accounts
| are just crippled accounts (accounts without AcctCtrl set)
| after a vampire-process.
|
| New Accounts tend to hace no acb_info at all which means "0"
| (ACB_NORMAL). Unless 0 becomes not 0 we don't do anything
| and set *no* acctrl for normal users at all (!). Those
| crippled users now don't show up in usrmgr since
| 3.0.20somethings ldap-routines now finally test if
| the attribute is there.

Guenther,

You added the change to start looking at the separating
searches based on the ACB value for 3.0.11 I thought.
Or are we talking about a different change to ldapsam
now?



LDAP Changes


If "ldap user suffix" or "ldap machine suffix" are defined in
smb.conf, all user-accounts must reside below the user suffix,
and all machine and inter-domain trust-accounts must be located
below the machine suffix.  Previous Samba releases would fall
back to searching the 'ldap suffix' in some cases.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC55B2IR7qMdg1EfYRAnBgAJ94TAuoNvm3Cjo32t+GY2ajcUJ6SQCdE+tI
vWPAS34KW6IU7pf/blXjMgs=
=R6ht
-END PGP SIGNATURE-


Re: svn commit: samba r8493 - branches/SAMBA_3_0/source/lib trunk/source/lib

2005-07-15 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> According to MSKB 141714 the %LOGONSERVER% variable should be
> substituted like our %L-variable.

>   case 'L' : 
> - if (local_machine_name && *local_machine_name)
> + if (local_machine_name && *local_machine_name) {
> + if (IS_DC)
> + string_sub(p, "\%LOGONSERVER\%", 
> local_machine_name, l);
>   string_sub(p,"%L", local_machine_name,l); 
> - else {
> + } else {

Guenther,

For some reason this makes me feel icky.  I know why you are doing it
but I'd rather see a generic means of support long name variables
using a consistent syntax.  Care to discuss this some more?




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC1/9WIR7qMdg1EfYRAvHtAKCSaT5B4TKNN5NaFuJqF264blKmTwCeJiV1
lqxEVB9rpttvcXqNI0VeNVA=
=Y6IK
-END PGP SIGNATURE-


Re: svn commit: samba r8054 - in branches/SAMBA_4_0/source: librpc/idl ntptr/simple_ldb torture/rpc

2005-07-01 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

>   typedef [v1_enum] enum {
>   SPOOLSS_PRINTER_DATA_TYPE_NULL = 0,
>   SPOOLSS_PRINTER_DATA_TYPE_STRING = 1,
> + SPOOLSS_PRINTER_DATA_TYPE_BINARY = 3,
>   SPOOLSS_PRINTER_DATA_TYPE_UINT32 = 4
>   } spoolss_PrinterDataType;

metze,

You know this is the same as the registry data types right ?






cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCxTb/IR7qMdg1EfYRAgEKAKCT30RF+hIGgjx4i/Un8+OZTXfXUwCeJa8h
xu6WcBMg+ROsWDYJaRlCqps=
=efBE
-END PGP SIGNATURE-


Re: svn commit: samba r7994 - branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/libads branches/SAMBA_3_0/source/nsswitch branches/SAMBA_3_0/source/param branches/SAMBA_3_0/source/sam trunk/source/include trunk/source/libads trunk/source/nsswitch trunk/source/param trunk/source/sam

2005-06-29 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guenther Deschner wrote:

> What we could do is to use a virtual idmap_plugin, let's say:
> 
>   idmap backend = ad_sfu
>   
> and from thenon completly ignore idmap and do all work inside winbindd using
> the sfu-schema ourself. That way, we would get rid of the new parameter.
> 
> Does that sound better? It would safe us more 
> LDAP-queries, btw.

no.  I think the new parameter is clearer.

As long as it is mutually exclused to the template homedir and
shell options.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCws7qIR7qMdg1EfYRArSeAJ9B1oi9x7urWbeVVkAwf/DgWPJSpgCeOtQZ
zFRLRD5l+/KNl/4XXzXhwkk=
=n2q1
-END PGP SIGNATURE-


Re: svn commit: samba r7994 - branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/libads branches/SAMBA_3_0/source/nsswitch branches/SAMBA_3_0/source/param branches/SAMBA_3_0/source/sam trunk/source/include trunk/source/libads trunk/source/nsswitch trunk/source/param trunk/source/sam

2005-06-29 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

> This adds support in Winbindd's "security = ads"-mode to retrieve the POSIX
> homedirectory and the loginshell from Active Directory's "Services for Unix".
> 
> Enable it with:
> 
> winbind sfu support = yes
> 
> User-Accounts without SFU-Unix-Attributes will be assigned template-based
> Shells and Homedirs as before.
> 
> Note that it doesn't matter which version of Services for Unix you use (2.0,
> 2.2, 3.0 or 3.5). Samba should detect the correct attributes (msSFULoginShell,
> msSFU30LoginShell, etc.) automatically.
> 
> If you also want to share the same uid/gid-space as SFU then also use PADL's
> ad-idmap-Plugin:
> 
> idmap backend = ad

Guenther,

Why a new parameter?  Shouldn't idmap backend = ad just imply
using the full set of attributes from AD ?  Or maybe just add
sfu_support=yes as a parametric option to the ad plugin?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCwsFPIR7qMdg1EfYRAr3uAKCcMrjMWcaOvUo8//RjFgYOOmDt4wCfTYc+
JTj7ddFbzMX78F6NnOStD7o=
=br3w
-END PGP SIGNATURE-


Re: svn commit: samba-web r717 - in trunk/team: .

2005-06-27 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Author: vance
> Date: 2005-06-27 15:02:53 + (Mon, 27 Jun 2005)
> New Revision: 717
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=717
> 
> Log:
> Move slightly closer to alphabetic order.

what?  'M' comes after 'L' ! :-)


> 
> Vance
> 
> Modified:
>trunk/team/index.html
> 
> 
> Changeset:
> Modified: trunk/team/index.html
> ===
> --- trunk/team/index.html 2005-06-27 14:38:36 UTC (rev 716)
> +++ trunk/team/index.html 2005-06-27 15:02:53 UTC (rev 717)
> @@ -45,8 +45,8 @@
>  
>  http://www.devurandom.org";>Deryck Hodge
>  http://people.su.se/~lha/";>Love Hörnquist 
> Ã…strand
> +mailto:[EMAIL PROTECTED]">Marc Kaplan
>  mailto:[EMAIL PROTECTED]">Vance Lankhaar
> -mailto:[EMAIL PROTECTED]">Marc Kaplan
>  mailto:[EMAIL PROTECTED]">Volker Lendecke
>  
>  
> 


- --
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCwBl7IR7qMdg1EfYRAizuAJ0anVVcz4hi9y6rAD+aTL5NfhdhogCfaySL
SgpJ8K/yY3lVJwt1I/O8Krc=
=MfLj
-END PGP SIGNATURE-


Re: svn commit: samba r7174 - in trunk/source/nsswitch: .

2005-06-01 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Author: jerry
| Date: 2005-06-01 20:18:52 + (Wed, 01 Jun 2005)
| New Revision: 7174
|
| WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7174
|
| Log:
| check in volker's log file per domain patch to the new winbindd
| Modified:
|trunk/source/nsswitch/winbindd_dual.c
|trunk/source/nsswitch/winbindd_sid.c
|trunk/source/nsswitch/winbindd_util.c

This also has another fix for adding an fd_event struct
multiple time as is sthe case when we don't know the SID
for the trusted domain.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCnhjTIR7qMdg1EfYRAleFAJ97ZrUHP2Www+ejIROvv7OOK8y9bQCg2VD8
xXwtZ7iOub2bWbXac04eIhI=
=X/BA
-END PGP SIGNATURE-


Re: svn commit: samba r7025 - in branches/SAMBA_3_0/source: lib tdb

2005-05-27 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Bartlett wrote:

| Transcripts are available:  http://samba.sernet.de/irclog/ :-)

Last comment for the day

"My SPAM folder is easier to read than IRC logs."



ciao, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCl4oLIR7qMdg1EfYRAuZFAKC+69CZtuIJrNIeu4grBb+DoKfBjgCg1A23
C+nYS6tG5kM+4FdRSAm9cio=
=oHek
-END PGP SIGNATURE-


Re: svn commit: samba r6127 - in branches/SAMBA_3_0/source: include lib libads libsmb nsswitch rpc_server tdb utils

2005-03-30 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
|
| The flag -Wall should be added permanently to CFLAGS, and all warnings
then
| generated should be eliminated.
Derrell,
It is defined when you set --enable-developer


cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCSr0gIR7qMdg1EfYRArEMAKCuMrg5d6HVLCQ1mXEMqs/Dm7tQ3QCg2Fqt
BtY5yUTwZdWN/rViLx+2Gt8=
=fKAw
-END PGP SIGNATURE-


  1   2   >