summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-27loadparm: fix process_registry_shares() when there is only [global] in registry.Michael Adam1-0/+2
This fixes testparm printing "Error loading services." when there is only the global section in registry and no other service definition. Michael (This used to be commit 28d197220038b9a47af177b88a8587f865e45de5)
2008-05-26Re-enable the evil "aio write behind" parameter.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 5d22ca00bcdf49dcb35468400ac8cc3c57808d0d)
2008-05-26Remove unused function is_trusted_domain_situation().Michael Adam2-7/+0
This combined check has been replaced by is_dc_trusted_domain_situation() which does not check for lp_allow_trusted_domains(). Michael (This used to be commit 0a24c038b7bc6edef0021eb121a072cc7e8f9165)
2008-05-26winbind: correctly omit check for trusted domain support in ↵Michael Adam1-1/+1
cm_prepare_connection when checking for a trusted domain situation. This is how it was meant to be: Otherwise, with a dc-trusted-domain situation but trusted domains disabled, we would attempt to do a session setup and fail (wouldn't even get a trust password). Michael (This used to be commit a5a51ca8e5971992d9b060d66201b808bd2b7a53)
2008-05-26passdb: check for is_dc_trusted_domain_situation() in get_trust_pw_hash().Michael Adam1-1/+1
Before fetching legacy password hash, check for trusted domain situation, but also fail if trusted domain support is not enabled. Michael (This used to be commit aa1b8287f44f47f23bd4158112d0a132df04426c)
2008-05-26passdb: add comment explaining logic in get_trust_pw_clear().Michael Adam1-2/+16
Michael (This used to be commit 5f197c659e9c8a573ba5032c7f90c816df45770c)
2008-05-26passdb: in get_trust_pw_clear() correctly fail if trusted domains not supportedMichael Adam1-1/+5
(but trusted domain situation was found) This completes the fix for bugs #5425 and #5451 by Steven Dannemann, in that now no special cases are left uncovered. Michael (This used to be commit 0b26bcd3becb869319bca48bbf244c18b6e8e3dd)
2008-05-26Add function is_dc_trusted_domain_situation().Michael Adam2-3/+8
This is like is_trusted_domain_situation() except that it does not check for lp_allow_trusted_domains(). Michael (This used to be commit a284c8843528972904d142b573f1170a08c97751)
2008-05-26rpcclient: add drsuapi dsgetdcinfo call.Günther Deschner1-0/+161
Guenther (This used to be commit 1e883c88cb667a1485de8e8bbaebb43542f43065)
2008-05-26rpcclient: call drsuapi_DsUnbind() when finished with DsCrackNames call.Günther Deschner1-2/+8
Guenther (This used to be commit d70376fc4faaf9a55337c57035e42afa6a007d1a)
2008-05-26re-run make idl.Günther Deschner3-0/+419
Guenther (This used to be commit d68dcc99c715f9fc1a39f280d76ba21a1fd24e88)
2008-05-26idl: add drsuapi_DsGetDCInfoCtr3 used by w2k8.Günther Deschner1-0/+25
Guenther (This used to be commit 0e77e71ec3bf6115fa2b6ea74502bdc02b037ab6)
2008-05-26rpcclient: simplify drsuapi dscracknames call slightly.Günther Deschner1-15/+7
Guenther (This used to be commit 5611cf42530072bc244a7bed258d3ac959bd0b65)
2008-05-26loadarm: fix testparm with "config backend = registry".Michael Adam1-2/+3
Set the iServiceIndex to "-1" for starup with either config backend (originally only for text backend). Otherwise, process_registry_shares() will fail. Currently, the only user of lp_load_with_registry_shares() is testparm. Michael (This used to be commit 5e2b925367241c41793b2eb7a628e9fc9f3ac8ff)
2008-05-25Fix two c++ warningsVolker Lendecke2-2/+3
(This used to be commit 3b1dae7c31b881834ca4494c4434ae97a56ce6c7)
2008-05-25Fix two bogus uninitalized variable warningsVolker Lendecke1-1/+2
(This used to be commit 194ea682d9a5c12a0125fecc20349ca9cc3d3ea1)
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)