summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
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-20Spelling fix.Tim Potter2-2/+2
(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-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-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-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)
2002-11-15Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c groupJeremy Allison1-0/+16
release. Jeremy. (This used to be commit 507ff510e7e7d63e02be5b11d974fc05839e6eaf)
2002-11-15fix segfaultGerald Carter1-1/+3
(This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)
2002-11-15enable enumeration of domain local groups using LDAP (and in a native mode ↵Gerald Carter1-5/+30
domain) (This used to be commit 3ac98b59632fd771b8819f88a479ef4c0daade68)
2002-11-15Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'Jelmer Vernooij2-1615/+479
(This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)
2002-11-15Use smb_register_passdb() - plus some small fixesJelmer Vernooij5-24/+32
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)
2002-11-15Add smb_register_passdb()Jelmer Vernooij3-86/+60
(This used to be commit b5b3b2e6bef431c9c30dc8f2899dc22328801c0e)
2002-11-15Rerun autoconfAndrew Bartlett1-471/+1607
(This used to be commit 32684e133fa5d33d2478c0270af09a6fa9f0e57a)
2002-11-15When testing for /usr/include/heimdal, don't include /usr/heimdal/includeAndrew Bartlett1-2/+2
instead :-) (This used to be commit 9d8aa4bd51736709a9295791f54c9481b876699f)
2002-11-15Add const to DEBUG() macro.Andrew Bartlett2-6/+6
(This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1)
2002-11-15A cool idea from mbp: create a big shared library of all Samba objectsTim Potter1-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)
2002-11-15A cool idea from mbp: create a big shared library of all Samba objectsTim Potter1-4/+3
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 fdce4be719d7a81f25a4bae05934a5590038ec47)
2002-11-14Remove the #ifdef's for NISPLUS_SAM - there are no function name collisions ↵Jelmer Vernooij1-4/+0
anymore (This used to be commit f6ef18df11cc48f25adeee464e79e63ee209b08c)
2002-11-14Quieten status message when linking libsmbclient.soTim Potter1-1/+1
(This used to be commit 85946731dd8bc60d0f71fe7ffa6756bd3bcbbf67)
2002-11-13small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵Jelmer Vernooij4-0/+123
exist (e.g. in SuSE 8.1) (by metze) (This used to be commit 5f16343e0d7c8120a7a5786097b8920a5b7d047b)
2002-11-13Fix smbwrapper from the global_* changes.Jeremy Allison2-4/+4
Jeremy. (This used to be commit 6ab12ca80d12fcecf6ad3a534bd73b482d991112)