1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

8826 Commits

Author SHA1 Message Date
Jelmer Vernooij
a2bb0b6012 r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code. 2007-10-10 14:05:38 -05:00
Jelmer Vernooij
cc2961427f r15469: Fix unixinfo interface to use pointers for [out] parameters (required
for generating Samba3-style client functions and midl)
2007-10-10 14:05:38 -05:00
Rafal Szczesniak
daca283990 r15459: Add forgotten guid retrieval among other data and thus prevent
from returning uninitialised structure member. Thank heavens for build
farm and valgrind :)

rafal
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
02859870d6 r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys.
Patch by Wilco Baan Hofman <wilco@baanhofman.nl>
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
849818dcde r15457: Get rid of more usages of uint_t 2007-10-10 14:05:37 -05:00
Rafal Szczesniak
0d008fbea0 r15456: Inspired by a short discussion with abartlet on IRC.
- create "async" parameter for smbtorture to categorise async tests
  potentially hard for windows servers
- create "num-async" parameter to specify the number of simultaneous
  async requests to be made
- move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably
  do the same for many others async tests...)

It's an interesting way to determine resources availability on windows
servers...

rafal
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
b4c378302b r15440: Formatting.
rafal
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
d35f1e07be r15439: Reorder the code a bit to be like in other calls. More comments
and comment-fixes.

rafal
2007-10-10 14:05:37 -05:00
Jelmer Vernooij
538be4a631 r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
76d965b0b0 r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
2007-10-10 14:05:36 -05:00
Rafal Szczesniak
aef0a2de9d r15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnect
and make it async. Also, update any other usages of old function.
Build goes fine and so do tests, comments to follow.

rafal
2007-10-10 14:05:36 -05:00
Andrew Bartlett
437ce41237 r15433: Add a todo.
Andrew Bartlett
2007-10-10 14:05:36 -05:00
Jelmer Vernooij
eb07aea711 r15427: Rename private to private_data to prevent errors from C++ errors (which
we care about in Samba3)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
b3212d1fb9 r15426: Implement SPNEGO as the default RPC authentication mechanism. Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
2007-10-10 14:05:36 -05:00
Jelmer Vernooij
edf0701e87 r15422: Fix issues with functions being called recursively in the credentials
callback code.
2007-10-10 14:05:35 -05:00
Andrew Bartlett
f989927789 r15421: Correct function comments.
Andrew Bartlett
2007-10-10 14:05:35 -05:00
Andrew Bartlett
4c4b8e4b39 r15420: Add a new function to print a the 'unparsed' string format for usernames.
This is used in the password prompt, and should be reversable by the
parse string function.

Also, don't look at the ccache, even for the guess code, if kerberos
is disabled.

Andrew Bartlett
2007-10-10 14:05:35 -05:00
Andrew Bartlett
8abe7ba619 r15416: Point out that this doesn't work, but for servers this old, I just
don't care...

Andrew Bartlett
2007-10-10 14:05:35 -05:00
Andrew Bartlett
3a4ddc8f59 r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3
attempts for the password, when talking to a remote CIFS server.

Andrew Bartlett
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
5de894fb8b r15414: Support retrying different username/password combinations 2007-10-10 14:05:34 -05:00
Jelmer Vernooij
95cca6a881 r15413: Disable gwsvcctl on hosts without gtk 2007-10-10 14:05:34 -05:00
Rafal Szczesniak
52b4ef14a0 r15412: Put the test in a dangerous category.
rafal
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
e8de80afb9 r15410: Fix segfaults 2007-10-10 14:05:34 -05:00
Jelmer Vernooij
5be3627cc6 r15409: Start working on GTK+ tool for services management 2007-10-10 14:05:34 -05:00
Jelmer Vernooij
266f747220 r15408: Fix some small bugs in the GTK+ tools
Add utility function for connection to an interface
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
897329c253 r15407: Get rid of some more uint_t 2007-10-10 14:05:33 -05:00
Jelmer Vernooij
e9d3660fa6 r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
not available on some platforms but is a Samba-specific library.
2007-10-10 14:05:33 -05:00
Stefan Metzmacher
86a9b17b3a r15405: remove define for STAT_ST_BLOCKSIZE
as it's not used anywhere and it doesn't belong to check_ld.m4

