samba.git
15 years agonetapi: add example code for NetUserSetGroups.
Günther Deschner [Fri, 5 Sep 2008 15:01:23 +0000 (17:01 +0200)]
netapi: add example code for NetUserSetGroups.

Guenther
(This used to be commit 1355939b4c9c2883f9542ef4189cac7418104b68)

15 years agonetapi: add NetUserSetGroups to public header.
Günther Deschner [Mon, 8 Sep 2008 08:26:11 +0000 (10:26 +0200)]
netapi: add NetUserSetGroups to public header.

Guenther
(This used to be commit 3e96cd229c1536a7e16441f600c379ceb651b2b3)

15 years agonetapi: add skeleton for NetUserSetGroups.
Günther Deschner [Fri, 5 Sep 2008 14:51:55 +0000 (16:51 +0200)]
netapi: add skeleton for NetUserSetGroups.

Guenther
(This used to be commit 165be948fab1c64526421b44b08de700849bba25)

15 years agore-run make idl.
Günther Deschner [Fri, 5 Sep 2008 14:50:04 +0000 (16:50 +0200)]
re-run make idl.

Guenther
(This used to be commit 4efbd569478d6d98078833084aaae5a97cd5182b)

15 years agonetapi: add IDL for NetUserSetGroups.
Günther Deschner [Fri, 5 Sep 2008 14:49:09 +0000 (16:49 +0200)]
netapi: add IDL for NetUserSetGroups.

Guenther
(This used to be commit 6b35856c21d300bf20dd7bc7c27c5e12aca6b2ff)

15 years agonetapi: make add_GROUP_USERS_INFO_X_buffer non-static.
Günther Deschner [Mon, 8 Sep 2008 14:42:10 +0000 (16:42 +0200)]
netapi: make add_GROUP_USERS_INFO_X_buffer non-static.

Guenther
(This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)

15 years agonetapi: fix NetShareEnum_r.
Günther Deschner [Wed, 10 Sep 2008 08:13:41 +0000 (10:13 +0200)]
netapi: fix NetShareEnum_r.

Guenther
(This used to be commit 7e8903b53beba3ad1bb8617ed435249257724be3)

15 years agonetapi: fix NetShareGetInfo_r.
Günther Deschner [Wed, 10 Sep 2008 08:13:55 +0000 (10:13 +0200)]
netapi: fix NetShareGetInfo_r.

Guenther
(This used to be commit b42408f54ea61ad47f5a33085ab1532c67ceee83)

15 years agonet: use netapi for NetShareEnum.
Günther Deschner [Wed, 10 Sep 2008 08:53:46 +0000 (10:53 +0200)]
net: use netapi for NetShareEnum.

Guenther
(This used to be commit f4cb75b1e2b030055b9c566f941277286095b8a7)

15 years agonetapi: fix NetShareEnum_r which in fact enumerates all shares.
Günther Deschner [Wed, 10 Sep 2008 11:26:54 +0000 (13:26 +0200)]
netapi: fix NetShareEnum_r which in fact enumerates all shares.

Guenther
(This used to be commit 0637ad872e5d30f71b6ea1ec2d243ec8e8836c31)

15 years agonetapi: fix doxygen warning.
Günther Deschner [Tue, 9 Sep 2008 17:36:51 +0000 (19:36 +0200)]
netapi: fix doxygen warning.

Guenther
(This used to be commit e0312728a5ac5abd64622600f47967861a4e0183)

15 years agoRemove the complexity of transactions from the attributes-setting code.
Andrew Bartlett [Thu, 11 Sep 2008 10:51:26 +0000 (20:51 +1000)]
Remove the complexity of transactions from the attributes-setting code.

I think it is just too complex and error prone to init and cancel
transactions during the module init code.  Instead, this isn't prone
to races as it will always achieve a steady state (eventually), and
most cases will never do the write.

Andrew Bartlett
(This used to be commit d60977cc7f89f89f34187f310c91d1ab7db6ccf2)

15 years agoMake cn=aggregate output less pretty, by more like Win2008.
Andrew Bartlett [Thu, 11 Sep 2008 02:36:58 +0000 (12:36 +1000)]
Make cn=aggregate output less pretty, by more like Win2008.

