Age | Commit message (Collapse) | Author | Files | Lines |
|
another case where we have to fallback to the node status request.
Andrew Bartlett
(This used to be commit 181064dbcf102de80937fc30b3d3ba5114194a72)
|
|
Andrew Bartlett
(This used to be commit daa4b76800024c1494eeda675c46af3790fac788)
|
|
far at this point, and there is no point being in between.
Andrew Bartlett
(This used to be commit 10fb19add65ba534ea7cf3357b02d642e94fe535)
|
|
the remote server's name, or in the absence of a local nbt_server to
communicate with (or without root access), a node status request.
The result is that we are in a better position to use kerberos, as well
as to remove the 'password server' mandatory parameter for the samsync
and samdump commands. (I need this to put these into SWAT).
The only problem I have is that I must create a messaging context, which
requires a server ID. As a client process, I don't expect to get
messages, but it is currently required for replies, so I generate a
random() number. We probably need the servers to accept connections on
streamed sockets too, for client-only tasks that want IRPC.
Because I wanted to test this code, I have put the NET-API-* tests into
our test scripts, to ensure they pass and keep passing. They are good
frontends onto the libnet system, and I see no reason not to test them.
In doing so the NET-API-RPCCONNECT test was simplified to take a
binding string on the command line, removing duplicate code, and
testing the combinations in the scripts instead.
(I have done a bit of work on the list shares code in libnet_share.c
to make it pass 'make test')
In the future, I would like to extend the libcli/findds.c code (based
off volker's winbind/wb_async_helpers.c, which is why it shows up a bit
odd in the patch) to handle getting multiple name replies, sending a
getdc request to each in turn.
(posted to samba-technical for review, and I'll happily update with
any comments)
Andrew Bartlett
(This used to be commit 7ccddfd3515fc2c0d6f447c768ccbf7a220c3380)
|
|
metze
(This used to be commit ed4a3e53fd71679fbdfc2f2932c1098e03026285)
|
|
(This used to be commit 61ae77beecd573809d917dd86d1fac6cc40e967d)
|
|
- 'make doxygen' generated the api documentation under apidocs/
Many thanks to Brad Hards <bradh@frogmouth.net> for the patches!
metze
(This used to be commit e98d483174c555366e62dd27600e6b242cab7a7f)
|
|
metze
(This used to be commit 552e12c05d10ddad55bfc0997303096055ddecdd)
|
|
metze
(This used to be commit 4d32d50ccd8bd0bfb3e2d6f5aee23bce38abbc03)
|
|
metze
(This used to be commit bf6065b11fd84454f8bc881ff96fb1846a59405b)
|
|
metze
(This used to be commit 5d0ae1d2aef3fc7ddb4cb9269bb028beeaee6dfb)
|
|
metze
(This used to be commit 75a98047d6829cadf4b9082bec2733055dad3465)
|
|
metze
(This used to be commit bb68f2e602dbcc94c05b2dd764c163be1e5a583d)
|
|
metze
(This used to be commit 976052c6561dee7232c1a10fb977b1c4776825a2)
|
|
metze
(This used to be commit 41a564fdba5969fc7e518439520764fd56cfa280)
|
|
-D_PUBLIC_="__attribute__((visibility(\"default\")))"
if the compiler supports it, this will cause that modules can only access
public functions (gcc 4 supports this)
metze
(This used to be commit bcf4c362556b8168fc0b63af5708e4a78c7b93fb)
|
|
as well as ncacn_np.
rafal
(This used to be commit 70cf8a4b67657f7c51e95ae5321e5a2e7f52832d)
|
|
now the three supported controls (paged_results,
server_sort, extended_dn) are fully functional
and the infrastructure to add more is in place.
valgrind is happy too :)
Simo.
(This used to be commit bd8e2629378700198e16287823970f52d1150a86)
|
|
metze
(This used to be commit 5540509f10e3fee4c653081a3bc56213d40869df)
|
|
metze
(This used to be commit d4d2f011e2ba11dee67aa6933a75bb6088f92fc0)
|
|
metze
(This used to be commit 1876e245c49d521e89674dc1662a61e8f4cdc9b5)
|
|
this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later.
metze
(This used to be commit 380938e97f31c7860aed1e73cc0110c6e17b472e)
|
|
(This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
|
|
Thank to Andrew Bartlet for finding out a test case that showed it up.
Simo.
(This used to be commit 72a86d74a95c2b38d25159027f612075c50a1f3c)
|
|
Guenther
(This used to be commit 909ef011b1343a33c4da4b2230062fd0468736ce)
|
|
Andrew Bartlett
(This used to be commit 08f8b2aadbc815f91fbe50a5ebcbf33504bcd7cc)
|
|
main provision script a bit, as the argument list was getting out of
control. (It has been replaced in part with an object).
This also returns the session_info from the auth code into ejs.
We still need access control allowing only root to re-provision.
Andrew Bartlett
(This used to be commit 002cdcf3cab6563909d31edc5d825e857dc0a732)
|
|
Andrew Bartlett
(This used to be commit a6028558dc19b0d105b1bfe4126a2b24afaf8dd2)
|
|
Andrew Bartlett
(This used to be commit f4386f7af17add82e88373adb1d585261d13355c)
|
|
structure around, so the auth code knows where the request came from.
Andrew Bartlett
(This used to be commit 7a7b2668c00d4d22bcf8aa3ba256af88f70c38c4)
|
|
the error message.
Andrew Bartlett
(This used to be commit 36c1f67f12d5ac83a7a205c0ec152a79c4a8ba4b)
|
|
can pass that do the auth subsystem.
Andrew Bartlett
(This used to be commit 699f06e5e8ef326808d010fadb51da04972ab385)
|
|
we are going to try and have a 'real' NT token for these users, it is
going to get messy fast. I want to go down the idmap road, but we
don't have the infrustucure for that yet.
Andrew Bartlett
(This used to be commit c90d5e82ff4836765f328b2acf20fd09ec91189b)
|
|
metze
(This used to be commit 21bc072c7addafc6f692fb8e998bd4dd9ab88b49)
|
|
too, and for this we don't include includes.h
(hopefully) fix the build on AIX
metze
(This used to be commit 32f2cf433f65aaa9bcc5e33958d6f9c72c7f13d9)
|
|
subsystem.
Andrew Bartlett
(This used to be commit 15a6f098ff28369bd7fa0a215e2ab150d18ac9f3)
|
|
valgrind in 'make valgrindtest'
(This used to be commit b2030d527a75fecd907148d13860b4ba5193f218)
|
|
torture:quick is set
(This used to be commit b591b28567eba148509c5dec060efaef2fd95ff6)
|
|
(This used to be commit 300d48bc9daa13e1475c10eaa1ec0717c822a7f7)
|
|
Andrew Bartlett
(This used to be commit 37f342b01095787d4a63a419c6ab3657680c2637)
|
|
Andrew Bartlett
(This used to be commit 8f70d6270a788494dd07430f778ee90a51551e66)
|
|
output
and RPC-ECHO doesn't pass under valgrind anymore with this
metze
(This used to be commit 2482bf969d5b903a01ace8fa9237dd440b98196c)
|
|
metze
(This used to be commit e6dff57793c302f8537274a628dba8ab01a2fed8)
|
|
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
|
|
pointer anymore?
thanks valgrind!
metze
(This used to be commit ab58decf8248f3923703fabdaab697f1a8d116c8)
|
|
to specific dirs)
(This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
|
|
consistent along the file.
rafal
(This used to be commit aaccb91cca5da8a869878326da298d22a3b8b2ae)
|
|
metze
(This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)
|
|
but it works for now
metze
(This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)
|
|
metze
(This used to be commit ed4fbfcf3e5b7133e73ee031ad5c68659690e2b1)
|