summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-25Fix a const warningVolker Lendecke1-1/+2
Jelmer, would it be possible to make the rpc client functions take const pointers for pure [in] arguments? (This used to be commit d893b2ea13d2e64f1c13aa3984f77baa91a2c658)
2008-05-25Move ber_[read|write]_OID_String protypes to proto.hVolker Lendecke2-3/+2
(This used to be commit 2dbbd81677af9c470ee9370ca5414876d21c6b9b)
2008-05-25Remove some references to get_current_username() and current_user_infoVolker Lendecke7-25/+32
(This used to be commit 344d69f95e217d16213eaa6b53141af6ab459708)
2008-05-25Remove the reference to current_user_info from share_access.cVolker Lendecke6-21/+38
This required to pass around the domain a bit (This used to be commit 17b0db20d28d1b737c5e86b78106657e8ca5ce9c)
2008-05-25Remove reference to current_user_info from lanman.cVolker Lendecke1-13/+13
(This used to be commit f52d7c3faba4aa815d95883775f4859251406161)
2008-05-25Remove stuff from client_proto.hVolker Lendecke1-404/+0
(This used to be commit c1e115964b671802a4af5beab3ad3222ee17b9c0)
2008-05-24build: combine LIB_WITHOUT_PROTO_OBJ and LIB_WITH_PROTO_OBJ into LIB_OBJMichael Adam1-10/+7
No need for this split any more. Michael (This used to be commit 534e87de2eed10db0c8fc5dd8ab7dd2621b09408)
2008-05-24Add generated library symbols files to .gitignoreMichael Adam1-1/+4
Michael (This used to be commit 14635b2684d9167fb59193cfd225925dd3baac3f)
2008-05-24build: remove PROTO_OBJ from Makefile.in - it is not needed any moreMichael Adam1-20/+0
Michael (This used to be commit 3bb1c07890c01303e83a900c58651a990b19fc85)
2008-05-24rpc_open_tcp: now drsuapi is complete, we can use it in the test program.Michael Adam1-6/+0
Michael (This used to be commit 73eb8b7386109c72b13f8d7b5ff5db9baaef280d)
2008-05-24drsuapi: always use tcp for drsuapi.Günther Deschner1-2/+36
cli_rpc_pipe_open() now uses tcp transport for drsuapi and named pipe transport for all other pipes. This finally allows rpcclient to call dscracknames on windows (don't forget to call "seal" in advance). Guenther (This used to be commit b243a036026e79b8d3fb75bf7f7d59a27cb813af)
2008-05-24drsuapi: add very basic drsuapi rpcclient command set.Günther Deschner3-0/+114
Guenther (This used to be commit bd13c87bac54d4bbae7b3cd7c9dc991d143d4d89)
2008-05-24drsuapi: fix the build.Günther Deschner1-6/+6
Guenther (This used to be commit 92412648c3fc18ba0bfc56b76c6d3816f627628f)
2008-05-24Revert "drsuapi: fix the build."Günther Deschner3-120/+6
This reverts commit b2421c81164da2a5ea4bb2391e4f2c410938db42. (This used to be commit f853f3b0aceb7e8454f9f7de38237eecec4317fd)
2008-05-24drsuapi: fix the build.Günther Deschner3-6/+120
Guenther (This used to be commit b2421c81164da2a5ea4bb2391e4f2c410938db42)
2008-05-23drsuapi: add all code required for our drsuapi rpc client.Günther Deschner12-3/+1373
Guenther (This used to be commit 7c93190843e77764be4d0f6d4f0b93061c192c98)
2008-05-23Manually merge Steven Danneman's patch for SPNEGO auth to a trustedGerald W. Carter3-26/+31
Win2008 domain (merged from v3-0-test). commit 8dc4e979776aae0ecaa74b51dc1eac78a7631405 Author: Steven Danneman <sdanneman@isilon.com> Date: Wed May 7 13:34:26 2008 -0700 spnego SPN fix when contacting trusted domains cli_session_setup_spnego() was not taking into consideration the situation where we're connecting to a trusted domain, specifically one (like W2K8) which doesn't return a SPN in the NegTokenInit. This caused two problems: 1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we were always using our default realm, not the realm of the domain we're connecting to. 2) When falling back on NTLMSSP for authentication we were passing the name of the domain we're connecting to for use in our credentials when we should be passing our own workgroup name. The fix for both was to split the single "domain" parameter into "user_domain" and "dest_realm" parameters. We use the "user_domain" parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN if none was returned in the NegTokenInit2 packet. If no "dest_realm" is provided we assume we're connecting to our own domain and use the credentials cache to build the SPN. Since we have a reasonable guess at the SPN, I removed the check that defaults us directly to NTLM when negHint is empty. (This used to be commit b78b14c88e8354aadf9ba7644bdb1c29245fe419)
2008-05-23Manually port Steven Dannenman fix for using the correct machine domain whenGerald W. Carter2-6/+6
looking up trust credentials in our tdb. commit fd0ae47046d37ec8297396a2733209c4d999ea91 Author: Steven Danneman <sdanneman@isilon.com> Date: Thu May 8 13:34:49 2008 -0700 Use machine account and machine password from our domain when contacting trusted domains. (This used to be commit 69b37ae60757075a0712149c5f97f17ee22c2e41)
2008-05-23build: make sure LIBWBCLIENT_*_TARGET is never emptyStefan Metzmacher1-4/+4
This should fix the build with non gnu make metze (cherry picked from commit 401a0c84fe5f60e57e95331805da6b53dd1d7c2e) (This used to be commit 36ba31e39b28e5495b0aeb8638df3a10ce6c51e6)
2008-05-23libwbclient: add wbcLibraryDetails()Stefan Metzmacher2-0/+38
metze (cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f) (This used to be commit 196d9017627220786d8b726dc0d02e16e96c4c05)
2008-05-23libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher3-5/+5
metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4) (This used to be commit e7dcbf56aef836e1b4be70b21064f65338221b5a)
2008-05-23build: add symbol versioning when we build with gnu ldStefan Metzmacher6-16/+69
There's --enable-symbol-versioning=no to disable it. metze (cherry picked from commit cb5492978b6b157f529806afb2f5fc6202888129) (This used to be commit a739652d94300881479262648592223536fc8eec)
2008-05-23build: autogenerate exports/libwbclient.symsStefan Metzmacher3-8/+16
metze (cherry picked from commit 8e0fcd583a643a8f4240698efcbb177463534a82) (This used to be commit 17ce13775423efffd8ddfb967e1e09b2f41849af)
2008-05-23build: autogenerate exports/libtalloc.symsStefan Metzmacher2-11/+10
metze (cherry picked from commit ce9d8ea9818d91bd91f95149f3b0a7ed4f2dae3b) (This used to be commit dc0a4f7dc502cb285bce9de2ef72a722f91c43b9)
2008-05-23build: pass .syms extention via @SYMSEXT@ from configureStefan Metzmacher2-3/+7
metze (cherry picked from commit efb23fdce72db48b4c149fb3dd4a6f4aa3eebbbe) (This used to be commit 3bf5a047e3d478b3356df7aa5c4f4a9d0b763639)
2008-05-23Fix a (bogus) uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit 6106d48a5c94e7c1f3a7234807e43aca0a51fa62)
2008-05-23build: add a "make shlibs" target to build all the shared libraries.Michael Adam1-0/+2
Michael (This used to be commit 5a99f59d7514edadbab081dc0c5c28a6ea26972a)
2008-05-23build: autogenerate exports/libnetapi.symsStefan Metzmacher2-4/+6
metze (cherry picked from commit dc09e04d524dcc92a29da0864666fd4258a81b76) (This used to be commit c3797d6a2cc2e4c5b0678dc92924c26b18bd2678)
2008-05-22Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limitsJeremy Allison1-19/+6
as they are no longer needed now we have IDL marshalling. Change the calculation of the 32-bit fileid we return to a Windows client. We can't just use the generation count as it starts at zero for every smbd - and this command must enumerate all files open across all smbds. We'd really like combination of process-id + dev + inode + generation count to be unique, but as we can't fit that into 32 bits just use 16 bits of pid + generation count. Jeremy. (This used to be commit 8b926d5a93d04b828990057ae6f1e090764305c1)
2008-05-22Revert "Arggh. Got the path/user the wrong way around. IDL is correct :-)."Jeremy Allison1-6/+19
This reverts commit 1078b5c53ae9d6f9532eecebf9cf4a1712200b7e. This message doesn't match the actual change. (This used to be commit a65abb49cf8d291c7deb659912c0df34ec37da02)
2008-05-22Arggh. Got the path/user the wrong way around. IDL is correct :-).Jeremy Allison1-19/+6
Jeremy. (This used to be commit 1078b5c53ae9d6f9532eecebf9cf4a1712200b7e)
2008-05-22Arggh. Got the path/user the wrong way around. IDL is correct :-).Jeremy Allison1-4/+4
Jeremy. (This used to be commit 2281274480d8cf9e773874301dbbc7bf06346901)
2008-05-22Fix 2 bugs with displaying open file state. FirstlyJeremy Allison1-3/+3
the IDL is documented incorrectly in the MS-DOCS. Username and path need to be reversed (yes I will raise this with MS). Secondly, we need to check access_mask for the permissions, not share_access (share_access are the deny modes). Jeremy. (This used to be commit bdaad19f90e991aba2afccfa13afbbfe2ac7baaf)
2008-05-22Get rid of "shadowed local var" warnings with gcc.Jeremy Allison1-7/+7
Jeremy. (This used to be commit 0bc18967aa7cb6f4debeaa48be81d0e48a7d9503)
2008-05-22Make WINBINDD_LIST_GROUPS handler asynchronous.Steven Danneman6-60/+187
Previously WINBINDD_LIST_GROUPS requests (ex: wbinfo -g) were handled by the winbindd parent process in a sequential fashion. This patch, delegates the work to the winbindd children so that the request is handled much faster in large domain topologies, and doesn't block the parent from receiving new requests. The core group enumeration and conversion that was handled in winbindd_list_groups() has been moved into winbindd_dual_list_groups() to be done by the child. The parent winbindd_list_groups() simply calls each of the children asynchronously. listgroups_recv() aggregates the final group list that will be returned to the client and tracks how many of the children have returned their lists. The domain name of the child is passed back through the callbacks to be used in debugging messages. There are also several fixes to typos in various comments. (This used to be commit 037b9689d9042a398cb91e4628a82fcdfa913c21)
2008-05-22library-versions: use the same version for talloc and tdb as for the ↵Stefan Metzmacher1-2/+2
standalone builds metze (This used to be commit 87fa2f4a287eccb596d803096c10c3d58a253452)
2008-05-22libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly ↵Stefan Metzmacher1-1/+1
detected metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) (This used to be commit b28b63c911efe17ba37c15c9b74edd96e9584832)
2008-05-22configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKETStefan Metzmacher1-1/+1
metze (This used to be commit d53b589debdb95d3ae46e6b45c6951f522ccc5a1)
2008-05-22configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have thisStefan Metzmacher1-23/+0
metze (This used to be commit e94ff756be627b40c433cb53547007a5c219cc9e)
2008-05-22libreplace: add test for HAVE_IPV6Stefan Metzmacher1-0/+29
Samba can later just check libreplace_cv_HAVE_IPV6 = yes. metze (cherry picked from commit e835e7eebcc064ce0813814796828f15ad112fbd) (This used to be commit 1ca4508f3a996982a528942da1b12b94b91e94cd)
2008-05-22rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.Michael Adam2-14/+7
Slim the interface... Michael (This used to be commit 9971118c23900d81e885a013e738a67df790c90c)
2008-05-22torture: add a test program rpc_open_tcp() to test the rpc_pipe_open_tcp() func.Michael Adam2-0/+135
This is still very raw and has yet to be integrated into the test suite. Michael (This used to be commit 3ec3ab4e5309c63bbf2fa5efa5d2c47856560a0f)
2008-05-22rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().Michael Adam4-12/+171
Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689)
2008-05-22client: Fix the proto header to fix the build.Kai Blin1-1/+1
(This used to be commit 9e39ac1cc31d48db968e79c4698901e079007ff7)
2008-05-21Compile endpoint mapper pidl outputVolker Lendecke4-1/+8
(This used to be commit fe8f9e427af3eb42d63fde96c4fe20a255facb95)
2008-05-21rpc_client: add a destructor to close the socket for pipes over tcp.Volker Lendecke1-0/+10
used in rpc_pipe_open_tcp() and rpc_pipe_open_ncalrpc(). (This used to be commit a0bdd56c75ca6f6c6068995647c0dc1ba89aef12)
2008-05-21Add client support for NCACN_UNIX_STREAMVolker Lendecke2-4/+89
(This used to be commit 24ac40518f79fd480baaedc1d42f3b6fe8ea1c94)
2008-05-21rpccli_schannel_bind_data only needs the schannel keyVolker Lendecke2-4/+5
(This used to be commit be5d54a363a57113e494202a2d22dd9bbcf13b41)
2008-05-21Rename rpc_pipe_client.tcp.sock to rpc_pipe_client.sock.fdVolker Lendecke2-9/+9
(This used to be commit 2ff908a902ec857856518eaddb5246dd5067063d)
2008-05-21Fix a commentVolker Lendecke1-1/+1
(This used to be commit 8ae39c1339758795a91c6a168e210357e7f29eae)