summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-29introduced a get_file_size() macro in trans2.c to make it easier toAndrew Tridgell1-19/+21
experiment with file size returns (This used to be commit c529cee0b2925184376e3a14e83fa99b3636d4ce)
2002-07-29We don't need this silly unix username stuff. NT username is basicly unused,Andrew Bartlett1-13/+3
and must == unix username for sane implementation in passdb. Andrew Bartlett (This used to be commit 412c791980de7f88a926b2f9ed361f0f882594c8)
2002-07-29an initial fix for handling sparse files in smbdAndrew Tridgell5-72/+138
This gets my test code working, where we previously failed with files above 20G in size. I'm still not completely happy with this. There are just too many fields in trans2.c that we don't fill in. (This used to be commit 7dfdb456d4c9bcf6ecb1f7e5c5e79989f95e5627)
2002-07-29as suggested by Alexander Oswald <oswald@is.haw-hamburg.de>Simo Sorce2-8/+8
hide only unwriteable files and not dirs with this one. may be a hide unwriteable dirs param will follow. (This used to be commit 161dd6d963ea1c11891278af2483c925e508767e)
2002-07-29Started to get samsync to insert account information in the passdb. It'sTim Potter1-110/+309
pretty half-arsed at the moment and doesn't work very well but Mr Bartlett was interested in it. Also started playing around with the more interesting bits of popt. The auto-generated usage information is pretty neat. (This used to be commit b3e51bfe6c13f1d20e599f675332f0489d8462e7)
2002-07-29Added extern for popt_common_debug.Tim Potter1-0/+4
(This used to be commit 4c664a0de89676cfb2b14a93d4e30aed04e29fe9)
2002-07-29Add lib/popt_common.oTim Potter1-1/+1
(This used to be commit a29a86f5b55669c615cdc659d1b8a231b16b3273)
2002-07-29Use common popt definition for -d option.Tim Potter3-10/+3
(This used to be commit 8c17904848a6206ab35652625ff5f3afcf6bcb0d)
2002-07-29A place to store common popt routines.Tim Potter1-0/+49
(This used to be commit b5b64a4e90792000fc377a032cd5c7cb9918261b)
2002-07-29people should be happier now.Simo Sorce1-23/+33
changed strtof with sscanf to make things working on all platforms. changed auto-made bubble sort for more efficient and clean qsort() (This used to be commit 61294d74b20741d683b8955d75d44eef00f94a0e)
2002-07-29Skeleton for a libsmb python wrapper.Tim Potter4-3/+161
(This used to be commit 36cc488c4d99198d346103b0e44776a7de145428)
2002-07-29Merge from APPLIANCE_HEAD:Tim Potter1-0/+2
>When creating an automatically generated prototype make sure the >destination directory exists. (This used to be commit 9ffca4824c9fa76ab288f59b4b57a3cdc99a93b8)
2002-07-29Updated patch.Tim Potter1-12/+11
(This used to be commit b7bd0bf95380f5fae385bfd353999f40f72e3d06)
2002-07-28found nasty bug in intl/lang_tdb.c tdb structure was not tested to not be ↵Simo Sorce10-23/+66
null before close this one fixes swat not working with browsers that set more then one language. along the way implemented language priority in web/neg_lang.c with bubble sort also changet str_list_make to be able to use a different separator string Simo. (This used to be commit 69765e4faa8aaae74c97afc917891fc72d80703d)
2002-07-28This patch does two things:Andrew Bartlett1-18/+21
The first is to add sensible quotes to various default paramaters, and the second is to ensure that we don't remove to many " characters from paramaters. (Both from the debian patches to Samba). Andrew Bartlett (This used to be commit 03892bcfbb566f866fa8943dc42b844d833690f4)
2002-07-28minor portability fixAndrew Tridgell1-0/+2
samba-patches 820 (This used to be commit ea0a12fb60791553109f732079d971987538abd6)
2002-07-28fix for smbtar filename matchingAndrew Tridgell1-1/+1
samba-patches 852 (This used to be commit e2558baa32657a71fd7e0958446f72e373cfadc9)
2002-07-28this is an interim fix for nmbd not registering DOMAIN#1b with WINSAndrew Tridgell1-1/+20
when a PDC. The fix does not iterate over all WINS tags, which it should do, but after having looked at doing that it gets *very* messy to do with our current code base. (This used to be commit 434e5124db28134ebfc9840cf0839d77987db65e)
2002-07-28Add the ability to set account policies too.Andrew Bartlett1-7/+25
Andrew Bartlett (This used to be commit 2bf6edf78b64335bf10c10c893d6e8fa0fac708b)
2002-07-28make sure async dns nmbd child diesAndrew Tridgell2-1/+8
samba-patches 898 (This used to be commit a954f72fe315ec59bfeb4bd407179bc54689440f)
2002-07-28fix minor nits in nmbd from adtam@cup.hp.comAndrew Tridgell3-13/+13
samba-patches 959 (This used to be commit ef04261e2510b658322336ce841b01f1c903eee2)
2002-07-28good security patch from Timothy.Sell@unisys.comAndrew Tridgell1-1/+1
we could generate short passwords! samba-patches 880 (This used to be commit 1466acba7e18f5ce733b376d031f1596a1a674d8)
2002-07-28partial apply of samba-patches 960Andrew Tridgell1-1/+1
(This used to be commit a302e31519e0935f820dfe3555ec6d3473d89694)
2002-07-28fixed man installAndrew Tridgell1-2/+2
samba-patches 961 (This used to be commit 935996e1c7e742da5961e0eaaf4b3cf5a40b9547)
2002-07-28fixed logfile location to honor configureAndrew Tridgell1-1/+1
samba-patches 966 (This used to be commit 06d8549196ff1482be94c08c7a742896ae35fd88)
2002-07-28fixed typoAndrew Tridgell1-1/+1
samba-patches 970 (This used to be commit f3a0842e3020ddb9a710252a0bd51c2a01636695)
2002-07-28Fix a missing 'no memory' return in last night's svrsvc code, and useAndrew Bartlett2-4/+4
sys_dup2() in a couple more places. Andrew Bartlett (This used to be commit e69b476626c802b1e1920f241733d0dd6d06a06e)
2002-07-28Warn about n^2 algorithm with utmp=yes.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit 70929a970e7ca0488a6c9ed8664a6857d86349eb)
2002-07-28Another item off my long-term todo list:Andrew Bartlett3-26/+62
Remove the n^2 search for valid 'tty' names from the sesion code when we don't actually need it. Its main value is in getting 'well behaved' numbers for use with utmp, so when we are not doing utmp we don't need this to get in the way. Andrew Bartlett (This used to be commit 50507e131dac19485a2561f3448da7334e357f50)
2002-07-28It seems I didn't need to write a dup2() wrapper - as we already use it aAndrew Bartlett1-1/+1
lot. But as thats done, we might as well use it anyway. Andrew Bartlett (This used to be commit d78cce806d967d0442b153242ba2061f1b14b6b6)
2002-07-28Clean this code up a little. If it's alrady asprintf()ed, I see noAndrew Bartlett1-2/+3
need for a manual strdup() too... (This used to be commit 71452365c8d9aa3d06b64716636a32bfebd3d4f8)
2002-07-27A very long time ago (actually 6 months ago) I promised to commit this codeAndrew Bartlett4-164/+1077
to the Samba tree. Originally written by Nigel Williams" <nigel@veritas.com>, I've been trying to keep it in some form of shape for the last 6 months. In particular I think some of the code got committed a few months ago, and others have made changes to the CVS version over time. anyway, its finally in - and doesn't appear to have broken anything. Now to try the client-side patches :-) Andrew Bartlett (This used to be commit f9bac7c5c2c4ddf0bf39d596a7b922fbb17c6b16)
2002-07-27Update the rebind code in pdb_ldap.Andrew Bartlett1-34/+114
I've still not tested this, but I didn't test the last lot and I'm pretty sure I stuffed it up - but at least this rebind procedure matches the function prototype. It should also be fine on OpenLDAP 2.1 if I'm lucky. Andrew Bartlett (This used to be commit 064f269508d05cc833cf7bfd5613e4fe389f32dc)
2002-07-27This should fix a nastly little bug where if a user had already done oneAndrew Bartlett2-9/+14
session setup, it would not correctly pick up the [homes] share on a subsequent session setup. The new rules are: If you want to connect to [homes], then it must have been available at session setup time, or you must be in security=share. At each session setup, the user's copy of [homes] is updated to ensure it has the right path etc. Andrew Bartlett (This used to be commit 5d2c7816a3ea02a67c5b501626d91d43557e9dd9)
2002-07-27nice day todaySimo Sorce2-0/+73
add also hide unwriteable as per user request (This used to be commit e6b38a881b67af5365f84e52f9cd6dcfec82bf2f)
2002-07-27as per user request added windbind start/stop/restart in swatSimo Sorce6-694/+774
almost working, seem it does not yet properly detect if windbind is running or not in all situations testing is welcome. (This used to be commit e0988e918667e3bc7b7cfb19ae81bf8c05fe582a)
2002-07-27Rafal 'Mimir' Szczesniak <mimir@diament.ists.pwr.wroc.pl> has been busyAndrew Bartlett4-58/+422
again, and has added 'net rpc trustdom list' support. This lists the trusted and trusting domains of a remote PDC. I've applied these almost directly, just fixing some special case code for when there are *no* trusting domains. We still have some parse errors in this case however. Andrew Bartlett. From mimir's e-mail: Here are another patches adding trust relationship features. More details: Better error reporting in cli_lsa_enum_trust_dom(). Implementation of cli_samr_enum_dom_users() which cli_samr.c lacked. More "consts" -- one of arguments in net_find_dc(). Modified implementation of run_rpc_command() -- now it allows to reuse already opened connection (if it is passed) to remote server's IPC$ (e.g. as part of longer exchange of rpc calls). I'm sure Andrew will argue ;-) More neat version of rpc_trustdom_list() function. (This used to be commit f0890026820ee3e432147130b46de4610e583381)
2002-07-263 things:Gerald Carter3-7/+22
* normalize all registry key strings before storing or looking up paths in the registry tdb * return the current buffer size for REG_INFO even when not returning actual data * fix a segfault report by metze on #samba-technical so that the user/group object picker works again (was the "ProductType" key lookup that was failing). (This used to be commit 5640e6cdb213502d95fff33e06eaeed5ce3aeb76)
2002-07-26fix parameters for ldap_set_rebind_proc() from OpenLDAP 2.1Gerald Carter1-2/+7
(This used to be commit a6725d4ce95ca8807ccefe4ce033b45d0635da6d)
2002-07-26(another patch from mimir)Andrew Bartlett1-2/+17
Add some debugging info to the secrets code. We might review what debug level that should be at, but it's fine for now. Andrew Bartlett (This used to be commit 2b6a318d686ac0b08a30844bf2960703b06d5c90)
2002-07-26Mimir has been busy with patches again, and sent in the followingAndrew Bartlett5-10/+9
patches: Andrew Bartlett From his e-mail: Below I attach the following patches as a result of my work on trusted domains support: 1) srv_samr_nt.c.diff This fixes a bug which caused to return null string as the first entry of enumerated accounts list (no matter what entry, it was always null string and rid) and possibly spoiled further names, depeding on their length. I found that while testing my 'net rpc trustdom list' against nt servers and samba server. 2) libsmb.diff Now, fallback to anonymous connection works correctly. 3) smbpasswd.c.diff Just a little fix which actually allows one to create a trusting domain account using smbpasswd 4) typos.diff As the name suggests, it's just a few typos fix :) (This used to be commit 888d595fab4f6b28318b743f47378cb7ca35d479)
2002-07-26I think this makes the debug statement clearer.Andrew Bartlett1-1/+1
(but assumes that 'myip' is indeed our local IP...) Andrew Bartlett (This used to be commit bea31062a261a49b65800a15d47f8b011af632f6)
2002-07-26Clarify this comment.Andrew Bartlett1-0/+3
(This used to be commit d2b4e669aeada9c3498c3a9e49360270def5ad99)
2002-07-26Print out a friendly message on error instead of a python exception whenTim Potter1-1/+11
calling tdb.open() Override Python's SIGINT handler so we can quit from the command line by hitting Ctrl-C. (This used to be commit 2adcd0eb4362a20824d1f34b63c0f405a7803872)
2002-07-25I had forgotten to commit this after running configureAndrew Tridgell1-0/+3
(This used to be commit e3c2ef0a04afe0a21432940fceae2db07da730d8)
2002-07-24* fix return code so we don't let a client just open any key it wantsGerald Carter2-3/+3
(even nonexistent ones). This gets rid of the Scheduling Agent icon. * fix NT_STATUS return code for bad registry path (NT_STATUS_NO_SUCH_FILE) (This used to be commit 915ee5c0ec0467fea23be8f309bcaa085c6ed9dd)
2002-07-24done! printer_info_2, devicemode, sec_desc, & printer data all enumerateGerald Carter5-38/+195
and display correctly in regedit.exe. Not sure about REG_SZ values in PrinterDriverData. If we store these in UNICODE, I'll have to fix up a few things. REG_BINARY & REG_DWORD are fine. (This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
2002-07-24reran configureAndrew Tridgell1-1/+1
(This used to be commit d76e0838cf94ef3fd32d79d03b8e89971587bc2c)
2002-07-24several changes in this checkinGerald Carter7-148/+627
* added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do.... (This used to be commit 419d7208e8384e4ad2c4dd328ad5e630971bc76c)
2002-07-24If lp_add_home() fails, don't go any further, just return -1.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 2febc7ce1aa6b01ec68bd007ce0286813dff301d)