1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

1969 Commits

Author SHA1 Message Date
Andrew Bartlett
988d65c5d1 r2506: Add more printf attributes for format checking.
Andrew Bartlett
(This used to be commit 1640272dc36a0cb5bc8e647d06c7cee46022f077)
2007-10-10 12:58:59 -05:00
Andrew Bartlett
f9d4bd1868 r2505: Remove unused function. If/when we implement plaintext authenticaton
in Samba4, I want to redo this.

Andrew Bartlett
(This used to be commit 139cc702ac7ce0c6e3bfdfe37199299cc1bc53c2)
2007-10-10 12:58:59 -05:00
Andrew Bartlett
6dcdf1df56 r2504: Add printf attribute, for format argument checking.
Andrew Bartlett
(This used to be commit 543401990aa9eb650cb93fa6cb60d2a0adf7b274)
2007-10-10 12:58:59 -05:00
Andrew Tridgell
dd7862cb6a r2503: the RAW-SEARCH test now mostly passes against the posix backend
(This used to be commit 9710f24b1fd103d5656c9585cdfed96449cf9f97)
2007-10-10 12:58:59 -05:00
Tim Potter
c9d96e9c44 r2502: Finish off samr torture test: samr_CreateUser2, samr_SetUserInfo,
samr_QueryAliasInfo, samr_SetAliasInfo, samr_AddMemberToAlias,
samr_AddMultipleMembersToAlias, samr_QueryDisplayInfo,
samr_QueryDisplayInfo2, samr_QueryDisplayInfo3,
samr_GetDisplayEnumerationIndex, samr_GetDisplayEnumerationIndex2,
samr_TestPrivateFunctionsDomain, samr_RidToSid,
samr_GetBootKeyInformation, samr_DeleteUser, samr_DeleteAlias,
samr_Close.
(This used to be commit 808e0708a9601bb94246311e03a1d5adcf654022)
2007-10-10 12:58:59 -05:00
Tim Potter
19d5887f0a r2501: The AddMemberToAlias test doesn't need a domain_handle.
(This used to be commit 90a9e754db91647607eef3a2ccb08d3651fca9df)
2007-10-10 12:58:59 -05:00
Andrew Tridgell
e84cc8e538 r2500: disable the sleep test in echo until we have a win32 echo server that
does Microsoft style async rpc serving
(This used to be commit 050dcd9b95576e1a9c0cb2144fc01c690853abc0)
2007-10-10 12:58:59 -05:00
Andrew Tridgell
2f377d5101 r2499: - use more efficient wildcard delete in smbclient
- use "*.*" instead of "*" when connected to ancient servers
(This used to be commit e28f2027580f31b392ecc9e115ee2eb5fc80f933)
2007-10-10 12:58:59 -05:00
Andrew Tridgell
2e55ba2018 r2498: added STATUS_NO_MORE_FILES to nt status codes that we can map to a string
(This used to be commit b7191999634cf3817dc69dd3743d185ae41dbdc3)
2007-10-10 12:58:58 -05:00
Andrew Tridgell
5719684332 r2497: fixed an uninitialised 4 bytes in old style session setup (found with valgrind)
(This used to be commit b2bb41721817256618124907a6922a00d50643dc)
2007-10-10 12:58:58 -05:00
Tim Potter
42b5bdf75f r2496: Check that reference parameters are not None.
(This used to be commit a2ab6c5ef9cc6db27fc8c73e6117f0f7a116d563)
2007-10-10 12:58:58 -05:00
Andrew Tridgell
e6e4e3e0a3 r2495: cope properly with STATUS_NO_MORE_FILES in old search client code
(This used to be commit 878729b7d97869a3d6dacea115ed4af2fd18e93c)
2007-10-10 12:58:57 -05:00
Andrew Tridgell
1d2611df82 r2494: fixed connecting to a share mode server (tested and really works now)
(This used to be commit 25f725c9be8fe5a7fd85488214b598bc431d4c7f)
2007-10-10 12:58:57 -05:00
Andrew Tridgell
787b65b048 r2493: allow tdb to build standalone
(This used to be commit 0d5af5b70bd010e7107b18f73a4b899e05c4f025)
2007-10-10 12:58:57 -05:00
Tim Potter
b3a11c86e1 r2492: Some cleanups.
Add tests for samr_CreateDomainGroup, samr_DeleteDomainGroup,
samr_QueryDomainInfo, samr_SetDomainInfo, samr_EnumDomainUsers,
samr_EnumDomainAliases, samr_EnumDomainGroups.
(This used to be commit 991d783c1ade19443c92b85f2b5763b5f51c6d61)
2007-10-10 12:58:57 -05:00
Tim Potter
46f08cdacf r2491: Handle pointers to scalars when converting to a Python dictionary (i.e
resume handles).

