1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

18719 Commits

Author SHA1 Message Date
Gerald Carter
9d9fe2d58d r11655: Two small fixes
* remove redundant call to sub_set_smb_name() in session setup code.
* Fix lockup when running 'wbinfo -t' on a Samba PDC.  Cause
  was new authenticated session setup from winbindd which
  resulted in a mangled username (machine_) that was not found
  in the local files and so was queiued up to nss_winbindd.
  Deadlock....
  So now make sure to keep the trailing '$' for machine account
  names when calling sub_set_smb_name().
(This used to be commit b0a2d43b60)
2007-10-10 11:05:23 -05:00
Paul Green
6fdfa210de r11653: Declare the correct return value for the static initialization functions.
Some compilers (guess whose) have ABIs that return int values using a
different method than returning struct values.
(This used to be commit 6bf4d88ab5)
2007-10-10 11:05:23 -05:00
Gerald Carter
ce0a1fa159 r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls.  This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.

As per comments on samba-technical, I still need to add

(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away

Both Jeremy and Guenther have signed off on the idea.
(This used to be commit 0c2bb5ba7b)
2007-10-10 11:05:23 -05:00
Gerald Carter
438d0ad451 r11651: After talking to Jeremy, commit my winbindd "Do the Right Thing" patch.
Still needs some more testing ni domains with multiple DCs. Coming next....
(This used to be commit aaed605206)
2007-10-10 11:05:22 -05:00
Gerald Carter
e04e7e1ffc r11645: mklogon updates from Ricky Nance
(This used to be commit 5bfa88225c)
2007-10-10 11:05:22 -05:00
Gerald Carter
c672a17ff0 r11617: fix typo
(This used to be commit 37d2bf02f3)
2007-10-10 11:05:22 -05:00
Jeremy Allison
4d8a77f1b3 r11614: Replace old crc32 code with one from the FreeBSD tree.
*  COPYRIGHT (C) 1986 Gary S. Brown.  You may use this program, or
 *  code or tables extracted from it, as desired without restriction.
Jeremy.
(This used to be commit 11c6b8ecd6)
2007-10-10 11:05:22 -05:00
Gerald Carter
f78f5cc8a1 r11613: fixing versions
(This used to be commit b50a264f01)
2007-10-10 11:05:21 -05:00
Gerald Carter
242ec03ff2 r11591: bumping version 3.0.22pre1
(This used to be commit c1a4329833)
2007-10-10 11:05:21 -05:00
Volker Lendecke
25d07bfceb r11585: Implement the possibility to have AFS users as SIDs in pts.
Volker
(This used to be commit 5b1b72ce7b)
2007-10-10 11:05:21 -05:00
Derrell Lipman
5e7d3081d3 r11583: r10556@cabra: derrell | 2005-11-08 13:20:56 -0500
fix copy/paste error
(This used to be commit 07dd45af84)
2007-10-10 11:05:21 -05:00
Derrell Lipman
fe6ce8ee45 r11582: r10193@cabra: derrell | 2005-11-08 13:12:39 -0500
Fixed "clean" target -- bin/libmsrpc.a was not being deleted.

 Jerry, the shared version of libmsrpc is not using a version number.  For consistency, I added LIBMSRPC_MAJOR and LIBMSRPC_MINOR definitions but they are not
 currently being used.  I don't know if the non-use of version is intentional
 or not.
(This used to be commit b4871a5525)
2007-10-10 11:05:21 -05:00
Gerald Carter
c2339ff417 r11580: fix an uninitialized variable that was causing winbindd to die in winbindd_dual_getsidaliases()
(This used to be commit c0c181826e)
2007-10-10 11:05:21 -05:00
Gerald Carter
77460a9075 r11579: syncing up perf counter code cfrom trunk
(This used to be commit 59c00924b6)
2007-10-10 11:05:21 -05:00
Gerald Carter
38b54d063d r11577: adding perl interpreter she-bang to top of parselog.pl script
(This used to be commit db4eb72142)
2007-10-10 11:05:20 -05:00
Jeremy Allison
fcceedd67c r11573: Adding Andrew Bartlett's patch to make machine account
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes
the auth module interface to 2 (from 1). The effect of this is
that clients can access resources as a machine account if they
set these flags. This is the same as Windows (think of a VPN
where the vpn client authenticates itself to a VPN server
using machine account credentials - the vpn server checks
that the machine password was valid by performing a machine
account check with the PDC in the same was as it would a
user account check. I may add in a restriction (parameter)
to allow this behaviour to be turned off (as it was previously).
That may be on by default.
Andrew Bartlett please review this change carefully.
Jeremy.
(This used to be commit d1caef8663)
2007-10-10 11:05:20 -05:00
Jeremy Allison
c3d673e571 r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.
Jeremy.
(This used to be commit d398a1aeb4)
2007-10-10 11:05:20 -05:00
Jeremy Allison
90230ac962 r11560: Fix core dump if setmntent returns NULL.
Pointed out by Jay Fanlason @ Red Hat.
Jeremy.
(This used to be commit e8136ae746)
2007-10-10 11:05:20 -05:00
Volker Lendecke
9df784b6f2 r11556: Fix "make everything"
(This used to be commit bff03f0cd4)
2007-10-10 11:05:20 -05:00
Volker Lendecke
f99b429446 r11551: Add a few more initialize_krb5_error_table
(This used to be commit d92c83aa42)
2007-10-10 11:05:20 -05:00
Gerald Carter
0708480567 r11549: fixing GPL notices
(This used to be commit 26e9c1c1fa)
2007-10-10 11:05:19 -05:00
Gerald Carter
d1e1766c08 r11548: adding simple script to tail syslog and write to eventlog tdb
(This used to be commit 9337a286c9)
2007-10-10 11:05:19 -05:00
Jeremy Allison
4787311083 r11530: Add the "time offset" parameter back in for people who
might use it.
Jeremy.
(This used to be commit b745114423)
2007-10-10 11:05:19 -05:00
Jeremy Allison
6d5757395a r11511: A classic "friday night check-in" :-). This moves much
of the Samba4 timezone handling code back into Samba3.
Gets rid of "kludge-gmt" and removes the effectiveness
of the parameter "time offset" (I can add this back
in very easily if needed) - it's no longer being
looked at. I'm hoping this will fix the problems people
have been having with DST transitions. I'll start comprehensive
testing tomorrow, but for now all modifications are done.
Splits time get/set functions into srv_XXX and cli_XXX
as they need to look at different timezone offsets.
Get rid of much of the "efficiency" cruft that was
added to Samba back in the day when the C library
timezone handling functions were slow.
Jeremy.
(This used to be commit 414303bc02)
2007-10-10 11:05:19 -05:00
Jeremy Allison
65ed4d3efd r11508: Removed incorrect patch hunk. Thanks to Andrew
Bartlett for pointing this out.
Jeremy.
(This used to be commit c93a08be4a)
2007-10-10 11:05:19 -05:00
Jeremy Allison
3a1623c940 r11506: Added description of ACL in usage message.
Jeremy.
(This used to be commit 7795fce24e)
2007-10-10 11:05:18 -05:00
Jeremy Allison
97ecce03de r11504: Added Andrew Bartletts removal of another NTLMSSP implementation
patch.
Jeremy.
(This used to be commit 4591984176)
2007-10-10 11:05:18 -05:00
Jeremy Allison
d544703342 r11494: Finally fix #3192 - remember iDiskfreeCacheTime is
an *integer*, not a pointer. Doh !
Jeremy.
(This used to be commit f1e0c86363)
2007-10-10 11:05:18 -05:00
Jeremy Allison
5678e4abb0 r11492: Fix bug #3224 (I hope). Correctly use machine_account_name
and client_name when doing netlogon credential setup.
Jeremy.
(This used to be commit 37e6ef9389)
2007-10-10 11:05:18 -05:00
Jeremy Allison
e12eb25793 r11491: If we get a reject ensure we're printing out the server/domain/machine
a/c we were asking for.
Jeremy.
(This used to be commit 3ba5d02cff)
2007-10-10 11:05:18 -05:00
Jeremy Allison
446463e910 r11482: Arrg. Can't believe this code was in this state. If you
don't initialize the mask then setting "special" access
gets set to *random* permissions !
Jeremy.
(This used to be commit f1616911a8)
2007-10-10 11:05:18 -05:00
Jeremy Allison
af3b6bec1f r11464: Allow smbcacls to modify a SD on W2K3. This may fix several
bugzilla bugs - I need to go through and check. I also
need to test against WNT/W2K and WXP.
Jeremy.
(This used to be commit 881dd7dbf6)
2007-10-10 11:05:18 -05:00
Jeremy Allison
a306447aa4 r11460: Improve error messages in parsing security descriptors.
Jeremy.
(This used to be commit 385f128de7)
2007-10-10 11:05:17 -05:00
Jeremy Allison
d6a68f8739 r11454: Last 2 uninitialized warnings.
Jeremy.
(This used to be commit 5f10368ff0)
2007-10-10 11:05:17 -05:00
Jeremy Allison
c9effb004c r11451: Fix -O1 "might be using uninitialized" errors.
Jeremy.
(This used to be commit cab76c3c33)
2007-10-10 11:05:16 -05:00
Jeremy Allison
a3d66dfef7 r11448: Move decl before code.
Jeremy.
(This used to be commit f22822790c)
2007-10-10 11:05:16 -05:00
Jeremy Allison
9d4760d119 r11446: Remove unused fn. Remove unneeded strncpy use.
Jeremy.
(This used to be commit d202aae3c8)
2007-10-10 11:05:16 -05:00
Jeremy Allison
6fc9564c33 r11443: Fix error code returns on client spoolss code. Fix them
up a *lot*.
Jeremy.
(This used to be commit 762fff4ddb)
2007-10-10 11:05:16 -05:00
Jeremy Allison
a00c76d9fb r11435: Allow the hash size of the tdb open (locking) database
to be set in local.h. Change from the default (131) to
another prime (1049). Should this be an smb.conf tunable parameter
based on the number of open file descriptors available ?
If so what scaling factor ? More tests to follow.
Jeremy.
(This used to be commit 6a902ec49f)
2007-10-10 11:05:16 -05:00
Jeremy Allison
a656626d0f r11433: Fix for bug #3223 - ensure we're root before doing
any potential lib/smbldap.c calls.
Jeremy.
(This used to be commit 915cfb48f0)
2007-10-10 11:05:16 -05:00
Jeremy Allison
86909281c8 r11428: Fix bug #3192 by actually hooking up the dfree caching
function. Oops.
Jeremy.
(This used to be commit 7edb26e765)
2007-10-10 11:05:15 -05:00
Jeremy Allison
6baec64a73 r11420: Fix issue pointed out by Dina Fine <dina@exanet.com>. We can
only tell at parse time from the wire if an incoming name
has wildcards or not. If it's a mangled name and we demangle
the demangled name may contain wildcard characters. Ensure
these are ignored.
Jeremy.
(This used to be commit 4cd8e2a96b)
2007-10-10 11:05:15 -05:00
Simo Sorce
7ec71aa20d r11398: Keep s3 in sync with trunk
(This used to be commit 7fc05b7964)
2007-10-10 11:05:15 -05:00
Simo Sorce
fa75e8c1d4 r11395: Update the Debian packaging.
Move form stable to stable distribution names based hives.
(This used to be commit bb13b34820)
2007-10-10 11:05:15 -05:00
Jeremy Allison
3a5c37bfd1 r11389: Attempt to fix bug #3212 - ignore bogus OS/2 EA set values on
trans2_mkdir/trans2_open/trans2_setfilepathingo.
Jeremy.
(This used to be commit 71c037dfbb)
2007-10-10 11:05:14 -05:00
Jeremy Allison
7f562a8f6f r11383: Patch from Alex Masterov <alex@infobit.ru> to fix
XATTR calls on *BSD systems (bug #3218).
Jeremy.
(This used to be commit 3d8faf42e8)
2007-10-10 11:05:14 -05:00
Volker Lendecke
df1ab2639d r11381: Correctly connect to 445 and 139 after a successful getdcname.
Volker
(This used to be commit 440e7b3342)
2007-10-10 11:05:14 -05:00
Jeremy Allison
a04dd5f4ad r11379: Remove external dependencies from sharemodes library.
Jeremy.
(This used to be commit 7fb0587261)
2007-10-10 11:05:14 -05:00
Paul Green
e47e121317 r11375: Update to the latest config.guess and config.sub files.
(This used to be commit eee397ea15)
2007-10-10 11:05:14 -05:00
Volker Lendecke
20299e5bf5 r11368: Remove a memleak that just cost me half an hour: If we terminate inside a
message handler, the list of messages from retrieve_all_messages is not
properly freed. Not important, just confusing :-)

Volker
(This used to be commit d20388750d)
2007-10-10 11:05:14 -05:00