1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

21970 Commits

Author SHA1 Message Date
Jeremy Allison
2d80a96120 r22391: Looks bigger than it is. Make "inbuf" available
to all callers of smb_setlen (via set_message()
calls). This will allow the server to reflect back
the correct encryption context.
Jeremy.
2007-10-10 12:19:30 -05:00
Gerald Carter
3b24dae9e7 r22390: Patchset sent to samba-technical to address the winbind
loop when allocating a new id for a SID:

auth_util.patch		Revert create_local_token() to
			the 3.0.24 codebase

idmap_type.patch	Have the caller fillin the
			id_map.xid.type field when
			resolving a SID so that if we allocate
			a new id, we know what type to use

winbindd_api.patch	Remove the WINBINDD_SIDS_TO_XIDS calls
			from the public winbindd interface
			for the 3.0.25 release

idmap_rid.patch		Cleanup the idmap_rid backend to not
			call back into winbindd to resolve
			the SID in order to verify it's type.
2007-10-10 12:19:30 -05:00
Jeremy Allison
b49e90335d r22389: Start preparing for multiple encryption contexts in the
server. Allow server to reflect back to calling client
the encryption context that was sent.
Jeremy.
2007-10-10 12:19:30 -05:00
Simo Sorce
7961476784 r22388: clearer message, thanks David 2007-10-10 12:19:29 -05:00
Günther Deschner
f7ae237a7f r22376: Make sure we use krb5 when we identify just an older heimdal lib (0.6.x)
Timur, please check.

Guenther
2007-10-10 12:19:29 -05:00
Stefan Metzmacher
7fab12b34a r22366: sync lib/talloc/ with samba4
metze
2007-10-10 12:19:29 -05:00
Stefan Metzmacher
562a9ce019 r22364: sync lib/tdb/ with samba4
there's no code change here...

metze
2007-10-10 12:19:29 -05:00
Stefan Metzmacher
e9200b4475 r22363: merge from samba4:
fix compiler warning