I'm not sure if this fixes bug #5713, as this is not consistantly
reproducably on my equipment.

Andrew Bartlett
(This used to be commit 02d6645efc84179efd652dd29ab32f62ae310147)

15 years agoFix failures in the winbind struct-based test.
Andrew Bartlett [Thu, 11 Sep 2008 01:49:24 +0000 (11:49 +1000)]
Fix failures in the winbind struct-based test.

Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard...

A better test (once we unify the winbind protocol with Samba3) would
be a operation to see if you are on the priv pipe, and that will give
acutal end-to-end testing.

Andrew Bartlett
(This used to be commit 2d4103518ab8a7286e65347b8b9b0ccb660e69f6)

15 years agoFix bug #5052 - not work cancel inheritance on share. We were
Jeremy Allison [Wed, 10 Sep 2008 23:22:51 +0000 (16:22 -0700)]
Fix bug #5052 - not work cancel inheritance on share. We were
using the parent security descriptor type and flags instead
of using the passed in SD.
Jeremy.
(This used to be commit 0d824d7188518aaa7b4e890885e6bc42e94397c5)

15 years agoMerge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
Jeremy Allison [Wed, 10 Sep 2008 21:57:52 +0000 (14:57 -0700)]
Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit a03b0dde01e4cebe07a65af3943d178dbdeda276)

15 years agoWhen requesting UNIX info levels on findfirst/findnext, don't play games with write...
Jeremy Allison [Wed, 10 Sep 2008 21:54:25 +0000 (14:54 -0700)]
When requesting UNIX info levels on findfirst/findnext, don't play games with write time,
just return what the underlying filesystem says. Trying not to confuse UNIX apps any more than necessary.
Jeremy.
(This used to be commit b81a4dd003957a611ea190979d828b75d07a1f80)

15 years agopackaging(RHEL): fix direction of link (.so) of nss libs.
Michael Adam [Wed, 10 Sep 2008 21:22:49 +0000 (23:22 +0200)]
packaging(RHEL): fix direction of link (.so) of nss libs.

libnss_winbindd.so -> libnss_winbindd.so.2
libnss_wins.so -> libnss_wins.so.2

Michael
(This used to be commit 295bfb6af8153e91ae881e2437cc707d5736bc97)

15 years agoFix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.
Jeremy Allison [Wed, 10 Sep 2008 17:18:02 +0000 (10:18 -0700)]
Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.
Jeremy.
(This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)

15 years agonet: share_type is defined in net_rap.c, net_rpc.c needs to use that.
Kai Blin [Wed, 10 Sep 2008 10:05:18 +0000 (12:05 +0200)]
net: share_type is defined in net_rap.c, net_rpc.c needs to use that.

This fixes a crash in net rpc share that Günther Deschner found.
(This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)

15 years agoFix some bogus compiler warnings
Volker Lendecke [Wed, 10 Sep 2008 09:51:02 +0000 (11:51 +0200)]
Fix some bogus compiler warnings
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)

15 years agoMerge branch 'v4-0-test' of ssh://jra@git.samba.org/data/git/samba into v4-0-test
Jeremy Allison [Wed, 10 Sep 2008 04:25:03 +0000 (21:25 -0700)]
Merge branch 'v4-0-test' of ssh://jra@git.samba.org/data/git/samba into v4-0-test
(This used to be commit 7cd0977a28e9973ff71e9e0146fef6e6771a72b5)

15 years agoA truncate write must be a smbcli_smbwrite, not a
Jeremy Allison [Wed, 10 Sep 2008 04:24:34 +0000 (21:24 -0700)]
A truncate write must be a smbcli_smbwrite, not a
smbcli_write.
Jeremy.
(This used to be commit 8cebd4d36c862dcdc6551dc6bf4dda2342dfede7)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 10 Sep 2008 04:09:07 +0000 (14:09 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit ed26195d0eda6dd1ca14508cfd31a48dde79d44f)

15 years agoReturn the same privilaged winbindd socket as we actually use.
Andrew Bartlett [Wed, 10 Sep 2008 04:08:40 +0000 (14:08 +1000)]
Return the same privilaged winbindd socket as we actually use.

