summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-12Fix the build WITH_DNS_UPDATES.Günther Deschner1-2/+8
Jeremy, please have a look. Guenther (This used to be commit 4dfda879a3ad44be7008702b9fbefe3858436118)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison6-13/+15
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter4-213/+302
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25592: Allow to set sec_info for registry security descriptor queries.Günther Deschner1-8/+16
Guenther (This used to be commit 09e10d1d2936fd8c841de2a3323a1d0a1f6bd815)
2007-10-10r25526: Fix usage output.Günther Deschner1-5/+5
Guenther (This used to be commit 31a0bf7b8cae3322a379dc147be6493441c2f13d)
2007-10-10r25525: Add "net rpc registry getsd <keyname>" to display security descriptors.Günther Deschner1-0/+83
Guenther (This used to be commit 550ae11ad1243c4c2af68345349c96d38a5e1ef8)
2007-10-10r25499: Fix rpc_file_list_internalsVolker Lendecke1-0/+3
(This used to be commit da5736f2103be2229cc3d4421c68f33b3242fa6d)
2007-10-10r25481: Fix some typos, don't panic as non-root on net getdomainsidVolker Lendecke2-4/+13
Thanks to Karolin Seeger <ks@sernet.de> (This used to be commit 5ae4b2739853e2cd91e839909eb868dbb56be431)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison1-2/+2
new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter2-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). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10r25402: BUG 4997 (3.2 only): Fix enumration level for smbtreeGerald Carter1-1/+0
(This used to be commit f387e0f256e3f8a8c4a67f7fcc847a9dabaff8da)
2007-10-10r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter2-3/+3
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10r25314: Add HKEY_CURRENT_USER to reg_hive_key().Günther Deschner1-0/+3
Guenther (This used to be commit 693b3c26c0643028e861b78068c2bcda0add1105)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam2-22/+22
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r25239: fix cut-n-paste bug in code with LIBUNWIND supportStefan Metzmacher1-4/+0
metze (This used to be commit ff94d055760b16786d1a998e251d487fb886a64c)
2007-10-10r25201: Fight those red bars...Michael Adam1-182/+183
(This used to be commit cc4599fdc1fb9aa51f6a4487cb1aa78a5556757a)
2007-10-10r25200: Fix a debug message.Michael Adam1-1/+1
(This used to be commit f1f4758e2c40a470c19b4b738f79ec5807522909)
2007-10-10r25198: Change net_rpc_join_ok() to return NTSTATUS for betterMichael Adam2-14/+25
error propagation. Michael (This used to be commit 5a16da2185f07d1f48fabd93a7a6b8f2d6b91089)
2007-10-10r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() toMichael Adam5-49/+72
return NTSTATUS to allow for better error propagation. Michael (This used to be commit 46093004a788dae83a4ddb888ca5d72f555c236c)
2007-10-10r25143: rename public functions from winbind_client.hStefan Metzmacher1-10/+10
init_request => winbindd_init_request free_response => winbindd_free_response read_reply => winbindd_read_reply write_sock => winbind_write_sock read_sock => winbind_read_sock close_sock => winbind_close_sock(void) metze (This used to be commit 8a95d7a7edcfa5e45bccc6eda5c45d9c308cb95d)
2007-10-10r25055: Add file_id_string_tosVolker Lendecke1-1/+1
This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
2007-10-10r25040: Add "net sam rights"Volker Lendecke1-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 (This used to be commit 0c5657b5eff60e3c52de8fbb4ce9346d0341854c)
2007-10-10r25019: Fix coverity bug #105, run #332. Use of uninitialized variable.Jeremy Allison1-6/+8
Jeremy. (This used to be commit a58de8cee51c1396a2607ee743c92d58d7703547)
2007-10-10r24951: Warn if "os level" > 255Volker Lendecke1-0/+4
Thanks to Karolin Seeger <ks@sernet.de> (This used to be commit 3abf06efc1286090caf380eb685e90ba7f412748)
2007-10-10r24943: Some stackframesVolker Lendecke9-6/+24
(This used to be commit cddb9f11d5fafcd3797cb242775c37f0c04d4f15)
2007-10-10r24853: Rename function as Jerry asked.Rafal Szczesniak2-5/+5
s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal (This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
2007-10-10r24845: Fix a segfault in smbcontrol when called with parameters but no ↵Michael Adam1-3/+5
extra args. Michael (This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
2007-10-10r24843: Add a "validate-cache" control message to winbindd.Michael Adam1-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 (This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
2007-10-10r24828: Give smbcontrol an initial talloc stackframe.Michael Adam1-1/+6
(This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)
2007-10-10r24827: Give smbstatus an initial talloc stackframe.Michael Adam1-14/+24
Rewrite main() so as to exit only at a single point where the stack frame is freed, too. Michael (This used to be commit dbe38995ec6d2251562a3b10e750bbd681008e16)
2007-10-10r24825: Give testparm an initial talloc stackframe, so it does not complainMichael Adam1-0/+3
it is leaking. (This used to be commit 705336ee1098a2c4d6e933dfa3e2f2968fa717ad)
2007-10-10r24824: Create an initial talloc stackframe for the net binary.Michael Adam1-0/+3
(This used to be commit c97600b96f6315df8ab0d7ad186423ab75dd4ab5)
2007-10-10r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke2-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 (This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
2007-10-10r24789: Add implementation of machine-authenticated connection to netlogonRafal Szczesniak3-7/+42
pipe used when connecting to win2k and newer domain controllers. The server may be configured to deny anonymous netlogon connections which would stop domain join verification step. Still, winnt domains require such smb sessions not to be authenticated using machine credentials. Creds employed in smb session cannot have a username in upn form, so provide the separate function to use machine account. rafal (This used to be commit 30d99d8ac3379caadc5bdb353977149d1ee16403)
2007-10-10r24783: Remove unused off_t type.Günther Deschner1-3/+2
Guenther (This used to be commit 85c816c27f2b9d20dfaf411b12ec1803a49574ce)
2007-10-10r24771: Use infolevel 25 to set the machine account's password (just like ↵Rafal Szczesniak1-41/+41
winxp). This correctly updates pwdLastSet field on win2k3 server. rafal (This used to be commit dd6d44c1665121cff9ccc2c09580169ca4d330b9)
2007-10-10r24742: Add experimental DsGetDcName() call (will be used by krb5 locator ↵Günther Deschner1-5/+100
for fine grained KDC DNS queries). Guenther (This used to be commit 3263cd680fe429430d789b284464fca72ef45719)
2007-10-10r24637: In order for "net rpc registry" to be able to write toMichael Adam1-4/+7
Samba's own registry, the access mask for opening the registry for the write operations needs to be SEC_RIGHTS_MAXIMUM_ALLOWED instead of REG_WRITE: we can not open e.g. HKLM read write explicitly, since we can not write to this virtual part of the registry, only to the subkeys like 'HKLM\Software\Samba\smbconf' that are stored on disk. Note that MAXIMUM_ALLOWED is also what windows' regedit passed to the open calls. Michael (This used to be commit 57c30f7319b35fa452e8a6c585810e55c7e934b2)
2007-10-10r24527: Add a function lp_canonicalize_parameter_with_value that turnsMichael Adam1-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 (This used to be commit 3b762ab18392fd06427957b0263262e3b8e34b9d)
2007-10-10r24513: Reformatting: eliminate trailing spaces, overly long linesMichael Adam1-69/+64
and adjust some formattings to standard. Michael (This used to be commit 00432bcd69bb1c30774af277af1dc7271380d75b)
2007-10-10r24496: Add initial synonym handling to "net conf":Michael Adam1-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 (This used to be commit 95447dde860f54d835b3fe90d95fe60231788d1b)
2007-10-10r24432: Expand kerberos_return_pac() so that it can be used in winbindd.Günther Deschner1-1/+8
Guenther (This used to be commit e70bf0ecc3ec6d3ba8ba384024bbdf9a783072ea)
2007-10-10r24413: Minor edits for libgpo.Günther Deschner1-4/+16
Guenther (This used to be commit 5dc791f4cfdee2bc350c1e65aeed5705c1745356)
2007-10-10r24125: use TALLOC_FREE()Stefan Metzmacher1-2/+2
metze (This used to be commit 4c21ebae95f7c07bdde55a9d686af044f2effba4)
2007-10-10r24115: try to get the file name and share patch for printingStefan Metzmacher1-4/+17
brlocks from the share_mode db, as the same fileid is used. metze (This used to be commit 8cccf470cbce87618753bc205a0c9cac1edf4d9c)
2007-10-10r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>Volker Lendecke1-1/+1
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)
2007-10-10r24057: Fix some uninitialized variables found by the IBM checkerVolker Lendecke1-0/+11
(This used to be commit d74bbc53c2cf41e7e92309e81bb9c1b3f805cdd1)
2007-10-10r24047: With -Wmissing-prototypes these two always generate warnings. TheyVolker Lendecke1-0/+14
should be properly prototyped. For now, gloss over the warning. (This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b)
2007-10-10r24044: Fix an uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit 69326a56e7fe2681eef3d58a9107765496756de4)
2007-10-10r24021: use MSG_BROADCAST_PID_STR as value for broadcast messagesStefan Metzmacher1-1/+1
to fix the cluster case vl: please check, if this works with clustering = no metze (This used to be commit 9d4104b8d5773537f2271f7be1439f1da1e0bf42)