metze
2007-10-10 12:19:29 -05:00
Stefan Metzmacher
68a681038c r22362: fix the build on othersystems
metze
2007-10-10 12:19:29 -05:00
Jeremy Allison
11fa0ca9e2 r22358: Use gss error to NTSTATUS mapping function for errors.
Jeremy.
2007-10-10 12:19:29 -05:00
Jeremy Allison
fe36fc79dd r22355: Ensure we get good debug messages from gss_XX calls.
Jeremy.
2007-10-10 12:19:28 -05:00
Jeremy Allison
7b89a5de57 r22354: Make client select krb5 encrpyt if krb5 already on.
Jeremy.
2007-10-10 12:19:28 -05:00
Jeremy Allison
9173c846b1 r22353: Fix bad #ifdefs.
Jeremy.
2007-10-10 12:19:28 -05:00
Jeremy Allison
abcb2a4b07 r22352: Wow - working gss SMB sealing !
Jeremy.
2007-10-10 12:19:28 -05:00
Jeremy Allison
f1726e04eb r22351: Making progress in tests...
Jeremy.
2007-10-10 12:19:28 -05:00
Jeremy Allison
bf2e6bd82d r22350: Add some helpful debug messages.
Jeremy.
2007-10-10 12:19:28 -05:00
Jeremy Allison
0f5680adcf r22349: Fix missing ) in #else path.
Jeremy.
2007-10-10 12:19:28 -05:00
Simo Sorce
ad57434faf r22348: 3_0 as well 2007-10-10 12:19:28 -05:00
Jeremy Allison
1a46d2dcb9 r22345: Only use new krb5 OID.
Jeremy.
2007-10-10 12:19:27 -05:00
Jeremy Allison
197c90ec78 r22344: Correctly create sub-struct for GSS encryption.
Jeremy.
2007-10-10 12:19:27 -05:00
Simo Sorce
ee40cead09 r22343: Commit to 3_0 as well after adapting the patch.
(tdb_delete_bystring instead of tdb_delete is used here)
2007-10-10 12:19:27 -05:00
Michael Adam
e711005828 r22341: Fix build of examples/VFS: adapt include for new place of tdb... 2007-10-10 12:19:27 -05:00
Gerald Carter
356dd0dd3a r22340: Fix another segfault in idmap_ldap.c caused by setting the iterator
LDAPMessage * to NULL on each loop rotation.
2007-10-10 12:19:27 -05:00
Michael Adam
1e1d22028a r22330: For my own convenience (changes discussed some weeks ago with
Jerry, who basically didn't care - now I can commit them myself;-):

- Add a call to mkversion.sh to ensure sane version number even
  from a plain checkout.
- Add a "nodocs" switch to allow for calling make-tarball.sh without
  the need of having samba-docs and using-samba around.
2007-10-10 12:19:27 -05:00
Jeremy Allison
1c1f5360b6 r22327: Finish the gss-spnego part of the seal code. Now
for testing....
Jeremy.
2007-10-10 12:19:27 -05:00
Gerald Carter
086316d62e r22321: BUG 4509: Makefile fix linking the sfu.so and rfc2307.so
plugins in $libdir/nss_info to idmap/ad.so
2007-10-10 12:19:26 -05:00
Lars Müller
72be9766a9 r22320: Be more careful and check for the euid instead of the uid.
Thx for the hint James!
2007-10-10 12:19:26 -05:00
Lars Müller
0814a3acbe r22318: If we're running as non root we might not be able to dump the core file
to the corepath.

Even the chdir() will fail if the LOGFILEBASE path is set 0700.

If the currrent user doesn't have the permission to create the core file
we end with:
   unable to change to <LOGFILEBASE>
   refusing to dump core

The alternative would be to change the permissions of the directory.
But taht would not ensure core dumps are working out of the box.
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
56e31d60c6 r22317: add tdb_ prefix to non static function
metze
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
f722fd32da r22316: merge from samba4:
this function should be static

metze
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
1ca12b1c9e r22315: move tdbback.c content into tdbbackup.c
and make the functions static.

also use libreplace headers in tdbbackup.c

metze
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
d757cdc092 r22314: use libreplace headers
metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
363d1d676c r22313: as discussed with simo:
remove the only usage of backup_tdb() in samba3.
As backup_tdb() will go completely soon.

metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
4d53100e3c r22304: remove unused stuff completely to fix the build, sorry
metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
9ad4098910 r22302: fix the build when no shared-library support is detected
metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
2e6e4235da r22301: remove unused vars
metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
8a7d2e633b r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
2007-10-10 12:19:24 -05:00
Jeremy Allison
bc6ac4feac r22291: Fix off-by-one in tconX parsing.
Jeremy.
2007-10-10 12:19:24 -05:00
Jeremy Allison
c1f1949ff1 r22285: Allow arbitrary bases in int and ulong parsing.
Jeremy.
2007-10-10 12:19:24 -05:00
Gerald Carter
2abeec5768 r22283: Remove very old bug where we assigned the online mode of
the domain to queried to our own domain.
2007-10-10 12:19:24 -05:00
Jeremy Allison
f5c22f26f7 r22282: Fix last few name -> servicename changes.
Jeremy.
2007-10-10 12:19:24 -05:00
Stefan Metzmacher
737b445007 r22280: merge from samba4:
add a lot more detailed strtoll() and strtoull() tests

metze
2007-10-10 12:19:24 -05:00
Stefan Metzmacher
9b45075a26 r22277: __location__ is defined in libreplace now
metze
2007-10-10 12:19:24 -05:00
Jeremy Allison
cc4face3bc r22276: Fix name -> servicename in messages.c
Jeremy.
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
5ca1854644 r22274: merge from samba4:
- provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro

metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
3f87165771 r22271: merge from samba4:
provide __location__ in replace.h

and see how the build-farm likes this simpler version

metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
4c93c05542 r22268: merge from samba4:
protect #define __location__ with an #ifndef

metze
2007-10-10 12:19:23 -05:00
Jeremy Allison
e59b5276b5 r22266: Fix bug #4512 - we were returning a volume label greater than
32 unicode chars. Windows XP doesn't like that :-).
Jeremy
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
66b0a6cc51 r22264: merge from samba4:
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.

metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
402704b629 r22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICE
metze
2007-10-10 12:19:22 -05:00