1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

9074 Commits

Author SHA1 Message Date
Jelmer Vernooij
55969efea3 r15474: Generate proper type declarations, fix headers
(This used to be commit 1405f59d55)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
a3f2ed12b9 r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
(This used to be commit a2bb0b6012)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
ce8dad9396 r15469: Fix unixinfo interface to use pointers for [out] parameters (required
for generating Samba3-style client functions and midl)
(This used to be commit cc2961427f)
2007-10-10 14:05:38 -05:00
Rafal Szczesniak
eff21e317e r15459: Add forgotten guid retrieval among other data and thus prevent
from returning uninitialised structure member. Thank heavens for build
farm and valgrind :)

rafal
(This used to be commit daca283990)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
bd90da5b60 r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys.
Patch by Wilco Baan Hofman <wilco@baanhofman.nl>
(This used to be commit 02859870d6)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
b56789c349 r15457: Get rid of more usages of uint_t
(This used to be commit 849818dcde)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
9604b161ad 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
(This used to be commit 0d008fbea0)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
b2154e79b1 r15440: Formatting.
rafal
(This used to be commit b4c378302b)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
ccf5696b97 r15439: Reorder the code a bit to be like in other calls. More comments
and comment-fixes.

rafal
(This used to be commit d35f1e07be)
2007-10-10 14:05:37 -05:00
Jelmer Vernooij
e81fd2e119 r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
(This used to be commit 538be4a631)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
a3898df957 r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
(This used to be commit 76d965b0b0)
2007-10-10 14:05:36 -05:00
Rafal Szczesniak
538adbf677 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
(This used to be commit aef0a2de9d)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
209edfb807 r15433: Add a todo.
Andrew Bartlett
(This used to be commit 437ce41237)
2007-10-10 14:05:36 -05:00
Jelmer Vernooij
2420b38336 r15427: Rename private to private_data to prevent errors from C++ errors (which
we care about in Samba3)
(This used to be commit eb07aea711)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
5f4d86f955 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
(This used to be commit b3212d1fb9)
2007-10-10 14:05:36 -05:00
Jelmer Vernooij
086c9cc5f4 r15422: Fix issues with functions being called recursively in the credentials
callback code.
(This used to be commit edf0701e87)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
b2f8c9b82d r15421: Correct function comments.
Andrew Bartlett
(This used to be commit f989927789)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
1789976c17 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
(This used to be commit 4c4b8e4b39)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
5d689a5de2 r15416: Point out that this doesn't work, but for servers this old, I just
don't care...

Andrew Bartlett
(This used to be commit 8abe7ba619)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
ed752c8004 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
(This used to be commit 3a4ddc8f59)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
557c98bd5f r15414: Support retrying different username/password combinations
(This used to be commit 5de894fb8b)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
bec9dad294 r15413: Disable gwsvcctl on hosts without gtk
(This used to be commit 95cca6a881)
2007-10-10 14:05:34 -05:00
Rafal Szczesniak
5adcc59265 r15412: Put the test in a dangerous category.
rafal
(This used to be commit 52b4ef14a0)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
0bcfa67f0e r15410: Fix segfaults
(This used to be commit e8de80afb9)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
38efc3e0d5 r15409: Start working on GTK+ tool for services management
(This used to be commit 5be3627cc6)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
86a2f18b96 r15408: Fix some small bugs in the GTK+ tools
Add utility function for connection to an interface
(This used to be commit 266f747220)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
37aa2c5e8f r15407: Get rid of some more uint_t
(This used to be commit 897329c253)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
72a5cbadc1 r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
not available on some platforms but is a Samba-specific library.
(This used to be commit e9d3660fa6)
2007-10-10 14:05:33 -05:00
Stefan Metzmacher
9177f9cf09 r15405: remove define for STAT_ST_BLOCKSIZE
as it's not used anywhere and it doesn't belong to check_ld.m4

metze
(This used to be commit 86a9b17b3a)
2007-10-10 14:05:33 -05:00
Andrew Bartlett
742c110cd6 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
(This used to be commit 09b2f30dfa)
2007-10-10 14:05:32 -05:00
Tim Potter
49994442bb r15397: Fix typo.
(This used to be commit 74bd8170fc)
2007-10-10 14:05:32 -05:00
Tim Potter
0b673b7999 r15395: Fix build by adding another copy of the Python detection m4 fragment.
This stuff should be common somewhere.
(This used to be commit e906781cbd)
2007-10-10 14:05:32 -05:00
Rafal Szczesniak
b369ffd1d5 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
(This used to be commit 7e4756116e)
2007-10-10 14:05:32 -05:00
Tim Potter
ce3293c5b6 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.
(This used to be commit 11150b3140)
2007-10-10 14:05:32 -05:00
Tim Potter
635d385ea1 r15390: Make test output a bit prettier.
(This used to be commit 7e4d3bb818)
2007-10-10 14:05:31 -05:00
Tim Potter
684aa5adef 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().
(This used to be commit d67e055f86)
2007-10-10 14:05:31 -05:00
Tim Potter
827cdb949b r15388: Fix cut&paste typo.
(This used to be commit 88e854929f)
2007-10-10 14:05:31 -05:00
Jelmer Vernooij
8bab932282 r15387: Fix installation of dcerpc headers, remove more instances of uint_t
(This used to be commit 9e9bfd04c6)
2007-10-10 14:05:31 -05:00
Jelmer Vernooij
46f627ea7a r15384: Improve naming of socket library, disable Requires(.private)? fields in pkg-config files for now as
they break external projects.
(This used to be commit f919fd6655)
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
07440b79e8 r15383: Revert making DSO's the default - this caused a few test suite breakages.
(This used to be commit 44898adcf8)
2007-10-10 14:05:30 -05:00
Paul Green
ec83aa3fda r15382: Use grp.h in this block; it has been cleaned out of the other headers that formerly included it for us.
Paul
(This used to be commit a4d706cf26)
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
8b98023d85 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.
(This used to be commit 9eea62c11c)
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
5c3a1d76ff r15379: Fix shared library build's unresolved dependencies
(This used to be commit 0fafa2e595)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
cad3914619 r15378: Fix installheader script. Alexander, this will break installation of headers
for srcdir != builddir
(This used to be commit 527a40d80b)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
66a4c270d4 r15377: Remove sys_select() code as it's no longer used.
(This used to be commit 68004f68a3)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
a4a2a4b833 r15376: Add detection of -lnsl, required for building on SUN boxes.
(This used to be commit 49bac12767)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
e595ede02f r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
(This used to be commit ccc3d8a954)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
bd9e9062bf r15374: Make subsystem name shorter - Stratos VOS has a filename length limit of 32
(This used to be commit 1c2dc5ec10)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
6275553bae r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
boxes.
(This used to be commit c95ad11307)
2007-10-10 14:05:28 -05:00
Andrew Bartlett
fe93126096 r15372: Don't look at possibly undefined controls in failure cases.
Andrew Bartlett
(This used to be commit 04f383048a)
2007-10-10 14:05:28 -05:00