metze
2007-10-10 14:05:33 -05:00
Andrew Bartlett
09b2f30dfa r15400: Move the TLS code behind the socket interface.
This reduces caller complexity, because the TLS code is now called
just like any other socket.  (A new socket context is returned by the
tls_init_server and tls_init_client routines).

When TLS is not available, the original socket is returned.

Andrew Bartlett
2007-10-10 14:05:32 -05:00
Tim Potter
74bd8170fc r15397: Fix typo. 2007-10-10 14:05:32 -05:00
Tim Potter
e906781cbd r15395: Fix build by adding another copy of the Python detection m4 fragment.
This stuff should be common somewhere.
2007-10-10 14:05:32 -05:00
Rafal Szczesniak
7e4756116e r15394: Put initial code for testing async dcerpc binding. Currently
it only tests multiple simultaneous bind requests using transport
specified in command line. It will be interesting to use various
transports at the same time and test it agains windows servers...

rafal
2007-10-10 14:05:32 -05:00
Tim Potter
11150b3140 r15391: Wrap up the nbt_name_query() function as a bit of an experiment. It
seemed to work quite well and this technique might be good for
generating an interface to use for automated testing.

Tested by doing a nbt lookup against smbd.
2007-10-10 14:05:32 -05:00
Tim Potter
7e4d3bb818 r15390: Make test output a bit prettier. 2007-10-10 14:05:31 -05:00
Tim Potter
d67e055f86 r15389: Add some better torture tests for LdbMessage.
Fix up behaviour of Ldb.__setitem__() function.  It should overwrite the
element data.

Add wrapper for ldb_msg_sanity_check().
2007-10-10 14:05:31 -05:00
Tim Potter
88e854929f r15388: Fix cut&paste typo. 2007-10-10 14:05:31 -05:00
Jelmer Vernooij
9e9bfd04c6 r15387: Fix installation of dcerpc headers, remove more instances of uint_t 2007-10-10 14:05:31 -05:00
Jelmer Vernooij
f919fd6655 r15384: Improve naming of socket library, disable Requires(.private)? fields in pkg-config files for now as
they break external projects.
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
44898adcf8 r15383: Revert making DSO's the default - this caused a few test suite breakages. 2007-10-10 14:05:30 -05:00
Paul Green
a4d706cf26 r15382: Use grp.h in this block; it has been cleaned out of the other headers that formerly included it for us.
Paul
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
9eea62c11c r15381: Make shared libraries the default (where supported). This concludes my rewrite of the build system, which I'm (overall)
pretty happy with now. I'll continue making smaller changes, but they won't have as much impact as the changes I've made in the past months.
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
0fafa2e595 r15379: Fix shared library build's unresolved dependencies 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
527a40d80b r15378: Fix installheader script. Alexander, this will break installation of headers
for srcdir != builddir
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
68004f68a3 r15377: Remove sys_select() code as it's no longer used. 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
49bac12767 r15376: Add detection of -lnsl, required for building on SUN boxes. 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
ccc3d8a954 r15375: Rename readline.h to smbreadline.h avoid clashes with system header. 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
1c2dc5ec10 r15374: Make subsystem name shorter - Stratos VOS has a filename length limit of 32 2007-10-10 14:05:28 -05:00
Jelmer Vernooij
c95ad11307 r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
boxes.
2007-10-10 14:05:28 -05:00
Andrew Bartlett
04f383048a r15372: Don't look at possibly undefined controls in failure cases.
Andrew Bartlett
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
fac9871122 r15371: Revert some of my previous patch as it was breaking the plain build 2007-10-10 14:05:28 -05:00