1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

10632 Commits

Author SHA1 Message Date
Gerald Carter
0c1a06dfad * finializnig RedHat package for alpha21 release
* fix cli_ds_getprimarydominfo() (bad memcpy() )
(This used to be commit e6184bbd8f87586e8cc98e4c599cf8e16f310bb9)
2002-11-27 02:22:53 +00:00
Gerald Carter
72948b91a0 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
(This used to be commit f0d09cf676bc335e8fde9fe730730f2949411a54)
2002-11-26 23:18:35 +00:00
Andrew Bartlett
af874b62e1 Merge tridge's fixes to pdb_ldap (don't look for number of results in a
failed query) and my fixes to those fixes to use better NT_STATUS codes.

Andrew Bartlett
(This used to be commit 6040171cabe3ca215149708a6244e24bc9c2c4fa)
2002-11-26 21:00:18 +00:00
Gerald Carter
486b07e76e lining up some spaces in configure.in and reran autoconf
updating WHATSNEW
(This used to be commit ff05947aac3a40a8568f02b368d4082f1df7c44b)
2002-11-26 19:11:22 +00:00
Gerald Carter
ede925908f fix path to compiled VFS libraries
(This used to be commit 6722ec03a0c76deea73a525350c47aa041778c9c)
2002-11-26 18:56:14 +00:00
Gerald Carter
0d213704cc fixing install problems with VFS modules
(This used to be commit 3a38736c1a07de6f09bd10e67fa0557ddf49dc1c)
2002-11-26 18:16:52 +00:00
Jeremy Allison
edc4c1f643 Ensure data is not used uninitialised.
Jeremy.
(This used to be commit 3c2d396aa8d674970b2cc043fd32d2648fcd004e)
2002-11-26 17:40:25 +00:00
Jeremy Allison
44c8c16546 Fix bug in tdb_fetch tidyup.
Jeremy.
(This used to be commit 88d081e06428f02bcde8ceed8d86835c9222c3a9)
2002-11-26 17:03:16 +00:00
Gerald Carter
e8ac5004b0 working on alpha21
* sync packaging files with HEAD
 * started work on WHATSNEW
