1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

47649 Commits

Author SHA1 Message Date
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
Andrew Bartlett
ffc9f85bfb 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)
2008-09-09 18:02:05 +10: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
Andrew Bartlett
e7cc705efb 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)
2008-09-09 16:21:22 +10:00
Jeremy Allison
2c2a79eefa Make it easier to see when tests start/end.
Jeremy.
(This used to be commit 6f89e728272ca14f0ed9557485e21647c0731ef2)
2008-09-08 14:58:58 -07: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
Stefan Metzmacher
ad34034797 BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite truncate and writeX again
metze
(This used to be commit 66b8c8d80e1c8e45ab6ca38cabebea07aa122c40)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
f009e78864 BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and SMBwrite again
metze
(This used to be commit 051164ba0a69d54aa706ffa876059e8dbbeacb36)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
1cf9d7e078 BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write time after SET_FILE_INFO
metze
(This used to be commit f81014db9d5afbf9e0b1c007bc56fc1d3a201309)
2008-09-08 16:22:53 +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
Michael Adam
d4f87ed3b7 packaging(RHEL-CTDB): introduce variable TOPDIR
Michael
(cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7)
(This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)
2008-09-08 14:43:38 +02:00
Michael Adam
a38b80fb06 packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR
Michael
(cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc)
(This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)
2008-09-08 14:43:38 +02:00
Michael Adam
a9f162d9ec packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR
Michael
(cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c)
(This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)
2008-09-08 14:43:37 +02:00
Stefan Metzmacher
a626b01193 BASE-DELAYWRITE: demonstrate that the time between the open and the first write doesn't matter
metze
(This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)
2008-09-08 12:12:25 +02:00
Günther Deschner
7089c800c1 netapi: expand NetUser testsuite a little.
Guenther
(This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)
2008-09-08 10:18:27 +02:00
Günther Deschner
c01d0c0bdf netapi: add NetShare testsuite.
Guenther
(This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)
2008-09-08 10:17:48 +02:00
Günther Deschner
c464969b64 net: use NETSETUP flags consistently.
Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-08 10:17:21 +02:00
Günther Deschner
a828a644d0 netapi: re-arrange a little NetLocalGroupSetMembers example code.
Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)
2008-09-08 10:17:06 +02:00
Günther Deschner
9194109e6c netapi: fix NetShareGetInfo example output.
Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)
2008-09-08 10:16:48 +02:00
Stefan Metzmacher
3ca48b015f BASE-DELAYWRITE: test more details of the truncate write time update behavior
metze
(This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)
2008-09-08 08:31:34 +02:00
Andrew Bartlett
ef9169bfa6 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)
2008-09-08 15:09:06 +10:00
Oliver Liebel
b76f383eef 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)
2008-09-08 14:39:54 +10:00
Andrew Bartlett
a33eaf564f Add definition for SYSTEM_FLAG_ATTR_IS_RDN
(This used to be commit 36f727c4a73ffc8634692b0c5645343cb414de93)
2008-09-08 14:33:05 +10:00
Andrew Bartlett
171986aea2 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)
2008-09-08 14:18:04 +10:00
Andrew Bartlett
3eb6f79a02 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into trusted-domains
(This used to be commit a057c3ed9df2670e5cad5f1807e280d77eb58cb0)
2008-09-08 12:54:13 +10:00
Andrew Bartlett
dadd59ba40 Simplfy SetSecrets behaviour in line with RPC-LSA and Win2008.
(This used to be commit 07cb8db799cc22685af4bb63285fa10115790ce1)
2008-09-08 12:46:04 +10:00
Andrew Bartlett
c222f8196a 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)
2008-09-08 11:10:24 +10:00
Andrew Bartlett
4c386ce366 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)
2008-09-08 11:09:02 +10:00
Andrew Bartlett
b3cee235f5 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)
2008-09-08 10:55:34 +10:00
Stefan Metzmacher
1efff73068 ndr_compression: add XPRESS compression support
metze
(This used to be commit 1432a96d37e367d9d97d48b69c6f16351a9ad066)
2008-09-07 19:20:41 +02:00
Matthieu Suiche
008c9a6887 lzxpress: Import of lzxpress compression
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit fd84c5a08f7e8d6402e5f68eede546eb092d22aa)
2008-09-07 19:19:24 +02:00
Stefan Metzmacher
6e0335f864 ndr_compression: fix the build after lzxpress_decompress() prototype change
metze
(This used to be commit b36056aac3f55587d2b3e7b66feea8173dbc67f0)
2008-09-07 19:18:48 +02:00
Matthieu Suiche
1825077840 lzxpress: fix for decompression...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit ee505df3742dac0af8eec8b9b27d1e1f5ef54ca9)
2008-09-07 19:18:17 +02:00
Simo Sorce
14965b7260 Always free tmp contexts before returning
(This used to be commit 40b71bbd718f6dee70c0611e527f55c56623dea6)
2008-09-06 12:33:27 -04:00