1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

21992 Commits

Author SHA1 Message Date
Stefan Metzmacher
123e721590 r22317: add tdb_ prefix to non static function
metze
(This used to be commit 56e31d60c6)
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
6f9f5bd745 r22316: merge from samba4:
this function should be static

metze
(This used to be commit f722fd32da)
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
97079ab953 r22315: move tdbback.c content into tdbbackup.c
and make the functions static.

also use libreplace headers in tdbbackup.c

metze
(This used to be commit 1ca12b1c9e)
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
f1a0e7dc75 r22314: use libreplace headers
metze
(This used to be commit d757cdc092)
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
f718428845 r22313: as discussed with simo:
remove the only usage of backup_tdb() in samba3.
As backup_tdb() will go completely soon.

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

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

metze
(This used to be commit 5ca1854644)
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
48e29ff642 r22271: merge from samba4:
provide __location__ in replace.h

and see how the build-farm likes this simpler version

metze
(This used to be commit 3f87165771)
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
d917f708e1 r22268: merge from samba4:
protect #define __location__ with an #ifndef

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

metze
(This used to be commit 66b0a6cc51)
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
3678d69b82 r22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICE
metze
(This used to be commit 402704b629)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
b97c8658d5 r22254: merge from samba4:
- make the strtoll tests more verbose
- add initial strtoull tests

metze
(This used to be commit 9865d3165d)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
cd8f2e5c57 r22252: merge from samba4:
add prototype of setenv

metze
(This used to be commit 42ccfaf5e5)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
4a245a1580 r22249: move tdb code to lib/tdb/ as in samba4
metze
(This used to be commit c7def92a9c)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
38bbe9a5da r22247: merge from samba4:
only test strtoll once

metze
(This used to be commit 17088fd644)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
9cda609e86 r22244: merge from samba4:
remove useless printf's

metze
(This used to be commit cf7c57eae5)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
fb72736e6e r22240: merge from samba4:
use strlcpy instead of strcpy to make the IBM checker happy

metze
(This used to be commit fe4be25c30)
2007-10-10 12:19:22 -05:00
Simo Sorce
0dd0aab2bc r22230: Let's just cast here, the 2 calls have different allocation mechanisms.
We just let domname and name hang on the mem ctx until the call returns,
and the context will be destroyed.

Simo.
(This used to be commit c38d8396c5)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
8b3ea388bc r22229: discard_const_p is in lib/replace now
metze
(This used to be commit 8dea4ebe98)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
f5b7197625 r22227: merge from samba4:
move discard_const macros to librelace

metze
(This used to be commit 8f4a39127f)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
0ca5717a9a r22224: merge from samba4:
make comparing of struct tm more verbose and portable

metze
(This used to be commit 29cbd75f22)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
2f1aafa2a7 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
(This used to be commit 057c1c04d0)
2007-10-10 12:19:21 -05:00
Volker Lendecke
3e819bd22c r22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
if appropriate.

Volker
(This used to be commit 6a4f6c5177)
2007-10-10 12:19:20 -05:00
Volker Lendecke
a633b42592 r22213: We can't use become_root() here, as it does DEBUG()
itself. become_root_uid_only did not :-)

Revert 21868, we need to find a better way.

Volker
(This used to be commit 629f966714)
2007-10-10 12:19:20 -05:00
Jeremy Allison
282018a366 r22212: Cope with signature errors on sessionsetupX logins
where the server just reflects our signature back
to us. Allow the upper layer to see the real error.
Jeremy.
(This used to be commit 6cf0b93b1d)
2007-10-10 12:19:20 -05:00
Jeremy Allison
731df24607 r22211: Don't return a value from void functions !
Jeremy.
(This used to be commit 1dd8d3a723)
2007-10-10 12:19:20 -05:00
Jeremy Allison
91be3a9ed6 r22210: Fix typo in testing for non-centry entries.
Jeremy.
(This used to be commit b89ecbcac6)
2007-10-10 12:19:20 -05:00
Jeremy Allison
c7d136dcac r22209: Fix the storage of time_t -> make it 64 bits (use the
same load/store function as NTTIME). Add a version number
string to the winbindd cache so we can tell if it needs
upgrading. THIS WILL DELETE ANY EXISTING winbindd_cache.tdb
on first startup regardless of offline auth status. Once
this is done we're in good shape though.
Jeremy.
(This used to be commit c52c7f91af)
2007-10-10 12:19:19 -05:00
Jeremy Allison
a2bab163be r22207: Fill in the validation functions. Now to test...
Jeremy.
(This used to be commit fc2b9e860e)
2007-10-10 12:19:19 -05:00
Jeremy Allison
127cc73034 r22206: Added boilerplate to be filled in for other validation functions.
Jeremy.
(This used to be commit 9be463eb0c)
2007-10-10 12:19:19 -05:00
Jeremy Allison
23e575c4b7 r22205: Add some flesh to the bones of the cache validation code.
Jeremy
(This used to be commit b773ea2c8a)
2007-10-10 12:19:19 -05:00
Simo Sorce
59523f55a9 r22204: Workaround to quickly close bug #4508
This hack makes thing work, but we will need to try again to
make the getpw* calls fully async, that's the real fix.
(This used to be commit 2552859b3d)
2007-10-10 12:19:19 -05:00
Jeremy Allison
9f41ff47d0 r22202: Volker is clever :-). Use TDB_NOMMAP to prevent any wild pointer
problems when validating the winbindd cache. Wish I'd have
thought of that.
Jeremy.
(This used to be commit 6b0a8cbbb8)
2007-10-10 12:19:19 -05:00
Jeremy Allison
a6fa4b4e56 r22181: Fix for EISCON in open_any_socket_out from William Jojo
for bug #3632.
Jeremy.
(This used to be commit 7979a5a350)
2007-10-10 12:19:19 -05:00
Gerald Carter
a78ef28b62 r22175: sync packaging changes from SAMBA_3_0_25
(This used to be commit 057db32558)
2007-10-10 12:19:18 -05:00
Gerald Carter
d1491cc500 r22173: BUG 4491, 4501: Additional fixes for protecting against
crashes in allocate_id().

BUG 4501: Fix segv in idmap_ad caused by resetting the
entry iterator when parsing search results.
(This used to be commit bd6ebbfb9f)
2007-10-10 12:19:18 -05:00
Alexander Bokovoy
59f23e9319 r22172: FSCTL_RECALL_FILE is 0x90117 according to my traces. Record it here.
(This used to be commit f36bc61d17)
2007-10-10 12:19:18 -05:00
Jeremy Allison
f61cb37989 r22164: Fix missing lock count release in transaction cancel.
Found by Taj Khattra <taj.khattra@gmail.com>.
Jeremy.
(This used to be commit a014a6c30d)
2007-10-10 12:19:18 -05:00
Jeremy Allison
62683646dc r22163: Pure reformatting. I hate 4 space tabstops :-).
Jeremy.
(This used to be commit 99abe96b2b)
2007-10-10 12:19:18 -05:00