(This used to be commit 9d6bdffb9e549bc0553f9a3b5830061ba6aa04b2)
2002-11-26 16:00:49 +00:00
Gerald Carter
c89effc731 Doh! forgot to add this yesterday when merging from HEAD.
(This used to be commit 96359479d6b6f642a030252bb6385a919ab7045b)
2002-11-26 13:40:23 +00:00
cvs2svn Import User
0d26e0ee42 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 96535956090c2f6d4d91631b1980ae916dd35316) 2002-11-26 11:57:31 +00:00
Andrew Bartlett
65643516d7 Having waited for *way* too long, this is mimir's namecache and trusted domain
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 11:57:30 +00:00
Gerald Carter
afc5f1aefb [print notify fixes from APP_HEAD]
* 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 00:46:31 +00:00
Gerald Carter
585e8a8c02 [print notify fixes from APP_HEAD]
* 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-26 00:01:56 +00:00
Jelmer Vernooij
793cfe497e Regenerate with newer autoconf
(This used to be commit 9084002709a6f50d8d92a37e8181e4a7bf20c577)
2002-11-25 15:15:56 +00:00
Andrew Bartlett
af365408d5 Instead of walking the entire group database, grabbing all members of each
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-25 06:54:22 +00:00
Tim Potter
edc8dda5c0 Make lp_winbind_separator a const string.
(This used to be commit be90650674ce5ebc292fc804e6168c5cc4ed25dd)
2002-11-25 03:05:59 +00:00
Tim Potter
0de32d4533 Fix some argument checking bugs found by testsuite.
(This used to be commit 93306f581e3fa37d1aea67e93dc83d5a6d2fcb3f)
2002-11-25 00:25:31 +00:00
Andrew Bartlett
01063e8845 Add support to switch between Squid 2.4 and 2.5 protocols - squid doesn't
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-24 21:08:36 +00:00
Andrew Bartlett
57b23e2d0e Move from NT_STATUS_UNSUCCESSFUL to NT_STATUS_NO_SUCH_USER, and other slightly
more useful error codes.
(This used to be commit 5b1185b4e8592e6bc1abe581950571e249c03a78)
2002-11-24 08:46:34 +00:00
Andrew Bartlett
e388334ed7 Try to twiddle with the makefile to avoid having a trailing \ when we
don't build any extra programs.
(This used to be commit 9bac0b72774fe0c05956065a34ef48c05a7acaad)
2002-11-24 08:42:10 +00:00
Andrew Bartlett
0b2028e6ce Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.
Andrew Bartlett
(This used to be commit ce1464fb1c4c00de22b0e65c3199bc2eacea4d65)
2002-11-24 08:38:53 +00:00
Andrew Bartlett
94596400e3 No need to #include smb.h, when we already #include include.h
(This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)
2002-11-24 08:37:02 +00:00
Andrew Bartlett
5aca399a38 Add ntlm_auth, a new program to provide a stable interface to winbind's
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-24 08:32:03 +00:00
Gerald Carter
3ab6fcc5c6 [merge from APP_HEAD]
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 14:52:34 +00:00
Gerald Carter
191dff2d27 [merge from APP_HEAD]
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-23 14:27:56 +00:00
Andrew Tridgell
9c68f9064d a working timegm() function for systems that don't have it
(This used to be commit 6efdd54d063043cac2fe151231ac1999ade25704)
2002-11-23 06:39:04 +00:00
Jeremy Allison
f230981e2c Please compile with :
-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-23 02:58:31 +00:00
Jeremy Allison
905639d9fa Please compile with :
-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-23 02:58:29 +00:00
Jeremy Allison
f023d6129b Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
2002-11-23 02:52:38 +00:00
Jeremy Allison
de474974ea Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-23 02:52:36 +00:00
Jeremy Allison
823f8507cb jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
(This used to be commit 0ac3af1a27b8f1b9935bbcb6f3ec0b11d01bfcbd)
2002-11-23 02:51:31 +00:00
Jeremy Allison
46d5c060c6 jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
(This used to be commit e93bd375b9e03d9d7038e2be66dd624f91118214)
2002-11-23 02:51:28 +00:00
John Terpstra
85ed4d7458 Added more notes from Samba Mailing List so this info does not get lost!
(This used to be commit 371c89b93120fb1ced317de365aad64fd1c3cb27)
2002-11-22 19:49:14 +00:00
John Terpstra
e4e5aa9966 Trying to fix module handling. Not final yet.
(This used to be commit 3610e631125461ffeffcecf38ed20c6cc65d4bc8)
2002-11-22 19:04:47 +00:00
John Terpstra
036451ec63 Added install-everything option.
(This used to be commit 0b342b8e90b8e0395a1a3046e9e3f70a168fdb1f)
2002-11-22 19:03:28 +00:00
Tim Potter
211187aede Rerun autoconf.
(This used to be commit 7b982ad962dfaa140b4602e56aae772e01772a56)
2002-11-22 06:56:28 +00:00
Tim Potter
4c3f069028 Here's a bit of a cleanup of the {configure,Makefile}.in files. I've
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-22 06:54:12 +00:00
Tim Potter
9e745ada4c Added some extra code to test absence/presence of LM and NT passwords.
(This used to be commit 6f1d48555f53ea3b32a7b8a6cf0fc2e148c311b7)
2002-11-22 06:51:14 +00:00
Tim Potter
b7b7ff55cc Fixed some compiler warnings.
(This used to be commit 9e871cc256a70bc64e59630bd31c890cc231368e)
2002-11-22 06:18:03 +00:00
Tim Potter
d1bedec87c Fixed some globals that escaped the recent globalcide.
(This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)
2002-11-22 06:15:43 +00:00
Andrew Bartlett
8213a05d67 Restrict anonymous=2 support merged from HEAD
(This used to be commit 8b156ed0db3e54aa3265a2579e72c50c39b5beef)
2002-11-22 02:53:42 +00:00
Andrew Bartlett
a75f1ba9d4 Add support for 'restrict anonymous=2' and make the doco give a slight hint
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-22 02:40:21 +00:00
Martin Pool
abc32ea850 Add support for new 'F' format, which is a string in the default
codepage.
(This used to be commit ff1244c457d0525343bcc7e89a899d8c7d14b8b6)
2002-11-22 01:12:23 +00:00
Tim Potter
556d1ca2d2 Sync docbook directory with HEAD.
Sorry but there are way too many changes to track down all the commit
messages and list them here.  Most of the changes look like updates
and cleanups from Jelmer though.
(This used to be commit 75615648d0ace3bde6a2ef2dad562094f1b25d00)
2002-11-22 00:32:24 +00:00
Martin Pool
d18bcbb174 If you don't specify --with-python, we assume "python" anyhow, because
the extensions are not built until you specifically "make python_ext".
(This used to be commit 47c5c2209e3999b8f58204c978b30a9dd646497a)
2002-11-21 01:33:42 +00:00
Jim McDonough
5939005588 get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
(This used to be commit a89187ccc95cc54e39518413bd4fff92c7223108)
2002-11-21 01:01:58 +00:00
Jim McDonough
3e1846d0de get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
(This used to be commit 929874d2744509bba743d99b9c707e7626845fa0)
2002-11-21 00:58:50 +00:00
Gerald Carter
8713f45a06 merge get_friendly_nt_err_msg() from app_head
(This used to be commit af21e7738404f073fe2e22b282322e3facdfeb82)
2002-11-21 00:12:14 +00:00
Gerald Carter
e955763315 merge get_friendly_nt_err_msg() from app_head
(This used to be commit 3ea73f158ebfca0561d7928e5d6c0939c0734585)
2002-11-21 00:10:28 +00:00