summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Bartlett2-25/+9
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 929874d2744509bba743d99b9c707e7626845fa0)
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-20Ignore automatically generated Makefile.Tim Potter1-0/+1
(This used to be commit 152c530089191d1867ad018a54bba02a1a85c31e)
2002-11-20Spelling fix.Tim Potter4-4/+4
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
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-19Fixed two very, very minor typos (that sort of just annoyed me).Christopher R. Hertel1-2/+2
(This used to be commit b24e0e9e6d77604ca23fe55734457d8a3d74d585)
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-19Fix typo in docstring.Tim Potter1-1/+1
(This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)
2002-11-18Added HIDDEN/NORMAL attribute test.Jeremy Allison1-1/+49
Jeremy. (This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)
2002-11-18Bug fix from appliance - we must initialise the winbindd server stateTim Potter1-2/+2
before reading smb.conf parameters, not after. (This used to be commit 2beebe252f8fc76366d38024b0578f83d8542d1d)
2002-11-18Don't pass a function to ADS_ERR_OK().Jim McDonough1-6/+13
(This used to be commit a148e4c290820a48c8b51e0e0459b2171b32c258)
2002-11-18Revert ADS_ERR_OK change. Some compilers didn't like it.Jim McDonough1-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)
2002-11-18Back out some goofs that accidentally checked in with printer publishing.Jim McDonough1-3/+3
(This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)
2002-11-18Next step of printer publishing.Jim McDonough3-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)
2002-11-18bad date string in specfileGerald Carter1-1/+1
(This used to be commit c702f95e258c826b72efeb04342aaf821f251bc2)
2002-11-18sync packaging changes with SAMBA_3_0Gerald Carter5-161/+172
(This used to be commit 45adf8c0fffe52731cd2da0d461b7292d0f6c817)
2002-11-18use ${RPM} for rpm v4.1Gerald Carter1-14/+66
(This used to be commit 95b26474a237f4073828b2001d21b6111ace3098)
2002-11-18formatting fixGerald Carter1-35/+35
(This used to be commit 6ce20a61a85f129d42c06844d51f4b2b35b41869)
2002-11-18the change in the way %U is handled to use current_user has brokenAndrew Tridgell1-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)
2002-11-17Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DECTim Potter1-1/+1
headers. (This used to be commit d813997c5a66f786b191459de0dd030f4a1c539e)
2002-11-16Added for the people who want to use Windows XP with plaintextTim Potter1-0/+0
passwords. From dcb. (This used to be commit 1ebc6d04e198267377e0293d9cf369010a3ea92e)
2002-11-16Update docs status documentJelmer Vernooij1-4/+0
(This used to be commit ffe1626d879d95f8bef42e9bd331a17d524e620b)
2002-11-16Update for 3.0Jelmer Vernooij1-5/+18
(This used to be commit 6430bef92c416692e7b2a9c550d8cf17c26aaa81)
2002-11-16Update for 3.0Jelmer Vernooij2-30/+5
(This used to be commit ca3bfea8e79dc7bf04840b58c2fd79b1e1dc2c9f)
2002-11-15/bin/sh on solaris swallows the failure code, so exec this directly.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 35b73aa0a139721d8560e81ba1caf26ebdf7d0b6)
2002-11-15One more small fix in tree.cRichard Sharpe1-2/+2
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)
2002-11-15Fix some problems with tree.c reported by users.Richard Sharpe3-125/+6
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
2002-11-15Remove the assumption that all Solaris has -lsendfile.Andrew Bartlett3-2/+69
Andrew Bartlett (This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
2002-11-15Add samdump and vampire to 'net rpc help'Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit cc7566ca508f8705a95cdd546553a018731d5f5f)
2002-11-15Add const to PACKS()Andrew Bartlett1-2/+2
(This used to be commit 0e87408eb0e2786589e23cf4435a0d3223cf55cc)
2002-11-15Include the hostname we are trying to match with $@, to allow easier debugging.Andrew Bartlett1-1/+1
(This used to be commit f5d8afc626b8f7792aa7dd7fa7082f55725b539c)
2002-11-15Small auth updates:Andrew Bartlett4-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)
2002-11-15patch from aedil@alchar.org to correctly detect solaris workshop CC's abilityAndrew Bartlett2-475/+1625
to build shared libs (but not with .po suffix). Andrew Bartlett (This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)