Andrew Bartlett
(This used to be commit 2209787812fd9224d104f332e25d8ce64ef9ee95)

15 years agoFix uninstalling of binaries.
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 22:09:28 +0000 (00:09 +0200)]
Fix uninstalling of binaries.
(This used to be commit 6ad94d10f79f206fcdeb23cf71595e38c7a77855)

15 years agoMerge branch 'v4-0-regClient' of git://repo.or.cz/Samba/mdw into manpage
Jelmer Vernooij [Tue, 9 Sep 2008 22:05:37 +0000 (00:05 +0200)]
Merge branch 'v4-0-regClient' of git://repo.or.cz/Samba/mdw into manpage
(This used to be commit 6ac32d0a10a9a27abceca362fcab04bcfc55c33f)

15 years agoOnly try with -LPYTHONDIR/lib when python-config output didn't work.
Jelmer Vernooij [Tue, 9 Sep 2008 21:49:07 +0000 (23:49 +0200)]
Only try with -LPYTHONDIR/lib when python-config output didn't work.
(This used to be commit 62d76356c10b4223236425c4db32c2fc5105d155)

15 years agoAttempt to correctly find python on host sunx
Volker Lendecke [Tue, 9 Sep 2008 21:35:17 +0000 (23:35 +0200)]
Attempt to correctly find python on host sunx
(This used to be commit 59b62280d27a9e0a72241e4b60022be07e4cbce2)

15 years agoFix make test on sparc and possibly also on AIX
Volker Lendecke [Tue, 9 Sep 2008 20:13:39 +0000 (22:13 +0200)]
Fix make test on sparc and possibly also on AIX
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)

15 years agoRemove unused scripts for installing binaries.
Jelmer Vernooij [Tue, 9 Sep 2008 19:56:57 +0000 (21:56 +0200)]
Remove unused scripts for installing binaries.
(This used to be commit 677179234ecaa6980dedc2bb6f77c525b56b532f)

15 years agoMerge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
Jelmer Vernooij [Tue, 9 Sep 2008 17:27:00 +0000 (19:27 +0200)]
Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit c3d1b0097590566417bda3fa33a64e994c9c7526)

15 years agoStop ignoring .svn directories when creating tags, since we no longer use
Jelmer Vernooij [Tue, 9 Sep 2008 17:05:48 +0000 (19:05 +0200)]
Stop ignoring .svn directories when creating tags, since we no longer use
svn.
(This used to be commit 151c78652a89146049a134f60aef509c2117c436)

15 years agoRename object variables to avoid clashes with Samba 4.
Jelmer Vernooij [Tue, 9 Sep 2008 17:03:49 +0000 (19:03 +0200)]
Rename object variables to avoid clashes with Samba 4.
(This used to be commit c77758de5d6df28abaffe3f8a1d7b5cbc615605e)

15 years agoFix up the "reg_common_open_remote" call
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 16:03:54 +0000 (18:03 +0200)]
Fix up the "reg_common_open_remote" call

This fixes up the "reg_common_open_remote" call because it didn't work anymore without the event context.
(This used to be commit 42ab865fc937a625d1eece45abe96bf354ddff8b)

15 years agoTwo useful "regshell" improvements
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 16:01:20 +0000 (18:01 +0200)]
Two useful "regshell" improvements

This patch corrects the "change key" command (Follow up isn't supported yet) and adds a newline in a error message.
(This used to be commit d1052dc42ef591208cfbf7059b28a078f6d4f0bf)

15 years agoConvert cli_query_secdesc to the async trans call
Volker Lendecke [Tue, 9 Sep 2008 13:03:51 +0000 (15:03 +0200)]
Convert cli_query_secdesc to the async trans call
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)

15 years agoConvert cli_qfileinfo to the async trans call
Volker Lendecke [Tue, 9 Sep 2008 13:03:34 +0000 (15:03 +0200)]
Convert cli_qfileinfo to the async trans call
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)

15 years agoAdd async trans/trans2/nttrans calls to libsmb
Volker Lendecke [Tue, 9 Sep 2008 12:47:23 +0000 (14:47 +0200)]
Add async trans/trans2/nttrans calls to libsmb

Logic stolen from Samba4, naturally the specific implementation differs a bit.
(This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)

