1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

10423 Commits

Author SHA1 Message Date
Jelmer Vernooij
9523e42a26 r18750: Disable not updating the last-modifification-time of proto headers because this was confusing make.
(This used to be commit 4f5987e77f)
2007-10-10 14:19:07 -05:00
Jelmer Vernooij
8524a6f5c9 r18749: Disable automatic dependencies by default (use --enable-automatic-dependencies to reenable).
(This used to be commit 5506c40487)
2007-10-10 14:19:06 -05:00
Günther Deschner
4de1fbfde8 r18746: Fix the build.
Guenther
(This used to be commit 34cff06e25)
2007-10-10 14:19:06 -05:00
Günther Deschner
8c8240c677 r18743: Mention share name in error output.
Guenther
(This used to be commit 18505ce283)
2007-10-10 14:19:06 -05:00
Günther Deschner
5915254bdf r18741: test dfs_Enum and dfs_EnumEx in the torture test.
Guenther
(This used to be commit de5fe8350d)
2007-10-10 14:19:06 -05:00
Simo Sorce
fec00fd6f8 r18740: Some more work around srvsvc
(This used to be commit be2f4a2c44)
2007-10-10 14:19:06 -05:00
Günther Deschner
345863915f r18738: Fill in dfs_VolumeState.
Hm, wondering if there is a better way to let that be composed out of
one dfs_VolumeFlavor flag and one dfs_VolumeState flag.

Guenther
(This used to be commit 152fcddebc)
2007-10-10 14:19:05 -05:00
Günther Deschner
f5a5cb6a1f r18737: Fill in the documented dfs_Target_PriorityClass.
Guenther
(This used to be commit d2805754a2)
2007-10-10 14:19:05 -05:00
Günther Deschner
386f72bcfd r18736: Fill in the dfs_PropertyFlags (verified with dfsutil.exe).
Guenther
(This used to be commit f402f98988)
2007-10-10 14:19:05 -05:00
Günther Deschner
ba87f3ee68 r18735: Fill in dfs_StorageState.
Guenther
(This used to be commit 4b767d6eef)
2007-10-10 14:19:05 -05:00
Günther Deschner
218a4ca176 r18734: Add flag to distinguish a standalone from a domain based DFS root.
Guenther
(This used to be commit 5d9941acdb)
2007-10-10 14:19:05 -05:00
Günther Deschner
9ee940e877 r18733: More work on DFS idl. Start to add new infolevels (as of w2k3 sp1).
Guenther
(This used to be commit d4e5d80c1d)
2007-10-10 14:19:04 -05:00
Jelmer Vernooij
22f5fed6a6 r18723: Update list of provided macros/defines in README.
(This used to be commit 5e951bdeec)
2007-10-10 14:19:04 -05:00
Jelmer Vernooij
324a779167 r18721: Fix base and samba3sam EJS tests to work without installation.
(This used to be commit d062e10166)
2007-10-10 14:19:04 -05:00
Andrew Tridgell
f4c49e8ef2 r18716: put in a commented out useful hack for some RPC servers
(This used to be commit fcf6d82719)
2007-10-10 14:19:04 -05:00
Andrew Tridgell
19f9b91d28 r18715: 0x8 style status returns should also fail here (thanks metze)
(This used to be commit f55de25ab3)
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
fd511d47e9 r18708: much nicer fix
metze
(This used to be commit 8999a9eb2e)
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
72838feaf6 r18706: fix whitespaces
metze
(This used to be commit e4f34c2030)
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
e1b77f87ef r18704: readd BOOL define to fix the build
but I think this is the wrong fix...

metze
(This used to be commit 018b142d93)
2007-10-10 14:19:03 -05:00
Jelmer Vernooij
d094a421d3 r18696: Zero initialize ref ptrs.
(This used to be commit 8de48f62e7)
2007-10-10 14:19:03 -05:00
Jelmer Vernooij
b9785235b4 r18693: Print debug info when DEBUGLEVEL >= 10 in the Samba3 code.
(This used to be commit d28ae3f70a)
2007-10-10 14:19:02 -05:00
Rafal Szczesniak
4818a6474c r18691: Forgot to add copyright info.
rafal
(This used to be commit 1289d419a8)
2007-10-10 14:19:02 -05:00
Jelmer Vernooij
1463ca1d2b r18689: Initialize r.out in the server side code, in case the handler function
doesn't touch them.
(This used to be commit 2ac2c7ca60)
2007-10-10 14:19:02 -05:00
Volker Lendecke
000698d643 r18686: Fix typo protocl->protocol
(This used to be commit 14b88fefa0)
2007-10-10 14:19:02 -05:00
Stefan Metzmacher
1be714b287 r18685: we don't need this here
metze
(This used to be commit cc729e646c)
2007-10-10 14:19:02 -05:00
Rafal Szczesniak
a76d3734ae r18683: NET-USERMOD test changed to be able to perform multiple simultaneous
changes.

