summaryrefslogtreecommitdiff
path: root/source4/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3790: use a registration function that is called from dcerpc_*_init functionsJelmer Vernooij1-24/+8
rather then a large table in librpc/gen_ndr/tables.c. This will allow us to only link in only the required gen_ndr files (speeds up linking quite a bit, makes binaries smaller). Each gen_ndr_* file now has a init function that calls the init functions of the interfaces it contains. I did it this way to keep pidl's code simple, though it might hurt startup time a bit. I'd be happy to change it if people like one function better. (This used to be commit 3c436590ae95b58ad6d00e72d6fdd08a4d80f208)
2007-10-10r3744: Support building subsystems as a shared library. Modules don't work yet,Jelmer Vernooij1-1/+2
so while this does compile, it does not work yet. (This used to be commit 3d885562c9f83d60c5d4957b067e35387dfa50dd)
2007-10-10r3733: More build system fixes/features:Jelmer Vernooij3-28/+0
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities) (This used to be commit 64826da834e26ee0488674e27a0eae36491ee179)
2007-10-10r3633: - moved module init functions to after smb.conf and command lineAndrew Tridgell2-3/+5
parsing, so that module init can take account of lp_ parms (thats why gensec:krb5=no wasn't working) - added a BASE-DISCONNECT torture test that tests server response to clients disconnecting with open lock and open requests pending (This used to be commit 5205f598b8c0be6985e61cc842cc5da109ba5b7e)
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij6-0/+11
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions (This used to be commit 7a8244761bfdfdfb48f8264d76951ebdfbf7bd8a)
2007-10-10r3579: with the gcc warning flag from abartlet we don't need sys_strftime()Andrew Tridgell1-1/+1
(This used to be commit 041f77b6a19c98599fe18d2eb4e86db00b40014e)
2007-10-10r3570: Export the user's group list from ntlm_auth, via a new command 'UG'Andrew Bartlett1-2/+30
(user groups). The form of this is not final, but is this should be a discussion point with the squid team. Andrew Bartlett (This used to be commit cbb0c67d06f75c2d8841a95ba8837124160ffd49)
2007-10-10r3552: fixed sense of ACL testAndrew Tridgell3-3/+3
(This used to be commit 630af28a0f812b5bafce3ffeb72ebd069b66adac)
2007-10-10r3551: these utils need system/filesys.hAndrew Tridgell3-0/+3
(This used to be commit 1b945f9f4bcbb6afb3e531e92cd2e904c92c334e)
2007-10-10r3543: fixed some #include lines to make them more consistent, and fixedAndrew Tridgell3-3/+3
conditional compilation of xattr client code (This used to be commit 321fb06a627f4deae649ab014bc881721d37b3dd)
2007-10-10r3541: Add support (to be verified with the squid team) for the Squid 3.0Andrew Bartlett1-62/+135
multiplexed helper system. This system prefixes every request with a number, and we maintian a state machine for each of these integers. This means that we can have multiple outstanding challenges, without the overhead of a whole ntlm_auth process. In future, the actual password check will also be async. Andrew Bartlett (This used to be commit 9ea34abce384214e35b1b2c5f405c5f91f27d195)
2007-10-10r3497: removed some include cruft, and split out librpc/gen_ndr/tables.hAndrew Tridgell1-0/+1
(This used to be commit 7dd3a5a6dadb0edc4fad56deba84f24b1e6dd2bc)
2007-10-10r3494: got rid of include/rewrite.h, and split out the dynconfig.h headerAndrew Tridgell2-0/+2
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
2007-10-10r3490: All tests work against NT4 nowJelmer Vernooij1-1/+1
(This used to be commit 640e3a8ce865a72b171bdf15c8cf5afc2987a5d3)
2007-10-10r3489: Add a couple more DCOM tests (Both OxidResolver and RemoteActivation areJelmer Vernooij1-1/+0
completely covered now) (This used to be commit 06048d0dac60ae04a677786c0bd3df4f516d8034)
2007-10-10r3478: split out some more pieces of includes.hAndrew Tridgell3-0/+5
(This used to be commit 8e9212ecfc61c509f686363d8ec412ce54bc1c8d)
2007-10-10r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ↵Andrew Tridgell1-0/+1
ioctl.h) (This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)
2007-10-10r3454: moved a few more things out if includes.h into the include/system/ ↵Andrew Tridgell2-0/+2
include files. this brings us down to about 11k lines of headers included with includes.h, while still retaining the speed of building with pch (This used to be commit 10188869ef072309ca580b8b933e172571fcdda7)
2007-10-10r3453: - split out the auth and popt includesAndrew Tridgell3-0/+4
- tidied up some of the system includes - moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl knows about inter-IDL dependencies (This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
2007-10-10r3449: more include file reductionAndrew Tridgell1-0/+1
the ldb part isn't ideal, I will have to think of a better solution (This used to be commit 6b1f86aea8427a8e957b1aeb0ec2f507297f07cb)
2007-10-10r3447: more include/system/XXX.h include filesAndrew Tridgell1-0/+1
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell1-5/+5
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10r3415: Add support for parsing a Request file before a Reply file so we canJelmer Vernooij1-9/+41
use ndrdump for replies that depend on variables from requests (This used to be commit 5d83de4c64fbbd6775ba6d42c430ef2cba11be4f)
2007-10-10r3323: more warning reductionsAndrew Tridgell1-1/+1
(This used to be commit 5921587ec26e4892efc678421277e4969417d7f5)
2007-10-10r3291: fix the build, thx to pipitas for finding thisStefan Metzmacher2-6/+7
metze (This used to be commit d331a83f08b492ea463fb8781b4c46a71f80bf42)
2007-10-10r3278: - rewrote the client side rpc connection code to use lib/socket/Andrew Tridgell1-3/+3
rather than doing everything itself. This greatly simplifies the code, although I really don't like the socket_recv() interface (it always allocates memory for you, which means an extra memcpy in this code) - fixed several bugs in the socket_ipv4.c code, in particular client side code used a non-blocking connect but didn't handle EINPROGRESS, so it had no chance of working. Also fixed the error codes, using map_nt_error_from_unix() - cleaned up and expanded map_nt_error_from_unix() - changed interpret_addr2() to not take a mem_ctx. It makes absolutely no sense to allocate a fixed size 4 byte structure like this. Dozens of places in the code were also using interpret_addr2() incorrectly (precisely because the allocation made no sense) (This used to be commit 7f2c771b0e0e98c5c9e5cf662592d64d34ff1205)
2007-10-10r3006: PoptifyJelmer Vernooij1-16/+26
(This used to be commit 5c46747c36aa09289c6b2df3927833aec78059fd)
2007-10-10r2643: convert more of the auth subsyystem to the new talloc methods. ThisAndrew Tridgell1-1/+1
also fixes a memory leak found with --leak-check. (This used to be commit f19201ea274f0a542314c61c4af676197bf154ad)
2007-10-10r2630: I missed a couple of places in the gensec talloc conversionAndrew Tridgell1-3/+3
(This used to be commit 7124949140141513193f41bb8491aa6a283efed7)
2007-10-10r2629: convert gensec to the new talloc modelAndrew Tridgell1-2/+2
by making our gensec structures a talloc child of the open connection we can be sure that it will be destroyed when the connection is dropped. (This used to be commit f12ee2f241aab1549bc1d9ca4c35a35a1ca0d09d)
2007-10-10r2612: Ensure ntlm_auth always logs to stderr.Andrew Bartlett1-2/+2
Add missing break; Andrew Bartlett (This used to be commit cdb8261775a3100e1b95b485d91ba1f94c879905)
2007-10-10r2611: Try to make Samba4's ntlm_auth more consistant with Samba 3.0.Andrew Bartlett1-8/+5
Andrew Bartlett (This used to be commit 8f4dab5d44480b40fc14afc70172861c229ba77d)
2007-10-10r2597: A small program that takes SID strings on stdin and produces a marshalledTim Potter3-0/+93
lsa_SidArray on stdout. (This used to be commit d7d8a7ffc66cf6f78f11e8aed975d746c7a520a3)
2007-10-10r2582: Merge checks for xattr and acl libraries from Samba3 so the ↵Tim Potter2-2/+24
{get,set}ntacl programs can build on non-xattr machines. (This used to be commit daad76207dbb4060c231a58c99970e837e1e858f)
2007-10-10r2576: Some userspace tools for getting and setting ntacls via the ↵Tim Potter4-0/+252
'security.ntacl' extended attribute. (This used to be commit 5b88226f9002711baac73e66d04ecf92b7765809)
2007-10-10r2546: Remove another strupper_m() that we don't need.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 5c5b45c1a870693c6201a09b508109b121ddc030)
2007-10-10r2074: fixed a typoAndrew Tridgell1-1/+1
(This used to be commit dce43a535c9f6135c162711bc12cee266fc46c4a)
2007-10-10r2066: add 'net time' commandStefan Metzmacher3-1/+88
use it like: net time <server> net time <server> -U "" -N net time <server> -U DOM\\user ... metze (This used to be commit ea14b2780f1cb6597ba4e71b83364e6a39e966fe)
2007-10-10r1985: take advantage of the new talloc in a few more placesAndrew Tridgell1-5/+7
(This used to be commit 6ffdfd779936ce8c5ca49c5f444e8da2bbeee0a8)
2007-10-10r1951: add 'net password set' callStefan Metzmacher1-0/+82
use it like: net password set user net password set DOM\\user net password set user pass net password set DOM\\user pass net password set -U DOM\\Administrator%admpass DOM\\user pass metze (This used to be commit b660e5b9e6236c996550973e9bde1e80a8eed775)
2007-10-10r1949: provide functions to access the username, userdomain and userpasswordStefan Metzmacher1-10/+3
now you're prompted when cmdline_get_userpassword() is called and the password is not yet known metze (This used to be commit d14a01533c5d465ff3709c48576b798b3be807e0)
2007-10-10r1919: paasword change basicly works now:-)Stefan Metzmacher1-0/+3
but we need to find the real pdc for the users domain and fallback to other levels metze (This used to be commit f1b9c1f3dd0fb927c065541da900ae43e0018a62)
2007-10-10r1915: use popt's cmdline_auth_info to fill the net_contextStefan Metzmacher2-11/+22
and print the user domain when prompting for a new password metze (This used to be commit aedb2e9e1c418a7ac3cc18299707ae9146e4047a)
2007-10-10r1914: use common popt stuff in netStefan Metzmacher1-9/+8
metze (This used to be commit 52b866c40332ab408c57a0eab415e0755e4b5081)
2007-10-10r1880: bugger, now I have used gcc 3.4.1 myself and have statements before ↵Stefan Metzmacher1-7/+6
declarations Does any knows if there are flags to let gcc 3.4.1 fail with that? metze (This used to be commit 6ad57a86c8583df90a93fdf36b7184010d2054bc)
2007-10-10r1879: - add a user sub struct in net_contextStefan Metzmacher4-23/+172
- add 'net password change' command (it doesn'T work yet because libnet_rpc_connect() isn't implemented yet, and we don't fill in the net_context user substruct yet) metze (This used to be commit 939da063cdf18a5ab7e7f0490ac58d1f138cf0f0)
2007-10-10r1877: since make proto catches all functionsStefan Metzmacher1-1/+0
the inlcude has to move to includes.h metze (This used to be commit 97fe38183b6a03c01f6ac2d28a958d632eb4ff8a)
2007-10-10r1876: rewrite net command completelyStefan Metzmacher5-567/+111
and add it to the build metze (This used to be commit 14b9858800f6944bf78bee34338242cd3292b297)
2007-10-10r1875: - move 'net' code into a subdirStefan Metzmacher12-6883/+0
- and remove all unneeded files we'll reimplement the stuff step by step using the functions from libnet/ which will do the hard work for us metze (This used to be commit 8b2d5ec973fde980389bfe03cbcd70274b98b2dc)
2007-10-10r1844: fix the build,Stefan Metzmacher1-1/+1
jelmer: you forgot lookupsid.c metze (This used to be commit 2d4b806156842af84dd6de217a8652f4c9b0e090)