15 years agoAdd some debug to reply_nttrans
Volker Lendecke [Tue, 9 Sep 2008 12:43:20 +0000 (14:43 +0200)]
Add some debug to reply_nttrans
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)

15 years agoMove setting the mid field in req->outbuf from _cork to _uncork
Volker Lendecke [Tue, 9 Sep 2008 12:39:45 +0000 (14:39 +0200)]
Move setting the mid field in req->outbuf from _cork to _uncork

The async trans calls need this, as for secondary trans calls they have to
modify the MID from what cli_request_chain() gave us.
(This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)

15 years agoAdd utility function cli_in_chain()
Volker Lendecke [Tue, 9 Sep 2008 12:37:17 +0000 (14:37 +0200)]
Add utility function cli_in_chain()

This gives a hint whether a function is called from within the middle of a
chain. In particular the trans calls don't really like this.
(This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)

15 years agomake smb_bytes_push_str public
Volker Lendecke [Tue, 9 Sep 2008 12:35:42 +0000 (14:35 +0200)]
make smb_bytes_push_str public
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)

15 years agoAdd a utility function to append a DATA_BLOB to a talloc object
Volker Lendecke [Tue, 9 Sep 2008 12:34:28 +0000 (14:34 +0200)]
Add a utility function to append a DATA_BLOB to a talloc object
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)

15 years agoRemove calls to unused uninstallbin.sh
Jelmer Vernooij [Tue, 9 Sep 2008 14:01:37 +0000 (16:01 +0200)]
Remove calls to unused uninstallbin.sh
(This used to be commit 69956a5597b0339b7c0ee3f394d649421f037f03)

15 years agoAdd option for generating coverage data from python tests.
Jelmer Vernooij [Tue, 9 Sep 2008 13:55:10 +0000 (15:55 +0200)]
Add option for generating coverage data from python tests.
(This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)

15 years agoUNIX-WHOAMI: fix compiler warnings
Stefan Metzmacher [Tue, 9 Sep 2008 11:01:34 +0000 (13:01 +0200)]
UNIX-WHOAMI: fix compiler warnings

metze
(This used to be commit ec5d8ddadb76ff0d2cb72872e4d145a7527f0ec6)

15 years agodrsblobs.idl: add parser for ExtendedErrorInfo see [MS-EERR]: ExtendedError Remote...
Stefan Metzmacher [Tue, 9 Sep 2008 09:27:03 +0000 (11:27 +0200)]
drsblobs.idl: add parser for ExtendedErrorInfo see [MS-EERR]: ExtendedError Remote Data Structure

metze
(This used to be commit 3edbbb12bda8e19a9f5a72849bc79e0fad7976f8)

15 years agopackaging(RHEL): add makerpms.git.sh to build rpms from inside a git checkout
Michael Adam [Mon, 8 Sep 2008 11:44:52 +0000 (13:44 +0200)]
packaging(RHEL): add makerpms.git.sh to build rpms from inside a git checkout

This expects a path to a release docs tarball (.tar.bz2) in the DOCS_TARBALL
environment variable. The tarball should have a prefix of "docs/".

Michael
(This used to be commit d87c2192ab7b68b2f68442c50618d94146d77ad9)

15 years agopackaging(RHEL): use ccache if available
Michael Adam [Mon, 8 Sep 2008 15:38:55 +0000 (17:38 +0200)]
packaging(RHEL): use ccache if available

Michael
(This used to be commit e8abbfabde3da0844ffb4e2507084c139a70d503)

15 years agopackaging(RHEL): add ldbtools binaries and man pages to common package
Michael Adam [Mon, 8 Sep 2008 13:52:27 +0000 (15:52 +0200)]
packaging(RHEL): add ldbtools binaries and man pages to common package

Michael
(This used to be commit 206985dfda5a9f62df975629046b00a88ec666f5)

15 years agopackaging(RHEL): add cifs.upcall binary and manpage to client package
Michael Adam [Mon, 8 Sep 2008 13:51:57 +0000 (15:51 +0200)]
packaging(RHEL): add cifs.upcall binary and manpage to client package

Michael
(This used to be commit f1b80bcb58b8aa5c586835dc201ce674b3417835)