Also, some common definitions for user mod tests have been put into
a separate file.

rafal
(This used to be commit 0040c08748)
2007-10-10 14:19:01 -05:00
Rafal Szczesniak
3394bb23fd r18682: a bit of a change in setfield function.
one more change to do...

rafal
(This used to be commit 43b550c83b)
2007-10-10 14:19:01 -05:00
Simo Sorce
2f98c1916d r18676: Don't mix ShareInfo and ShareCtr definitions,
this makes a much more readable include file
(This used to be commit e3b157af9f)
2007-10-10 14:19:01 -05:00
Stefan Metzmacher
0780eb7f82 r18675: merge from samba3:
we need to define the macros the indicate we have bool
even if we have not defining bool ourself

metze
(This used to be commit 0c18e5d938)
2007-10-10 14:19:01 -05:00
Stefan Metzmacher
550495b6f9 r18674: merge from samba3,
PRINTF_ATTRIBUTE seems to not work with gcc 3.0

metze
(This used to be commit dfb9bfba94)
2007-10-10 14:19:01 -05:00
Stefan Metzmacher
906a74040a r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...

metze
(This used to be commit 35da9e4f4f)
2007-10-10 14:19:00 -05:00
Volker Lendecke
4209af5a84 r18661: C++ warnings
(This used to be commit 771d30ca0c)
2007-10-10 14:19:00 -05:00
Rafal Szczesniak
07fb9f2f04 r18658: make the test change fields sequentially each one in turn.
now to multiple changes...

rafal
(This used to be commit 6df2c04e03)
2007-10-10 14:19:00 -05:00
Rafal Szczesniak
1ba24e8680 r18657: handle the case where rpc call went fine, but the result
not necessariy did.

rafal
(This used to be commit 69c379cc63)
2007-10-10 14:19:00 -05:00
Rafal Szczesniak
e0da0acac0 r18656: fix stupid mistake causing segfaults in torture test
and also add one more field to be set.

rafal
(This used to be commit e2621d0063)
2007-10-10 14:19:00 -05:00
Rafal Szczesniak
602b604599 r18655: add more fields and better handle the error case where fields
setting routine don't know how to do that (and user info level
is invalid).

rafal
(This used to be commit a7564931a7)
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd)
2007-10-10 14:18:59 -05:00
Günther Deschner
a27d4335f2 r18637: Fix the build. Sorry,
Guenther
(This used to be commit d6cc668a6c)
2007-10-10 14:18:59 -05:00
Günther Deschner
8153859fb4 r18636: Excessive testing with pam_winbind within Samba3 revealed a new samr
reject reason code while password changing: SAMR_REJECT_IN_HISTORY which
is different from SAMR_REJECT_COMPLEXITY.

torture test to follow as well.

Guenther
(This used to be commit 7513748208)
2007-10-10 14:18:59 -05:00
Günther Deschner
d8df6d1a81 r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags.

Guenther
(This used to be commit ed02c1afc8)
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
219490ea6e r18634: Turn flags field into a bitmap.
(This used to be commit add8a8f6cf)
2007-10-10 14:18:58 -05:00
Günther Deschner
f3fd73ed52 r18633: Add a couple of new WERR codes encountered with dfs torture testing.
Guenther
(This used to be commit e2879f6fc2)
2007-10-10 14:18:58 -05:00
Rafal Szczesniak
1eebe9cbe5 r18631: correct unintentional commit.
rafal
(This used to be commit c68ec9109e)
2007-10-10 14:18:58 -05:00
Günther Deschner
c8f51bced0 r18630: Better way to display ref-pointers with [print]. Thanks to metze for
pointing this out.

