summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21240: Fix longstanding Bug #4009.Günther Deschner1-2/+2
For the winbind cached ADS LDAP connection handling (ads_cached_connection()) we were (incorrectly) assuming that the service ticket lifetime equaled the tgt lifetime. For setups where the service ticket just lives 10 minutes, we were leaving hundreds of LDAP connections in CLOSE_WAIT state, until we fail to service entirely with "Too many open files". Also sequence_number() in winbindd_ads.c needs to delete the cached LDAP connection after the ads_do_search_retry() has failed to submit the search request (although the bind succeeded (returning an expired service ticket that we cannot delete from the memory cred cache - this will get fixed later)). Guenther (This used to be commit 7e1a84b7226fb8dcd5d34c64a3478a6d886a9a91)
2007-10-10r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke1-1/+2
crashed. So it needs the specific error message. Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if sending to a non-existent process. Volker (This used to be commit 3f620d181da0c356c8ffbdb5b380ccab3645a972)
2007-10-10r21114: Fix 'net usershare': Adding "guest_ok=y" required a correct acl. Set theVolker Lendecke1-4/+6
default if "" is set. And fix the calculation for too man shares. Thanks to Karolin Seeger <ks@sernet.de> Volker (This used to be commit 5b12eb873f8f603a6143342c282014af76ec7752)
2007-10-10r21064: The core of this patch isVolker Lendecke2-12/+15
void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
2007-10-10r21010: fix the pstring change in ntlm_auth for require-membership-of in ↵Gerald Carter1-1/+1
ntlm_auth (This used to be commit 2d877e41d1fdf71b45074f257930062539e379d8)
2007-10-10r20917: Fix missing error returns pointed out by "Li, Ying (ESG)" ↵Jeremy Allison1-0/+3
<ying.li2@hp.com> Jeremy. (This used to be commit 78387b3cd2e4eff8f09b6c498ca37b016ed9ecbc)
2007-10-10r20903: Replace the hardcoded "smb.conf" string with the dyn_CONFIGFILEGerald Carter1-6/+7
(This used to be commit ff8f27108d247aa9e46176f2b29fc8d2da103906)
2007-10-10r20874: We need to distinguish client sitenames per realm. We were overwritingGünther Deschner1-2/+4
the stored client sitename with the sitename from each sucessfull CLDAP connection. Guenther (This used to be commit 6a13e878b5d299cb3b3d7cb33ee0d51089d9228d)
2007-10-10r20857: Silence gives assent :-). Checking in the fix forJeremy Allison2-16/+17
site support in a network where many DC's are down. I heard via Volker there is still a bug w.r.t the wrong site being chosen with trusted domains but we'll have to layer that fix on top of this. Gd - complain if this doesn't work for you. Jeremy. (This used to be commit 97e248f89ac6548274f03f2ae7583a255da5ddb3)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij3-42/+24
Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again. (This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10r20824: Send access to the trusted domain passwords through the pdb backend, ↵Volker Lendecke1-9/+9
so that in the next step we can store them in LDAP to be replicated across DCs. Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 3c879745cfc39be6128b63a88ecdbfa3d9ce6c2d)
2007-10-10r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 89b7a0630de0bd95a56263b36d433b4e73517a70)
2007-10-10r20654: Fix from Karolin Seeger <ks@sernet.de>: Accept "forever", "off" and ↵Volker Lendecke1-7/+15
"never" as key words for -1 as policy values for net sam policy. Volker (This used to be commit b6347751d8f67dcaac5c1bcbc07f03073278f6fb)
2007-10-10r20498: Two 64-bit warningsVolker Lendecke1-1/+1
(This used to be commit 382827ebac61646ec31fe1d56ccde2ea337e8f9e)
2007-10-10r20428: Rename dns_open. This conflicts with the dns_open symbol inJames Peach1-2/+2
libSystem on Mac OS X. (This used to be commit 2117904f18869fca0d4770883cf2de5fb00c4f85)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis4-20/+21
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r20173: DNS update fixes:Gerald Carter2-67/+65
* Fix DNS updates for multi-homed hosts * Child domains often don't have an NS record in DNS so we have to fall back to looking up the the NS records for the forest root. * Fix compile warning caused by mismatched 'struct in_addr' and 'in_addr_t' parameters called to DoDNSUpdate() (This used to be commit 3486acd3c3ebefae8f98dcc72d1c3d6b06fffcc7)
2007-10-10r20170: Fix secure DNS updates to work againstGerald Carter1-2/+12
Wnidows 2000 DNS which expects the TKEY payload to be in the answer section and not in the additional set of records (like Windows 2003 and the RFC). (This used to be commit a3b6734fdad5fd92dbec075ebcd8d7044aac45c2)
2007-10-10r20131: get rid of a few no previous prototype warningsHerb Lewis1-0/+3
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
2007-10-10r20119: Update help info indicating how to use separators (forward slash only)Jim McDonough1-0/+2
and properly use backslashes in "net ads join computername=" (This used to be commit cc26e2f9a155529b8ac2122bd2bec401bb516264)
2007-10-10r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce2-200/+177
Simo. (This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)
2007-10-10r20003: Fix error messageVolker Lendecke1-1/+1
(This used to be commit de053583510999658b2969b244b43ae85fb87737)
2007-10-10r20001: Fix bug 4273, thanks to Pascal TerjanVolker Lendecke1-1/+1
(This used to be commit a2f5c929183fb74ad21664c747d04e88a4103505)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke2-15/+17
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19978: More "net sam policy" improvements. Thanks to Karolin Seeger ↵Volker Lendecke2-31/+68
<ks@sernet.de> Volker (This used to be commit fde042f29e9e9ac19ed3380e8fbe45fa8441e705)
2007-10-10r19944: Fix from Don Watson -- thanksVolker Lendecke1-7/+2
(This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5)
2007-10-10r19914: The "default" value with the name "" need different 0-length ↵Volker Lendecke1-1/+1
treatment as the other StringBufs, otherwise clicking on a key with this value being set leads to regedit.exe on w2k3 chew all memory. (This used to be commit b148cde7f39859102288a87b6f0bd2b250947a85)
2007-10-10r19883: Fix bug 4248 -- thanks to Pascal Terjan :-)Volker Lendecke1-1/+0
(This used to be commit 66c20f2592ee2ff37de44cc7f3ab23b440f7d840)
2007-10-10r19840: Fix an uninitialized variableVolker Lendecke1-0/+7
(This used to be commit c4b5e8c7a0b936a3d95f221718a048d5374e836a)
2007-10-10r19835: Some net sam policy improvements.Volker Lendecke1-50/+77
Thanks to Karolin Seeger <ks@sernet.de> Volker (This used to be commit 2091018a534006cddaa5cf52f564fd7e023473b6)
2007-10-10r19827: Move registry_push/pull_value to lib/util_reg.cVolker Lendecke1-115/+0
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
2007-10-10r19825: To create a key, smbd also needs read privs assignedVolker Lendecke1-1/+2
(This used to be commit b2866b1318f2fa521ff93ec5ed58413b9145385a)
2007-10-10r19822: Implement net rpc registry createkey, deletekey and deletevalueVolker Lendecke1-0/+168
(This used to be commit 419ebc92f02c9a927295ec7c54844bd5666e3f17)
2007-10-10r19821: Make net_rpc_registry use net_run_function2.Volker Lendecke1-24/+14
Fix an erroneous NT_STATUS_NO_MEMORY found by Chetan S <cshring@gmail.com>. Thanks :-) Volker (This used to be commit 30f02e73fd85faa89186511edab4d5396d5efb6a)
2007-10-10r19818: Remove reg_split_hive, make use of registry_openkeyVolker Lendecke1-55/+19
(This used to be commit 7fd1578a905d3c974cb88cc93452d43a03038d30)
2007-10-10r19817: Implement net rpc registry setvalue (only dword and sz so far)Volker Lendecke1-0/+191
(This used to be commit 9ecb69c075060d199133520ac6a7627a5faba7f3)
2007-10-10r19812: dump_regval_buf is not needed anymoreVolker Lendecke1-49/+0
(This used to be commit f24e64160dc7d7b7434cbed15677c105fa7b60de)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke2-2/+26
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r19807: First attempt at wrapping something sane around the registry API. ↵Volker Lendecke1-135/+345
Will be extended. Volker (This used to be commit 40922eb924a8e21f28720f2651f087eefc3e3aed)
2007-10-10r19804: Fix a valgrind errorVolker Lendecke1-5/+4
(This used to be commit cb9e16c8389f25f487e627bbeb06ec45f25aef6b)
2007-10-10r19797: Convert the remaining pipes to the "new" unique out ptr handlingVolker Lendecke2-15/+20
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10r19790: Check in the PIDL change and the converted unixinfo and winbind ↵Volker Lendecke1-5/+13
pipes without waiting for comments. This is what version control is for, and it does fix a segfault I ran into ;-) Nevertheless, Jelmer & Jerry, please take a look! Thanks, Volker (This used to be commit 95c14a822cae2ddc2e6ed87f5f5505fa7b98e4f0)
2007-10-10r19766: Fix a const-warning. Jerry, what did you want to fix with this line?Volker Lendecke1-1/+0
Volker (This used to be commit 55dc4741cfead0f21deb7ea2d28afb240505686b)
2007-10-10r19762: libaddns/*[ch] code fixes donated by Centeris CorporationGerald Carter2-86/+261
(http://www.centeris.com/) under my copyright. * Rework error reporting to use DNS_ERROR instead of int32 * Convert memory allocation to use talloc() * Generalize the DNS request/response packet marshalling * Fix the secure update requests (This used to be commit c78798333616c3f823514df0f58da2eb3a30a988)
2007-10-10r19754: * When using a krb5 session setup, we don't fill in the server_nameGerald Carter2-30/+25
string the clis_state struct. So call saf_store() after we have the short domain name in the lsa_query_inof_policy code. * Remove unused server string in saf_delete() (This used to be commit 3eddae2f2080f8dafec883cb9ffa2e578c242607)
2007-10-10r19669: set_share_security does not need a mem_ctx passedVolker Lendecke1-1/+1
(This used to be commit 53eaa603eb84047263c27d57b8c0f5ce8e157189)
2007-10-10r19651: Fix interesting bug with the automatic site coverage in Active ↵Günther Deschner1-1/+1
Directory: When having DC-less sites, AD assigns DCs from other sites to that site that does not have it's own DC. The most reliable way for us to identify the nearest DC - in that and all other cases - is the closest_dc flag in the CLDAP reply. Guenther (This used to be commit ff004f7284cb047e738ba3d3ad6602e8aa84e883)
2007-10-10r19528: Fix container handling for "net ads user" and "net ads group" functionsGünther Deschner1-8/+19
along with some memleaks. Guenther (This used to be commit 4bad52c5b3a983418d4216a2c3f5e04926e37e94)
2007-10-10r19527: Fix double free in "net ads group add".Günther Deschner1-1/+0
Guenther (This used to be commit 08db3d3b04d91238b739e88e817bd3f800b768ee)
2007-10-10r19525: Fix the same error in "net ads group delete".Günther Deschner1-3/+4
Guenther (This used to be commit 94ed3e9de8671d677451d2a16977caeeb7e744d1)