metze/samba/wip.git
15 years agodoserr: add WERR_NO_SUCH_ALIAS.
Günther Deschner [Fri, 12 Sep 2008 08:12:01 +0000 (10:12 +0200)]
doserr: add WERR_NO_SUCH_ALIAS.

Guenther
(This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)

15 years agomessaging: move types to IDL.
Günther Deschner [Thu, 4 Sep 2008 13:13:22 +0000 (15:13 +0200)]
messaging: move types to IDL.

Guenther
(This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6)

15 years agoReorder defines for version for consistency with Samba 4.
Jelmer Vernooij [Fri, 12 Sep 2008 10:38:54 +0000 (12:38 +0200)]
Reorder defines for version for consistency with Samba 4.
(This used to be commit fe36d83508a6b1a8de5ad58ec1d0c80cda7b4a21)

15 years agofix nonempty blank lines
Volker Lendecke [Thu, 11 Sep 2008 16:45:26 +0000 (18:45 +0200)]
fix nonempty blank lines
(This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)

15 years agoUse the given name, not the absolute pathname, when printing out ACL info.
Jeremy Allison [Fri, 12 Sep 2008 00:32:14 +0000 (17:32 -0700)]
Use the given name, not the absolute pathname, when printing out ACL info.
Make this match the non-ACL case.
Jeremy.
(This used to be commit e695c1cc2b715afd713595e8daa77910d9f04138)

15 years agoFix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu <fumiyas@osstech...
Jeremy Allison [Thu, 11 Sep 2008 23:20:59 +0000 (16:20 -0700)]
Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu <fumiyas@osstech.co.jp>.
Fix for smbclient and libsmbclient.
Jeremy.
(This used to be commit dbd5d6b145528527a614c6207d81a6c955e57461)

15 years agoFix for bug 5571
Simo Sorce [Thu, 11 Sep 2008 13:51:39 +0000 (09:51 -0400)]
Fix for bug 5571
Make sure that usernames are parsed using the correct separator.
Otherwise group memeberships in winbind may be result broken.
(This used to be commit 20b9c0aa7b4e6d6be5bb6e4e96bd8a1cbb6edd37)

15 years agobuild: don't install the cifs.upcall binary twice.
Günther Deschner [Fri, 5 Sep 2008 12:01:45 +0000 (14:01 +0200)]
build: don't install the cifs.upcall binary twice.

Guenther
(This used to be commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b)

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

Guenther
(This used to be commit f85dcf8112137b7ad07f2b51eeca598e9c4d0ffa)

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

Guenther
(This used to be commit fd3d130d25a7c30fe003abe01fc18d8f754a466f)

15 years agonetapi: implement NetFileEnum_r.
Günther Deschner [Wed, 10 Sep 2008 08:03:48 +0000 (10:03 +0200)]
netapi: implement NetFileEnum_r.

Guenther
(This used to be commit fd66b72fd017013c83d36f5219192716eb17cacb)

15 years agonetapi: add NetFileEnum example code.
Günther Deschner [Tue, 9 Sep 2008 20:17:00 +0000 (22:17 +0200)]
netapi: add NetFileEnum example code.

Guenther
(This used to be commit 32ee2dadab5b2579d53d0ecb106f0e64063da3f7)

15 years agonetapi: add NetFileEnum to public header.
Günther Deschner [Tue, 9 Sep 2008 20:16:07 +0000 (22:16 +0200)]
netapi: add NetFileEnum to public header.

Guenther
(This used to be commit 50ce2a3d1a520bd1508110872e871c2c67e0f606)

15 years agonetapi: add NetFileEnum skeleton.
Günther Deschner [Tue, 9 Sep 2008 20:01:32 +0000 (22:01 +0200)]
netapi: add NetFileEnum skeleton.

Guenther
(This used to be commit 8113249fe3be2968257bd6a4a12153104d91132e)

15 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 19:59:36 +0000 (21:59 +0200)]
re-run make idl.

Guenther
(This used to be commit 995dea40629883ae9ac2871eeb033a168a3b4935)