Guenther
(This used to be commit 246ab59705)
2007-10-10 14:18:58 -05:00
Günther Deschner
248768d0ad r18629: There is no such "unknown" pointer in dfs_Enum().
Guenther
(This used to be commit c5b49d111e)
2007-10-10 14:18:58 -05:00
Günther Deschner
43a3eaaf4c r18628: dfs_EnumEx() also takes a ref pointer.
Guenther
(This used to be commit 69e2850caf)
2007-10-10 14:18:57 -05:00
Günther Deschner
49e073694c r18627: only cosmetic reformat, no functional changes.
Guenther
(This used to be commit fe90f29b86)
2007-10-10 14:18:57 -05:00
Rafal Szczesniak
d9f0b24cb7 r18626: fix cleanup function to safely recover after interrupted test
and add one requested field in to the function creating testing
set of changes for user modify routine.

rafal
(This used to be commit f6d4f356b3)
2007-10-10 14:18:57 -05:00
Günther Deschner
afa7c10fe8 r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther
(This used to be commit 3e42ccc609)
2007-10-10 14:18:57 -05:00
Günther Deschner
18dcabaae0 r18624: path is a ref pointer in dfs_GetInfo().
torture test to follow.

Guenther
(This used to be commit bfaeef7563)
2007-10-10 14:18:57 -05:00
Rafal Szczesniak
2ccef5554f r18615: add more time fields and fix a silly mistake.
rafal
(This used to be commit 06e0c5d166)
2007-10-10 14:18:56 -05:00
Rafal Szczesniak
d630105b56 r18614: a bit of work done while on the plane.
a new function converting NTTIME to struct timeval

rafal
(This used to be commit e9ebbb8661)
2007-10-10 14:18:56 -05:00
Günther Deschner
57cd2235fa r18611: Do not return NT_STATUS_OK when libnet_Add|DelShare has failed.
Guenther
(This used to be commit 1709ad741b)
2007-10-10 14:18:56 -05:00
Günther Deschner
28c9c212bc r18610: Fix typo.
Guenther
(This used to be commit 759914a07e)
2007-10-10 14:18:56 -05:00
Günther Deschner
e7ede84c33 r18609: error_string should not contain newlines.
Guenther
(This used to be commit 5566667564)
2007-10-10 14:18:56 -05:00
Stefan Metzmacher
6e47a2bb75 r18607: remove unused structure element
rafal: is there a reason why we don't use libnet_AddShare() in the torture test?

metze
(This used to be commit 070a98379a)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
69eed6a4ba r18604: fixed shell syntax
(This used to be commit 61104953c8)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
1188fa1a18 r18602: updated web page for new ldb build method
(This used to be commit 36c35262f2)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
f96b8c5391 r18601: updated web page for new talloc build method
(This used to be commit fbd8028080)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
e84ee4a6fd r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
(This used to be commit 13878b7e7e)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
e7b9aeb883 r18599: the netr_CryptPassword structure needs to use a uint8, as the data is
passed to acrfour, and that assumes a byte buffer. This caused us to
fail big endian boxes (or more specifically, to be incompatible with
little endian boxes)
(This used to be commit a44f2eda1e)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
ee528dc0f2 r18596: removed superfluous semicolon
(This used to be commit 4f3628dea6)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
db6dcaae16 r18595: try an experiment of adding a RPC test into the windows testing
framework

Brad, I know this is a bit hackish. We really need a "testit" like
function like in test_functions.sh
(This used to be commit 7120fbffa5)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
550834c9df r18594: fail the configure step if the required library is not found for tdb,
talloc or libreplace
(This used to be commit 9f45f970f7)
2007-10-10 14:18:54 -05:00
Stefan Metzmacher
4a854fe809 r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.

metze
(This used to be commit 26228e4b2e)
2007-10-10 14:18:54 -05:00
Stefan Metzmacher
5d6a38004a r18592: we don't need this twice
metze
(This used to be commit e9fe725cf4)
2007-10-10 14:18:53 -05:00
Simo Sorce
9dd6cac44a r18591: Better defaults for share creation
Fix logic error in paged_results
(This used to be commit 34ce1f8e1b)
2007-10-10 14:18:53 -05:00
Simo Sorce
c4d45aac9d r18590: Some more work on the srvsvc pipe
(This used to be commit 2c035787d4)
2007-10-10 14:18:53 -05:00
Andrew Tridgell
3c76ac114d r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.
(This used to be commit ac71f40f8f)
2007-10-10 14:18:53 -05:00
Andrew Tridgell
401f107e0c r18588: save one more character in the socket wrapper path - seems it still
was occasionally too long for IRIX 6.4
(This used to be commit f6b65fd631)
2007-10-10 14:18:53 -05:00
Andrew Tridgell
e13715774c r18587: fixed a potential memory leak in libnet
(This used to be commit 935f6f34cf)
2007-10-10 14:18:52 -05:00
Andrew Tridgell
3d6cdc9e97 r18586: fixed a potential fd and memory leak in the socket_wrapper code
(This used to be commit 6d53f2f5bc)
2007-10-10 14:18:52 -05:00
Andrew Tridgell
9bda2c3ff2 r18585: 50 open searches is still too many for some of the build farm hosts,
which have a ulimit -n of 100. Drop the number of searches to 20.