Remove some now unused debugging code.
(This used to be commit f250203a5f54c689c09ba780e9e3af7f8f2311bb)
2007-10-10 12:58:57 -05:00
Tim Potter
99721cc7c8 r2490: Some changes to take into account non-error NTSTATUS codes being returned:
- Only throw an exception if NT_STATUS_IS_ERR() instead of
    !NT_STATUS_IS_OK().

  - Add the NTSTATUS value to the returned dictionary under a key of
    'result' so calling functions can access it.
(This used to be commit 4ddcae90a2e9b93e58bd57932cd9ae4c95be6ae8)
2007-10-10 12:58:57 -05:00
Tim Potter
cde8c60e88 r2489: Rename account_flags in EnumDomainAliases() to acct_flags.
(This used to be commit a0e571a9ddc01b8e90a93d591aec4b10c9926818)
2007-10-10 12:58:57 -05:00
Tim Potter
46efd4d31b r2486: Use correct type checks when checking 64-bit quantities (int64, uint64,
NTTIME and HYPER_T).

Also use the correct conversion routines when creating 64 bit objects.
(This used to be commit f09fee92395e89c768e221728d5b0114d78f59fe)
2007-10-10 12:58:57 -05:00
Andrew Tridgell
4b09c0e5d9 r2485: - add a test case in ldbtest for a bug pointed out by Jon Haswell.
- fixed the bug shown with the above test, by initialising the
  sequence number to something different from the value used in
  ltdb_cache_free()
(This used to be commit 856cdf82f24aada074ee5c605cccb2e8ceeea487)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
a2a97238f5 r2484: allow ldb to build standalone again
(This used to be commit 05601a4c6f7c7a019fcac8743e2e4775a498b26a)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
23ba434b01 r2469: complete overhaul of the old-style RAW_SEARCH_ calls (the OS/2 and
original core level calls). The old code was completely wrong in many respects.

also fixed the EA_SIZE level in the server

extended the RAW-SEARCH test suite to test the new code properly
(This used to be commit 71480271ad84b57fcdde264a54bb2408cf783255)
2007-10-10 12:58:56 -05:00
Stefan Metzmacher
d9e43bc883 r2468: print out the names of the fault codes#
metze
(This used to be commit a0c2a3a5d4fba2a6a78cc3d167cbc19941fb43dc)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
5d7f0dec9e r2465: modify the autoidl hack to work for DRSUAPI
(This used to be commit 59b3d68bd047231d72fa3299e7289aef25702e9b)
2007-10-10 12:58:56 -05:00
Stefan Metzmacher
6625d9745d r2464: fix the build
metze
(This used to be commit 518bd32ed5e2d2dcf0b8c5743dd71d79f32159a8)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
ed4d10fb43 r2463: make sure we don't send the password in a tconx unless we really have to
(This used to be commit 3e84c06f4c76d62f4f2606b457d9a76b6c1a061d)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
6108ead954 r2462: added a test for the error code for no matching filename
(This used to be commit 7bfbbc38ed9aac93d288aba183f7a925f170f81e)
2007-10-10 12:58:55 -05:00
Tim Potter
851e54de66 r2461: Update samr.py torture test after policy handle parameter renames.
I thought of another exception to the policy name rule - samr_Close
can operate on any kind of samr handle.
(This used to be commit 632b7cc0d6b8349a9db1e57c305c359aa500c9e6)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
f1fbeb880c r2460: fixed the spnego code that I recently broke
(This used to be commit 9a708e2281b87e41032e8a0b12bb5ac3b0e151ce)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
635d5d8800 r2459: added STATUS_NO_MORE_FILES nt status code
(This used to be commit 3bf55c9e1129d8036a968c49ac2de7260e657f53)
2007-10-10 12:58:55 -05:00
Tim Potter
0e71bf8148 r2458: Rename policy handle parameters for the SAMR pipe. Parameters now
have the handle type implied by the parameter name.  There are four
types of handle: connect, domain, user and group handles.  The
various samr_Connect functions return a connect handle, and the
samr_OpenFoo functions return a foo handle.

