summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
* r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter2007-09-282-3/+3
| | | | | | The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run).
* r25403: grab latest changes form 3.2 tree in preparation for release of ↵Gerald Carter2007-09-282-3/+3
| | | | 3.2.0pre1
* r25387: Sync with 3.2.0 svn treeGerald Carter2007-09-2710-282/+316
|
* r25055: Add file_id_string_tosVolker Lendecke2007-09-101-1/+1
| | | | This removes file_id_string_static and file_id_string_static2
* r25040: Add "net sam rights"Volker Lendecke2007-09-081-4/+136
| | | | | | | Not strictly in the SAM, but close enough. This command acts directly on the local tdb, no running smbd required This also changes the root-only check to a warning
* r25019: Fix coverity bug #105, run #332. Use of uninitialized variable.Jeremy Allison2007-09-081-6/+8
| | | | Jeremy.
* r24962: This merges the winreg rpc server and client code from 3_2,Michael Adam2007-09-051-162/+644
| | | | | | | | | | | | | | | | | | | | | | | | i.e. it removes the hand woven parsing and marshalling code and useses the pidl generated code instead. This removes the files rpc_server/srv_winreg.c, rpc_parse/parse_reg.c, include/rpc_reg.h and registry/reg_frontend_legacy.c. It effectively *copies* the files rpc_client/cli_reg.c and rpc_server/srv_winreg_nt.c. So not only the rewrite of srv_winreg_nt to use the pidl based rpc code ist taken but also Volker's rewrite to use the new reg_api code in r19991 and following. Furthermore, net_rpc_registry.c is copied from 3_2, giving us a full command line regedit replacement in 3_2_0. Michael PS: This patch sums up to 6309 lines in total, but of this, there are 2848 lines removed by the four deleted files alone. Diffstat says: 1098 insertions(+), 4562 deletions(-). So it's not that bad... :-)
* r24951: Warn if "os level" > 255Volker Lendecke2007-09-041-0/+4
| | | | Thanks to Karolin Seeger <ks@sernet.de>
* r24950: Merge r21784Volker Lendecke2007-09-044-5/+5
| | | | | | | Replace smb_register_idle_event() with event_add_timed(). This fixes winbind which did not run the idle events to drop ldap connections. Volker
* r24943: Some stackframesVolker Lendecke2007-09-049-6/+24
|
* r24854: Rename function as Jerry asked.Rafal Szczesniak2007-08-312-5/+5
| | | | | | | s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal
* r24845: Fix a segfault in smbcontrol when called with parameters but no ↵Michael Adam2007-08-311-3/+5
| | | | | | extra args. Michael
* r24843: Add a "validate-cache" control message to winbindd.Michael Adam2007-08-311-0/+44
| | | | | | | | | | | So there is a new subcommand "smbcontrol winbindd validate-cache" now. This change provides the infrastructure: The function currently returns "true" unconditionally. The call of a real cache validation function will be incorporated in subsequent changes. Michael
* r24828: Give smbcontrol an initial talloc stackframe.Michael Adam2007-08-311-1/+6
|
* r24827: Give smbstatus an initial talloc stackframe.Michael Adam2007-08-311-14/+24
| | | | | | | Rewrite main() so as to exit only at a single point where the stack frame is freed, too. Michael
* r24825: Give testparm an initial talloc stackframe, so it does not complainMichael Adam2007-08-311-0/+3
| | | | it is leaking.
* r24824: Create an initial talloc stackframe for the net binary.Michael Adam2007-08-311-0/+3
|
* r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke2007-08-302-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the two functions talloc_stackframe() and talloc_tos(). * When a new talloc stackframe is allocated with talloc_stackframe(), then * the TALLOC_CTX returned with talloc_tos() is reset to that new * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse * happens: The previous talloc_tos() is restored. * * This API is designed to be robust in the sense that if someone forgets to * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and * resets the talloc_tos(). The original motivation for this patch was to get rid of the sid_string_static & friends buffers. Explicitly passing talloc context everywhere clutters code too much for my taste, so an implicit talloc_tos() is introduced here. Many of these static buffers are replaced by a single static pointer. The intended use would thus be that low-level functions can rather freely push stuff to talloc_tos, the upper layers clean up by freeing the stackframe. The more of these stackframes are used and correctly freed the more exact the memory cleanup happens. This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and lp_talloc_ctx (did I forget any?) So, never do a tmp_ctx = talloc_init("foo"); anymore, instead, use tmp_ctx = talloc_stackframe() :-) Volker
* r24792: Merge from 3_2:Rafal Szczesniak2007-08-293-7/+42
| | | | | | | | | Add machine-authenticated connections to netlogon pipe of win2k and newer (which may have anonymous connections restricted) and leave anonymous for winnt domain. rafal
* r24787: Janitor for Mimir. Mimir, you checked into SAMBA_3_2 andJeremy Allison2007-08-291-41/+41
| | | | | | | | | | SAMBA_3_0 - this second branch is defunct. You should be checking into SAMBA_3_2_0 instead - this is what we will be shipping as 3.2.0. Jeremy. Use infolevel 25 to set the machine account's password (just like winxp). This correctly updates pwdLastSet field on win2k3 server.
* r24783: Remove unused off_t type.Günther Deschner2007-08-291-3/+2
| | | | Guenther
* r24742: Add experimental DsGetDcName() call (will be used by krb5 locator ↵Günther Deschner2007-08-281-5/+100
| | | | | | | | for fine grained KDC DNS queries). Guenther
* r24527: Add a function lp_canonicalize_parameter_with_value that turnsMichael Adam2007-08-171-33/+10
| | | | | | | | | a parameter and value into the canonical paramter with the value inverted if it was in invers boolean synonym. Make net conf use this function when storing parameters. Michael
* r24513: Reformatting: eliminate trailing spaces, overly long linesMichael Adam2007-08-171-69/+64
| | | | | | and adjust some formattings to standard. Michael
* r24496: Add initial synonym handling to "net conf":Michael Adam2007-08-161-11/+45
| | | | | | | | | | | | | | | When storing parameters in the smbconf portion of the registry, up to now, synonyms could be misused to store a parameter twice. Now this is prevented by canonicalizing the paramter name first. Also, the value for a boolean parameter checked for validity before storing the bool in registry. (The canonicalization should finally go into the registry smbconf code to also prevent e.g. "regedit" or "net rpc registry" from storing synonyms. - This is in the making.) Michael
* r24432: Expand kerberos_return_pac() so that it can be used in winbindd.Günther Deschner2007-08-141-1/+8
| | | | Guenther
* r24413: Minor edits for libgpo.Günther Deschner2007-08-141-4/+16
| | | | Guenther
* r24126: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-2/+2
| | | | | | use TALLOC_FREE() metze
* r24116: merge from SAMBA_3_2:Stefan Metzmacher2007-08-011-4/+17
| | | | | | | | try to get the file name and share patch for printing brlocks from the share_mode db, as the same fileid is used. metze
* r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>Volker Lendecke2007-07-311-1/+1
|
* r24047: With -Wmissing-prototypes these two always generate warnings. TheyVolker Lendecke2007-07-251-0/+14
| | | | should be properly prototyped. For now, gloss over the warning.
* r24044: Fix an uninitialized variable warningVolker Lendecke2007-07-251-1/+1
|
* r24022: use MSG_BROADCAST_PID_STR as value for broadcast messagesStefan Metzmacher2007-07-241-1/+1
| | | | | | | | to fix the cluster case vl: please check, if this works with clustering = no metze
* r24020: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher2007-07-241-8/+23
| | | | | | | use a timed event to make sure the timelimit is correctly handled in smbcontrol when waiting for messages metze
* r24005: Attempt to fix the build on host deckchairVolker Lendecke2007-07-231-1/+1
|
* r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, ↵Günther Deschner2007-07-191-0/+111
| | | | | | | | renew, pac). Guenther
* r23968: Harmonize net's password prompts.Günther Deschner2007-07-192-16/+35
| | | | Guenther
* r23955: merge from 3_0-ctdb-tridge:Stefan Metzmacher2007-07-181-0/+4
| | | | | | don't display dead share mode entries in smbstatus metze
* r23889: merge from SAMBA_3_2:Stefan Metzmacher2007-07-161-13/+13
| | | | | | | move elements belonging to the current ldap connection to a substructure. metze
* r23874: Some more minor edits for net ads gpo.Günther Deschner2007-07-131-27/+88
| | | | Guenther
* r23834: Allow to pass an ADS_STRUCT pointer down to the dump function ↵Günther Deschner2007-07-111-1/+1
| | | | | | | | callback in libads. Guenther
* r23803: fixed the build.Andrew Tridgell2007-07-101-1/+1
| | | | This seems to be have broken for quite a while.
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-07-1011-22/+11
|
* r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell2007-07-101-2/+2
| | | | not GNU Library General Public License
* r23795: more v2->v3 conversionAndrew Tridgell2007-07-101-1/+1
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-1041-82/+41
|
* r23782: I tested this against NT4 PDC, W2K Server, W2K3 Dc, and a Win XP std ↵Simo Sorce2007-07-091-6/+1
| | | | | | alone client and they all work with this code.
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-0951-51/+51
| | | | Jeremy.
* r23772: Add ads_find_samaccount() helper function.Günther Deschner2007-07-091-61/+6
| | | | Guenther
* r23770: Some minor cleanups in libgpo Günther Deschner2007-07-091-3/+3
| | | | | | (including some valgrind errors, uninitialized vars, etc.) Guenther