15 years agonetapi: add NetFileEnum to IDL.
Günther Deschner [Tue, 9 Sep 2008 19:59:22 +0000 (21:59 +0200)]
netapi: add NetFileEnum to IDL.

Guenther
(This used to be commit 5c234a53739d74d3cc80c4409aa32238541b31d6)

15 years agonetapi: add NetFileGetInfo example code.
Günther Deschner [Tue, 9 Sep 2008 19:56:29 +0000 (21:56 +0200)]
netapi: add NetFileGetInfo example code.

Guenther
(This used to be commit 66158036423f8e875921b7ba36f048033c3e98a6)

15 years agonetapi: add NetFileGetInfo to public header.
Günther Deschner [Tue, 9 Sep 2008 19:56:04 +0000 (21:56 +0200)]
netapi: add NetFileGetInfo to public header.

Guenther
(This used to be commit 5dd017b33f7d4154966aa3633d3ef3c8b482ca62)

15 years agonetapi: implement NetFileGetInfo_r.
Günther Deschner [Tue, 9 Sep 2008 19:55:45 +0000 (21:55 +0200)]
netapi: implement NetFileGetInfo_r.

Guenther
(This used to be commit de84049bc14d5c2061cdb701fd81a7fed1546eed)

15 years agonetapi: add NetFileGetInfo skeleton.
Günther Deschner [Tue, 9 Sep 2008 17:43:02 +0000 (19:43 +0200)]
netapi: add NetFileGetInfo skeleton.

Guenther
(This used to be commit 6c61c2e35e60a7b1398533311dab5eee38eb3b09)

15 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 17:30:43 +0000 (19:30 +0200)]
re-run make idl.

Guenther
(This used to be commit e82c7481a01283f446ccf5e34261835d5b69f969)

15 years agonetapi: add IDL for NetFileGetInfo.
Günther Deschner [Tue, 9 Sep 2008 17:30:25 +0000 (19:30 +0200)]
netapi: add IDL for NetFileGetInfo.

Guenther
(This used to be commit 368b4d262a584eb0c44e19367c1f444723efce98)

15 years agonetapi: implement NetFileClose_r.
Günther Deschner [Tue, 9 Sep 2008 17:31:03 +0000 (19:31 +0200)]
netapi: implement NetFileClose_r.

Guenther
(This used to be commit 0cbbdf21ed0c9270c00a7fd08f42f6546b9ac9b8)

15 years agonetapi: add NetFileClose example code.
Günther Deschner [Tue, 9 Sep 2008 17:37:17 +0000 (19:37 +0200)]
netapi: add NetFileClose example code.

Guenther
(This used to be commit 9d6e3655346b6d1e08fd180ced9bd60ee1bc2f8f)

15 years agonetapi: add NetFileClose to public header.
Günther Deschner [Tue, 9 Sep 2008 17:37:39 +0000 (19:37 +0200)]
netapi: add NetFileClose to public header.

Guenther
(This used to be commit 502bbf00faa500765d1a9dedc1cede271c89b7d1)

15 years agonetapi: add NetFileClose skeleton.
Günther Deschner [Tue, 9 Sep 2008 17:21:48 +0000 (19:21 +0200)]
netapi: add NetFileClose skeleton.

Guenther
(This used to be commit 4a006ae644bd85b670aab835dc7d90dadaec3503)

15 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 17:20:05 +0000 (19:20 +0200)]
re-run make idl.

Guenther
(This used to be commit 74edd3e8535620cad69f8659ff52a3142217c310)

15 years agonetapi: add NetFileClose to IDL.
Günther Deschner [Tue, 9 Sep 2008 17:19:49 +0000 (19:19 +0200)]
netapi: add NetFileClose to IDL.

Guenther
(This used to be commit e48900e9029e87573bdf6aa95ecb57ef0eb3d119)

15 years agonetapi: implement NetUserGetLocalGroups_r.
Günther Deschner [Tue, 9 Sep 2008 16:44:40 +0000 (18:44 +0200)]
netapi: implement NetUserGetLocalGroups_r.

