summaryrefslogtreecommitdiff
path: root/source4/utils
AgeCommit message (Collapse)AuthorFilesLines
2009-06-19Fixed some uninitialised variablesMatthias Dieter Wallnöfer1-2/+11
I tried hard to not change the program logic. Should fix bug #6439.
2009-04-14Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett1-1/+0
For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
2009-03-05Remove ad2oLschema, insted call it directly from provision-backendAndrew Bartlett2-455/+0
This removes a level of indirection via external binaries in the provision-backend code, and also makes better use of our internal code for loading schema from an LDIF file. Remaining to do: Sort the output again, as the load from LDIF is unsorted (also needed because the normal LDB load from sorted input is too slow anyway, and is only needed here). Andrew Bartlett
2009-02-24fixed the event context for net vampireAndrew Tridgell1-1/+1
2009-02-24added a missing linefeedAndrew Tridgell1-1/+1
2009-02-13Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett1-2/+19
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
2009-02-03s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher2-9/+13
metze
2009-02-02s4:ntlm_auth: s/private/private1Stefan Metzmacher1-16/+16
metze
2009-01-30Fix the mess with ldb includes.Simo Sorce3-3/+3
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher4-4/+4
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-24Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij1-1/+1
warnings.
2008-12-23Fix more compiler warnings in various places.Jelmer Vernooij1-2/+2
2008-12-02Use the direct pointer to the syntaxAndrew Bartlett1-5/+4
This rather than manually searching for it, and is inspired by a similar commit in dsdb/schema/schema_description.c by metze Andrew Bartlett
2008-11-23fix the buildVolker Lendecke1-1/+1
2008-11-22Add "net machinepw"Volker Lendecke3-0/+94
Provide a C-based alternative to the python script "mymachinepw"
2008-11-16s4:dsdb/schema: add a function to generate the "extendedClassInfo" valuesStefan Metzmacher1-1/+2
metze
2008-11-16s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" valuesStefan Metzmacher1-1/+4
metze
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-1/+1
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-2/+4
should in the future only contain some settings required for gensec.
2008-11-01Remove use of lp_*() from ntlm_check.c.Jelmer Vernooij1-1/+2
2008-10-24Fix includes.Jelmer Vernooij1-0/+1
2008-10-22Repel pstring to nsswitch/.Jelmer Vernooij1-1/+0
2008-10-22Remove pstring usages.Jelmer Vernooij1-14/+10
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-3/+3
3.
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-1/+1
Conflicts: source4/Makefile
2008-10-08Remove duplicate copy of manual page.Jelmer Vernooij1-83/+0
2008-10-08Add manpage for nmblookup, move nmblookup closer to nbt library.Jelmer Vernooij2-398/+0
2008-10-06Remove DESCRIPTION from generated schema lines.Andrew Bartlett1-4/+10
This is not permitted in the AD aggregate schema, and more trouble than it is worth in the OpenLDAP schema due to escaping issues. Andrew Bartlett
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-6/+4
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-23s4-nbt: use ../libcli/nbtGünther Deschner1-1/+1
Guenther
2008-09-08Move blackbox.smbclient to test against the member server.Andrew Bartlett1-0/+39
The DC is now using smb signing, so testing for the old SMB versions won't work. Add a new test script to check 'net join' independent of blackbox.smbclient. Andrew Bartlett (This used to be commit 44ff392ffea52e89a3ac096a6d381ae540d3473c)
2008-08-18Merge the two attribute syntax tables.Andrew Bartlett2-4/+4
This merges the table once found in the oLschema2ldif tool (and moved many times) with the table used for DRSUAPI. The OpenLDAP schema map has been updated, to ensure that despite a number of attributes being declared as OIDs, they are actually used as strings (as they are actually LDAP class/attribute names). Andrew Bartlett (This used to be commit 61f2958c84beeedcf369ccdc02afed0c8055b108)
2008-08-15Fix the build, after the ad2oLschema changes.Andrew Bartlett1-2/+3
(This used to be commit 7361821b21ef78c564c41466783048606a0b6e98)
2008-08-15Generate the subSchema in cn=AggregateAndrew Bartlett4-377/+18
This reads the schema from the in-memory structure, when the magic attributes are requested. The code is a modified version of that used in the ad2oLschema tool (now shared). The schema_fsmo module handles the insertion of the generated result. As such, this commit also removes these entries from the setup/schema.ldif Metze's previous stub of this functionality is also removed. Andrew Bartlett (This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
2008-08-15Rework generation of the objectClass and attributeType lines.Andrew Bartlett1-169/+209
Now that these are subroutines, we can factor them out into a file the CN=Aggregate schema code can also use. Andrew Bartlett (This used to be commit e3591a6a35ddb60398a03a4fa0545cc6158946ef)
2008-08-15Paramaterise the seperator in ad2OLschemaAndrew Bartlett1-67/+82
This will allow me to add a new mode, with the CN=Aggregate schema format automatically generated. Andrew Bartlett (This used to be commit 7d2a890a7077e446e45527847f78bba84d22bc4c)
2008-07-27Fix location of manpages.Jelmer Vernooij2-0/+0
(This used to be commit 6f5b4ef1d0380d265ce27c882072c759ce19c7c3)
2008-07-10Make ad2oLschema even simpler, by moving the heavy work into dsdb.Andrew Bartlett1-293/+51
This will allow the kludge_acl and schema code to leverage the same work. (We might even get schema validation soon! :-) Andrew Bartlett (This used to be commit cecd04ce1f8ce2af2fb654b3abc1499092405d60)
2008-07-02Move ad2oLschema and oLschema2ldif into Samba4, out of LDBAndrew Bartlett7-0/+1778
LDB does not know about nor process the AD schema, so it makes no sense to have this tool there. I've been changing it anyway, to use a common schema manipulation library, and will enhance these links in the future. Andrew Bartlett (This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)
2008-06-27ntlm_auth: eliminate "cast pointer from integer of different size" warnings ↵Michael Adam1-2/+2
on 64bit. Michael (This used to be commit a0b2440c70a3f453c22159a02ff4a82fe6439cad)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce3-3/+3
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-1/+2
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij2-10/+10
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-05Move NTLM authentication details into auth/ntlmAndrew Bartlett2-0/+2
This should help clarify the role of the various files around here (done on Jelmer's request). Andrew Bartlett (This used to be commit efa399037511ced8978f2e7661a71aac7a384883)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2-9/+15
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij1-1/+0
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-16Avoid event_find_context() when the event context is already availableJelmer Vernooij7-9/+11
in the net utility. (This used to be commit d40804777edf41889bd461f63f7a07cc1cc60e27)
2008-04-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4Jelmer Vernooij1-5/+5
(This used to be commit 7fd98e492e2bf71d111ea8fa3ca9108506f60264)
2008-04-14Fix the build.Jelmer Vernooij1-5/+5
(This used to be commit a70cbd63d9c398ddcbbaa595ee29343335e89aa7)