15 years agopackaging(RHEL): fix installation of pam modules.
Michael Adam [Mon, 8 Sep 2008 13:51:33 +0000 (15:51 +0200)]
packaging(RHEL): fix installation of pam modules.

Michael
(This used to be commit 0f045f18ebaa752b9d906afc64fd5badb3bf352c)

15 years agopackaging(RHEL): remove leftovers of smbmount from SPEC file.
Michael Adam [Mon, 8 Sep 2008 12:46:31 +0000 (14:46 +0200)]
packaging(RHEL): remove leftovers of smbmount from SPEC file.

Michael
(This used to be commit 041875c64daba3d185b1954eb0eb9a21b2f41ee1)

15 years agopackaging(RHEL): add new libs (talloc, tdb, ...) to the common package
Michael Adam [Fri, 29 Aug 2008 15:45:45 +0000 (17:45 +0200)]
packaging(RHEL): add new libs (talloc, tdb, ...) to the common package

Michael
(This used to be commit f23183bbec55faf2d6496e04e73f8dd415a08d1c)

15 years agopackaging(RHEL): remove workaround code for libsmclient/sharemodes installation
Michael Adam [Fri, 29 Aug 2008 14:57:16 +0000 (16:57 +0200)]
packaging(RHEL): remove workaround code for libsmclient/sharemodes installation

With 3.3.0, this is not needed any more
(libdir/modulesdir separation and corrected library creation).

Michael
(This used to be commit 5348e28f6674cab643b42c1265c24983d9a9189d)

15 years agopackaging(RHEL): fix libdir installation by using _libarch/_libarchdir
Michael Adam [Fri, 29 Aug 2008 14:55:55 +0000 (16:55 +0200)]
packaging(RHEL): fix libdir installation by using _libarch/_libarchdir

Michael
(This used to be commit 829f83c27ad03e4d2a7b5dc0b0459823fa4f3804)

15 years agopackaging(RHEL): remove libmsrpc stuff which is no more...
Michael Adam [Fri, 29 Aug 2008 14:48:37 +0000 (16:48 +0200)]
packaging(RHEL): remove libmsrpc stuff which is no more...

Michael
(This used to be commit 3eaa33e9df6d58ef93f13a840b38a063649fffbc)

15 years agopackaging(RHEL): remove duplicate installation of pam_smbpass.so
Michael Adam [Fri, 29 Aug 2008 14:44:06 +0000 (16:44 +0200)]
packaging(RHEL): remove duplicate installation of pam_smbpass.so

Michael
(This used to be commit cdc24fbb195b1a5460c05fcd20d7ba81ad69ef22)

15 years agopackaging(RHEL): remove smbmount related stuff from spec file
Michael Adam [Fri, 29 Aug 2008 14:41:30 +0000 (16:41 +0200)]
packaging(RHEL): remove smbmount related stuff from spec file

Michael
(This used to be commit 4420cf6199e3c718a3dea84fe814d6ad6e83c2d8)

15 years agopackaging(RHEL): don't make proto for samba 3.3
Michael Adam [Fri, 29 Aug 2008 14:40:04 +0000 (16:40 +0200)]
packaging(RHEL): don't make proto for samba 3.3

Michael
(This used to be commit 75c28699496d843e21eefef564c72023b24975a1)

15 years agopackaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir
Michael Adam [Fri, 29 Aug 2008 14:38:31 +0000 (16:38 +0200)]
packaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir

Michael
(This used to be commit dc6625637fb9de7d64d4416a1eb43f214590d393)

15 years agopackaging(RHEL): fix version of GPL (2 --> 3)
Michael Adam [Fri, 29 Aug 2008 13:45:18 +0000 (15:45 +0200)]
packaging(RHEL): fix version of GPL (2 --> 3)

Michael
(This used to be commit c015e8e0cf4131f21305451943df13b81f51ea6a)

15 years agoFix reversed test trying to fix bug #5713
Andrew Bartlett [Tue, 9 Sep 2008 08:02:05 +0000 (18:02 +1000)]
Fix reversed test trying to fix bug #5713

(It instead ensured that only 'top' had a SUP keyword)

This clearly shows that 937b466266256d26d02cf8d48e72a26272fe8627 was
not a full or correct fix, but despite this I can no longer reproduce
the issue.  Further investigation is required.

