summaryrefslogtreecommitdiffstats
path: root/source4/utils
Commit message (Collapse)AuthorAgeFilesLines
* fixed the event context for net vampireAndrew Tridgell2009-02-241-1/+1
|
* added a missing linefeedAndrew Tridgell2009-02-241-1/+1
|
* Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett2009-02-131-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
* s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher2009-02-032-9/+13
| | | | metze
* s4:ntlm_auth: s/private/private1Stefan Metzmacher2009-02-021-16/+16
| | | | metze
* Fix the mess with ldb includes.Simo Sorce2009-01-303-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.
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-294-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
* Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij2008-12-241-1/+1
| | | | warnings.
* Fix more compiler warnings in various places.Jelmer Vernooij2008-12-231-2/+2
|
* Use the direct pointer to the syntaxAndrew Bartlett2008-12-021-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
* fix the buildVolker Lendecke2008-11-231-1/+1
|
* Add "net machinepw"Volker Lendecke2008-11-223-0/+94
| | | | Provide a C-based alternative to the python script "mymachinepw"
* s4:dsdb/schema: add a function to generate the "extendedClassInfo" valuesStefan Metzmacher2008-11-161-1/+2
| | | | metze
* s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" valuesStefan Metzmacher2008-11-161-1/+4
| | | | metze
* Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2008-11-021-1/+1
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-2/+4
| | | | should in the future only contain some settings required for gensec.
* Remove use of lp_*() from ntlm_check.c.Jelmer Vernooij2008-11-011-1/+2
|
* Fix includes.Jelmer Vernooij2008-10-241-0/+1
|
* Repel pstring to nsswitch/.Jelmer Vernooij2008-10-221-1/+0
|
* Remove pstring usages.Jelmer Vernooij2008-10-221-14/+10
|
* Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij2008-10-181-3/+3
| | | | 3.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-1/+1
| | | | | | Conflicts: source4/Makefile
* Remove duplicate copy of manual page.Jelmer Vernooij2008-10-081-83/+0
|
* Add manpage for nmblookup, move nmblookup closer to nbt library.Jelmer Vernooij2008-10-082-398/+0
|
* Remove DESCRIPTION from generated schema lines.Andrew Bartlett2008-10-061-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
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-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.
* s4-nbt: use ../libcli/nbtGünther Deschner2008-09-231-1/+1
| | | | Guenther
* Move blackbox.smbclient to test against the member server.Andrew Bartlett2008-09-081-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)
* Merge the two attribute syntax tables.Andrew Bartlett2008-08-182-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)
* Fix the build, after the ad2oLschema changes.Andrew Bartlett2008-08-151-2/+3
| | | | (This used to be commit 7361821b21ef78c564c41466783048606a0b6e98)
* Generate the subSchema in cn=AggregateAndrew Bartlett2008-08-154-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)
* Rework generation of the objectClass and attributeType lines.Andrew Bartlett2008-08-151-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)
* Paramaterise the seperator in ad2OLschemaAndrew Bartlett2008-08-151-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)
* Fix location of manpages.Jelmer Vernooij2008-07-272-0/+0
| | | | (This used to be commit 6f5b4ef1d0380d265ce27c882072c759ce19c7c3)
* Make ad2oLschema even simpler, by moving the heavy work into dsdb.Andrew Bartlett2008-07-101-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)
* Move ad2oLschema and oLschema2ldif into Samba4, out of LDBAndrew Bartlett2008-07-027-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)
* ntlm_auth: eliminate "cast pointer from integer of different size" warnings ↵Michael Adam2008-06-271-2/+2
| | | | | | | on 64bit. Michael (This used to be commit a0b2440c70a3f453c22159a02ff4a82fe6439cad)
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-143-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)
* Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-181-1/+1
| | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
* Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-181-1/+2
| | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
* Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-182-10/+10
| | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
* Move NTLM authentication details into auth/ntlmAndrew Bartlett2008-05-052-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)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-212-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)
* Remove event context tracking from the credentials struct.Jelmer Vernooij2008-04-171-1/+0
| | | | (This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
* Avoid event_find_context() when the event context is already availableJelmer Vernooij2008-04-167-9/+11
| | | | | in the net utility. (This used to be commit d40804777edf41889bd461f63f7a07cc1cc60e27)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4Jelmer Vernooij2008-04-141-5/+5
|\ | | | | | | (This used to be commit 7fd98e492e2bf71d111ea8fa3ca9108506f60264)
| * Fix the build.Jelmer Vernooij2008-04-141-5/+5
| | | | | | | | (This used to be commit a70cbd63d9c398ddcbbaa595ee29343335e89aa7)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4Jelmer Vernooij2008-04-147-34/+44
|\| | | | | | | (This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)
| * Fix problems with event context not being the parent.Simo Sorce2008-04-147-34/+44
| | | | | | | | (This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
* | Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2008-04-142-19/+21
|/ | | | (This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)