summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-30this fixes plaintext passwords with win2000Andrew Tridgell3-8/+10
there were 2 bugs: 1) we were sending a null challenge when we should have sent an empty challenge 2) the password can be in unicode if unicode is negotiated. This means our client code was wrong too :( (This used to be commit 1a6dfddf6788b30fc81794b1bfe749693183b2c1)
2002-07-30always include the (void) for void fns ...Andrew Tridgell1-1/+1
(This used to be commit deff1f96232b328fb5f5bb49a23eb4cda11fd330)
2002-07-30a couple more minor tweaks. This now allows us to operate in ADS modeAndrew Tridgell2-4/+9
without any 'realm =' or 'ads server =' options at all, as long as DNS is working right. (This used to be commit d3fecdd04241ed7b9248e52415693cd54a1faecf)
2002-07-302nd try at a fix for netbiosless connections to a ADS DC. This alsoAndrew Tridgell1-31/+90
make the code a fair bit cleaner as it splits up the ADS and RPC cases, which really are very different. (This used to be commit 5a11c432afebe84b17820396476f48a6a6f6411b)
2002-07-30removed a gratuitous standard_sub_basic() on the 'password server'Andrew Tridgell1-2/+0
field. This has got to be pointless. (This used to be commit fd02adab54b66a19c1b81b8ae91e66713691b060)
2002-07-30- if we are in ADS mode then avoid an expensive netbios lookup to findAndrew Tridgell1-7/+16
the servers netbios name when we don't need it. This also fixes ADS mode when the DC has netbios disabled. - if the password server is specified as an IP then actually use that IP, don't do a lookup for the servers name :) (This used to be commit 72042e94ef0f6841afcfa48eafb9809545860725)
2002-07-30OK!Simo Sorce13-560/+622
Finally the cascaded VFS patch is in. Testing is very welcome, specially with layered multiple vfs modules. A big thank to Alexander Bokovoy for his work and patience :) Simo. (This used to be commit 56283601afe1836dafe0580532f014e29593c463)
2002-07-30Update a pile of Samba's SID lookup code to ensure:Andrew Bartlett2-75/+92
- That we never call winbind recursivly - That we never use an 'algorithmic' RID when we have a fixed uid or gid mapping in either the passdb or the group mapping db. Also, remove restrictions that say 'this domain only'. If we have a mapping configured, allow it to be returned. If we later decide certian mappings are invalid, then we sould put that in the code that actually does the map. Allow 'sid->name' transtations on the fixed 'well known' groups for NT, even if they are not represented by Unix groups yet. Andrew Bartlett (This used to be commit d5bafb224337e393420c2ce9c0a787405314713c)
2002-07-30Make some of the charconv code a bit easier to read and work with - when weAndrew Bartlett1-8/+8
are dealing with utf8 we may as well specify char** for the pointer, save otherwise casting in the caller. Andrew Bartlett (This used to be commit 46021f85b6da4ba1e7f73ee7408079219d555dde)
2002-07-30Some crash fixes for netshareenum returning zero shares.Tim Potter2-1/+4
(This used to be commit a5a0ff8bd7ee4a3586647d14fd750ec6df73efa8)
2002-07-30These pointers should be for the service we just cloned, not the new serviceAndrew Bartlett1-2/+2
as it might actually not be a clone, but a 'found' service. Previously this meant that a second session setup on the same TCP/IP connection for a user would write '' as the home directory. Instead, I want it to update the share to be there current home directory (so that this can be updated without the need to reboot the client for example). Andrew Bartlett (This used to be commit 84c1a5b0f046fa0375563120da117a8e76fb5b8c)
2002-07-30These are not critical errors, they should not be a level 0.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 082c0324cde38fadd70934a10849c7d40a34e3b1)
2002-07-30Add quotes so we can see 0 length strings.Andrew Bartlett1-1/+1
(This used to be commit be3470adeea01a2d0fa2f068159d2cea39b552da)
2002-07-30Reran configure.Tim Potter1-691/+694
(This used to be commit a306924c9a07ed3cedbb38852d508b30b84235a6)
2002-07-30Do AC_MSG_RESULT(yes) when using included popt.Tim Potter1-1/+1
(This used to be commit edd91fa854356739301604968f15e0a662986d65)
2002-07-30Fixed for memory leak in connection caching code when a dc isTim Potter1-1/+13
permanently down. Found by Dan Coppock. (This used to be commit 13c0cc830e3d787a0c3a1aedd47641597026541e)
2002-07-29Our include popt is starting to get a bit old - fixed some compileTim Potter2-4/+4
problems here. Also fixed some non-constant initialisers in samsync. (This used to be commit 33bd7214736dafd5927d63af5f8510646b81e7df)
2002-07-29add another registry rpc (opnum 0x14). Have no idea what it's real nameGerald Carter4-5/+130
is. I'm calling it REG_SAVE_KEY, because 2k preps a regedt32.exe Registry->Save Key with this call. Done in the process of tracking down a PrinterDriverData issue. (This used to be commit 66104a361424f10cc986c597b91afa6f12b3cd8a)
2002-07-29couple of minor formatting fixes to help me see better.Gerald Carter2-6/+7
(This used to be commit 26027ee42ae378eef59a8ae46f5e4e44bf2d4af0)
2002-07-29passing -1 for the src length in rpcstr_pull results in onlyGerald Carter1-1/+1
converting the first character of the unicode string., See convert_string() for why. uniarray_2_dosarray() passes 0 for the src length now which works. (This used to be commit 0793612cca3bba55d5e5e2970308f95839f208b4)
2002-07-29hardcode printprocessor name since it is everywhere elseGerald Carter1-1/+1
(This used to be commit efbfb8ca5415424827f4b01c9e79439ab8cc9b1c)
2002-07-29simple perl script for retreiving cvs log messages for a fileGerald Carter1-0/+102
after a given date. I use it to help update the WHATSNEW.txt for a release. ./cvslog.pl SAMBA_2_2 '>2002-06-18' configure.in The output is a little messy right now, but I plan to clean that up. (This used to be commit 8812223e2a37b0d0f143fcc74c6ba85ac8081ffb)
2002-07-29merge from SAMBA_2_2Gerald Carter1-7/+13
(This used to be commit c268ae460e7e6fe25b6ac1583ea6d2f233c27d0f)
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)