1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00
Commit Graph

18945 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
9865d3165d r22254: merge from samba4:
- make the strtoll tests more verbose
- add initial strtoull tests

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
42ccfaf5e5 r22252: merge from samba4:
add prototype of setenv

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
c7def92a9c r22249: move tdb code to lib/tdb/ as in samba4
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
17088fd644 r22247: merge from samba4:
only test strtoll once

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
cf7c57eae5 r22244: merge from samba4:
remove useless printf's

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
fe4be25c30 r22240: merge from samba4:
use strlcpy instead of strcpy to make the IBM checker happy

metze
2007-10-10 12:19:22 -05:00
Simo Sorce
c38d8396c5 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.
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
8dea4ebe98 r22229: discard_const_p is in lib/replace now
metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
8f4a39127f r22227: merge from samba4:
move discard_const macros to librelace

metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
29cbd75f22 r22224: merge from samba4:
make comparing of struct tm more verbose and portable

metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
057c1c04d0 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
2007-10-10 12:19:21 -05:00
Volker Lendecke
6a4f6c5177 r22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
if appropriate.

Volker
2007-10-10 12:19:20 -05:00
Volker Lendecke
629f966714 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
2007-10-10 12:19:20 -05:00
Jeremy Allison
6cf0b93b1d 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.
2007-10-10 12:19:20 -05:00
Jeremy Allison
1dd8d3a723 r22211: Don't return a value from void functions !
Jeremy.
2007-10-10 12:19:20 -05:00
Jeremy Allison
b89ecbcac6 r22210: Fix typo in testing for non-centry entries.
Jeremy.
2007-10-10 12:19:20 -05:00
Jeremy Allison
c52c7f91af 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.
2007-10-10 12:19:19 -05:00
Jeremy Allison
fc2b9e860e r22207: Fill in the validation functions. Now to test...
Jeremy.
2007-10-10 12:19:19 -05:00
Jeremy Allison
9be463eb0c r22206: Added boilerplate to be filled in for other validation functions.
Jeremy.
2007-10-10 12:19:19 -05:00
Jeremy Allison
b773ea2c8a r22205: Add some flesh to the bones of the cache validation code.
Jeremy
2007-10-10 12:19:19 -05:00
Simo Sorce
2552859b3d 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.
2007-10-10 12:19:19 -05:00
Jeremy Allison
6b0a8cbbb8 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.
2007-10-10 12:19:19 -05:00
Jeremy Allison
7979a5a350 r22181: Fix for EISCON in open_any_socket_out from William Jojo
for bug #3632.
Jeremy.
2007-10-10 12:19:19 -05:00
Gerald Carter
bd6ebbfb9f 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.
2007-10-10 12:19:18 -05:00
Alexander Bokovoy
f36bc61d17 r22172: FSCTL_RECALL_FILE is 0x90117 according to my traces. Record it here. 2007-10-10 12:19:18 -05:00
Jeremy Allison
a014a6c30d r22164: Fix missing lock count release in transaction cancel.
Found by Taj Khattra <taj.khattra@gmail.com>.
Jeremy.
2007-10-10 12:19:18 -05:00
Jeremy Allison
99abe96b2b r22163: Pure reformatting. I hate 4 space tabstops :-).
Jeremy.
2007-10-10 12:19:18 -05:00
Gerald Carter
0b700456f4 r22159: BUG 4501 (second half of fix): Just disable the
uid/gid allocation if no idmap alloca backend has been
defined and we are not using a 3.0.24 idmap backend
compatible configuration.
2007-10-10 12:19:18 -05:00
Gerald Carter
f640f056bf r22158: BUG 4501 (partial): Fix a crash caused by not using the
nss_info_{rfc2307,sfu} plugin with idmap_ad.
2007-10-10 12:19:17 -05:00
Jeremy Allison
c3e2207cb4 r22157: Fix bug #3634 - stop nmbd segfaulting with bad interface line.
Jeremy.
2007-10-10 12:19:17 -05:00
Jeremy Allison
f1b22c9527 r22155: Fixed warning #4498 from jason@ncac.gwu.edu.
Jeremy.
2007-10-10 12:19:17 -05:00