summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21888: Add the osname and osver options to 'net ads join' as discussedGerald Carter1-1/+94
on the samba-technical ml. I'll add a 'net ads set attribute=value' utility later rather than the original 'net ads setmachineupn' patch that was also posted to the tech ml. (This used to be commit 5035778ae4b3a5e445faa535c5caf00bc8d220d8)
2007-10-10r21831: Back out r21823 for a while, this is going into a bzr tree first.Volker Lendecke3-8/+3
Volker (This used to be commit fd0ee6722ddfcb64b5cc9c699375524ae3d8709b)
2007-10-10r21823: Let secrets_store_machine_password() also store the account name. ↵Volker Lendecke3-3/+8
Not used yet, the next step will be a secrets_fetch_machine_account() function that also pulls the account name to be used in the appropriate places. Volker (This used to be commit f94e5af72e282f70ca5454cdf3aed510b747eb93)
2007-10-10r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke4-5/+5
winbind who did not run the idle events to drop ldap connections. Volker (This used to be commit af3308ce5a21220ff4c510de356dbaa6cf9ff997)
2007-10-10r21780: let smbcontrol use POPT_COMMON_SAMBA options to allow setting debugHerb Lewis1-20/+8
level. Fix calculation of argc after options are stripped. I couldn't find a popt function that returned this. (This used to be commit 6bcbf23e2ae67615a2416e70be2f68bd58fba5b9)
2007-10-10r21776: fix bugs #4438 #4440Simo Sorce1-4/+10
(This used to be commit 319fcb4ea8b7a004760aae82392b69c48af5df91)
2007-10-10r21768: Fix the client dfs code such that smbclient canJeremy Allison1-2/+10
process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy. (This used to be commit 1c9e10569cd97ee41de39f9f012bea4e4c932b5d)
2007-10-10r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2-0/+10
Jeremy. (This used to be commit 02d08ca0be8c374e30c3c0e665853fa9e57f043a)
2007-10-10r21714: Change the VFS interface to use struct timespecJeremy Allison3-6/+6
for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy. (This used to be commit 8f3d530c5a748ea90f42ed8fbe68ae92178d4875)
2007-10-10r21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>Jeremy Allison1-1/+2
The background behind this patch is that we're using ntlm_auth with Wine. Windows allows us to pass in a NULL domain and a username of the form of "user@domain" and this is converted into an NTLMSSP_AUTH packet with a NULL domain name and a username of the same form. Jeremy. (This used to be commit 32b040fe05707d5ce6322cb41d36cfdd2c3b31fc)
2007-10-10r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison2-0/+31
Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10r21608: Fix a couple of memleaks in error code paths beforeJeremy Allison1-1/+10
Coverity finds them :-) Jeremy. (This used to be commit cbe725f1b09f3d0edbdf823e0862edf21e16d336)
2007-10-10r21607: While committing I saw I had not newline terminated this string ...Simo Sorce1-1/+1
(This used to be commit 51d296f25152ce9d719cec777bb306ca246fc3be)
2007-10-10r21606: Implement escaping function for ldap RDN valuesSimo Sorce2-1/+12
Fix escaping of DN components and filters around the code Add some notes to commandline help messages about how to pass DNs revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was incorrect. The 2 functions use DNs in different ways. - lookup_usergroups_member() uses the DN in a search filter, and must use the filter escaping function to escape it Escaping filters that include escaped DNs ("\," becomes "\5c,") is the correct way to do it (tested against W2k3). - lookup_usergroups_memberof() instead uses the DN ultimately as a base dn. Both functions do NOT need any DN escaping function as DNs can't be reliably escaped when in a string form, intead each single RDN value must be escaped separately. DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as they come already escaped on the wire and passed as is by the ldap libraries DN filtering has been tested. For example now it is possible to do something like: 'net ads add user joe#5' as now the '#' character is correctly escaped when building the DN, previously such a call failed with Invalid DN Syntax. Simo. (This used to be commit 5b4838f62ab1a92bfe02626ef40d7f94c2598322)
2007-10-10r21540: Fix Bug #3713 and readd reporting what the profiles tool does (whenGünther Deschner1-4/+56
called with the -v option). Patch from William Jojo <jojowil@hvcc.edu>. Guenther (This used to be commit 5889f588ee9bee6ceb6e6d517f6e69e42d55a574)
2007-10-10r21462: Fix EnumValue (?)Jelmer Vernooij1-1/+2
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
2007-10-10r21417: Janitor for Herb. Make sure sharesec.c is functionallyJeremy Allison1-127/+319
identical in 3.0.25 and 3.0. Jeremy. (This used to be commit eabe14825877a05d544bb61080701170449c7d26)
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)