summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-11-10util functions split into relevant modules, first pass.Luke Leighton4-2094/+197
(This used to be commit d448906e68cec5019fa83f7d31b862efff41e2da)
1998-11-10Default for SMB_PASSWD program was set to smbpasswd ! This explained the ↵Jeremy Allison2-3/+3
problems John & Andrew were having with smbpasswd. This would cause the smbpasswd to be changed *twice* - this the second decrypt would fail. Changed it to be "/bin/passwd" and changed the name of the macro to PASSWORD_PROGRAM to make it clear this is not an smb password changer. Jeremy. (This used to be commit 8c1625365479f12fa544d83e1a9f72a548398108)
1998-11-09Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison13-105/+49
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
1998-11-09split socket util functions into util_sock.c. util.c NOT committedLuke Leighton4-0/+2069
and util_sock.c NOT included in Makefile.in. registry commands added to rpcclient. waiting for 2_0_0 split before committing modified files. these files are new modules, and are not referenced in the Makefile.in (This used to be commit 373f60256fc6dc800f73d88ea9a302933a4a3246)
1998-11-09I talked to Dave Miller and he thinks that we should have TCP_NODELAYAndrew Tridgell2-0/+10
on by default on OSes that support it, given the network IO pattern that Samba uses. He doesn't think it will cause problems. (This used to be commit 15016aa024854ca56ef20d1f29f54f9698a1911b)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell10-4653/+1773
I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c? (This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
1998-11-07codepages/codepage_def.936: Updated comment.Jeremy Allison5-109/+80
param/loadparm.c: Removed "networkstation user login", "domain controller", and "domain sid" parameters. passdb/passdb.c: Removed "networkstation user login" code and changed bug test code to only check once for a bad password server. This will stop the complaints of many "bad login" audit records in NT PDC logs. utils/smbpasswd.c: Removed check for "domain controller". Jeremy. (This used to be commit d6e6e936b5dd90dd8fc38d9404efbe5c546c15e5)
1998-11-06grumble, grumble off-by-one unicode string fixes, gonna stuff my otherLuke Leighton1-5/+5
tree with cvs clashes when i cvs update on the group code grumble grumble (This used to be commit f8b229d187cea2e3820d71697346fc9f0cd8bf88)
1998-11-06lib/charcnv.c: Improved debug comment.Jeremy Allison7-79/+124
libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast and got a reply. smbd/dfree.c: smbd/noquotas.c: smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota code. utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat. Jeremy. (This used to be commit b5981c0149ad8c6f13ea87db450080616538b5d5)
1998-11-05Useful script to extract all parameters out of the loadparm.c fileJeremy Allison1-0/+2
and sort them into global (G) and service (S) parameters. Useful for keeping the smb.conf docs up to date. Jeremy. (This used to be commit e8c5e033083440818cb559c61bcf5f9baec511ea)
1998-11-05the start of the start of the SAM database APILuke Leighton6-0/+1766
(This used to be commit 3eacd3013cc909e6e731a1a42f0aa7f202673bb9)
1998-11-05util_file.c:Luke Leighton2-0/+507
split some routines out of various places (e.g smbpass.c) because they now get used in more than one location. util_sid.c: need sid_copy, compare, split rid, append rid etc etc... (This used to be commit 71dfaa307ec954041c09ed157594a46503fb6db8)
1998-11-05split string and unicode string routines into these files.Luke Leighton2-0/+1162
these are *not* going to be added into the Makefile.in yet so they still also exist in util.c. (This used to be commit 3f5feda6749dace6bc51fb0e02b16d2b72a930b8)
1998-11-05don't bother trying QFILEINFO/QUERY_FILE_ALL_INFO with win95 as itAndrew Tridgell1-1/+5
totally screws it up, giving garbage for the size fields. (This used to be commit 86f98e0607e8a05ec026b919cc974c1c934b6882)
1998-11-05check return value of locking_init()Andrew Tridgell1-10/+12
(This used to be commit 0efac70f756dce4c92744fc59b68b528f6984dee)
1998-11-05Added scripts/convert_smbpasswd to SCRIPTSJeremy Allison1-1/+1
Jeremy. (This used to be commit 60553b3dc295d0df3ce42ad81a26edb45e234021)
1998-11-05Realise this needs to be without the '.sh' ending as we will beJeremy Allison1-0/+0
installing it in the BIN directory. Jeremy. (This used to be commit 75c79db9bec68b74d3b244f3d8184bd890ff33fa)
1998-11-05Very simple awk script to convert a 1.9.18 password file into Samba 2.0Jeremy Allison1-0/+17
password file format. Jeremy. (This used to be commit 5a5dc248b5fc4f1b9234a15dbedd4e0c9068b15a)
1998-11-04Added scripting option (-s) to smbpasswd.Jeremy Allison1-10/+73
Jeremy. (This used to be commit 4f87a8cf994d7f3287b0fd1720624bf705cfa1da)
1998-11-03fix to some of the unicode string handling. there are others pendingLuke Leighton1-7/+7
in non-critical areas. (This used to be commit 6da2e15272e4a6a9994c36fc465b6115f95ac5bd)
1998-11-03Makefile.in configure configure.in include/proto.h smbd/noquotas.c ↵Jeremy Allison9-623/+665
smbd/quotas.c: Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>. printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu> utils/nmblookup.c: Fix usage() function. smbd/reply.c: Split out the security=server and security=domain checks into check_server_security() and check_domain_security() to aid the writing of the 'hack' appliance mode invented by John Schimmel. Jeremy. (This used to be commit f09ab9b52251087a58af92ec753537ca34a970fc)
1998-11-02memory leak in SAM group code: need these to track it down.Luke Leighton2-0/+834
(This used to be commit 4e6b548b04b2ff982baf49ebd08e22180cd521b1)
1998-11-02client/client.c: Patch to tidy up file size output.Jeremy Allison2-5/+2
nmbd/nmbd.c: Someone (a "yank" no doubt :-) Changed instances of "initialise" to "initialize". Someone get that man an *English* dictionary.... :-) :-). Jeremy. (This used to be commit 6279be7f96802bb132e5e18dd8c6912652296e70)
1998-11-02removed comment line at end of fileLuke Leighton2-3/+4
(This used to be commit 5e2fc8b7ccf4a9c8b0a2acf4bd752531ac6fa775)
1998-10-31don't core dump in smbstatus if we can't open the shmem systemAndrew Tridgell1-0/+1
(This used to be commit ef9749798ab72a5e26f9cb5d0904266d6df70f8c)
1998-10-31took out Lukes change as it breaks domain logons for Win95 clientsAndrew Tridgell1-4/+0
(ie. it breaks Sues machine). Luke, your comment was: put unicode strings after SAMLOGON query regardless of whether it's an NT mailslot or a non-NT mailslot, after having observed this behaviour out of NT machines. perhaps you could post the relevant tcpdump or netmon capture so we can see what is going on? I suspect that what you saw isn't exactly what the win95 boxes are generating. Maybe you saw a GETDCxxx instead of a GETDC000 ? Maybe we need a switch based on the GETDC request type? We won't know unless we see sniffs. (This used to be commit a2bacc08955ba61aac4b45b63a54b279e5776261)
1998-10-31added copyright notice from Patrick PowellAndrew Tridgell1-8/+5
(This used to be commit d398ae487a3edbfefb980fe0abddca1e95f6f3d5)
1998-10-30Fix suggested by Nicholas.S.Jenkins@cdc.com - connect to theJeremy Allison1-2/+7
password change server as anonymous - you don't need to have logged on as the user to do the password change. Doh ! (Why didn't *I* think of that one.... :-). Jeremy. (This used to be commit dd3bb250a6fb6020d32ea35d7a3d3301d7f9764b)
1998-10-30do not print garbage just because someone does not want dependencies :-)Alexandre Oliva1-24/+24
(This used to be commit 7f3c96c5dae19b203bf79a88225768003d2f7516)
1998-10-29looks like someone forgot to commit these...Alexandre Oliva3-2/+5
(This used to be commit 93b195d1e9490fb0e4310532fd15ab376f08aba5)
1998-10-29Fixed bug (that I introduced when doing the "delete on close" workJeremy Allison1-7/+9
that caused NetBench to fail as the wrong error code was being returned from a getatr call. Change was not to set the unix_ERR_class global when you are not returning an error. This is a big of Samba internal folklore that is *important*. Jeremy. (This used to be commit a1923d465be4c63a40d55abb800cc9b16a4b87d0)
1998-10-29modify dependency tracking code so that it:Alexandre Oliva1-10/+29
1) inserts the pathname of the object file in the dependency file (currently, gcc will only generate the basename) 2) the directory tree within .deps mirrors the source tree, so that we use shorter filenames problem 1 was reported to me by Tom Angert <angert@bellsouth.net> (This used to be commit 274a2cff30f7325d1bc1647075a6c4f887e42e4f)
1998-10-29Tidied up option processing in smbclient - usage message now actuallyJeremy Allison1-123/+132
reflects the real options. Removed '-S' option - couldn't see what this was doing (seemed to have something to do with nt_domain_logon ?). Luke please check if you needed this code (code is only #ifdef'ed out and can be re-instated). Did this to make writing of yodl smbclient man page possible :-). Jeremy. (This used to be commit 97a14db75634b09dd272e9f59bc39c2b1eb52544)
1998-10-29some versions of Irix pass the HAVE__ACL test but don't have acl.hHerb Lewis1-1/+1
test for both before including ACL support. (This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
1998-10-28This should have gone with the last batch.Christopher R. Hertel1-4/+3
Again, to compile debug2html, you need to do a 'make debug2html'. Chris -)----- (This used to be commit bd0c5ee8e796bc624bf51fbca1c894ca6190b4ea)
1998-10-28I've moved the debugparse module files into the ubiqx directory because IChristopher R. Hertel3-15/+445
know that 'make proto' will ignore them there. The debugparse.h header file is included in includes.h, and includes.h is included in debugparse.c, so all of the pieces "see" each other. I've compiled and tested this, and it does seem to work. It's the same compromise model I used when adding the ubiqx modules into the system, which is why I put it all into the same directory. Chris -)----- (This used to be commit b6888faacdba035e1b608a404a71d93791de2d52)
1998-10-28Still moving things around. debugparse.h will be removed from the includeChristopher R. Hertel3-85/+2
directory in the next batch. Chris -)----- (This used to be commit 81f64d89924523279a2dcbe53d5355f3dd56b5ff)
1998-10-28Just moving things around a bit.Christopher R. Hertel1-328/+0
Chris -)----- (This used to be commit a1aa808d5b85d150ec21d09e301aa0211658e021)
1998-10-28Added clear-out-structure fix for make_unistr2.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 2bce2cf6d83d9889d8b116f9d2ee254b7ceb4828)
1998-10-28Fixes to allow this to pass SGI compiler in -fullwarn mode (with oneJeremy Allison1-9/+9
annoying exception I'm still looking at :-). Jeremy. (This used to be commit 9cade656e2db743cb6ee67bbb8b0f50e8e4c39f9)
1998-10-28Quick fixes to fix the broken tree. Needed for my morning compiles.Jeremy Allison5-6/+18
Chris - feel free to fix these things differently if these fixes don't work for you. Jeremy. (This used to be commit 1f225abfbe6b021b589711c2e4c599a63050c5b2)
1998-10-28Fix from thwartedefforts@wonky.org (slightly modified) toJeremy Allison1-1/+1
fix username overwriting problem in security=share. Jeremy. (This used to be commit 17621964344336c6303386c3c9e8a3e23b9e46e1)
1998-10-28fixed problem with snprintf.c and mkprotoAndrew Tridgell2-4/+13
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)
1998-10-28use abort() instead of exit() in smb_panic()Andrew Tridgell1-1/+1
the reason we don't return() here is that smb_panic() is used not just for segv but also for detected errors (such as buffer overflows) (This used to be commit 7a50ca81a5842f7139e67c0ff9de79518599f445)
1998-10-28fixed handling of %.0f in replacement snprintf.cAndrew Tridgell1-12/+28
(This used to be commit 177b7b6b190c78ab59e19187d3221d23bb280911)
1998-10-27Fixed a small bug in debug2html. It wasn't properly checking EOF. TheChristopher R. Hertel2-2/+28
current status is "it works". I need to add some syntax error recovery and a usage message. Basic stuff. I've also modified Makefile.in. If you want to compile it you'll have to do a 'make debug2html', as I used smbtorture as a model. We can decide later if this tool is useful enough to be compiled always. BTW, a 'make realclean' fails because the bin directory isn't empty. That's because it doesn't delete optionally compiled files such as smbtorture and debug2html (and because of the CVS subdirectory, but I think that's only a problem for developers). Chris -)----- (This used to be commit e86fd87a3806f4c161a8f887bbdd4d400ae56ac2)
1998-10-27Added info about parsing debug messages.Christopher R. Hertel1-28/+210
Chris -)----- (This used to be commit 26fcdfd082e84df675ad06c7ba8c0cdbf07eed98)
1998-10-27debug string with no %s parameter. oopsLuke Leighton1-1/+2
(This used to be commit 22721b027139ffb7ff2625741b68701ba15fbb98)
1998-10-27amazing. the improvements to NT continue, evidence for which shows upLuke Leighton6-17/+19
now as "RPC fault" if the UNIHDR structure lengths do not exactly match up to the length of the data stream. so, all versions of samba prior to this one have an off-by-one bug in unicode string lengths. all versions of NT prior to NT 5 beta 2 could possibly have buffer problems when receiving badly formatted UNICODE strings. (This used to be commit 161eb6f511e161b63c1fa90a08c562fcf208344a)
1998-10-27add ifdef for "long double"Andrew Tridgell1-12/+18
(This used to be commit ae1888529b00f1a98d2b76fec7f19684efca90c7)