Andrew Tridgell [Fri, 24 Sep 2004 03:31:43 +0000 (03:31 +0000)]
r2580: fixed an uninitialised byte found by valgrind
(This used to be commit
0806378b0e34ba3d665a9db739539819f3f52054)
Andrew Tridgell [Fri, 24 Sep 2004 01:21:21 +0000 (01:21 +0000)]
r2577: - I recently found out that charaters below 0x3F are guaranteed not to
occur as secondary bytes in any multi-byte character set. This
allows for a very simple optimisation in strchr_m() and
strrchr_m(). It might be a good idea to pick this up for Samba3.
- the horrible toktocliplist() is only used in clitar.c, so move it
there, to prevent anyone else from being tempted to use it.
(This used to be commit
663b7b75ddd838ce547425b07d7ce4d4606fb479)
Tim Potter [Fri, 24 Sep 2004 01:20:30 +0000 (01:20 +0000)]
r2576: Some userspace tools for getting and setting ntacls via the 'security.ntacl'
extended attribute.
(This used to be commit
5b88226f9002711baac73e66d04ecf92b7765809)
Andrew Tridgell [Fri, 24 Sep 2004 00:44:42 +0000 (00:44 +0000)]
r2573: - added a configure test for nanosecond time resolution in struct stat
(recently Linux systems support this, allowing us to support the
full resolution in NTTIME)
- use nanosecond resolution in the posix backend if available
- moved the configure tests and list of object files for the posix
backend into ntvfs/posix/ to keep them more neatlly separated.
(This used to be commit
d92ad9f307fe16a3b253a0555b437f14c94b4dd7)
Andrew Tridgell [Fri, 24 Sep 2004 00:42:20 +0000 (00:42 +0000)]
r2572: fixed two places where status is not initialised in the nbench backend
(This used to be commit
4103392a597349890e0e7ea1c41d5b0ab3816853)
Andrew Tridgell [Thu, 23 Sep 2004 07:55:43 +0000 (07:55 +0000)]
r2562: got rid of the "reference" backend that never happened - the code is
too stale to be of any use as a reference.
(This used to be commit
8d455a6f091d7aa528e86ae3b3712170b5fc6c2c)
Andrew Tridgell [Thu, 23 Sep 2004 07:44:42 +0000 (07:44 +0000)]
r2561: completely redid the ntvfs module chaining code, You can now do something like:
ntvfs handler = nbench posix
and the nbench pass-thru module will be called before the posix
module. The chaining logic is now much saner, and less racy, with each
level in the chain getting its own private pointer rather than relying
on save/restore logic in the pass-thru module.
The only pass-thru module we have at the moment is the nbench one
(which records all traffic in a nbench compatibe format), but I plan
on soon writing a "unixuid" pass-thru module that will implement the
setegid()/setgroups()/seteuid() logic for standard posix uid
handling. This separation of the posix backend from the uid handling
should simplify the code, and make development easier.
I also modified the nbench module so it can do multiple chaining, so
if you want to you can do:
ntvfs module = nbench nbench posix
and it will save 2 copies of the log file in /tmp. This is really only
useful for testing at the moment until we have more than one pass-thru
module.
(This used to be commit
f84c0af35cb54c8fdc4933afefc18fa4c062aae4)
Tim Potter [Thu, 23 Sep 2004 03:32:46 +0000 (03:32 +0000)]
r2560: Don't require structure fields that have the pidl value() property
to be set. They can be if you want, but will be overwritten by the
pidl push code.
(This used to be commit
3170f6ed84e0514bf18d2a346f153bf0231b245b)
Tim Potter [Thu, 23 Sep 2004 03:26:14 +0000 (03:26 +0000)]
r2559: Python ints can't hold the full range of uint32 values so store them
as Python longs.
Also allow shorter width integer types to be initialised from long values.
Their values are truncated if they are too long.
(This used to be commit
e9eb231d6441774d1b5227962bbe94aa29e20995)
Andrew Tridgell [Thu, 23 Sep 2004 02:21:51 +0000 (02:21 +0000)]
r2556: fixed the -s one bug that jelmer pointed out
(This used to be commit
03c38477add0c5f78072700615b2c1513cbc7663)
Tim Potter [Thu, 23 Sep 2004 02:21:11 +0000 (02:21 +0000)]
r2555: Start of a rpcclient type program.
(This used to be commit
c9d682731226b7ef222f588c43df5a1f62c21555)
Andrew Tridgell [Thu, 23 Sep 2004 02:15:10 +0000 (02:15 +0000)]
r2554: added a test for a bug that jelmer pointed out (handling of -s one)
(This used to be commit
74d7bc1948961a24837d966416db12be192382ff)
Andrew Tridgell [Thu, 23 Sep 2004 02:14:43 +0000 (02:14 +0000)]
r2553: fixed ldbtest so it passes the ldap schema restrictions and thus can be used on the ldap backend
(This used to be commit
9f230425a0c926209887006ab1e3fec0998e7961)
Andrew Bartlett [Thu, 23 Sep 2004 00:51:45 +0000 (00:51 +0000)]
r2552: Character set conversion and string handling updates.
The intial motivation for this commit was to merge in some of the
bugfixes present in Samba3's chrcnv and string handling code into
Samba4. However, along the way I found a lot of unused functions, and
decided to do a bit more...
The strlen_m code now does not use a fixed buffer, but more work is
needed to finish off other functions in str_util.c. These fixed
length buffers hav caused very nasty, hard to chase down bugs at some
sites.
The strupper_m() function has a strupper_talloc() to replace it (we
need to go around and fix more uses, but it's a start). Use of these
new functions will avoid bugs where the upper or lowercase version of
a string is a different length.
I have removed the push_*_allocate functions, which are replaced by
calls to push_*_talloc. Likewise, pstring and other 'fixed length'
wrappers are removed, where possible.
I have removed the first ('base pointer') argument, used by push_ucs2,
as the Samba4 way of doing things ensures that this is always on an
even boundary anyway. (It was used in only one place, in any case).
(This used to be commit
dfecb0150627b500cb026b8a4932fe87902ca392)
Andrew Bartlett [Thu, 23 Sep 2004 00:47:38 +0000 (00:47 +0000)]
r2551: Add const.
Andrew Bartlett
(This used to be commit
066789a479ed7b36041e3455caac01e5c9244dc0)
Andrew Bartlett [Thu, 23 Sep 2004 00:27:21 +0000 (00:27 +0000)]
r2550: survive our own BASE-NEGNOWAIT torture test.
Andrew Bartlett
(This used to be commit
a13208224921b6ad37ac5d9aeb12252f5d4aa288)
Andrew Bartlett [Thu, 23 Sep 2004 00:10:40 +0000 (00:10 +0000)]
r2547: Another place to use convert_string_talloc().
Andrew Bartlett
(This used to be commit
4904d814c0efd870ac42c790028a8448984e4749)
Andrew Bartlett [Thu, 23 Sep 2004 00:01:16 +0000 (00:01 +0000)]
r2546: Remove another strupper_m() that we don't need.
Andrew Bartlett
(This used to be commit
5c5b45c1a870693c6201a09b508109b121ddc030)
Andrew Bartlett [Wed, 22 Sep 2004 23:56:22 +0000 (23:56 +0000)]
r2545: str_charnum -> strlen_m.
These two functions do exactly the same thing, I'll be removing
str_charnum shortly.
Andrew Bartlett
(This used to be commit
5eaa4c97488671a0b7ff539d4d392cbaa29fa489)
Andrew Bartlett [Wed, 22 Sep 2004 23:53:41 +0000 (23:53 +0000)]
r2544: (missed from the last commit)
smb_conn->socket has gone away, and the packet count is now in the
main structure.
Andrew Bartlett
(This used to be commit
2e197f05ff186783bb76f7cb972faed3e8cb1ce7)
Andrew Bartlett [Wed, 22 Sep 2004 23:51:17 +0000 (23:51 +0000)]
r2543: Catch one more use of sub_get_remote_machine().
Andrew Bartlett
(This used to be commit
d483d88674f1f130bc27c3de379753ae1799330e)
Andrew Bartlett [Wed, 22 Sep 2004 23:50:28 +0000 (23:50 +0000)]
r2542: I really don't like the 'substitute' code, and I particularly don't
like it in the mainline code (outside the smb.conf magic).
We will need to have a more useful 'helper' routine for this, but for
now we at least get a reliable IP address.
Also remove the unused 'socket' structure in the smb server - it seems
to have been replaced by the socket library.
Andrew Bartlett
(This used to be commit
d8fd19a2020da6cce691c0db2b00f42e31d672cc)
Andrew Bartlett [Wed, 22 Sep 2004 23:42:20 +0000 (23:42 +0000)]
r2541: Add a TODO: This is one place we can grab the remote netbios name.
Andrew Bartlett
(This used to be commit
cd2f97530b2846bdb98ef36fabdc0a1cdd9e69fd)
Jelmer Vernooij [Wed, 22 Sep 2004 22:20:40 +0000 (22:20 +0000)]
r2538: Support IPv6 as transport for MSRPC. Tested against Win2k3
Implemented using the POSIX getaddrinfo() call (specified by POSIX 1003.1-2003 and 2553)
I'm not sure how portable this function is, so we might have to add a sys_getaddrinfo() later on.
(This used to be commit
0fb0530389751c6fb4ca58f5e9a0f23491699f17)
Andrew Bartlett [Wed, 22 Sep 2004 22:10:43 +0000 (22:10 +0000)]
r2537: Add static and use strlen_m instead of str_charnum().
Andrew Bartlett
(This used to be commit
f3bf57ca6be3b71ebd8f8312c3d9e54387bdc402)
Andrew Bartlett [Wed, 22 Sep 2004 22:06:21 +0000 (22:06 +0000)]
r2536: This is a classic case for the use of our new talloc code, and
convert_string_talloc().
Andrew Bartlett
(This used to be commit
79776006b37fa9df0586711edaba5335467461ac)
Andrew Bartlett [Wed, 22 Sep 2004 21:50:49 +0000 (21:50 +0000)]
r2535: Make certain, that even if we have invalid ASN.1 here, and the caller does not check the return value, that we don't return uninitialised memory here.
Andrew Bartlett
(This used to be commit
0e081ecb9d752067b99305b3b62477c3eed9ac24)
Andrew Bartlett [Wed, 22 Sep 2004 21:45:52 +0000 (21:45 +0000)]
r2534: Change NTLMSSP parsing to avoid a seperate str_chrnum() call - storing
away the string as a data blob to be put in the buffers later.
This also avoids a length-limited push_str, moving to push_ucs2_talloc().
Andrew Bartlett
(This used to be commit
69163500e0b577f19d1ffeea87f08e05539f5bcc)
Jelmer Vernooij [Wed, 22 Sep 2004 18:59:13 +0000 (18:59 +0000)]
r2532: Don't run EnumValue torture test for now (idl needs fixing, doesn't compile)
(This used to be commit
c98fbfe2507ef08cfd2ed5486f1122b6010939f9)
Jelmer Vernooij [Wed, 22 Sep 2004 18:35:14 +0000 (18:35 +0000)]
r2531: Fix crashbug
(This used to be commit
80294f799f83fb98a5e5f1099fdfa95d9ddaac7b)
Jelmer Vernooij [Wed, 22 Sep 2004 18:34:34 +0000 (18:34 +0000)]
r2530: Don't put main in proto.h
(This used to be commit
eb3f65c6e9d0c76feea648951dea96b82f5b3c73)
Stefan Metzmacher [Wed, 22 Sep 2004 14:16:42 +0000 (14:16 +0000)]
r2527: - add a dummy for a simple ldb backend
- handle the complete rootDSE search (maybe this will be also a partition module)
metze
(This used to be commit
6fc904a71cf5305d0c5c260ad1665499ea6c6f9a)
Stefan Metzmacher [Wed, 22 Sep 2004 13:14:56 +0000 (13:14 +0000)]
r2526: use LDAP error 53 (unwillingToPerform)
when the backend didn't implement the call
metze
(This used to be commit
e2fe6858494da311ee9a3f06dd84509572318893)
Stefan Metzmacher [Wed, 22 Sep 2004 13:08:30 +0000 (13:08 +0000)]
r2525: fix a search response when the backend didn't support Search
we return LDAP error 32 (noSuchObject) now instead of a protocol error
metze
(This used to be commit
f9dc34cd0b5e5e05e5ca6b034a7056b34053c4d0)
Andrew Tridgell [Wed, 22 Sep 2004 13:01:55 +0000 (13:01 +0000)]
r2524: a simple pvfs rename implementation to make testing easier
(This used to be commit
98c1c75076fdb0df3a7c616f8c2e1ed138a6ff9a)
Stefan Metzmacher [Wed, 22 Sep 2004 13:01:00 +0000 (13:01 +0000)]
r2523: - readd rootDSE reply
- add infrastructure start for having multiple directory partitions (backends)
metze
(This used to be commit
5103e7fe7873c0309461ad471f0529223d7c38eb)
Andrew Tridgell [Wed, 22 Sep 2004 12:45:33 +0000 (12:45 +0000)]
r2521: fixed two uninitialised data errors found with valgrind when
negotiating a old style session setup (eg. LANMAN1)
(This used to be commit
04f68f481c49102411b168593adaddf5e97b7d4d)
Andrew Tridgell [Wed, 22 Sep 2004 12:38:19 +0000 (12:38 +0000)]
r2520: - finished implementing the server side of the old style search requests
(This used to be commit
4e4859c06b9de5fe60ebd17cfb09eed480b79ec1)
Jelmer Vernooij [Wed, 22 Sep 2004 12:33:39 +0000 (12:33 +0000)]
r2519: Registry RPC pipe fixes (use struct registry_key instead of REG_KEY, etc)
(This used to be commit
00de28876df70dbb6ca67c1a90aa9793583351bf)
Jelmer Vernooij [Wed, 22 Sep 2004 12:32:31 +0000 (12:32 +0000)]
r2518: Some long overdue changes:
- Samba4-style code in lib/registry (struct registry_key instead of REG_KEY, etc)
- Use hives (like Windows has drives) instead of one root key (like a Unix FS)
- usability fixes in the GTK utilities (autodetect the username,
enable/disable options, etc)
- fix gwsam compile
- several bugfixes in the registry rpc code
- do charset conversion in nt4 registry backend
(This used to be commit
2762ed3b9bf1d67dd54d63e02cddbfd71ea89892)
Tim Potter [Wed, 22 Sep 2004 12:25:53 +0000 (12:25 +0000)]
r2516: Remove duplicate line.
(This used to be commit
dff6262e4f9d48ed753e00faf081e52c03c7129c)
Andrew Bartlett [Wed, 22 Sep 2004 12:17:51 +0000 (12:17 +0000)]
r2515: Fixes from smbtorture - these session keys are not individually encrypted.
Andrew Bartlett
(This used to be commit
131420b45e88cb72090c9b28a53295edfa364cfe)
Andrew Bartlett [Wed, 22 Sep 2004 12:15:27 +0000 (12:15 +0000)]
r2514: Remove unused funcions, and add static.
Andrew Bartlett
(This used to be commit
fd10c9dd536bde497829aaed9e0ba2d51ffe2315)
Andrew Bartlett [Wed, 22 Sep 2004 12:14:44 +0000 (12:14 +0000)]
r2513: Avoid strupper/strlower when you can. This developers module
certainly doesn't need it.
Andrew Bartlett
(This used to be commit
77d7c76c9bc7a4fa109056140a5f4107b4410838)
Andrew Bartlett [Wed, 22 Sep 2004 12:02:16 +0000 (12:02 +0000)]
r2512: Remove unused stub functions.
Andrew Bartlett
(This used to be commit
f543de80b1dff25f32cd415c6f4d3bfda6c919be)
Tim Potter [Wed, 22 Sep 2004 11:48:10 +0000 (11:48 +0000)]
r2511: Add NT status codes.
(This used to be commit
471b13da2b0893a58977154dbe4d004d5c06aed4)
Jelmer Vernooij [Wed, 22 Sep 2004 11:24:07 +0000 (11:24 +0000)]
r2510: Make C++ compilers happy, use ifdef instead of if
(This used to be commit
7c31998da148cca53e798e3d89b9b754de2e64ac)
Stefan Metzmacher [Wed, 22 Sep 2004 10:48:32 +0000 (10:48 +0000)]
r2509: add a struct ldapsrv_call which is simular to the dcesrv_call_state struct
and related stuff...
metze
(This used to be commit
dc1f8212ff717765c40ea5668e841db50e636748)
Stefan Metzmacher [Wed, 22 Sep 2004 10:42:58 +0000 (10:42 +0000)]
r2508: - implemented ldap_decode() for UnbindRequest and ExtendedRequest
- fail when we got a wrong tag in ldap_decode()
metze
(This used to be commit
e942f414c5f9130c7ac9996612caaefd29f5eeca)
Andrew Bartlett [Wed, 22 Sep 2004 10:42:09 +0000 (10:42 +0000)]
r2507: Allow a case-insensitive lookup when converting strings into NTSTATUS
values.
Andrew Bartlett
(This used to be commit
59e361f7cca1bbaeba5d5952173b90665a76ab2d)
Andrew Bartlett [Wed, 22 Sep 2004 10:36:55 +0000 (10:36 +0000)]
r2506: Add more printf attributes for format checking.
Andrew Bartlett
(This used to be commit
1640272dc36a0cb5bc8e647d06c7cee46022f077)
Andrew Bartlett [Wed, 22 Sep 2004 10:34:49 +0000 (10:34 +0000)]
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)
Andrew Bartlett [Wed, 22 Sep 2004 10:32:56 +0000 (10:32 +0000)]
r2504: Add printf attribute, for format argument checking.
Andrew Bartlett
(This used to be commit
543401990aa9eb650cb93fa6cb60d2a0adf7b274)
Andrew Tridgell [Wed, 22 Sep 2004 08:17:26 +0000 (08:17 +0000)]
r2503: the RAW-SEARCH test now mostly passes against the posix backend
(This used to be commit
9710f24b1fd103d5656c9585cdfed96449cf9f97)
Tim Potter [Wed, 22 Sep 2004 07:04:44 +0000 (07:04 +0000)]
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)
Tim Potter [Wed, 22 Sep 2004 06:46:30 +0000 (06:46 +0000)]
r2501: The AddMemberToAlias test doesn't need a domain_handle.
(This used to be commit
90a9e754db91647607eef3a2ccb08d3651fca9df)
Andrew Tridgell [Wed, 22 Sep 2004 05:17:55 +0000 (05:17 +0000)]
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)
Andrew Tridgell [Wed, 22 Sep 2004 05:15:56 +0000 (05:15 +0000)]
r2499: - use more efficient wildcard delete in smbclient
- use "*.*" instead of "*" when connected to ancient servers
(This used to be commit
e28f2027580f31b392ecc9e115ee2eb5fc80f933)
Andrew Tridgell [Wed, 22 Sep 2004 05:14:59 +0000 (05:14 +0000)]
r2498: added STATUS_NO_MORE_FILES to nt status codes that we can map to a string
(This used to be commit
b7191999634cf3817dc69dd3743d185ae41dbdc3)
Andrew Tridgell [Wed, 22 Sep 2004 05:14:20 +0000 (05:14 +0000)]
r2497: fixed an uninitialised 4 bytes in old style session setup (found with valgrind)
(This used to be commit
b2bb41721817256618124907a6922a00d50643dc)
Tim Potter [Wed, 22 Sep 2004 05:14:15 +0000 (05:14 +0000)]
r2496: Check that reference parameters are not None.
(This used to be commit
a2ab6c5ef9cc6db27fc8c73e6117f0f7a116d563)
Andrew Tridgell [Wed, 22 Sep 2004 05:13:32 +0000 (05:13 +0000)]
r2495: cope properly with STATUS_NO_MORE_FILES in old search client code
(This used to be commit
878729b7d97869a3d6dacea115ed4af2fd18e93c)
Andrew Tridgell [Wed, 22 Sep 2004 05:13:00 +0000 (05:13 +0000)]
r2494: fixed connecting to a share mode server (tested and really works now)
(This used to be commit
25f725c9be8fe5a7fd85488214b598bc431d4c7f)
Andrew Tridgell [Wed, 22 Sep 2004 05:12:21 +0000 (05:12 +0000)]
r2493: allow tdb to build standalone
(This used to be commit
0d5af5b70bd010e7107b18f73a4b899e05c4f025)
Tim Potter [Wed, 22 Sep 2004 04:17:25 +0000 (04:17 +0000)]
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)
Tim Potter [Wed, 22 Sep 2004 04:12:36 +0000 (04:12 +0000)]
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)
Tim Potter [Wed, 22 Sep 2004 03:42:58 +0000 (03:42 +0000)]
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)
Tim Potter [Wed, 22 Sep 2004 03:36:17 +0000 (03:36 +0000)]
r2489: Rename account_flags in EnumDomainAliases() to acct_flags.
(This used to be commit
a0e571a9ddc01b8e90a93d591aec4b10c9926818)
Tim Potter [Wed, 22 Sep 2004 02:39:38 +0000 (02:39 +0000)]
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)
Andrew Tridgell [Wed, 22 Sep 2004 02:05:02 +0000 (02:05 +0000)]
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)
Andrew Tridgell [Wed, 22 Sep 2004 02:03:34 +0000 (02:03 +0000)]
r2484: allow ldb to build standalone again
(This used to be commit
05601a4c6f7c7a019fcac8743e2e4775a498b26a)
Andrew Tridgell [Tue, 21 Sep 2004 08:46:47 +0000 (08:46 +0000)]
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)
Stefan Metzmacher [Tue, 21 Sep 2004 08:11:53 +0000 (08:11 +0000)]
r2468: print out the names of the fault codes#
metze
(This used to be commit
a0c2a3a5d4fba2a6a78cc3d167cbc19941fb43dc)
Andrew Tridgell [Tue, 21 Sep 2004 07:32:01 +0000 (07:32 +0000)]
r2465: modify the autoidl hack to work for DRSUAPI
(This used to be commit
59b3d68bd047231d72fa3299e7289aef25702e9b)
Stefan Metzmacher [Tue, 21 Sep 2004 07:03:16 +0000 (07:03 +0000)]
r2464: fix the build
metze
(This used to be commit
518bd32ed5e2d2dcf0b8c5743dd71d79f32159a8)
Andrew Tridgell [Tue, 21 Sep 2004 04:41:17 +0000 (04:41 +0000)]
r2463: make sure we don't send the password in a tconx unless we really have to
(This used to be commit
3e84c06f4c76d62f4f2606b457d9a76b6c1a061d)
Andrew Tridgell [Tue, 21 Sep 2004 04:11:48 +0000 (04:11 +0000)]
r2462: added a test for the error code for no matching filename
(This used to be commit
7bfbbc38ed9aac93d288aba183f7a925f170f81e)
Tim Potter [Tue, 21 Sep 2004 04:11:41 +0000 (04:11 +0000)]
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)
Andrew Tridgell [Tue, 21 Sep 2004 04:11:16 +0000 (04:11 +0000)]
r2460: fixed the spnego code that I recently broke
(This used to be commit
9a708e2281b87e41032e8a0b12bb5ac3b0e151ce)
Andrew Tridgell [Tue, 21 Sep 2004 04:10:43 +0000 (04:10 +0000)]
r2459: added STATUS_NO_MORE_FILES nt status code
(This used to be commit
3bf55c9e1129d8036a968c49ac2de7260e657f53)
Tim Potter [Tue, 21 Sep 2004 03:51:38 +0000 (03:51 +0000)]
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)
Andrew Tridgell [Tue, 21 Sep 2004 02:41:32 +0000 (02:41 +0000)]
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)
Andrew Tridgell [Tue, 21 Sep 2004 01:43:53 +0000 (01:43 +0000)]
r2456: got rid of some outdated global macros
(This used to be commit
ea7eac5e3fb8f0db8d412a95ef4dc7889a07bc73)
Andrew Tridgell [Tue, 21 Sep 2004 01:43:08 +0000 (01:43 +0000)]
r2455: don't use the uninitialised sess structure when auth fails
(This used to be commit
93d444e6fd6b0e86a17a9aa8fa72408435cab3e0)
Andrew Tridgell [Tue, 21 Sep 2004 01:42:04 +0000 (01:42 +0000)]
r2454: fixed the accelerated StrCaseCmp() so it compares in the right order
(This used to be commit
4b795cbf12108e56e5e84e3073c24ce6b625e3c3)
Stefan Metzmacher [Mon, 20 Sep 2004 13:17:51 +0000 (13:17 +0000)]
r2449: use a blocking fd for smbsrv code
metze
(This used to be commit
fba1637710138b0f2fae148e88b91a9cd1665465)
Stefan Metzmacher [Mon, 20 Sep 2004 12:40:11 +0000 (12:40 +0000)]
r2448: use SO_REUSEADDR=1 for the server
metze
(This used to be commit
e20cfb705f5ba0bef095a969f097a510bf314995)
Stefan Metzmacher [Mon, 20 Sep 2004 12:31:07 +0000 (12:31 +0000)]
r2447: let the server code use the new lib/socket/ stuff
metze
(This used to be commit
2fd577d2417e117a7e8c1a56feb147eae805df34)
Stefan Metzmacher [Mon, 20 Sep 2004 12:03:49 +0000 (12:03 +0000)]
r2446: implement socket_get_<peer|my>_<addr|port>() for ipv4
metze
(This used to be commit
a8ebb5c5bc6a8651867b46e87cf223cddf444e89)
Stefan Metzmacher [Mon, 20 Sep 2004 10:40:11 +0000 (10:40 +0000)]
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)
Stefan Metzmacher [Mon, 20 Sep 2004 10:29:13 +0000 (10:29 +0000)]
r2442: remove unused event_loop_once() call
metze
(This used to be commit
3cd63030b1433ddc3ae89e2f45c6f7a27b7d1756)
Stefan Metzmacher [Mon, 20 Sep 2004 10:20:26 +0000 (10:20 +0000)]
r2441: set exit code correct when we got EBADF from select()
metze
(This used to be commit
36bf2f3eaf2e7568563cd98dc941d20f4574d271)
Stefan Metzmacher [Mon, 20 Sep 2004 09:13:17 +0000 (09:13 +0000)]
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)
Andrew Tridgell [Mon, 20 Sep 2004 08:53:45 +0000 (08:53 +0000)]
r2438: compile on systems without O_DIRECTORY (probably won't work, but I'll get to that later)
(This used to be commit
5e2027f8ec7248e48d1dfb94c3688c78c64a85c5)
Andrew Tridgell [Mon, 20 Sep 2004 07:31:54 +0000 (07:31 +0000)]
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)
Andrew Tridgell [Mon, 20 Sep 2004 07:28:43 +0000 (07:28 +0000)]
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)
Andrew Tridgell [Mon, 20 Sep 2004 07:26:35 +0000 (07:26 +0000)]
r2435: got rid of another pointless strnequal()
(This used to be commit
1b4cee825e6e3d3710eda15cc25cdf6450feec17)
Andrew Tridgell [Mon, 20 Sep 2004 07:26:01 +0000 (07:26 +0000)]
r2434: separate "attrib" and "ex_attrib" elements for DOS attributes is pointless
(This used to be commit
5fcad57128e47d4d6c0f387d5563d9de2fc08351)
Andrew Tridgell [Mon, 20 Sep 2004 07:25:06 +0000 (07:25 +0000)]
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)
Andrew Tridgell [Mon, 20 Sep 2004 07:24:00 +0000 (07:24 +0000)]
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)