Stefan Metzmacher [Mon, 16 Apr 2007 12:00:08 +0000 (12:00 +0000)]
r22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICE
metze
(This used to be commit
402704b62972c223f3e70bcd6221dc7c3a64f4b9)
Stefan Metzmacher [Mon, 16 Apr 2007 09:44:00 +0000 (09:44 +0000)]
r22254: merge from samba4:
- make the strtoll tests more verbose
- add initial strtoull tests
metze
(This used to be commit
9865d3165d629c56a24d9fa5ee993f4b04ba12de)
Stefan Metzmacher [Mon, 16 Apr 2007 09:20:52 +0000 (09:20 +0000)]
r22252: merge from samba4:
add prototype of setenv
metze
(This used to be commit
42ccfaf5e58d92e04ba490f726e5d6972039bdc4)
Stefan Metzmacher [Mon, 16 Apr 2007 08:20:13 +0000 (08:20 +0000)]
r22249: move tdb code to lib/tdb/ as in samba4
metze
(This used to be commit
c7def92a9c2e17c90061ef17bc14e36250574e85)
Stefan Metzmacher [Mon, 16 Apr 2007 07:41:01 +0000 (07:41 +0000)]
r22247: merge from samba4:
only test strtoll once
metze
(This used to be commit
17088fd644ef68ac2e96ed1246339b65943d63d0)
Stefan Metzmacher [Mon, 16 Apr 2007 06:30:08 +0000 (06:30 +0000)]
r22244: merge from samba4:
remove useless printf's
metze
(This used to be commit
cf7c57eae5671cd15f0cee0173c7b05a8a8ba055)
Stefan Metzmacher [Mon, 16 Apr 2007 06:08:43 +0000 (06:08 +0000)]
r22240: merge from samba4:
use strlcpy instead of strcpy to make the IBM checker happy
metze
(This used to be commit
fe4be25c3056260049a8052e072500756bf14fce)
Simo Sorce [Sun, 15 Apr 2007 23:58:39 +0000 (23:58 +0000)]
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
c38d8396c513d4c418f64b27a9f7c25757388674)
Stefan Metzmacher [Sun, 15 Apr 2007 21:14:37 +0000 (21:14 +0000)]
r22229: discard_const_p is in lib/replace now
metze
(This used to be commit
8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f)
Stefan Metzmacher [Sun, 15 Apr 2007 21:13:48 +0000 (21:13 +0000)]
r22227: merge from samba4:
move discard_const macros to librelace
metze
(This used to be commit
8f4a39127f7b560a7a609e74423ccb88f53e545e)
Stefan Metzmacher [Sun, 15 Apr 2007 20:57:48 +0000 (20:57 +0000)]
r22224: merge from samba4:
make comparing of struct tm more verbose and portable
metze
(This used to be commit
29cbd75f22bcbb10d049910c3a72d911094ccb05)
Stefan Metzmacher [Sun, 15 Apr 2007 20:12:09 +0000 (20:12 +0000)]
r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements
metze
(This used to be commit
057c1c04d09b48c713ebc0b334cabcefc02561e9)
Volker Lendecke [Sat, 14 Apr 2007 06:44:30 +0000 (06:44 +0000)]
r22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
if appropriate.
Volker
(This used to be commit
6a4f6c5177b4837fe7a238f067abbc5739ab0812)
Volker Lendecke [Sat, 14 Apr 2007 06:40:47 +0000 (06:40 +0000)]
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
629f966714c7a8d96b06027d514b86cde81b69b9)
Jeremy Allison [Sat, 14 Apr 2007 00:53:38 +0000 (00:53 +0000)]
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
6cf0b93b1d8cb97dc665e14ace94a259def67724)
Jeremy Allison [Fri, 13 Apr 2007 22:56:27 +0000 (22:56 +0000)]
r22211: Don't return a value from void functions !
Jeremy.
(This used to be commit
1dd8d3a723ac2262a45fcd717daef79bffbf30d5)
Jeremy Allison [Fri, 13 Apr 2007 22:42:21 +0000 (22:42 +0000)]
r22210: Fix typo in testing for non-centry entries.
Jeremy.
(This used to be commit
b89ecbcac651034d818a41d8a1d0c5e7313f37b8)
Jeremy Allison [Fri, 13 Apr 2007 22:29:50 +0000 (22:29 +0000)]
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
c52c7f91af80d5fbb2574b5acf10e6afef3b0c7e)
Jeremy Allison [Fri, 13 Apr 2007 01:46:47 +0000 (01:46 +0000)]
r22207: Fill in the validation functions. Now to test...
Jeremy.
(This used to be commit
fc2b9e860ef9512eb074622e0ad134ff3f30bfe7)
Jeremy Allison [Fri, 13 Apr 2007 01:00:44 +0000 (01:00 +0000)]
r22206: Added boilerplate to be filled in for other validation functions.
Jeremy.
(This used to be commit
9be463eb0cb4d65c40e35c504059289696419486)
Jeremy Allison [Fri, 13 Apr 2007 00:39:06 +0000 (00:39 +0000)]
r22205: Add some flesh to the bones of the cache validation code.
Jeremy
(This used to be commit
b773ea2c8a107344fc524b41a2c81ecc723bd9ec)
Simo Sorce [Thu, 12 Apr 2007 21:10:06 +0000 (21:10 +0000)]
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
2552859b3d9e28d5f25b339f5d24a8d2dc36b46b)
Jeremy Allison [Thu, 12 Apr 2007 19:16:29 +0000 (19:16 +0000)]
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
6b0a8cbbb883b7041ed4b1f6c1ae90233921d154)
Jeremy Allison [Thu, 12 Apr 2007 01:09:19 +0000 (01:09 +0000)]
r22181: Fix for EISCON in open_any_socket_out from William Jojo
for bug #3632.
Jeremy.
(This used to be commit
7979a5a350739150a9c7077f2c35d9512d8596e4)
Gerald Carter [Wed, 11 Apr 2007 12:54:00 +0000 (12:54 +0000)]
r22175: sync packaging changes from SAMBA_3_0_25
(This used to be commit
057db3255860e8462188f405712f89db97f6abac)
Gerald Carter [Wed, 11 Apr 2007 12:32:58 +0000 (12:32 +0000)]
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
bd6ebbfb9fb9d95bdf41eab1fd134170fcf6b6bf)
Alexander Bokovoy [Wed, 11 Apr 2007 12:32:07 +0000 (12:32 +0000)]
r22172: FSCTL_RECALL_FILE is 0x90117 according to my traces. Record it here.
(This used to be commit
f36bc61d17baf468ec66151dda347fdfc40e0297)
Jeremy Allison [Wed, 11 Apr 2007 05:27:00 +0000 (05:27 +0000)]
r22164: Fix missing lock count release in transaction cancel.
Found by Taj Khattra <taj.khattra@gmail.com>.
Jeremy.
(This used to be commit
a014a6c30d1e0d75a1a49fdd61bad8cf4cc90327)
Jeremy Allison [Wed, 11 Apr 2007 05:05:33 +0000 (05:05 +0000)]
r22163: Pure reformatting. I hate 4 space tabstops :-).
Jeremy.
(This used to be commit
99abe96b2b8e41e4c7536d35cc169f7e6c3eba1c)
Gerald Carter [Tue, 10 Apr 2007 22:59:42 +0000 (22:59 +0000)]
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.
(This used to be commit
0b700456f45d2bdfe8538bcfd0fce8ec2b9c3adb)
Gerald Carter [Tue, 10 Apr 2007 21:14:44 +0000 (21:14 +0000)]
r22158: BUG 4501 (partial): Fix a crash caused by not using the
nss_info_{rfc2307,sfu} plugin with idmap_ad.
(This used to be commit
f640f056bfbf1013d6b3df89632109011fc42361)
Jeremy Allison [Tue, 10 Apr 2007 20:35:30 +0000 (20:35 +0000)]
r22157: Fix bug #3634 - stop nmbd segfaulting with bad interface line.
Jeremy.
(This used to be commit
c3e2207cb40386c565b23fcabc8c7384b10216de)
Jeremy Allison [Tue, 10 Apr 2007 18:21:37 +0000 (18:21 +0000)]
r22155: Fixed warning #4498 from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit
f1b22c952719f004d7e33813c4d0f10514e1fff9)
Jeremy Allison [Tue, 10 Apr 2007 18:12:25 +0000 (18:12 +0000)]
r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h.
Jeremy.
(This used to be commit
512542c90a78006bda3470eed7fb6d3f6e708eed)
Stefan Metzmacher [Tue, 10 Apr 2007 16:04:22 +0000 (16:04 +0000)]
r22153: fix LDAP SASL "GSSAPI" bind against w2k3, this isn't critical
because we try "GSS-SPNEGO" first and all windows version support
that.
metze
(This used to be commit
34a5badbded0b2537ee854287931e2a7dc3aeb37)
Stefan Metzmacher [Tue, 10 Apr 2007 15:59:39 +0000 (15:59 +0000)]
r22151: remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.
should fix bug #4496
metze
(This used to be commit
7f61b3f0095efed81adc9022ba44e5c7df84d2f2)
Gerald Carter [Tue, 10 Apr 2007 15:41:23 +0000 (15:41 +0000)]
r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
to fix compile bug ni quotas.c (typo calling unbecome_root()).
(This used to be commit
22d550d62b5834e2c5155550756d3462a1bd6561)
Jim McDonough [Tue, 10 Apr 2007 15:41:22 +0000 (15:41 +0000)]
r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
_file). Thanks to Gomati Mohanan.
(This used to be commit
859269c9492e002f02415d610c83452538147972)
Volker Lendecke [Tue, 10 Apr 2007 07:36:58 +0000 (07:36 +0000)]
r22147: Next try
(This used to be commit
42f42321558ed0647697e5bfd7d5339a29aa30d9)
Volker Lendecke [Tue, 10 Apr 2007 07:33:14 +0000 (07:33 +0000)]
r22146: Attempt to fix the build
(This used to be commit
825255c7600f2372c1702a0cecb309e9f22c087e)
Jeremy Allison [Mon, 9 Apr 2007 21:01:46 +0000 (21:01 +0000)]
r22145: Fix bug #4494 - reported by Kevin Jamieson <bugzilla@kevinjamieson.com>.
If returning a mapped UNIX error from sendfile, don't call chain_reply.
Jeremy.
(This used to be commit
38404c990db1436241c3a774c51196bc058d7576)
Volker Lendecke [Mon, 9 Apr 2007 10:38:55 +0000 (10:38 +0000)]
r22135: Check in most of Michael Adam's net conf utility. A good share of this patch
is moving functions around to fix some linker dependencies for the registry.
Michael, I've renamed your auth_utils2.c to token_utils.c.
Thanks!
Volker
(This used to be commit
9de16f25c1c3e0b203da47391772ef2e2fe291ac)
Jeremy Allison [Sun, 8 Apr 2007 19:41:47 +0000 (19:41 +0000)]
r22132: I hate inefficiency. Don't call conv_str_size()
on every pread/sendfile call, initialize these
variables in an allocated struct at connection
time and just refer to them directly.
Jeremy.
(This used to be commit
85df3fca681a44c882f596ef042ad9956c3a63c0)
Derrell Lipman [Sun, 8 Apr 2007 16:41:24 +0000 (16:41 +0000)]
r22130: - Ensure that the libsmbclient example programs link with the libsmbclient
library that's part of the current tree, not with whatever happens to have
been previously installed.
(This used to be commit
c65621e0b7690b90beb420f829c769c7d28147f5)
Jeremy Allison [Sun, 8 Apr 2007 04:54:44 +0000 (04:54 +0000)]
r22129: Fix the nttrans create extended response for pipes
and files (tested with Win32 code). Bug #4404 should
now be dead :-).
Jeremy.
(This used to be commit
40a86a56662eca2668b8a9515b9f924f54d80cc0)
Jeremy Allison [Sun, 8 Apr 2007 00:47:49 +0000 (00:47 +0000)]
r22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIRED
set. Only the NTTrans create left to fix for csc.
Jeremy.
(This used to be commit
7856db9fce9906c5a7d19fbe69dfcfd4b644c134)
James Peach [Sat, 7 Apr 2007 21:13:29 +0000 (21:13 +0000)]
r22127: Wrap the AC_TRY_RUN detection for Linux getgrouplist in an
AC_CACHE_CHECK, so it can be cross-compiled.
(This used to be commit
f9fb07d2f9f142b4bcef02b8b3fc40789a6995d7)
Volker Lendecke [Sat, 7 Apr 2007 19:35:13 +0000 (19:35 +0000)]
r22126: Fix a bogus uninitialized variable warning
(This used to be commit
3be234effacd370dbdae11f6fcfddfe37d0623b3)
Volker Lendecke [Sat, 7 Apr 2007 13:22:49 +0000 (13:22 +0000)]
r22125: Fix a warning
(This used to be commit
1c0ceb5fe217bd7210072869a1313c7ac67ff118)
Jeremy Allison [Sat, 7 Apr 2007 06:59:32 +0000 (06:59 +0000)]
r22124: Wow - NTCreateX sets the word count to 42, but returns 50 on
the wire. Strange.... But now we're returning Windows compatible
extended info. Next to fix the pipe returns and NTTrans Creates.
Jeremy.
(This used to be commit
57e46f2f80db153fc7ce0eb09f24afa78aa27349)
Jeremy Allison [Sat, 7 Apr 2007 06:38:45 +0000 (06:38 +0000)]
r22123: Try and fix the csc (#4404) bug by supporting the extended
response to NTCreateX - need to fix this also for
pipe open and NTTransCreate as well so this isn't
finished.
Jeremy.
(This used to be commit
be742f248178ae606dfa3a90c6148a18b42128e3)
Jeremy Allison [Sat, 7 Apr 2007 05:49:24 +0000 (05:49 +0000)]
r22122: Start to fix csc issue with Vista. Make smbd support
the extended 7 word response for tconX rather than the
3 word one we supported previously.
Jeremy.
(This used to be commit
137953226a2d691259e7e84d6ae0dc24755e5a3a)
Jeremy Allison [Fri, 6 Apr 2007 22:08:44 +0000 (22:08 +0000)]
r22113: Fix core dump when configfile in same directory.
From Steven Danneman <steven.danneman@isilon.com>.
Jeremy.
(This used to be commit
572c418b04eb1dbce8da7643fe7e236b06fce57b)
Jeremy Allison [Fri, 6 Apr 2007 21:55:44 +0000 (21:55 +0000)]
r22112: Fix memleak pointed out by Steven Danneman <steven.danneman@isilon.com>.
Jeremy.
(This used to be commit
7c45bd3a47fc2b24c5f1351a241ace2201c857d2)
Jeremy Allison [Fri, 6 Apr 2007 21:12:44 +0000 (21:12 +0000)]
r22111: Allow readahead params to use size suffixes as K,M, etc.
Jeremy.
(This used to be commit
e296f07e1d3a14fe05a444ccdc752cd945fee5bc)
Gerald Carter [Fri, 6 Apr 2007 21:05:55 +0000 (21:05 +0000)]
r22110: don't cache the S-1-22-{1,2} domain SID/uig/gid lookups in idmap_cache
(This used to be commit
adfc2d31656f642c76a3d8eeddf5a67804a4917d)
Simo Sorce [Fri, 6 Apr 2007 19:55:45 +0000 (19:55 +0000)]
r22109: Readonly is automatically set in the generic init code, let's just log the fact there
and remove the specific, but redundant, code in idmap_ad.c
(This used to be commit
f127803734f9ae16e400b8a91e1e1910fd49b7f3)
Jeremy Allison [Fri, 6 Apr 2007 19:38:35 +0000 (19:38 +0000)]
r22108: Fix from <don.mccall@hp.com> to try and fix the HPUX builds.
Jeremy.
(This used to be commit
4de297112b9d87e58d870889007001169265e084)
James Peach [Fri, 6 Apr 2007 19:17:15 +0000 (19:17 +0000)]
r22107: Fix typo.
(This used to be commit
fd056b2426dea059fec50fe1c90e4fdd48f916d7)
Jeremy Allison [Fri, 6 Apr 2007 19:09:53 +0000 (19:09 +0000)]
r22106: Fix the module name - it's vfs_readahead not vfs_linux_readahead.
Jeremy.
(This used to be commit
bc2b6e3f32ab50444bb478efffd7a8b505536c6c)
Jeremy Allison [Fri, 6 Apr 2007 18:56:47 +0000 (18:56 +0000)]
r22105: Added vfs_readahead module that appears to do wonderful things
for copying files from Samba when using Windows Vista Windows
explorer.... :-). By default if you add this I can go on my
vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if
I turn sendfile on).
Jeremy.
(This used to be commit
97fdd67e83bb2706106a9bae95b32d8d9f8b4066)
Gerald Carter [Fri, 6 Apr 2007 18:52:30 +0000 (18:52 +0000)]
r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.
Enable the DsRoleGetPrimaryDomainInfo() server code.
Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64)
(This used to be commit
eab9ca7e7d8d7dc3e705720f8bc5dff5c8ec5f5f)
Lars Müller [Fri, 6 Apr 2007 16:42:37 +0000 (16:42 +0000)]
r22103: No code change. This is a spring time end of line clesnup checkin.
(This used to be commit
3ae99e5924a8d20f920faddf823f43fb73ee4c6e)
Lars Müller [Fri, 6 Apr 2007 16:27:28 +0000 (16:27 +0000)]
r22102: Remove obsoleted SHLIBS_PROGS from {Makefile,configure}.in.
As NSS_MODULES is added to the all rule the resulting set of binaries
are the same.
(This used to be commit
3bebb5f4c1c09493e81a96efdc09742abd9adacf)
Gerald Carter [Fri, 6 Apr 2007 16:23:55 +0000 (16:23 +0000)]
r22101: remove RedHat 9 packaging files after annoncement on the samba ml
(This used to be commit
884952435598430ee74c7ef5a925025321d422c7)
Lars Müller [Fri, 6 Apr 2007 15:39:34 +0000 (15:39 +0000)]
r22099: Revert parts of revision 22056 as proto_exists is not required by
@WINBIND_NSS@, bin/pam_winbind.@SHLIBEXT@, and bin/pam_smbpass.@SHLIBEXT@.
(This used to be commit
641edac6ece16aa51fef240a5356c1aa5afaa644)
Jeremy Allison [Fri, 6 Apr 2007 01:09:19 +0000 (01:09 +0000)]
r22097: Add detection for linux readahead() syscall.
Jeremy.
(This used to be commit
4e3232aad4179e4ca9a1138bc43addec2ea6d9cc)
Jeremy Allison [Thu, 5 Apr 2007 23:56:10 +0000 (23:56 +0000)]
r22096: become_root_uid_only() is unneeded - it's only used in
messages.c. Refactor to use become_root() instead and
make it local to messages.c
Jeremy.
(This used to be commit
f3ffb3f98472b69b476b702dfe5c0575b32da018)
Gerald Carter [Thu, 5 Apr 2007 19:56:08 +0000 (19:56 +0000)]
r22095: BUG 4484: Add more checks to set %a for Vista clients (based on absence of native OS and Lanman strings in the session setup request)
(This used to be commit
e5c9fc937d40046030c0d3bcfced505410a14caf)
James Peach [Thu, 5 Apr 2007 19:49:29 +0000 (19:49 +0000)]
r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status.
(This used to be commit
395fd99edba8a75eab5d13c9fac5616bcd6ecf2c)
Stefan Metzmacher [Thu, 5 Apr 2007 12:36:10 +0000 (12:36 +0000)]
r22093: send also the correct OID_KERBEROS5 not only the broken
OID_KERBEROS_OLD one.
metze
(This used to be commit
294c69334fce1cbb74ae9eb5a06e17b397f994df)
Stefan Metzmacher [Thu, 5 Apr 2007 12:30:23 +0000 (12:30 +0000)]
r22092: - make spnego_parse_auth_response() more generic and
not specific for NTLMSSP
- it's possible that the server sends a mechOID and authdata
if negResult != SPNEGO_NEG_RESULT_INCOMPLETE, but we still
force the mechOID to be present if negResult == SPNEGO_NEG_RESULT_INCOMPLETE
metze
(This used to be commit
e9f2aa22f90208a5e530ef3b68664151960a0a22)
Volker Lendecke [Thu, 5 Apr 2007 11:13:25 +0000 (11:13 +0000)]
r22091: Fix an uninitialized variable warning
(This used to be commit
a6e1e39f1dcd9ebcb5db199fd152a861b9be929b)
Jeremy Allison [Wed, 4 Apr 2007 23:33:07 +0000 (23:33 +0000)]
r22080: Fix directory recycle module bug #4486.
Jeremy.
(This used to be commit
17b1d11bbb8353e309c8410128a3e9c5964ea766)
Jeremy Allison [Wed, 4 Apr 2007 17:38:12 +0000 (17:38 +0000)]
r22079: Tsk, tsk, Metze didn't compile before check-in :-).
Merge the memory leak fix (with fix :-) to 3.0.25.
Jeremy.
(This used to be commit
ab3150fe4ed2a629eb371db5f43ae09b9c583a64)
Stefan Metzmacher [Wed, 4 Apr 2007 14:50:39 +0000 (14:50 +0000)]
r22078: fix memory leak in not often used code, we only use it if the server
doesn't support GSS-SPNEGO in SASL
can someone please review this, maybe it's also for 3.0.25
metze
(This used to be commit
8c6930b7013b185af0530b04a7d5a49bc2ce7831)
Andrew Bartlett [Wed, 4 Apr 2007 06:03:54 +0000 (06:03 +0000)]
r22071: Make the error message for incorrect use of '-c' show the parameter as used.
This means that smbpasswd -c user (which in htpasswd creates a new file)
and smbpasswd -c /not/my/smb.conf should give errors an admin will
think to chase down.
Andrew Bartlett
(This used to be commit
721375e14cfcef88061c9e4d4a1f3ca2f33fa9aa)
Gerald Carter [Wed, 4 Apr 2007 04:28:28 +0000 (04:28 +0000)]
r22069: BUG 4447: Fix compile failure on AIX 5.2 (patch from William Jojo <jojowil@hvcc.edu>)
(This used to be commit
c1cb6d059b2a8539bc8a05ea4467d136bbb2ff38)
Stefan Metzmacher [Wed, 4 Apr 2007 03:54:30 +0000 (03:54 +0000)]
r22067: - fix --with-fhs, where confdir is set to \${sysconfdir}
but sysconfdir wasn't defined in our Makefile
- add localstatedir for completeness
metze
(This used to be commit
a70af6d457fede7f6bec822d4118abe658613d67)
Gerald Carter [Wed, 4 Apr 2007 02:57:01 +0000 (02:57 +0000)]
r22066: Ensure that winbind can resolve SIDs in the S-1-22-{1,2}
domain to a uid.gid using the idmap_passdb backend.
(This used to be commit
fc1aeee52d8cb6c8d5d306dbbec18127bd2674bc)
Jeremy Allison [Wed, 4 Apr 2007 00:03:12 +0000 (00:03 +0000)]
r22065: First logic change I've found :-(. We were being too
restrictive about strings being NULL. If an info level
doesn't use a subformat the subformat string may be
missing (null). Add debug statements to help track
this.
Jeremy
(This used to be commit
70875f92a22985539dc41e26a084218a45e1a13f)
Jeremy Allison [Tue, 3 Apr 2007 22:59:55 +0000 (22:59 +0000)]
r22064: Fix the DFS code to work better with Vista clients. Allow
"host msdfs = true" to be set in the [global] section
and allow Vista to see shares with "msdfs root = yes"
and "msdfs root = no" off the same server. Down
to an error message really :-).
Jeremy.
(This used to be commit
1a0f69bb21fd03a18514dfc93c84568708144e28)
Jeremy Allison [Tue, 3 Apr 2007 19:47:19 +0000 (19:47 +0000)]
r22062: Fix the parsing of info level 3. Flags is not a flags
field, but an offset. Fixed 64-bit display of ACLs on
printers.
Jeremy.
(This used to be commit
0c8949ff5d742dbe59f2af0f57a289f238e3592c)
Gerald Carter [Tue, 3 Apr 2007 18:32:25 +0000 (18:32 +0000)]
r22061: Fix the krb5 user ticket refresh event timeout in winbindd
(This used to be commit
4a99b89618948f5518b9c685d1cdcfaad69bfc80)
Jeremy Allison [Tue, 3 Apr 2007 17:10:52 +0000 (17:10 +0000)]
r22060: Fix for AIX quotas from Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.
Jeremy.
(This used to be commit
8d95cdf8c0a46abc6b5cbcec3fd8bf246d49ee4b)
Volker Lendecke [Tue, 3 Apr 2007 14:16:56 +0000 (14:16 +0000)]
r22059: Over-allocate and NULL out 100 bytes for lanman.c.
Volker
(This used to be commit
0eea6b84cec7e2a3fc1f784d5a9b162f71cc8a02)
Günther Deschner [Tue, 3 Apr 2007 13:30:43 +0000 (13:30 +0000)]
r22058: Add test_nss_modules to check NSS modules for unresolved symbols.
Guenther
(This used to be commit
21d092f4f9aca1371f2cf97a39da6f30ddc62eba)
Günther Deschner [Tue, 3 Apr 2007 13:25:14 +0000 (13:25 +0000)]
r22056: Adding some missing proto_exists calls (for PAM and NSS modules)
Guenther
(This used to be commit
04705aa190936510fc672ee92a4dbe540e18cf45)
Jelmer Vernooij [Tue, 3 Apr 2007 12:28:40 +0000 (12:28 +0000)]
r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
(This used to be commit
ad981261877e6a2dce0c4f4e71fd9127aa31538a)
Stefan Metzmacher [Tue, 3 Apr 2007 10:15:15 +0000 (10:15 +0000)]
r22054: merge from samba4:
remove broken samba3 specific stuff from tdbtool
metze
(This used to be commit
9b34cd8d8917bc640c861783e56a1c121c7c47f9)
Stefan Metzmacher [Tue, 3 Apr 2007 07:00:53 +0000 (07:00 +0000)]
r22051: use libreplace headers
metze
(This used to be commit
1017ca3eaa5cb8f4537886df5a1ee62439fff2f0)
Jeremy Allison [Tue, 3 Apr 2007 04:52:09 +0000 (04:52 +0000)]
r22050: Fix a couple of off-by-one errors in the rap
call patch. Jerry, this works now for displaying
shares on Win9x (and hopefully everything else
as well :-).
Jeremy.
(This used to be commit
728a4cc71376f9cfff2578d21a47602f8b7c6531)
Jeremy Allison [Mon, 2 Apr 2007 23:07:06 +0000 (23:07 +0000)]
r22049: HPUX build fixes from <don.mccall@hp.com>.
Jeremy.
(This used to be commit
b70af25e851b2695e552b10f1befb16e336fb36f)
Jeremy Allison [Mon, 2 Apr 2007 20:10:21 +0000 (20:10 +0000)]
r22045: As Volker noticed, skip_string's last argument is
redundent. Remove it.
Jeremy.
(This used to be commit
140881cfbb59ce4a699b5900efe02bf315be7bd5)
Volker Lendecke [Mon, 2 Apr 2007 20:04:05 +0000 (20:04 +0000)]
r22044: Remove the only skip_string(...,2) caller
(This used to be commit
08ea2b83b26968990fce191cdafe26d3183518a6)
Volker Lendecke [Mon, 2 Apr 2007 19:46:27 +0000 (19:46 +0000)]
r22043: Comparing lanman.c with -r22013 is now MUCH easier, thanks! This looks much
easier to review! Damn close to what I had in my tree, just the fn names were
slightly different.
This removes one unnecessary dupe.
Next thing is to get rid of the parameter "n" of skip_string, there is only
one (!) caller that does not pass in 1....
Volker
(This used to be commit
2878c1e93a8d71288fa3144cff57bce66c592e22)
Jeremy Allison [Mon, 2 Apr 2007 19:04:57 +0000 (19:04 +0000)]
r22042: Try and clean up my own mess using the API Volker
suggested. I now use :
BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
Volker, please criticize and comment. Thanks,
Jeremy.
(This used to be commit
d47af7c9263f519e7307859b6a696d854c5dfca3)
Stefan Metzmacher [Mon, 2 Apr 2007 18:42:56 +0000 (18:42 +0000)]
r22039: fix compiler warnings
metze
(This used to be commit
91402d7a42d9930e8e67bc67423b8b79db27f12d)
Stefan Metzmacher [Mon, 2 Apr 2007 17:16:14 +0000 (17:16 +0000)]
r22033: remove useless line
metze
(This used to be commit
cb6d90d7963d8fc650b46355d7e6590d1e0654ad)
Andrew Bartlett [Mon, 2 Apr 2007 12:52:08 +0000 (12:52 +0000)]
r22026: Missed in my last commit, another case where we need to copy, not reference.
Andrew Bartlett
(This used to be commit
635b83a21683068eb3908506d5ee1191e55381d1)