That should limit the maximum total fd count to about 76, most of
which is all the listening sockets on the various interfaces
(This used to be commit fb5b8c4f8c)
2007-10-10 14:18:52 -05:00
Andrew Tridgell
655b710204 r18584: found one of the fd leaks. The registry backend was using a
talloc(NULL, xxx) to allocate the registry context. That had two
consequences

1) it was a massive memory leak, as all winreg operations leaked their
   entire context (including an open ldb database) every time

2) event_context_find() never found the exsting event context, so we
   used a new event context each time, which called epoll_create()
   each time, which caused a fd to be allocated
(This used to be commit 1c0a3de398)
2007-10-10 14:18:52 -05:00
Andrew Tridgell
d01bbe6842 r18583: a nasty hack to allow me to monitor the number of open file
descriptors in smbd on all build farm machines. I suspect we have a fd
leak somewhere, but its hard to track down.

I know part of the problem is the number of (fake) network interfaces
we define in the build farm tests, with each of them listening on a
whole bunch of different protocol ports. That chews up around 48 file
descriptors just to startup. I don't think thats the real problem
though, and I suspect something else is leaking file descriptors on
some hosts.
(This used to be commit 83bf458ec9)
2007-10-10 14:18:51 -05:00
Andrew Tridgell
481ebe7fd6 r18582: disable synchronous ldb in the build farm. Some hosts have very slow
filesystems and the tests are taking more than 1.5 hours. We will
still be testing the sync code paths, as the ldb tests still run
synchronous, but doing all of our other tests synchronously just costs
too much time.
(This used to be commit ce2baf7385)
2007-10-10 14:18:51 -05:00
Andrew Tridgell
c5e67b8555 r18581: also check for SEC_STD_DELETE, and split out the check into a separate
static function
(This used to be commit 024ca6a91c)
2007-10-10 14:18:51 -05:00
Andrew Tridgell
9c53e14602 r18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
NT_STATUS_ACCESS_DENIED in the access mask checks
(This used to be commit ceffc34f3e)
2007-10-10 14:18:51 -05:00
Andrew Tridgell
7c017f9015 r18579: fixed boolean parameters on big endian hosts which have
sizeof(BOOL) != sizeof(int)

this broke with the conversion to a real BOOL type
(This used to be commit 75dab73ac6)
2007-10-10 14:18:50 -05:00
Andrew Tridgell
61939ce118 r18578: steve, I think you may have forgotten to commit test_cifsposix.sh ?
(This used to be commit fea75d2c97)
2007-10-10 14:18:50 -05:00
Andrew Tridgell
768af9b576 r18577: reduce the number of tests run in 'make quicktest' again, so it
completes in a minute on my laptop (the benchmark I usually use).

