1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

10290 Commits

Author SHA1 Message Date
Andrew Bartlett
13b9af53bf Remove extra headers, and ensure that we correctly bail out of winbindd if we
can't create the socket.

Andrew Bartlett
-
Andrew Bartlett
ea18d02036 Dereference the correct thing here, so we don't segfault -
Andrew Bartlett
7d099e9a5b Make it clear that we might not be talking to a PDC here. -
Andrew Bartlett
281b713b12 POSIX indicates that this is always in network byte order, so we don't need the
little-endian case (tested on Intel-linux).

Andrew Bartlett
-
Andrew Bartlett
3f5608c7e0 Patch from Paul Green to detect exe extensions, needed for Stratus VOS.
Andrew Bartlett
-
Jeremy Allison
7ba051a830 Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer <dominik@schnitzer.at>
Jeremy.
-
Tim Potter
25bbd0d1f9 Ignore ntlm_auth binary. -
Tim Potter
191c1596f5 Fixed silly bug. -
Tim Potter
d9644ea3ed Rerun autoconf. -
Tim Potter
f5fa4801ce Fix up smbwrapper target. -
Jelmer Vernooij
5b4d03fc85 merge in some changes from metze's patches (rest follows later, after
some issues in the new module system have been resolved)
-
Jelmer Vernooij
3d0735e6b0 Add PDBLIBDIR, just like VFSLIBDIR -
Jeremy Allison
6639693746 Fix comment - 850 -> iso8859-1
Jeremy.
-
Jeremy Allison
e88bbec2a0 Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.
Jeremy.
-
Jeremy Allison
1a36ac60be Test was reversed for ERRmoredata in cli_read.
Jeremy.
-
Gerald Carter
1cf0cfa1b7 merging changes from SAMBA_3_0 relating to RPM packaging -
Gerald Carter
cdeb6281f7 syncing packaging files with SAMBA_3_0 -
Gerald Carter
08ac3610f9 removing inet_aton() -
Gerald Carter
20e6d8c036 sync docs with SAMBA_3_0 and regenerate -
Gerald Carter
481a8a8aa9 fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0 -
Andrew Bartlett
e4be82e4e2 After consultation with tpot, remove the 'winbind_domain' environment
variable hack, the feild on the pipe, and the server-side.

It only controlled some enum operations in any case.

This is to try and have less 'magic' environment variables.

Andrew Bartlett
-
Andrew Bartlett
47f3bfe956 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
-
Gerald Carter
256d8c27cd [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
-
Jelmer Vernooij
9084002709 Regenerate with newer autoconf -
Andrew Bartlett
7e846e7387 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
-
Tim Potter
be90650674 Make lp_winbind_separator a const string. -
Tim Potter
93306f581e Fix some argument checking bugs found by testsuite. -
Andrew Bartlett
71e24d0200 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
-
Andrew Bartlett
5b1185b4e8 Move from NT_STATUS_UNSUCCESSFUL to NT_STATUS_NO_SUCH_USER, and other slightly
more useful error codes.
-
Andrew Bartlett
9bac0b7277 Try to twiddle with the makefile to avoid having a trailing \ when we
don't build any extra programs.
-
Andrew Bartlett
ce1464fb1c Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.
Andrew Bartlett
-
Andrew Bartlett
b3049bb0d0 No need to #include smb.h, when we already #include include.h -
Andrew Bartlett
82dbf83887 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
-
Gerald Carter
c31a17889e [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
-
Andrew Tridgell
6efdd54d06 a working timegm() function for systems that don't have it -
Jeremy Allison
41b56d975b Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
-
Jeremy Allison
19f86f1f72 Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
-
Jeremy Allison
0ac3af1a27 jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
-
Tim Potter
7b982ad962 Rerun autoconf. -
Tim Potter
d6dfe3ea69 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.
-
Tim Potter
6f1d48555f Added some extra code to test absence/presence of LM and NT passwords. -
Tim Potter
9e871cc256 Fixed some compiler warnings. -
Tim Potter
4580e16908 Fixed some globals that escaped the recent globalcide. -
Andrew Bartlett
ab812ada56 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
-
Martin Pool
ff1244c457 Add support for new 'F' format, which is a string in the default
codepage.
-
Martin Pool
47c5c2209e If you don't specify --with-python, we assume "python" anyhow, because
the extensions are not built until you specifically "make python_ext".
-
Jim McDonough
929874d274 get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build. -
Gerald Carter
3ea73f158e merge get_friendly_nt_err_msg() from app_head -
Andrew Tridgell
d076823c73 fixed a number of places where we can try to free a wild pointer or
look for the record count after an invalid search. This fixes a segv
in ldapsam
-
Tim Potter
152c530089 Ignore automatically generated Makefile. -