Guenther
(This used to be commit 969bc7ce3d3f266bf07784a980ea35ab458e6eae)

15 years agonetapi: add NetUserGetLocalGroups example code.
Günther Deschner [Tue, 9 Sep 2008 12:48:06 +0000 (14:48 +0200)]
netapi: add NetUserGetLocalGroups example code.

Guenther
(This used to be commit 7d05936ff455b40449fe2e5280f15c81ccc7f4d0)

15 years agonetapi: add NetUserGetLocalGroups to public header.
Günther Deschner [Tue, 9 Sep 2008 11:44:09 +0000 (13:44 +0200)]
netapi: add NetUserGetLocalGroups to public header.

Guenther
(This used to be commit 299f76f4ce9d6f617431149e2502c27faa4431aa)

15 years agonetapi: add NetUserGetLocalGroups skeleton.
Günther Deschner [Tue, 9 Sep 2008 11:42:27 +0000 (13:42 +0200)]
netapi: add NetUserGetLocalGroups skeleton.

Guenther
(This used to be commit b31209e4495de31140c57338a891569b3436d91e)

15 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 11:40:39 +0000 (13:40 +0200)]
re-run make idl.

Guenther
(This used to be commit 3c07bcfb30ae5bb849291a5ca61b54798f14ee0a)

15 years agonetapi: add NetUserGetLocalGroups to IDL.
Günther Deschner [Tue, 9 Sep 2008 11:40:18 +0000 (13:40 +0200)]
netapi: add NetUserGetLocalGroups to IDL.

Guenther
(This used to be commit 4f13450c6a27a329131a6027fc31fd627f2e61fa)

15 years agonetapi: fix group_getusers example.
Günther Deschner [Mon, 8 Sep 2008 14:43:06 +0000 (16:43 +0200)]
netapi: fix group_getusers example.

Guenther
(This used to be commit a977e18a669a220fd3f98161ced5bebd642e628b)

15 years agonetapi: implement NetGroupGetUsers_r.
Günther Deschner [Mon, 8 Sep 2008 14:42:38 +0000 (16:42 +0200)]
netapi: implement NetGroupGetUsers_r.

Guenther
(This used to be commit 7b77dacde5f667d36868a2a8474cf719d9cce331)

15 years agonetapi: implement NetGroupSetUsers_r.
Günther Deschner [Tue, 9 Sep 2008 11:17:22 +0000 (13:17 +0200)]
netapi: implement NetGroupSetUsers_r.

Guenther
(This used to be commit 0ba0ffdb3023cd0bb6aa5c479309c871ff15ed0c)

15 years agonetapi: add example code for NetGroupSetUsers.
Günther Deschner [Fri, 5 Sep 2008 15:05:49 +0000 (17:05 +0200)]
netapi: add example code for NetGroupSetUsers.

Guenther
(This used to be commit dc7994195c9e34d85db8c9406edaa704027ab47f)

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

Guenther
(This used to be commit 72a0b27aecc9113445dd03bdcd549ac50dd988aa)

15 years agonetapi: add skeleton for NetGroupSetUsers.
Günther Deschner [Mon, 8 Sep 2008 08:21:17 +0000 (10:21 +0200)]
netapi: add skeleton for NetGroupSetUsers.

Guenther
(This used to be commit 4d92d000a1676d2da45e8113ade60250c6c7eebe)

15 years agore-run make idl.
Günther Deschner [Fri, 5 Sep 2008 15:00:41 +0000 (17:00 +0200)]
re-run make idl.

Guenther
(This used to be commit 00af97de407e2c0447714095340bd9494cc53b0f)

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

Guenther
(This used to be commit 5040f6af41250220c5ccf1cbdc206c4b6e7025a5)

15 years agonetapi: implement NetUserSetGroups_r.
Günther Deschner [Mon, 8 Sep 2008 17:10:00 +0000 (19:10 +0200)]
netapi: implement NetUserSetGroups_r.

Guenther
(This used to be commit 2ddee7577de1d6d2b7a39b949ed6a925da2e9db8)

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 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 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 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 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 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 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 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 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)