Simo, I removed th ldb tests, as ldb is pretty well tested by lots of
the other tests, and its a pretty slow test. We could instead add a
"ldb-testquick.sh" which does only minimal testing. The full tests
will of course be run with 'make test' and in the build farm.
(This used to be commit 3cee6a7863)
2007-10-10 14:18:50 -05:00
Andrew Tridgell
158764412e r18576: unfortunately our current build farm results are a bit too good!
when I changed the test output to be easier to read, I also broke it
so that it always gives a zero exit status. Fix now, and unfortunately
I expect to see some more red in the farm as a result :(
(This used to be commit c2fc347102)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
ba4115ece7 r18575: - use the right variable to teststatus
- don't display the "(NN tests failed so far)" message unless a test
  has failed
(This used to be commit da37e963ce)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
818b01f177 r18574: re-enable the echo pipe in smbscript. I suspect disabling this was an
accidental part of commit in the recent echo.idl changes (in r18565)
(This used to be commit 5e143267d7)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
d6c128fb4c r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
has failed. The output was too subtle for people who aren't used to
it.
(This used to be commit a57decb96a)
2007-10-10 14:18:48 -05:00
Steve French
1ce5df6c72 r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them
(This used to be commit 64062d16a2)
2007-10-10 14:18:48 -05:00
Andrew Tridgell
dc70a6b4e7 r18569: add really simple testing of the 'simple' ntvfs backend, so we know
when it breaks. It isn't much good as a template for developers to use
unless it works :-)
(This used to be commit 262bee07dc)
2007-10-10 14:18:48 -05:00
Andrew Tridgell
ee1d645881 r18568: this warning is not needed now that it is the job of the unixuid ntvfs
module to handle euid
(This used to be commit 6784058923)
2007-10-10 14:18:48 -05:00
Andrew Tridgell
48f3449969 r18567: fixed the winreg js code for the new names of the fields in winreg.idl
When changing a field name in idl, please remember to check for use of
those functions in any js code as well.
(This used to be commit 7005806aa6)
2007-10-10 14:18:47 -05:00
Andrew Tridgell
6adb5717f5 r18566: fixed the winreg pipe and winreg tests
Jerry, there is a big difference on the wire between these two:

  [out] uint32 x;
and
  [out] uint32 *x;

if you change from

  [out] uint32 x;

then you need to change to:

  [out,ref] uint32 *x;

otherwise it changes the format on the wire, which means we are no
longer compatible with MS servers.

but be aware that even if you change to a ref ptr, you also need to
change all the client code to set all the return variables in the out
part of the structure. That's why I don't like the MIDL restriction of
forcing the use of ref pointers for output variables - it makes life
much harder when writing client code, and makes the code much more
error prone (just look at all the extra code needed to make this work
again).

I know we could auto-allocate these variables in the generated client
side NDR code, but if we did that then we would have no way of doing a
_real_ ref out pointer, which we really wanted to set to some already
allocated variable.

So please hold off on changing our idl to use the MIDL convention for
output variables until Jelmer and I have had a good "chat" about this :-)
(This used to be commit 555aed43ba)
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
d9b4bdd5bb r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
(This used to be commit ab0a798c57)
2007-10-10 14:18:47 -05:00
Steve French
db0fdcf6ce r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it
(This used to be commit 57f5695717)
2007-10-10 14:18:47 -05:00
Andrew Tridgell
6e3b94d3bc r18563: - move more of the header checks into lib/replace/
- change the test for net/if.h to do a full compile, not just an
  existance test. net/if.h is completely broken on hpux, and can never
  compile (it uses stuff before it defines it), so by using a
  AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should
  fix the build
(This used to be commit bde18f3d5c)
2007-10-10 14:18:46 -05:00
Gerald Carter
dce0c9e4fd r18561: Fix [out] pointers in winreg IDL
(This used to be commit 694677dafe)
2007-10-10 14:18:46 -05:00
Jelmer Vernooij
291c5ed53c r18559: [string] always applies to the last pointer
(This used to be commit 86b4624226)
2007-10-10 14:18:46 -05:00
Simo Sorce
fa257e78b5 r18558: Fix ShareCheck which was assuming all paths are "C:\"
Also cope with the fact that we define the FSTYPE as NTFS by default.
We never use this anywhere else, so we may just change it, but just
detect the fact and return DISK in share_classic for now.
(This used to be commit 4daf5f7764)
2007-10-10 14:18:46 -05:00
Stefan Metzmacher
0305907e42 r18555: use C:\ as default not C:
metze
(This used to be commit d9137edbdb)
2007-10-10 14:18:45 -05:00
Jelmer Vernooij
3e7cff6c00 r18554: Fix warnings about [out] arguments.
(This used to be commit caac6cf817)
2007-10-10 14:18:45 -05:00
Stefan Metzmacher
45e566b7cc r18553: - confdefs.h is always included in configure checks no need to include them explicit
- undefine _XOPEN_SOURCE_EXTENDED for the AIX interface detection test
  #define _XOPEN_SOURCE_EXTENDED 1 brings in sa_len to sockaddr on Tru64
  which means the AIX code compiles...

metze
(This used to be commit 04a0a5144a)
2007-10-10 14:18:45 -05:00
Simo Sorce
ab188e02af r18550: Return a path not just a disk drive
(This used to be commit 60076fa87d)
2007-10-10 14:18:45 -05:00