Gerald Carter [Wed, 30 Jul 2003 17:29:00 +0000 (17:29 +0000)]
add support for DsEnumerateDomainTrusted for enumerating all the
trusted domains in a forest.
(This used to be commit
c691c7f7d9afb8af542dc83cf934df1dfd38ef17)
Jeremy Allison [Wed, 30 Jul 2003 16:34:14 +0000 (16:34 +0000)]
Don't revert something until you've seen if volker has already fixed it :-).
Jeremy.
(This used to be commit
d57d9b99dfc2a83d91b952a11eb1ae4cf37e6467)
Jeremy Allison [Wed, 30 Jul 2003 15:30:36 +0000 (15:30 +0000)]
Comment out mutex until I get dependencies sorted out...
Jeremy
(This used to be commit
382d1732ca8e4d0909eb5a95f7327213913da37b)
Volker Lendecke [Wed, 30 Jul 2003 08:05:34 +0000 (08:05 +0000)]
bin/net needs server_mutex as kerberos_verify now uses it.
Volker
(This used to be commit
ee09db891a9a45158e12fcd2a85092d64870fac4)
Jeremy Allison [Tue, 29 Jul 2003 21:32:36 +0000 (21:32 +0000)]
Put mutex around access of replay cache for krb5 tickets. krb5 replay cache
is not multi-process safe.
Jeremy.
(This used to be commit
9e0534a1b69bbd4f21b4925337cbab127d060fc6)
Herb Lewis [Tue, 29 Jul 2003 20:11:18 +0000 (20:11 +0000)]
split replace into replace and replace1 to allow setenv to be used by
nsswitch modules. Add required libraries to get rid of undefined
functions for libns_winbind.so and libns_wins.so
(This used to be commit
cec5bf5f99ca98b0f5ee84636fc18f0cb3079683)
Jeremy Allison [Tue, 29 Jul 2003 19:16:59 +0000 (19:16 +0000)]
Fix bug #226. Stop unmangle of name into a wildcard name from deleting more
than was intended.
Jeremy.
(This used to be commit
e2742e0d897a35820a7d8f184292c32a4c3952e3)
Alexander Bokovoy [Tue, 29 Jul 2003 18:07:13 +0000 (18:07 +0000)]
Add NT quotas support. Users allowed now to manage quotas on systems with sysquotas interface detected (Linux at least) using native Windows tools. Also move default quota support for NT quotas to VFS module default_quota. Code by Metze
(This used to be commit
e856a96c2c42c39843e5e1a3a6b0d538e7179900)
Jeremy Allison [Tue, 29 Jul 2003 17:34:20 +0000 (17:34 +0000)]
Finish tridge's patch as referenced here :
make sure we don't allow the creation of directories containing
wildcard characters. I've only put this in mkdir at the moment, but I
suspect this will apply to all places that can create new filenames.
We need to allow the opening of existing filenames that contain
wildcards, but not allow the creation of new ones.
Jeremy.
(This used to be commit
7f111e545d198faa5fa89f6d360db0d5c32a8bd7)
Jeremy Allison [Tue, 29 Jul 2003 17:03:51 +0000 (17:03 +0000)]
Typo on my part. I typed KRB5_KDB_BAD_ENCTYPE when I meant to type KRB5_BAD_ENCTYPE.
Heimdal has the latter, not the former.
Jeremy.
(This used to be commit
e8425df77c2e917c819592d93833a164ee3b5338)
Jim McDonough [Tue, 29 Jul 2003 16:34:31 +0000 (16:34 +0000)]
Fix the build on Heimdal. KRB5_KDB_BAD_ENCTYPE doesn't exist on Heimdal, and
it's a different rc than KRB5_BAD_ENCTYPE (which exists on both MIT and
Heimdal). This will just make the debug show up at level 3 always.
Jeremy, you may want to revisit this, but it's probably not worth the hassle.
(This used to be commit
4ff322ccf9c8485bcfe67e658d48f190f03547b0)
Volker Lendecke [Tue, 29 Jul 2003 15:00:38 +0000 (15:00 +0000)]
This adds gss-spnego to ntlm_auth. It contains some new spnego support
from Jim McDonough. It is to enable cyrus sasl to provide the
gss-spnego support. For a preliminary patch to cyrus sasl see
http://samba.sernet.de/cyrus-gss-spnego.diff
Volker
(This used to be commit
45cef8f66e46abe4a25fd2b803a7d1051c1c6602)
Tim Potter [Tue, 29 Jul 2003 02:34:18 +0000 (02:34 +0000)]
Typo fix for bug 258.
(This used to be commit
a4e342c20cbddbb4d9d6ac49258457751146d890)
Jeremy Allison [Tue, 29 Jul 2003 00:31:44 +0000 (00:31 +0000)]
Improved debug messages whilst trying to track down kerb issues.
Jeremy.
(This used to be commit
29dd71ddea480f6163ebbc9d8860a7930ae84066)
Tim Potter [Tue, 29 Jul 2003 00:15:23 +0000 (00:15 +0000)]
More memory leak fixes from Brett! It turns out PyDict_SetItemString
didn't behave exactly as I thought it did. If you create an item using a
PyFoo_FromBar function you must decrement the reference to that object
afterwards (or use Py_BuildValue).
(This used to be commit
2a960963fbe43de753d44d617a7666a7b258092e)
Tim Potter [Tue, 29 Jul 2003 00:08:05 +0000 (00:08 +0000)]
Memory leak fixes from Brett A. Funderburg - don't use the connection talloc
context for data that is only needed on a per-call basis.
(This used to be commit
3cb39ddee456f55b96e593c67c86082bbd590d86)
Tim Potter [Tue, 29 Jul 2003 00:05:17 +0000 (00:05 +0000)]
Add debug output api's from lsa/spoolss modules to smb module. Patch
from Brett A. Funderburg.
(This used to be commit
2cedaff044e5a5a03482b1e8f211218db5394930)
John Terpstra [Mon, 28 Jul 2003 05:49:51 +0000 (05:49 +0000)]
Corrected description of SWAT FLAGS since they have changed as a result of the
cleanup of loadparm and swat.c
(This used to be commit
6956eb9a0b878f6fae37e4de14573cccd2af2156)
John Terpstra [Mon, 28 Jul 2003 05:47:15 +0000 (05:47 +0000)]
Cleanup of loadparm and swat to correctly display all parameters as required.
No change to what is displayed has been made at this time. I do intend to
change the display order before 3.0.0 ships.
(This used to be commit
de7d3063d9e07255da2cc4e67afa50c1e2ddf321)
John Terpstra [Sun, 27 Jul 2003 19:49:23 +0000 (19:49 +0000)]
Add buttons to Printers View
(This used to be commit
805c33b08902d0d02358b624ef9976dd0bde4909)
John Terpstra [Sun, 27 Jul 2003 17:24:24 +0000 (17:24 +0000)]
Clarified what the SWAT FLAGS mean and what they do.
Note: The comments in this file regarding the FLAGS has been in need of
maintenance for some time.
(This used to be commit
a0d2fa0f25abe22008080df2ad2e58e7ee424a2b)
Andrew Bartlett [Sun, 27 Jul 2003 10:25:44 +0000 (10:25 +0000)]
Andrew Bartlett [Sun, 27 Jul 2003 03:43:41 +0000 (03:43 +0000)]
the testsuite lib needs dummyroot too.
(This used to be commit
e09a7c767ee4a7ff32f21f292b3967486a751532)
John Terpstra [Sun, 27 Jul 2003 03:43:40 +0000 (03:43 +0000)]
Andrew Bartlett [Sun, 27 Jul 2003 03:42:10 +0000 (03:42 +0000)]
Use the specified workgroup in 'net ads'. (Defaults to lp_workgroup()).
Andrew Bartlett
(This used to be commit
e6cc5ca780f24f19dda65a499fda95bd2d99ea93)
Andrew Bartlett [Sun, 27 Jul 2003 03:40:45 +0000 (03:40 +0000)]
Allow the stat cache to better handle invalid multibyte strings, by using
strdup_upper(). This function may fail - and we can just drop out of using
the cache in that case. (Rather than panicing).
This also should get us closer to supporting all of the weird 'longer/shorter'
on uppercase/lowercase.
Andrew Bartlett
(This used to be commit
d4c9261725578231079ed83e8e6584f12bd1cc43)
Andrew Bartlett [Sun, 27 Jul 2003 03:29:40 +0000 (03:29 +0000)]
Try again to fix up 'session request' name exchange. This time we actualy
get the names...
Andrew Bartlett
(This used to be commit
7c9e204f7eb15139532f2cc522ed87d0ac34d118)
Andrew Bartlett [Sun, 27 Jul 2003 02:43:22 +0000 (02:43 +0000)]
If we strupper_m after the alpha_strcpy() we know that it is less likaly
to contain multibyte charcters, as these should have been stripped.
Andrew Bartlett
(This used to be commit
0f7c1dda222d583212b8be2febe95ce7e1c0ba24)
Andrew Bartlett [Sun, 27 Jul 2003 02:42:22 +0000 (02:42 +0000)]
When removing an 'unused' function, it helps to remove the 'unused' callers...
Andrew Bartlett
(This used to be commit
605a89493e971f653413b06eda4bbca75029072b)
Andrew Bartlett [Sun, 27 Jul 2003 02:40:06 +0000 (02:40 +0000)]
Use push_ucs2_allocate(), rather than convert_string_allocate() directly.
Remove strdup_upper/strdup_lower from their old file, now that they have
been moved to charcnv.c
Note that string_replace assumes that s is a pstring. (doco change only)
Andrew Bartlett
(This used to be commit
6c9056029bb3dfadb244f301598e12e69493fff9)
Andrew Bartlett [Sun, 27 Jul 2003 02:28:25 +0000 (02:28 +0000)]
Some small fixes to our charset conversion code:
- Treat the NMB names in the 'session request' packet as 'ASCII'. This means
that we do not get invalid multibyte from the wire, even if we truncate
in the conversion. (Otherwise we panic when we try to strupper_m it).
- Remove acnv_uxu2(), as it was duplicated by push_ucs2_allocate()
- Remove acnv_dosu2(), as it is not used.
- In push_ucs2(), with the STR_UPPER flag, do the case conversion *after*
the UCS2 conversion, when it we know that the length can't change. Also
faster, as we don't need to do another 2 UCS2 conversions.
Andrew Bartlett
(This used to be commit
912035af1178424583d0bf887a391a0cac2acd87)
John Terpstra [Sun, 27 Jul 2003 01:16:24 +0000 (01:16 +0000)]
Adding idmap backend man page section.
(This used to be commit
c10a0a1a0fc8ca91472ec53f82169a6c3a9fea7b)
Jeremy Allison [Sun, 27 Jul 2003 00:20:45 +0000 (00:20 +0000)]
Ensure all code paths set add_script.
Jeremy.
(This used to be commit
0021c83ff645a1923b5a3d3c484d44b20d7813f0)
John Terpstra [Sat, 26 Jul 2003 17:46:47 +0000 (17:46 +0000)]
Format tidy up.
(This used to be commit
79d6e72af56838bdc1da437f76c905a47da0c0da)
John Terpstra [Sat, 26 Jul 2003 17:09:54 +0000 (17:09 +0000)]
Fixes bug #243
(This used to be commit
22d644505f7181e9951a76105d7f014d57fc98c6)
John Terpstra [Sat, 26 Jul 2003 16:56:38 +0000 (16:56 +0000)]
Added buttons to change view mode. Fixes bug #212
(This used to be commit
37d2eed445ec825e31082e4e71c858e1e6356566)
Gerald Carter [Sat, 26 Jul 2003 15:50:00 +0000 (15:50 +0000)]
remove unnceccsary $; spotted by Lee Taylor
(This used to be commit
5cde975bec9c726857815c89cd479028bce64685)
Gerald Carter [Sat, 26 Jul 2003 12:01:35 +0000 (12:01 +0000)]
fix typo in debug
(This used to be commit
ed61628d8b051049636f48ec4372b2e19090628c)
John Terpstra [Sat, 26 Jul 2003 01:57:16 +0000 (01:57 +0000)]
Updating missing flags.
(This used to be commit
3b4693c3b28e9f428dc54b6c55298645431e0bda)
Jeremy Allison [Sat, 26 Jul 2003 01:21:06 +0000 (01:21 +0000)]
Correctly detect an "add user script" - check that *lp_adduser_script() != '\0',
not lp_adduser_script() != NULL.
Jeremy.
(This used to be commit
2eac65ebe7147b36a34e0ca1c3f455f559ab0361)
Jeremy Allison [Fri, 25 Jul 2003 23:43:22 +0000 (23:43 +0000)]
Start the packet signing engine in the kerberos case in the same place
as the ntlmssp case.
Jeremy.
(This used to be commit
79e0bf829875fc985f1940dc31ee418aad910ed6)
Jeremy Allison [Fri, 25 Jul 2003 23:15:30 +0000 (23:15 +0000)]
W00t! Client smb signing is now working correctly with krb5 and w2k server.
Server code *should* also work (I'll check shortly). May be the odd memory
leak. Problem was we (a) weren't setting signing on in the client krb5 sessionsetup
code (b) we need to ask for a subkey... (c). The client and server need to
ask for local and remote subkeys respectively.
Thanks to Paul Nelson @ Thursby for some sage advice on this :-).
Jeremy.
(This used to be commit
3f9e3b60709df5ab755045a093e642510d4cde00)
Gerald Carter [Fri, 25 Jul 2003 19:57:26 +0000 (19:57 +0000)]
Fix bug #184; set max_pw_age in account_pol to -1 so the default is never to expire
(This used to be commit
833bc5c06018043cf0eb6bdcbb96922964286559)
Gerald Carter [Fri, 25 Jul 2003 18:00:57 +0000 (18:00 +0000)]
domain in schannel bind credentials must be the dest domain, not ours
(This used to be commit
e12f6a8c13f27c3caea96b467cc4294e20dad341)
Gerald Carter [Fri, 25 Jul 2003 16:42:34 +0000 (16:42 +0000)]
fix case where no realm or workgroup means to use our own
(This used to be commit
6edc7e0a744a5d8c6332758b800a2646ef16dd77)
Gerald Carter [Fri, 25 Jul 2003 16:03:46 +0000 (16:03 +0000)]
fix user_in_list to work with winbind groups again; my bug
(This used to be commit
850f4fafdbaf19ea13273a8bf82433ba50a11868)
Gerald Carter [Fri, 25 Jul 2003 14:35:17 +0000 (14:35 +0000)]
fix some error returns and strings; patch from metze
(This used to be commit
948b1b138cf1fce18c93645fbdf948e589b19dc5)
Tim Potter [Fri, 25 Jul 2003 04:24:40 +0000 (04:24 +0000)]
More printf portability fixes. Got caught out by some gcc'isms last
time. )-:
(This used to be commit
59dae1da66a5eb7e128263bd578f167d8746e9f0)
Gerald Carter [Fri, 25 Jul 2003 03:48:56 +0000 (03:48 +0000)]
new swat icons from Marc Jacobsen @ HP
(This used to be commit
01919208c658c79fdd2251ec460be5dc5853bf0e)
Gerald Carter [Fri, 25 Jul 2003 03:26:03 +0000 (03:26 +0000)]
call chkconfig --del winbind on removal (bug #238)
(This used to be commit
942c3ae6e0dc69c1ed4bbc6b765bec0c98582e7f)
Gerald Carter [Fri, 25 Jul 2003 02:38:23 +0000 (02:38 +0000)]
fix libsmbclientr symlink (patch by Alex Duggan for bug #247)
(This used to be commit
67f3a26c26c3e88f3764bb1c34e94c1f6cbc58c0)
Gerald Carter [Fri, 25 Jul 2003 02:24:47 +0000 (02:24 +0000)]
fix bug config file path in winbind init script (bug #237)
(This used to be commit
92b59848ca9cfab52b9434e364bcaa1dad2afbaf)
Andrew Bartlett [Fri, 25 Jul 2003 01:26:19 +0000 (01:26 +0000)]
Schannel, once setup, may be used on *ANY* TCP/IP connection until the
connection that set it up has been shut down.
(Also, pipes still connected, and reconnections to the same pipe (eg SAMR)
may continue to use that session key until their TCP/IP connection is shut
down)
Allow further testing by printing out the session key, and allowing it's input
into rpcclient.
Next step is automatic storage in a TDB.
Andrew Bartlett
(This used to be commit
fa4d7be1619b51aacec37ddf995c940b8100aef9)
Tim Potter [Fri, 25 Jul 2003 01:18:10 +0000 (01:18 +0000)]
Make wbinfo -p work again. Fixes bug 251.
(This used to be commit
ad4dd4909ffa29dbfbbd9a4f234e976fd253846b)
Tim Potter [Fri, 25 Jul 2003 00:39:06 +0000 (00:39 +0000)]
Jean-Baptiste Marchand on the ethereal list used some auditing tricks to
discover names for the SAMR specific permissions that were previously unknown.
The existing constant names differ from what win2k calls them but since they
aren't heavily used in Samba at the moment I'll leave them as they are.
Jean-Baptiste's data is at:
http://ethereal.ntop.org/lists/ethereal-dev/200307/msg00314.html
(This used to be commit
ae77e9e55438a9807da3696fd0d31fba6d0f7370)
Tim Potter [Thu, 24 Jul 2003 23:46:27 +0000 (23:46 +0000)]
More printf fixes - size_t is long on some architectures.
(This used to be commit
ba4d334b822248d8ab929c9568533431603d967e)
Jeremy Allison [Thu, 24 Jul 2003 19:10:52 +0000 (19:10 +0000)]
Fix from matt.zinkevicius@hp.com to stop files being created on read-only
shares in some circumstances.
Jeremy.
(This used to be commit
b826e8c8980d26e932da55384f109f0fe6a124c7)
Jeremy Allison [Thu, 24 Jul 2003 19:05:32 +0000 (19:05 +0000)]
Fix packet signing with asynchronous oplock breaks. Removed bad error message
due to w2k bug. I think this code is now working.... Need more testing of course
but works on all the obvious cases I can think of.
Jeremy.
(This used to be commit
a6e537f6611cc1357fffea0b69901fba7c9ad6ea)
Alexander Bokovoy [Thu, 24 Jul 2003 14:23:54 +0000 (14:23 +0000)]
Add a macro to check whether module-specific data set already or not. Returns True or False. Should support further encapsulation of VFS-specific structs
(This used to be commit
180e617f54021ced270c7c8cb86dd478d809d041)
Alexander Bokovoy [Thu, 24 Jul 2003 11:37:11 +0000 (11:37 +0000)]
Rise debug level to 5 for not-found-nt-quota message (quota setting for user wasn't found)
(This used to be commit
422dffdc40742091df027fcffbc074eb2b1396dc)
Jeremy Allison [Thu, 24 Jul 2003 07:02:55 +0000 (07:02 +0000)]
Some fclose -> x_fclose found by Tony Jago.
Jeremy.
(This used to be commit
919078cf397155ede0169ce95a726d0fdbef696a)
Jeremy Allison [Thu, 24 Jul 2003 06:56:56 +0000 (06:56 +0000)]
Ensure everywhere we defer an incoming SMB request (blocking lock queue,
in oplock break state, change notify queue) we also push the MID onto
the deferred signing queue. Tomorrow I will test this with valgrind and
oplock tests.
Jeremy.
(This used to be commit
33a377f3726c85379ba5b962dd7c8ead337b892f)
Jeremy Allison [Thu, 24 Jul 2003 06:19:37 +0000 (06:19 +0000)]
SMB signing is now working with change notify. Need to fix the disconnect
when bad signature received, plus check the oplock breaks....
Jermey.
(This used to be commit
dd83931a00ec0a2c4b78b939c54bc101ec82312f)
Jeremy Allison [Thu, 24 Jul 2003 04:25:37 +0000 (04:25 +0000)]
Server side NTLM signing works - until the first async packet. Working on this
next....
Jeremy.
(This used to be commit
eff74a1fcc597497a4c70589a44c1b70e93ab549)
Tim Potter [Thu, 24 Jul 2003 00:01:10 +0000 (00:01 +0000)]
Some more [ug]id_t printf fixes.
(This used to be commit
165d1ae55622ca1e89c94fc5e40bdf5cddbcab45)
Tim Potter [Wed, 23 Jul 2003 23:30:46 +0000 (23:30 +0000)]
Ensure a prototype is generated for smb_snprintf()
Final bit for bug 187.
(This used to be commit
13840704f5434bedef0ce21242e2dff7c2a0bddb)
Gerald Carter [Wed, 23 Jul 2003 19:58:01 +0000 (19:58 +0000)]
connect to the right realm or domain for trusted AD domains
(This used to be commit
83376671c511be4bb10d3fca8e49e5f6ef792b9c)
Gerald Carter [Wed, 23 Jul 2003 12:42:48 +0000 (12:42 +0000)]
Gerald Carter [Wed, 23 Jul 2003 12:33:59 +0000 (12:33 +0000)]
convert snprintf() calls using pstrings & fstrings
to pstr_sprintf() and fstr_sprintf() to try to standardize.
lots of snprintf() calls were using len-1; some were using
len. At least this helps to be consistent.
(This used to be commit
9f835b85dd38cbe655eb19021ff763f31886ac00)
Andrew Tridgell [Wed, 23 Jul 2003 10:09:29 +0000 (10:09 +0000)]
fixed segv in calls to pstrcpy() in cliprint.c
(This used to be commit
36bc2b99b4fec2c14f8471d89381b2d6c2f9d339)
Tim Potter [Wed, 23 Jul 2003 07:14:33 +0000 (07:14 +0000)]
Fix out of date comment.
(This used to be commit
2e5bd1665430768b06da99beba5ac11a59c9bf07)
Tim Potter [Wed, 23 Jul 2003 06:37:51 +0000 (06:37 +0000)]
Move a function to avoid a warning.
(This used to be commit
a3b4c57503e0966145b0adab247297e4c8e0f165)
Tim Potter [Wed, 23 Jul 2003 06:11:38 +0000 (06:11 +0000)]
Typo in comment.
(This used to be commit
6a9bfcd3b8996a0322f733689fd5e8bf24f224c8)
Jeremy Allison [Wed, 23 Jul 2003 06:04:20 +0000 (06:04 +0000)]
Don't check in two places for signing turned off...
Jeremy.
(This used to be commit
f4b02e52e25556e5b101d493e2e6404563bf96dd)
Tim Potter [Wed, 23 Jul 2003 03:59:57 +0000 (03:59 +0000)]
A fix for bug 174. I'm pushing this to the tree to test it on one of
the build farm machines that I don't have direct access to (hpntc9I).
(This used to be commit
b01965823341bbabb74dcbc09d379b43db2ec680)
Tim Potter [Wed, 23 Jul 2003 01:26:46 +0000 (01:26 +0000)]
Fix two memory leaks in the smb module:
- free talloc context when cli_query_secdesc() fails
- dispose of cli_state when python cli_state_object is garbage collected
(This used to be commit
36052f95ffad4f227596e8038d3f056312d0ad82)
Gerald Carter [Tue, 22 Jul 2003 15:08:34 +0000 (15:08 +0000)]
removing unused function
(This used to be commit
b8394a107d3448434f1a34076eaab8e6dd9a8a9d)
Gerald Carter [Tue, 22 Jul 2003 15:02:39 +0000 (15:02 +0000)]
bumping version string
(This used to be commit
e4cd21222dbd1a7a7f79618762799373230d4905)
Alexander Bokovoy [Tue, 22 Jul 2003 14:43:05 +0000 (14:43 +0000)]
Gerald Carter [Tue, 22 Jul 2003 13:10:57 +0000 (13:10 +0000)]
sync from bea3 release
(This used to be commit
e42cc1e920601883cd404e9b2292ca58554ccf63)
Tim Potter [Tue, 22 Jul 2003 06:52:39 +0000 (06:52 +0000)]
Another round of uid/gid/pid format string changes I missed the
first time.
(This used to be commit
6616485dbad74dab7506609c6bfd183fc9c1f93c)
Tim Potter [Tue, 22 Jul 2003 04:31:20 +0000 (04:31 +0000)]
Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.
(This used to be commit
f93528ba007c8800a850678f35f499fb7360fb9a)
Tim Potter [Tue, 22 Jul 2003 01:18:24 +0000 (01:18 +0000)]
Use %p for a pointer type in a printf-style format string. Also casting
a pointer to a uint32 value is incorrect on a 64-bit architecture.
(This used to be commit
afed2cbbcc07de9e453156972250f5f9d22e8e83)
Tim Potter [Tue, 22 Jul 2003 00:20:53 +0000 (00:20 +0000)]
Replace the eight (!) copies of dummy become/unbecome root with a single one.
(This used to be commit
8b818ce381595cdcb36631a2440d6aa0038805f1)
Tim Potter [Tue, 22 Jul 2003 00:16:39 +0000 (00:16 +0000)]
Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
(This used to be commit
cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
Tim Potter [Mon, 21 Jul 2003 23:42:45 +0000 (23:42 +0000)]
Metze's AD/LDAP detection patches mainly to do with library detection.
Tested on a large combination of operating systems and versions.
Hopefully the build farm will find any remaining nasties if they
exist.
(This used to be commit
2e42fa3d7217615d90ad64261513bd1e8a65f535)
Richard Sharpe [Mon, 21 Jul 2003 20:20:09 +0000 (20:20 +0000)]
Clarify a debug log a little. The path might not exist, so say so.
(This used to be commit
8409cf3e470df79f219f9a21c0cb780e9257186c)
Rafal Szczesniak [Sun, 20 Jul 2003 21:43:41 +0000 (21:43 +0000)]
This creates passdb backend files automatically when adding first account.
An extra message notifying that needed file didn't exist is displayed.
There's still a little catch with tdb backend, but it's better than it was,
from end-user's point of view.
This fixes #198
rafal
(This used to be commit
b0be700605c289ce8e9dd3abe49d78ac77256911)
Rafal Szczesniak [Sun, 20 Jul 2003 14:50:38 +0000 (14:50 +0000)]
Jelmer Vernooij [Sun, 20 Jul 2003 00:34:24 +0000 (00:34 +0000)]
Volker Lendecke [Sat, 19 Jul 2003 11:28:15 +0000 (11:28 +0000)]
Andrew Bartlett [Sat, 19 Jul 2003 00:36:43 +0000 (00:36 +0000)]
Fix StrCaseCmp() to avoid calling smb_panic() on invalid multibyte strings.
This fix results in
- we no longer use fixed-size buffers in StrCaseCmp (previously limited to
a pstring)
- we return strcmp(s, t) if either of the strings is invalid
- for non-ascii cases, we call iconv twice, not 4 times.
The basic idea with this fix is that if a string is not valid in the currnet
charset, then (unless it is byte-equivilant) it cannot be case-equivilant
to any other string.
This should address the majority of our smb_panic() cases on this matter. It
will not fix them all - we still call unix_strupper(), aka strupper_m()
elsewhere, but this was being called on every file in the directory when
we performed unix_convert().
Tested with the stf unit tests for this routine.
Andrew Bartlett
(This used to be commit
9918fa73145a22b1d7adf001f0a9cf0e1bda4136)
Rafal Szczesniak [Sat, 19 Jul 2003 00:23:08 +0000 (00:23 +0000)]
According to the result of voting, net has default debug level with
ability to change it by command line instead of turn-off cmdline switch
for debug messages.
It's a bit more comfortable to use now.
(This used to be commit
b65fe75bec8170ad48d1ad0a9017ccc4de651eba)
Volker Lendecke [Fri, 18 Jul 2003 11:36:16 +0000 (11:36 +0000)]
Volker Lendecke [Fri, 18 Jul 2003 09:05:30 +0000 (09:05 +0000)]
Fix two memleaks in pdb_ldap.c.
Whoever put the private.backend_private_data_free_fn thingy into
SAM_ACCOUNT, could you please revisit my change to pdb_get_set.c and
comment on my comment there?
Thanks,
Volker
(This used to be commit
922ec277d1c80b5532f5cac0ee99ae7cd20f83f1)
Andrew Tridgell [Fri, 18 Jul 2003 07:07:29 +0000 (07:07 +0000)]
make sure we don't allow the creation of directories containing
wildcard characters. I've only put this in mkdir at the moment, but I
suspect this will apply to all places that can create new filenames.
We need to allow the opening of existing filenames that contain
wildcards, but not allow the creation of new ones.
(This used to be commit
2fd5569938b8970f3e9d761eecad5bc0b8bb267e)
Andrew Tridgell [Fri, 18 Jul 2003 06:48:28 +0000 (06:48 +0000)]
this fixes a bug where Samba would under some circumstances return
incomplete directory listings. The problem was the exact_match
optimisation that short circuited directory listings on exact
matches. This optimisation doesn't work when the unix filename
contains Microsoft wildcard characters.
(This used to be commit
84cee2c3fcc34fe6356e842821a5f0a361477637)
Tim Potter [Fri, 18 Jul 2003 03:04:13 +0000 (03:04 +0000)]
Fix spelling typo.
(This used to be commit
5cb7d92751b6da58bb3ecd97cced5c963d348bed)
Tim Potter [Fri, 18 Jul 2003 02:57:43 +0000 (02:57 +0000)]
Uninstall modules as part of uninstall. Partial fix for 236.
We still don't uninstall swat or the man pages properly.
(This used to be commit
90157b9bd3d4122e647faa48b17a44d63b07e32e)
Andrew Tridgell [Fri, 18 Jul 2003 01:36:11 +0000 (01:36 +0000)]
fixed the pstrcpy() bug in directory recursion properly
(This used to be commit
132d6fdf635eb2bf2a1afd6e850d0f6967260f84)