Andrew Bartlett
(This used to be commit 95a9e9b6b84866cd300b1d19915627c6718b4dde)

15 years agoFix a memleak in cli_qfilename (only used in smbtorture)
Volker Lendecke [Mon, 8 Sep 2008 20:39:16 +0000 (22:39 +0200)]
Fix a memleak in cli_qfilename (only used in smbtorture)
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)

15 years agoFix bug #5713 by correcting the generated schema.
Andrew Bartlett [Tue, 9 Sep 2008 06:18:27 +0000 (16:18 +1000)]
Fix bug #5713 by correcting the generated schema.

This bug is entitled 'Schema patch breaks interoperability with
Microsoft MMC consoles.', and it does so very spectacularly.

The issue is that we would include an entry:
objectClasses: ( 2.5.6.0 NAME 'top' SUP top ABSTRACT..

The MMC Active Directory Users and Computers snap in presumably
objected to the 'loop' this would present. The fixed entry is:

objectClasses: ( 2.5.6.0 NAME 'top' ABSTRACT

Thanks to Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> for his
persistance in getting me to look at this.

Andrew Bartlett
(This used to be commit 937b466266256d26d02cf8d48e72a26272fe8627)

15 years agoMake it easier to see when tests start/end.
Jeremy Allison [Mon, 8 Sep 2008 21:58:58 +0000 (14:58 -0700)]
Make it easier to see when tests start/end.
Jeremy.
(This used to be commit 6f89e728272ca14f0ed9557485e21647c0731ef2)

15 years agoFix calculation of useable_space for trans2 and nttrans replies
Volker Lendecke [Mon, 8 Sep 2008 20:53:50 +0000 (22:53 +0200)]
Fix calculation of useable_space for trans2 and nttrans replies

When alignment was in place, we pretended to send more data/params according to
the param_offset/param_length and data_offset/data_length parameters than would
actually fit into the SMB according to the NBSS length field.
(This used to be commit ef3c132b8455c6fe4d0bb9f0be881040a806a4ed)

15 years agoWhen setting an NFSv4 ACL, map generic bits
Volker Lendecke [Mon, 8 Sep 2008 14:42:06 +0000 (16:42 +0200)]
When setting an NFSv4 ACL, map generic bits
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)

15 years agoThanks metze for pointing out the missing extern :-)
Volker Lendecke [Mon, 8 Sep 2008 14:23:36 +0000 (16:23 +0200)]
Thanks metze for pointing out the missing extern :-)
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)

15 years agosmbd: some write time fixes
Stefan Metzmacher [Mon, 8 Sep 2008 13:12:24 +0000 (15:12 +0200)]
smbd: some write time fixes

- only the first non truncating write causes
  the write time update with 2 seconds delay.
  It's not enough to check for an existing update event
  as it will be NULL after the event was triggered.

- SMBwrite truncates always update the write time
  unless the sticky write time is set.

- SMBwrite truncates don't trigger a write time update on close.

metze
(This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)

15 years agoBASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite truncate and...
Stefan Metzmacher [Mon, 8 Sep 2008 12:11:17 +0000 (14:11 +0200)]
BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite truncate and writeX again

metze
(This used to be commit 66b8c8d80e1c8e45ab6ca38cabebea07aa122c40)

15 years agoBASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and SMBwrite...
Stefan Metzmacher [Mon, 8 Sep 2008 11:59:51 +0000 (13:59 +0200)]
BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and SMBwrite again

metze
(This used to be commit 051164ba0a69d54aa706ffa876059e8dbbeacb36)

15 years agoBASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write time...
Stefan Metzmacher [Mon, 8 Sep 2008 10:27:43 +0000 (12:27 +0200)]
BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write time after SET_FILE_INFO

metze
(This used to be commit f81014db9d5afbf9e0b1c007bc56fc1d3a201309)

15 years agoRemove some duplicate code
Volker Lendecke [Mon, 8 Sep 2008 13:57:15 +0000 (15:57 +0200)]
Remove some duplicate code
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)

15 years agopackaging(RHEL-CTDB): add fix for versions containing "-" signs.
Michael Adam [Mon, 8 Sep 2008 12:09:41 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): add fix for versions containing "-" signs.