There is one exception - the samr_{Get,Set}Security function can
take any type of handle.

Fix up all C callers.
(This used to be commit 32f0f3154a8eb63de83145cbc8806b8906ccdc3e)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
d78a1ac756 r2457: expanded the RAW-SEARCH test to test for what happens when a directory
is modified while being searched, and whether the server always
returns sorted directory listings.
(This used to be commit e23514c78f1f15a61dadaa5c4de5de7cd0593ea0)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
992442cbf9 r2456: got rid of some outdated global macros
(This used to be commit ea7eac5e3fb8f0db8d412a95ef4dc7889a07bc73)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
e649dcc09c r2455: don't use the uninitialised sess structure when auth fails
(This used to be commit 93d444e6fd6b0e86a17a9aa8fa72408435cab3e0)
2007-10-10 12:58:54 -05:00
Andrew Tridgell
1ec841d33e r2454: fixed the accelerated StrCaseCmp() so it compares in the right order
(This used to be commit 4b795cbf12108e56e5e84e3073c24ce6b625e3c3)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
65c3b46d02 r2449: use a blocking fd for smbsrv code
metze
(This used to be commit fba1637710138b0f2fae148e88b91a9cd1665465)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
03cf36ac9c r2448: use SO_REUSEADDR=1 for the server
metze
(This used to be commit e20cfb705f5ba0bef095a969f097a510bf314995)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
7d06a06584 r2447: let the server code use the new lib/socket/ stuff
metze
(This used to be commit 2fd577d2417e117a7e8c1a56feb147eae805df34)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
e8d2442517 r2446: implement socket_get_<peer|my>_<addr|port>() for ipv4
metze
(This used to be commit a8ebb5c5bc6a8651867b46e87cf223cddf444e89)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
6b9b169c27 r2443: check return code of event_loop_once() to catch thet cases where the server
closes the connetion and we got EBADF from select() and event_loop_once() fails

metze
(This used to be commit 9c0e50a6f3d628156b4543d5ded89e06be696f64)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
8f85b3f771 r2442: remove unused event_loop_once() call
metze
(This used to be commit 3cd63030b1433ddc3ae89e2f45c6f7a27b7d1756)
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
61ef245372 r2441: set exit code correct when we got EBADF from select()
metze
(This used to be commit 36bf2f3eaf2e7568563cd98dc941d20f4574d271)
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
be61c9d877 r2439: - function that return just an int don't need a TALLOC_CTX
- fix some return and state bugs

metze
(This used to be commit 2757c593ab746b9dd7090f2cf5fcc31686adf67f)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
635f5fa942 r2438: compile on systems without O_DIRECTORY (probably won't work, but I'll get to that later)
(This used to be commit 5e2027f8ec7248e48d1dfb94c3688c78c64a85c5)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
f2815e8412 r2437: implemented a suggestion from abartlet that if we cannot convert
strings to UTF16 in StrCaseCmp() that we fall back to a simpler
comparison.
(This used to be commit 2fa6ab9fe30aeacd7b1421fd83c409acf31c98aa)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
8a1c3ddd94 r2436: the second big lump of posix vfs code.
this is still just a skeleton, and many of the functions are just
based on the simple vfs backend, they are there to allow me to run
smbtorture tests against the real parts of the posix backend.
(This used to be commit f2fa7fe565e89360dba3bb5434d3a6a36f398348)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
421c0d2a18 r2435: got rid of another pointless strnequal()
(This used to be commit 1b4cee825e6e3d3710eda15cc25cdf6450feec17)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
677d1bc487 r2434: separate "attrib" and "ex_attrib" elements for DOS attributes is pointless
(This used to be commit 5fcad57128e47d4d6c0f387d5563d9de2fc08351)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
f94de51a4e r2433: attrib_string() is now a generally available library function (it will be used by the new RAW-SEARCH test)
(This used to be commit bb6bb2735eef58a135ba5cc3d64d75588a505d66)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
defe32e9f4 r2432: more string function updates.
btw, the reason I want to use strncasecmp() instead of StrnCaseCmp()
is that the Samba internal functions are built to deal with
multi-byte, whereas in the cases I am converting we know we are
dealing with solely ascii string constants, so going via the slow
conversion libraries is pointless.
(This used to be commit cef08d5789277bdaa25d5bf0e7cfca8615230f1b)
2007-10-10 12:58:52 -05:00