summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-11-26Ensure data is not used uninitialised.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3c2d396aa8d674970b2cc043fd32d2648fcd004e)
2002-11-26Fix bug in tdb_fetch tidyup.Jeremy Allison1-3/+1
Jeremy. (This used to be commit 88d081e06428f02bcde8ceed8d86835c9222c3a9)
2002-11-26This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+419
used to be commit 96535956090c2f6d4d91631b1980ae916dd35316)
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 Carter5-286/+191
* 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 f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
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 016ef8b36b30846311a5321803298f8e28719244)
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 7daa880503f9ad6ae24a26f708c03ff1d119b7c0)
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-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 5d5762d1787db4392d2dff16024097c638b2d494)
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-23jcmd really should run with a higher compiler warning level more often :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit e93bd375b9e03d9d7038e2be66dd624f91118214)
2002-11-22Added install-everything option.John Terpstra1-2/+4
(This used to be commit 0b342b8e90b8e0395a1a3046e9e3f70a168fdb1f)
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-22Restrict anonymous=2 support merged from HEADAndrew Bartlett1-1/+3
(This used to be commit 8b156ed0db3e54aa3265a2579e72c50c39b5beef)
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)
2002-11-22Add support for new 'F' format, which is a string in the defaultMartin Pool1-34/+64
codepage. (This used to be commit ff1244c457d0525343bcc7e89a899d8c7d14b8b6)
2002-11-21If you don't specify --with-python, we assume "python" anyhow, becauseMartin Pool2-1613/+491
the extensions are not built until you specifically "make python_ext". (This used to be commit 47c5c2209e3999b8f58204c978b30a9dd646497a)
2002-11-21get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This ↵Jim McDonough1-1/+1
should fix the build. (This used to be commit a89187ccc95cc54e39518413bd4fff92c7223108)
2002-11-21get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This ↵Jim McDonough1-1/+1
should fix the build. (This used to be commit 929874d2744509bba743d99b9c707e7626845fa0)
2002-11-21merge get_friendly_nt_err_msg() from app_headGerald Carter1-0/+50
(This used to be commit af21e7738404f073fe2e22b282322e3facdfeb82)
2002-11-21merge get_friendly_nt_err_msg() from app_headGerald Carter1-0/+50
(This used to be commit 3ea73f158ebfca0561d7928e5d6c0939c0734585)
2002-11-20fixed a number of places where we can try to free a wild pointer orAndrew Tridgell1-2/+14
look for the record count after an invalid search. This fixes a segv in ldapsam (This used to be commit d076823c73731a4c83f49a21f13360a38d54406e)
2002-11-20Spelling fix.Tim Potter2-2/+2
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
2002-11-20merged the %U changes to 3.0Andrew Tridgell5-8/+37
(This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
2002-11-20more %U fixes for headAndrew Tridgell2-0/+4
(This used to be commit ea3787d819df14f8b451780a55d2bf76dc4030ef)
2002-11-19a better for for using %U in smb.confAndrew Tridgell3-8/+32
this follows the method used for remote_machine and also fixes the problem of anonymous connections clobbering the string (This used to be commit 9ead4fc3c3f8b83f03c762a4dab77a64aabccbf9)
2002-11-19Very curious. It turns out attribute matching on truncate only mattersJeremy Allison1-2/+2
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to truncate on open with current NONE -> SYSTEM | HIDDEN. Jeremy. (This used to be commit 3bf21ca936973efcd74b826bc750131c6ab2c701)
2002-11-19Very curious. It turns out attribute matching on truncate only mattersJeremy Allison1-2/+2
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to truncate on open with current NONE -> SYSTEM | HIDDEN. Jeremy. (This used to be commit 801b87e0f7c92553dc52b44d669a1795e2b9429f)
2002-11-19Merge from appliance:Tim Potter1-6/+16
>Fix memory leak in cli_ds_getprimarydominfo() (This used to be commit e643003dd4666d532604d86050d77f8b4212877e)
2002-11-19Merge from appliance:Tim Potter1-6/+16
>Fix memory leak in cli_ds_getprimarydominfo() (This used to be commit ca689916da200f2d772b007a913665a6b7df5bd7)
2002-11-19Merge from HEAD:Tim Potter1-3/+1
>Fix typo in docstring. >Remove non-integer Pointer values, which are no longer supported. (This used to be commit dcef3ae5caaa4461a279a4463a7b467e75efa6d7)
2002-11-19Merge from HEAD:Tim Potter1-187/+56
>Rename unpack_* functions to be consistent > >Decode CP850 strings when unpacking > >Add variable giving default encoding name (This used to be commit de26084f0d6cac2caf43976f18f0b56deee53167)