Michael
(cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b)
(This used to be commit 4bebce268a430a537215b46947e37a8b0225e49d)

15 years agopackaging(RHEL-CTDB): extend and slightly reformat comment header block
Michael Adam [Mon, 8 Sep 2008 11:11:17 +0000 (13:11 +0200)]
packaging(RHEL-CTDB): extend and slightly reformat comment header block

Michael
(cherry picked from commit 1bfc8cc575cd84f24ceb6f6c5d13c9171c0895a5)
(This used to be commit 5354e420677eacd62a5297bc38d62cd6b53642b5)

15 years agopackaging(RHEL-CTDB): unify and extend (C) header
Michael Adam [Mon, 8 Sep 2008 11:08:18 +0000 (13:08 +0200)]
packaging(RHEL-CTDB): unify and extend (C) header

Michael
(cherry picked from commit e051c1cbf7a993e3885c4a515e516da3574a1f57)
(This used to be commit 68ec025d06058bcd1c7050ee5d8f7232a3eb901a)

15 years agopackaging(RHEL-CTDB): autodetect the samba version number from version.h
Michael Adam [Thu, 4 Sep 2008 12:36:29 +0000 (14:36 +0200)]
packaging(RHEL-CTDB): autodetect the samba version number from version.h

Generate version.h first.
Create samba.spec from (new) samba.spec.tmpl, replacing PVERSION
by the version string. (as is done with update-pkginfo called
from the create-tarball release script)

Michael
(This used to be commit f1f3d1bef0440f4294f7278c0c38e13a10b6fb48)

15 years agopackaging(RHEL-CTDB): introduce variable TOPDIR
Michael Adam [Thu, 4 Sep 2008 12:10:45 +0000 (14:10 +0200)]
packaging(RHEL-CTDB): introduce variable TOPDIR

Michael
(cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7)
(This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)

15 years agopackaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR
Michael Adam [Thu, 4 Sep 2008 12:09:36 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR

Michael
(cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc)
(This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)

15 years agopackaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR
Michael Adam [Thu, 4 Sep 2008 12:09:15 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR

Michael
(cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c)
(This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)

15 years agoBASE-DELAYWRITE: demonstrate that the time between the open and the first write doesn...
Stefan Metzmacher [Mon, 8 Sep 2008 10:12:25 +0000 (12:12 +0200)]
BASE-DELAYWRITE: demonstrate that the time between the open and the first write doesn't matter

metze
(This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)

15 years agonetapi: expand NetUser testsuite a little.
Günther Deschner [Fri, 5 Sep 2008 15:06:24 +0000 (17:06 +0200)]
netapi: expand NetUser testsuite a little.

Guenther
(This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)

15 years agonetapi: add NetShare testsuite.
Günther Deschner [Fri, 5 Sep 2008 13:13:13 +0000 (15:13 +0200)]
netapi: add NetShare testsuite.

Guenther
(This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)

15 years agonet: use NETSETUP flags consistently.
Günther Deschner [Fri, 5 Sep 2008 14:28:56 +0000 (16:28 +0200)]
net: use NETSETUP flags consistently.

Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)

15 years agonetapi: re-arrange a little NetLocalGroupSetMembers example code.
Günther Deschner [Fri, 5 Sep 2008 21:21:58 +0000 (23:21 +0200)]
netapi: re-arrange a little NetLocalGroupSetMembers example code.

Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)

15 years agonetapi: fix NetShareGetInfo example output.
Günther Deschner [Fri, 5 Sep 2008 12:01:17 +0000 (14:01 +0200)]
netapi: fix NetShareGetInfo example output.

Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)

15 years agoBASE-DELAYWRITE: test more details of the truncate write time update behavior
Stefan Metzmacher [Mon, 8 Sep 2008 06:31:34 +0000 (08:31 +0200)]
BASE-DELAYWRITE: test more details of the truncate write time update behavior

metze
(This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)

15 years agoMake it clear that the MMR password can differ from the admin passsword
Andrew Bartlett [Mon, 8 Sep 2008 05:09:06 +0000 (15:09 +1000)]
Make it clear that the MMR password can differ from the admin passsword

