summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.Andrew Bartlett2002-11-241-19/+0
| | | | | Andrew Bartlett (This used to be commit ce1464fb1c4c00de22b0e65c3199bc2eacea4d65)
* No need to #include smb.h, when we already #include include.hAndrew Bartlett2002-11-246-7/+0
| | | | (This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)
* Add ntlm_auth, a new program to provide a stable interface to winbind'sAndrew Bartlett2002-11-244-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)
* [merge from APP_HEAD]Gerald Carter2002-11-235-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)
* a working timegm() function for systems that don't have itAndrew Tridgell2002-11-231-18/+15
| | | | (This used to be commit 6efdd54d063043cac2fe151231ac1999ade25704)
* Please compile with :Jeremy Allison2002-11-231-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)
* Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-2314-58/+112
| | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
* jcmd really should run with a higher compiler warning level more often :-).Jeremy Allison2002-11-231-1/+1
| | | | | Jeremy. (This used to be commit 0ac3af1a27b8f1b9935bbcb6f3ec0b11d01bfcbd)
* Rerun autoconf.Tim Potter2002-11-221-17738/+8862
| | | | (This used to be commit 7b982ad962dfaa140b4602e56aae772e01772a56)
* Here's a bit of a cleanup of the {configure,Makefile}.in files. I'veTim Potter2002-11-222-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)
* Added some extra code to test absence/presence of LM and NT passwords.Tim Potter2002-11-221-8/+17
| | | | (This used to be commit 6f1d48555f53ea3b32a7b8a6cf0fc2e148c311b7)
* Fixed some compiler warnings.Tim Potter2002-11-222-5/+6
| | | | (This used to be commit 9e871cc256a70bc64e59630bd31c890cc231368e)
* Fixed some globals that escaped the recent globalcide.Tim Potter2002-11-222-10/+2
| | | | (This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)
* Add support for 'restrict anonymous=2' and make the doco give a slight hintAndrew Bartlett2002-11-221-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)
* Add support for new 'F' format, which is a string in the defaultMartin Pool2002-11-221-34/+64
| | | | | codepage. (This used to be commit ff1244c457d0525343bcc7e89a899d8c7d14b8b6)
* If you don't specify --with-python, we assume "python" anyhow, becauseMartin Pool2002-11-212-1613/+491
| | | | | the extensions are not built until you specifically "make python_ext". (This used to be commit 47c5c2209e3999b8f58204c978b30a9dd646497a)
* get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This ↵Jim McDonough2002-11-211-1/+1
| | | | | | should fix the build. (This used to be commit 929874d2744509bba743d99b9c707e7626845fa0)
* merge get_friendly_nt_err_msg() from app_headGerald Carter2002-11-211-0/+50
| | | | (This used to be commit 3ea73f158ebfca0561d7928e5d6c0939c0734585)
* fixed a number of places where we can try to free a wild pointer orAndrew Tridgell2002-11-201-2/+14
| | | | | | look for the record count after an invalid search. This fixes a segv in ldapsam (This used to be commit d076823c73731a4c83f49a21f13360a38d54406e)
* Spelling fix.Tim Potter2002-11-202-2/+2
| | | | (This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
* more %U fixes for headAndrew Tridgell2002-11-202-0/+4
| | | | (This used to be commit ea3787d819df14f8b451780a55d2bf76dc4030ef)
* a better for for using %U in smb.confAndrew Tridgell2002-11-193-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)
* Very curious. It turns out attribute matching on truncate only mattersJeremy Allison2002-11-191-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)
* Merge from appliance:Tim Potter2002-11-191-6/+16
| | | | | >Fix memory leak in cli_ds_getprimarydominfo() (This used to be commit e643003dd4666d532604d86050d77f8b4212877e)
* Fix typo in docstring.Tim Potter2002-11-191-1/+1
| | | | (This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)
* Added HIDDEN/NORMAL attribute test.Jeremy Allison2002-11-181-1/+49
| | | | | Jeremy. (This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)
* Bug fix from appliance - we must initialise the winbindd server stateTim Potter2002-11-181-2/+2
| | | | | before reading smb.conf parameters, not after. (This used to be commit 2beebe252f8fc76366d38024b0578f83d8542d1d)
* Don't pass a function to ADS_ERR_OK().Jim McDonough2002-11-181-6/+13
| | | | (This used to be commit a148e4c290820a48c8b51e0e0459b2171b32c258)
* Revert ADS_ERR_OK change. Some compilers didn't like it.Jim McDonough2002-11-181-1/+1
| | | | | | | The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS causes the function to be run mulitple times...so you have to return a status, then check it with the macro. (This used to be commit c03d6198f28ab37ba0c3224bd50779357270486d)
* Back out some goofs that accidentally checked in with printer publishing.Jim McDonough2002-11-181-3/+3
| | | | (This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)
* Next step of printer publishing.Jim McDonough2002-11-183-196/+280
| | | | | | | | | net ads printer publish <printername> [servername] Will retreive the DsSpooler and DsDriver info by rpc for a remote server then publish it. Next comes doing it within smbd (This used to be commit 64951938cc5666a757683cbe9bee3a2c20a05323)
* formatting fixGerald Carter2002-11-181-35/+35
| | | | (This used to be commit 6ce20a61a85f129d42c06844d51f4b2b35b41869)
* the change in the way %U is handled to use current_user has brokenAndrew Tridgell2002-11-181-0/+3
| | | | | | | | some basic usages like 'include = smb.conf.%U' This changes fixes things again, by checking for reload after we setup current_user in tconx. (This used to be commit d664e6b4d20d545b31910666d9cea7384fd40a73)
* Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DECTim Potter2002-11-171-1/+1
| | | | | headers. (This used to be commit d813997c5a66f786b191459de0dd030f4a1c539e)
* Remove the assumption that all Solaris has -lsendfile.Andrew Bartlett2002-11-153-2/+69
| | | | | Andrew Bartlett (This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
* Add samdump and vampire to 'net rpc help'Andrew Bartlett2002-11-151-0/+2
| | | | | Andrew Bartlett (This used to be commit cc7566ca508f8705a95cdd546553a018731d5f5f)
* Add const to PACKS()Andrew Bartlett2002-11-151-2/+2
| | | | (This used to be commit 0e87408eb0e2786589e23cf4435a0d3223cf55cc)
* Include the hostname we are trying to match with $@, to allow easier debugging.Andrew Bartlett2002-11-151-1/+1
| | | | (This used to be commit f5d8afc626b8f7792aa7dd7fa7082f55725b539c)
* Small auth updates:Andrew Bartlett2002-11-154-11/+6
| | | | | | | | | | | | - add static remove unnneded prototype - move become_root() to just around pdb calls, so as to make it easier to remove when we kill off this silly idea - Change auth_sam to do 'account before password' rather than 'password before account'. This means that we match Win2k in giving 'account disabled' instead of 'wrong password' if the wrong password to a disabled account is used. Andrew Bartlett (This used to be commit e6d2debaf6064c3229f41c06545a1ccb83695a77)
* patch from aedil@alchar.org to correctly detect solaris workshop CC's abilityAndrew Bartlett2002-11-152-475/+1625
| | | | | | | to build shared libs (but not with .po suffix). Andrew Bartlett (This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)
* Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c groupJeremy Allison2002-11-151-0/+16
| | | | | | release. Jeremy. (This used to be commit 507ff510e7e7d63e02be5b11d974fc05839e6eaf)
* fix segfaultGerald Carter2002-11-151-1/+3
| | | | (This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)
* enable enumeration of domain local groups using LDAP (and in a native mode ↵Gerald Carter2002-11-151-5/+30
| | | | | | domain) (This used to be commit 3ac98b59632fd771b8819f88a479ef4c0daade68)
* Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'Jelmer Vernooij2002-11-152-1615/+479
| | | | (This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)
* Use smb_register_passdb() - plus some small fixesJelmer Vernooij2002-11-155-24/+32
| | | | (This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)
* Add smb_register_passdb()Jelmer Vernooij2002-11-153-86/+60
| | | | (This used to be commit b5b3b2e6bef431c9c30dc8f2899dc22328801c0e)
* Rerun autoconfAndrew Bartlett2002-11-151-471/+1607
| | | | (This used to be commit 32684e133fa5d33d2478c0270af09a6fa9f0e57a)
* When testing for /usr/include/heimdal, don't include /usr/heimdal/includeAndrew Bartlett2002-11-151-2/+2
| | | | | instead :-) (This used to be commit 9d8aa4bd51736709a9295791f54c9481b876699f)
* Add const to DEBUG() macro.Andrew Bartlett2002-11-152-6/+6
| | | | (This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1)
* A cool idea from mbp: create a big shared library of all Samba objectsTim Potter2002-11-151-1/+17
| | | | | | | | | | which we can use to link against Samba unit test programs. Now we can compile and link unit tests without having to create 4MB executables for each program It's called libbigballofmud.so both to discourage casual usage and also to reflect what the dependencies within Samba have become. (This used to be commit a59f731256f3a1c09f32452de9483b44088c942b)