summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-12-03fns for retrieving dns host name and domain name (get rid of lp_realm hacks).Jim McDonough1-0/+56
(This used to be commit 456813308d8542211183f9655b7fe598144f7bfc)
2002-12-03Add defines for standard DsSpooler/DsDriver values that get published.Jim McDonough1-0/+54
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)
2002-12-03Don't segfault when trying to delete a key when none exist.Jim McDonough1-0/+2
(This used to be commit 1bf36d3fc69b8129fff08f5a735e27a94eb46d49)
2002-12-03Fixed nasty bug where file writes with start offsets in the rangeJeremy Allison4-23/+26
0x80000000 -> 0xFFFFFFFF would fail as they were being cast from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types). The sign extension would cause the offset to be treated as negative. Thanks to Herb for helping me track this one down (IRIX is good for large file tests :-). Jeremy. PS. That horrid EXEXIST thing has broken configure..... (This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)
2002-12-03Fixes for EXEEXT - must use \$ signs when you want an actual $ sign toTim Potter1-4/+4
be used. (This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)
2002-12-01As per Jeremy's request back this out, so as to re-gain the implicit lengthAndrew Bartlett1-7/+5
check. Andrew Bartlett (This used to be commit 323088259f19f59008160d56fbcb9df6a6cd0d98)
2002-12-01Link less with smbmnt and smbumount. Also change from a pstrcpy() to aAndrew Bartlett2-5/+5
strncpy() to make it clear that we must operate on a PATH_MAX sized buffer. Andrew Bartlett (This used to be commit 49d9698ef08d66dc238b2e3469da8944b444dfa1)
2002-12-01No need for fstring manipulation here (Tcon&X), just use string pointers.Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit b072bb9c8469799734507bcdffd4be29211e2610)
2002-12-01Remove extra headers, and ensure that we correctly bail out of winbindd if weAndrew Bartlett7-7/+7
can't create the socket. Andrew Bartlett (This used to be commit 13b9af53bff8e42126a38f93c3bdd5b4d9b20aba)
2002-12-01Dereference the correct thing here, so we don't segfaultAndrew Bartlett1-1/+1
(This used to be commit ea18d02036b4e0502e5ecb057c9fe381709a07d8)
2002-12-01Make it clear that we might not be talking to a PDC here.Andrew Bartlett1-1/+1
(This used to be commit 7d099e9a5b7164e8cdbdb93d8c4527f02c8bdefd)
2002-12-01POSIX indicates that this is always in network byte order, so we don't need theAndrew Bartlett1-5/+0
little-endian case (tested on Intel-linux). Andrew Bartlett (This used to be commit 281b713b12ece63d499652df193509c57312b749)
2002-12-01Patch from Paul Green to detect exe extensions, needed for Stratus VOS.Andrew Bartlett3-8961/+18968
Andrew Bartlett (This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)
2002-12-01Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' ↵Jeremy Allison1-27/+10
Schnitzer <dominik@schnitzer.at> Jeremy. (This used to be commit 7ba051a830a7dc96e3860a87643a3ac99cdf5836)
2002-11-29Ignore ntlm_auth binary.Tim Potter1-4/+5
(This used to be commit 25bbd0d1f90f819fcc7d9446f4f7e75e2434a639)
2002-11-29Fixed silly bug.Tim Potter1-1/+1
(This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)
2002-11-29Rerun autoconf.Tim Potter1-866/+872
(This used to be commit d9644ea3edb085c5eb72593cef8f167fce6464c9)
2002-11-29Fix up smbwrapper target.Tim Potter2-1/+3
(This used to be commit f5fa4801ceb56b21facccb382db09165936df319)
2002-11-28merge in some changes from metze's patches (rest follows later, afterJelmer Vernooij1-2/+2
some issues in the new module system have been resolved) (This used to be commit 5b4d03fc8549696baebc0b4417582203ad7ba88e)
2002-11-28Add PDBLIBDIR, just like VFSLIBDIRJelmer Vernooij1-3/+9
(This used to be commit 3d0735e6b03ae77af42135a7f1aebb4206ae6655)
2002-11-27Fix comment - 850 -> iso8859-1Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6639693746ba4c8f6622325ac143f8b1b3bd7538)
2002-11-27Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.Jeremy Allison1-10/+0
Jeremy. (This used to be commit e88bbec2a06bd92b8cfa33efdf166c4fa72cb656)
2002-11-27Test was reversed for ERRmoredata in cli_read.Jeremy Allison1-0/+10
Jeremy. (This used to be commit 1a36ac60bef8de5368860478c268ba1671bb4825)
2002-11-27merging changes from SAMBA_3_0 relating to RPM packagingGerald Carter3-20519/+9284
(This used to be commit 1cf0cfa1b7f00946c439b2b1a30ab3981df4a459)
2002-11-27removing inet_aton()Gerald Carter1-1/+2
(This used to be commit 08ac3610f9ef7e1c37541729441acfa13b48d34c)
2002-11-27fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0Gerald Carter1-1/+1
(This used to be commit 481a8a8aa9dff336929cb168302f3faa3f046aa8)
2002-11-26After consultation with tpot, remove the 'winbind_domain' environmentAndrew Bartlett5-47/+3
variable hack, the feild on the pipe, and the server-side. It only controlled some enum operations in any case. This is to try and have less 'magic' environment variables. Andrew Bartlett (This used to be commit e4be82e4e2c7cdf15f3e20f73fe9f281f6384423)
2002-11-26Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett11-219/+552
cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett (This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter6-287/+396
* fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
2002-11-25Regenerate with newer autoconfJelmer Vernooij1-9260/+20500
(This used to be commit 9084002709a6f50d8d92a37e8181e4a7bf20c577)
2002-11-25Instead of walking the entire group database, grabbing all members of eachAndrew Bartlett2-10/+38
group, testing for membership etc, use the already calculated NT_USER_TOKEN. (which is initgroups() based) So far we only fill out the 'domain' groups - we need to fill out the 'other sids' as well, and we possibly need to filter the list for 'domain groups' only (the old code did that), but Win2k doesn't seem to mind this for now. I also need to find out what the magic '7' is about. Fortunetly JF is in town, so I'll grill him tomorrow :-). Andrew Bartlett (This used to be commit 7e846e7387247f8bc2b07a1a1006014c6978143b)
2002-11-25Make lp_winbind_separator a const string.Tim Potter1-1/+1
(This used to be commit be90650674ce5ebc292fc804e6168c5cc4ed25dd)
2002-11-25Fix some argument checking bugs found by testsuite.Tim Potter1-16/+22
(This used to be commit 93306f581e3fa37d1aea67e93dc83d5a6d2fcb3f)
2002-11-24Add support to switch between Squid 2.4 and 2.5 protocols - squid doesn'tAndrew Bartlett1-7/+20
encode the username, so don't decode it (users could play HTTP escaping games on usernames). Andrew Bartlett (This used to be commit 71e24d0200e71ffcf52eaa77edc89175f31a45cd)
2002-11-24Move from NT_STATUS_UNSUCCESSFUL to NT_STATUS_NO_SUCH_USER, and other slightlyAndrew Bartlett1-16/+21
more useful error codes. (This used to be commit 5b1185b4e8592e6bc1abe581950571e249c03a78)
2002-11-24Try to twiddle with the makefile to avoid having a trailing \ when weAndrew Bartlett1-2/+2
don't build any extra programs. (This used to be commit 9bac0b72774fe0c05956065a34ef48c05a7acaad)
2002-11-24Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.Andrew Bartlett1-19/+0
Andrew Bartlett (This used to be commit ce1464fb1c4c00de22b0e65c3199bc2eacea4d65)
2002-11-24No need to #include smb.h, when we already #include include.hAndrew Bartlett6-7/+0
(This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)
2002-11-24Add ntlm_auth, a new program to provide a stable interface to winbind'sAndrew Bartlett4-42/+470
authentication code. In particular, ntlm_auth is designed to replace the winbind authentication 'helpers' currently supplied by Squid. I have added support for the current plaintext password protocol used by Squid, and will add the real guts (NTLMSSP support) shortly. I'll merge this into 3.0 when I've got the interface more stable (error message format etc) and got the important NTLMSSP support added. Also move SWAT's URL decoding code into util_str.c, for use in both utilities. Andrew Bartlett (This used to be commit 82dbf838879e8a2d2d3f9dd5be6eda50b780b787)
2002-11-23[merge from APP_HEAD]Gerald Carter5-29/+115
90% fix for CR 1076. The password server parameter will no take things like password server = DC1 * which means to contact DC1 first and the go to auto lookup if it fails. jerry (This used to be commit c31a17889e3e4daf7c1e807038efc2c0fba78be3)
2002-11-23a working timegm() function for systems that don't have itAndrew Tridgell1-18/+15
(This used to be commit 6efdd54d063043cac2fe151231ac1999ade25704)
2002-11-23Please compile with :Jeremy Allison1-20/+26
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual if you're using gcc. It really does help ! Jeremy. (This used to be commit 41b56d975bc37434a4bff9188970346010dc6e1c)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison14-58/+112
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
2002-11-23jcmd really should run with a higher compiler warning level more often :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0ac3af1a27b8f1b9935bbcb6f3ec0b11d01bfcbd)
2002-11-22Rerun autoconf.Tim Potter1-17738/+8862
(This used to be commit 7b982ad962dfaa140b4602e56aae772e01772a56)
2002-11-22Here's a bit of a cleanup of the {configure,Makefile}.in files. I'veTim Potter2-64/+43
now combined all the ad-hoc AC_SUBST variables into three generalised ones: EXTRA_BIN_PROGS Additional programs to install in ${prefix}/sbin EXTRA_SBIN_PROGS Additional programs to install in ${prefix}/bin EXTRA_ALL_TARGETS Additional targets to build by default SHLIB_PROGS Shared library objects (pam, winbind) to build We also build some extra stuff by default: the python extensions (if --with-python specified), smbmount related binaries (if --with-smbmount specified), and the samba torture suite. The idea behind this is to have everything that is configured built by default to detect breakage as soon as possible when people make low level changes. (This used to be commit d6dfe3ea69d4672339559389c6fb16e78a9152b0)
2002-11-22Added some extra code to test absence/presence of LM and NT passwords.Tim Potter1-8/+17
(This used to be commit 6f1d48555f53ea3b32a7b8a6cf0fc2e148c311b7)
2002-11-22Fixed some compiler warnings.Tim Potter2-5/+6
(This used to be commit 9e871cc256a70bc64e59630bd31c890cc231368e)
2002-11-22Fixed some globals that escaped the recent globalcide.Tim Potter2-10/+2
(This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)
2002-11-22Add support for 'restrict anonymous=2' and make the doco give a slight hintAndrew Bartlett1-1/+3
as to what it now does in 3.0. Needs more work, but better than documenting the old functionality :-). As the security benifits of this are nullified by a setting of 'guest ok' on any share, we might want to put some documentation there too. Andrew Bartlett (This used to be commit ab812ada56b740ac986de8e1f4ca36641ec61c01)