1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

30222 Commits

Author SHA1 Message Date
Günther Deschner
35c96827b4 netapi: make add_GROUP_USERS_INFO_X_buffer non-static.
Guenther
(This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)
2008-09-11 14:28:19 +02:00
Günther Deschner
93eb9860c6 netapi: fix NetShareEnum_r.
Guenther
(This used to be commit 7e8903b53beba3ad1bb8617ed435249257724be3)
2008-09-11 14:25:02 +02:00
Günther Deschner
07585d9fb7 netapi: fix NetShareGetInfo_r.
Guenther
(This used to be commit b42408f54ea61ad47f5a33085ab1532c67ceee83)
2008-09-11 14:24:53 +02:00
Günther Deschner
a780ed8970 net: use netapi for NetShareEnum.
Guenther
(This used to be commit f4cb75b1e2b030055b9c566f941277286095b8a7)
2008-09-11 14:21:48 +02:00
Günther Deschner
d323e48abe netapi: fix NetShareEnum_r which in fact enumerates all shares.
Guenther
(This used to be commit 0637ad872e5d30f71b6ea1ec2d243ec8e8836c31)
2008-09-11 14:21:40 +02:00
Günther Deschner
1a32fbeb86 netapi: fix doxygen warning.
Guenther
(This used to be commit e0312728a5ac5abd64622600f47967861a4e0183)
2008-09-11 14:21:11 +02:00
Jeremy Allison
5f3160ce27 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)
2008-09-10 16:22:51 -07:00
Jeremy Allison
272134b759 Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit a03b0dde01e4cebe07a65af3943d178dbdeda276)
2008-09-10 14:57:52 -07:00
Jeremy Allison
cb40b1ae83 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)
2008-09-10 14:54:25 -07:00
Michael Adam
b4c708cb94 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)
2008-09-10 23:24:21 +02:00
Jeremy Allison
3978317af0 Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.
Jeremy.
(This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)
2008-09-10 10:18:02 -07:00
Kai Blin
5b54781e1c 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)
2008-09-10 12:05:18 +02:00
Volker Lendecke
40b93006c1 Fix some bogus compiler warnings
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
2008-09-10 11:57:10 +02:00
Volker Lendecke
a1d0f59f46 Fix make test on sparc and possibly also on AIX
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
2008-09-09 22:23:05 +02:00
Jelmer Vernooij
c82f268a1c Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit c3d1b0097590566417bda3fa33a64e994c9c7526)
2008-09-09 19:27:00 +02:00
Jelmer Vernooij
372ecdfde3 Stop ignoring .svn directories when creating tags, since we no longer use
svn.
(This used to be commit 151c78652a89146049a134f60aef509c2117c436)
2008-09-09 19:05:48 +02:00
Jelmer Vernooij
66060a0ba7 Rename object variables to avoid clashes with Samba 4.
(This used to be commit c77758de5d6df28abaffe3f8a1d7b5cbc615605e)
2008-09-09 19:03:49 +02:00
Volker Lendecke
7965249bd6 Convert cli_query_secdesc to the async trans call
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
2008-09-09 17:37:34 +02:00
Volker Lendecke
bb2a7183b9 Convert cli_qfileinfo to the async trans call
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
2008-09-09 17:37:34 +02:00
Volker Lendecke
c81b5fd440 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)
2008-09-09 17:37:34 +02:00
Volker Lendecke
0b31c97e82 Add some debug to reply_nttrans
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)
2008-09-09 17:37:34 +02:00
Volker Lendecke
2a93452994 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)
2008-09-09 17:37:34 +02:00
Volker Lendecke
6ba8c105c5 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)
2008-09-09 17:37:34 +02:00
Volker Lendecke
6344b8ec27 make smb_bytes_push_str public
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-09 17:37:34 +02:00
Volker Lendecke
ce47a2b2e3 Add a utility function to append a DATA_BLOB to a talloc object
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)
2008-09-09 17:37:34 +02:00
Michael Adam
6061b3fa64 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)
2008-09-09 10:57:27 +02:00
Michael Adam
8b2ae3ec2b packaging(RHEL): use ccache if available
Michael
(This used to be commit e8abbfabde3da0844ffb4e2507084c139a70d503)
2008-09-09 10:53:27 +02:00
Michael Adam
c7a8ab2ad4 packaging(RHEL): add ldbtools binaries and man pages to common package
Michael
(This used to be commit 206985dfda5a9f62df975629046b00a88ec666f5)
2008-09-09 10:53:27 +02:00
Michael Adam
db5e4a3505 packaging(RHEL): add cifs.upcall binary and manpage to client package
Michael
(This used to be commit f1b80bcb58b8aa5c586835dc201ce674b3417835)
2008-09-09 10:53:27 +02:00
Michael Adam
d2732bf628 packaging(RHEL): fix installation of pam modules.
Michael
(This used to be commit 0f045f18ebaa752b9d906afc64fd5badb3bf352c)
2008-09-09 10:53:27 +02:00
Michael Adam
a289a65140 packaging(RHEL): remove leftovers of smbmount from SPEC file.
Michael
(This used to be commit 041875c64daba3d185b1954eb0eb9a21b2f41ee1)
2008-09-09 10:53:27 +02:00
Michael Adam
38b3b031a4 packaging(RHEL): add new libs (talloc, tdb, ...) to the common package
Michael
(This used to be commit f23183bbec55faf2d6496e04e73f8dd415a08d1c)
2008-09-09 10:53:27 +02:00
Michael Adam
47bb0ca88d 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)
2008-09-09 10:53:26 +02:00
Michael Adam
e1ec833770 packaging(RHEL): fix libdir installation by using _libarch/_libarchdir
Michael
(This used to be commit 829f83c27ad03e4d2a7b5dc0b0459823fa4f3804)
2008-09-09 10:53:26 +02:00
Michael Adam
1db0255b80 packaging(RHEL): remove libmsrpc stuff which is no more...
Michael
(This used to be commit 3eaa33e9df6d58ef93f13a840b38a063649fffbc)
2008-09-09 10:53:26 +02:00
Michael Adam
4b93a7fe29 packaging(RHEL): remove duplicate installation of pam_smbpass.so
Michael
(This used to be commit cdc24fbb195b1a5460c05fcd20d7ba81ad69ef22)
2008-09-09 10:53:26 +02:00
Michael Adam
e8d02269f2 packaging(RHEL): remove smbmount related stuff from spec file
Michael
(This used to be commit 4420cf6199e3c718a3dea84fe814d6ad6e83c2d8)
2008-09-09 10:53:26 +02:00
Michael Adam
7f19252030 packaging(RHEL): don't make proto for samba 3.3
Michael
(This used to be commit 75c28699496d843e21eefef564c72023b24975a1)
2008-09-09 10:53:26 +02:00
Michael Adam
349f98d174 packaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir
Michael
(This used to be commit dc6625637fb9de7d64d4416a1eb43f214590d393)
2008-09-09 10:53:26 +02:00
Michael Adam
21f927d26f packaging(RHEL): fix version of GPL (2 --> 3)
Michael
(This used to be commit c015e8e0cf4131f21305451943df13b81f51ea6a)
2008-09-09 10:53:25 +02:00
Volker Lendecke
7fafa9756a Fix a memleak in cli_qfilename (only used in smbtorture)
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
2008-09-09 09:54:36 +02:00
Volker Lendecke
d39e9e05ed 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)
2008-09-08 23:32:22 +02:00
Volker Lendecke
d4b41079cb When setting an NFSv4 ACL, map generic bits
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
2008-09-08 16:53:54 +02:00
Volker Lendecke
95b366d8e1 Thanks metze for pointing out the missing extern :-)
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)
2008-09-08 16:40:09 +02:00
Stefan Metzmacher
c9fb96146c 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)
2008-09-08 16:25:41 +02:00
Volker Lendecke
ae02be5287 Remove some duplicate code
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)
2008-09-08 16:01:19 +02:00
Michael Adam
fcc7239e23 packaging(RHEL-CTDB): add fix for versions containing "-" signs.
Michael
(cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b)
(This used to be commit 4bebce268a430a537215b46947e37a8b0225e49d)
2008-09-08 14:43:39 +02:00
Michael Adam
44dd82b9c6 packaging(RHEL-CTDB): extend and slightly reformat comment header block
Michael
(cherry picked from commit 1bfc8cc575cd84f24ceb6f6c5d13c9171c0895a5)
(This used to be commit 5354e420677eacd62a5297bc38d62cd6b53642b5)
2008-09-08 14:43:39 +02:00
Michael Adam
8f9ddcfdf8 packaging(RHEL-CTDB): unify and extend (C) header
Michael
(cherry picked from commit e051c1cbf7a993e3885c4a515e516da3574a1f57)
(This used to be commit 68ec025d06058bcd1c7050ee5d8f7232a3eb901a)
2008-09-08 14:43:38 +02:00
Michael Adam
ebef5a8947 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)
2008-09-08 14:43:38 +02:00