In the future, we might simply randomly generate this, or allow the
admin to specify it seperate to the admin password.  However, both are
highly sensitive, as they imply read access to the krbtgt.

Andrew Bartlett
(This used to be commit 57d19ad002c523fb9a09694e6710ab7f588d44ec)

15 years agoUse DIGEST-MD5 authentication for OpenLDAP replication
Oliver Liebel [Mon, 8 Sep 2008 04:39:54 +0000 (14:39 +1000)]
Use DIGEST-MD5 authentication for OpenLDAP replication

This avoids passing rootdn passwords or replicated data in cleartext
across the network.

Signed-of-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit 67373c143a1d8a9f310fd116dbf81c1dd123b75f)

15 years agoAdd definition for SYSTEM_FLAG_ATTR_IS_RDN
Andrew Bartlett [Mon, 8 Sep 2008 04:33:05 +0000 (14:33 +1000)]
Add definition for SYSTEM_FLAG_ATTR_IS_RDN
(This used to be commit 36f727c4a73ffc8634692b0c5645343cb414de93)

15 years agoMove blackbox.smbclient to test against the member server.
Andrew Bartlett [Mon, 8 Sep 2008 04:18:04 +0000 (14:18 +1000)]
Move blackbox.smbclient to test against the member server.

The DC is now using smb signing, so testing for the old SMB versions
won't work.

Add a new test script to check 'net join' independent of
blackbox.smbclient.

Andrew Bartlett
(This used to be commit 44ff392ffea52e89a3ac096a6d381ae540d3473c)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into trusted-domains
Andrew Bartlett [Mon, 8 Sep 2008 02:54:13 +0000 (12:54 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into trusted-domains
(This used to be commit a057c3ed9df2670e5cad5f1807e280d77eb58cb0)

15 years agoSimplfy SetSecrets behaviour in line with RPC-LSA and Win2008.
Andrew Bartlett [Mon, 8 Sep 2008 02:46:04 +0000 (12:46 +1000)]
Simplfy SetSecrets behaviour in line with RPC-LSA and Win2008.
(This used to be commit 07cb8db799cc22685af4bb63285fa10115790ce1)

15 years agoTry to implement the right logic for systemFlags
Andrew Bartlett [Mon, 8 Sep 2008 01:10:24 +0000 (11:10 +1000)]
Try to implement the right logic for systemFlags

The MS-ADTS document has quite detailed instrucitons on how these
flags should be processed.  This change also causes the correct
sign-wrapping to occour, as these are declared as signed integers.

Andrew Bartlett
(This used to be commit 5c3d237a6d721dc75166bdc5ac0c6e76a4495bf7)

15 years agoDon't expose passwords, even to the administrator.
Andrew Bartlett [Mon, 8 Sep 2008 01:09:02 +0000 (11:09 +1000)]
Don't expose passwords, even to the administrator.

This ensures they don't leak over LDAP, but does not prevent access,
as ldbsearch locally still bypasses these controls.

Andrew Bartlett
(This used to be commit fa3f3bab33001770a9d7e33875bf212636f6c128)

15 years agoMore work towards trusted domains support in Samba4's LSA
Andrew Bartlett [Mon, 8 Sep 2008 00:55:34 +0000 (10:55 +1000)]
More work towards trusted domains support in Samba4's LSA

Make 'lsar_CreateTrustedDomain' consistant with
lsar_CreateTrustedDomainEx{,2} by renaming handle -> policy_handle

Implement LSA server logic to create the cn=users trust account for
incoming trusts.

Andrew Bartlett
(This used to be commit d87b655e20b7c38756774cec2e5898af38c46786)

15 years agondr_compression: add XPRESS compression support
Stefan Metzmacher [Wed, 20 Aug 2008 20:12:51 +0000 (22:12 +0200)]
ndr_compression: add XPRESS compression support

metze
(This used to be commit 1432a96d37e367d9d97d48b69c6f16351a9ad066)

15 years agolzxpress: Import of lzxpress compression
Matthieu Suiche [Thu, 10 Jul 2008 09:31:43 +0000 (09:31 +0000)]
lzxpress: Import of lzxpress compression

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit fd84c5a08f7e8d6402e5f68eede546eb092d22aa)