Andrew Bartlett [Fri, 3 Jan 2003 08:28:12 +0000 (08:28 +0000)]
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings. (Adds a lot of const).
Andrew Bartlett
Christopher R. Hertel [Fri, 3 Jan 2003 04:35:09 +0000 (04:35 +0000)]
Fixed some simple typos, including one that would cause the wrong value
to be printed in a DEBUG() message.
Andrew Bartlett [Fri, 3 Jan 2003 03:24:23 +0000 (03:24 +0000)]
Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
Andrew Bartlett [Fri, 3 Jan 2003 01:41:44 +0000 (01:41 +0000)]
Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
Andrew Bartlett [Fri, 3 Jan 2003 01:40:13 +0000 (01:40 +0000)]
Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.
Andrew Bartlett
Jeremy Allison [Thu, 2 Jan 2003 20:43:17 +0000 (20:43 +0000)]
pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
Jeremy Allison [Thu, 2 Jan 2003 20:25:59 +0000 (20:25 +0000)]
Typo..
Jeremy
Jeremy Allison [Thu, 2 Jan 2003 19:25:28 +0000 (19:25 +0000)]
Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
Gerald Carter [Thu, 2 Jan 2003 18:20:01 +0000 (18:20 +0000)]
WITH_SENDFILE #ifdef merged from SAMBA_2_2
Volker Lendecke [Thu, 2 Jan 2003 16:12:23 +0000 (16:12 +0000)]
We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?
Thanks,
Volker
cvs2svn Import User [Thu, 2 Jan 2003 09:07:18 +0000 (09:07 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Andrew Bartlett [Thu, 2 Jan 2003 09:07:17 +0000 (09:07 +0000)]
BIG patch...
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
Richard Sharpe [Wed, 1 Jan 2003 21:54:00 +0000 (21:54 +0000)]
Document the size constraints on a write request.
Andrew Bartlett [Wed, 1 Jan 2003 04:19:34 +0000 (04:19 +0000)]
Move our password change code along a little - use NTSTATUS, and implmenet
minimum password age and min password length for all password changes.
Andrew Bartlett
Simo Sorce [Tue, 31 Dec 2002 10:25:11 +0000 (10:25 +0000)]
from HEAD:
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
Simo Sorce [Tue, 31 Dec 2002 10:23:37 +0000 (10:23 +0000)]
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
Jeremy Allison [Tue, 31 Dec 2002 02:26:15 +0000 (02:26 +0000)]
Merge tridge's fix :
the 'padding' field in the query domain info reply is not a padding
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
Jeremy.
Simo Sorce [Tue, 31 Dec 2002 00:45:35 +0000 (00:45 +0000)]
ignore tdbsam2_parse_info.h
Jeremy Allison [Mon, 30 Dec 2002 23:55:58 +0000 (23:55 +0000)]
Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
Jeremy Allison [Mon, 30 Dec 2002 23:55:53 +0000 (23:55 +0000)]
Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
Simo Sorce [Mon, 30 Dec 2002 23:38:17 +0000 (23:38 +0000)]
fix also net rpc shutdown
sorry
Jeremy Allison [Mon, 30 Dec 2002 06:12:13 +0000 (06:12 +0000)]
Merge Richard's write > 4Gb fix.
Jeremy.
Simo Sorce [Mon, 30 Dec 2002 04:41:27 +0000 (04:41 +0000)]
the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this
some test revelead I'm right.
some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
Richard Sharpe [Mon, 30 Dec 2002 04:25:30 +0000 (04:25 +0000)]
Port the fix to cli_setup_write to handle offsets greater than 32-bits from
Samba 2.2.x ...
Andrew Bartlett [Mon, 30 Dec 2002 04:19:57 +0000 (04:19 +0000)]
Add a new VFS module, that just fiddles the file permissions. Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).
The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.
If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.
The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile. This should
avoid that mess.
I'll test this out properly next week, but it works in vfstest (thanks idra!).
Andrew Bartlett
Shirish Kalele [Sun, 29 Dec 2002 23:29:08 +0000 (23:29 +0000)]
Add msdfs proxy functionality to HEAD.
Jeremy Allison [Sat, 28 Dec 2002 19:48:59 +0000 (19:48 +0000)]
Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
Jeremy Allison [Sat, 28 Dec 2002 19:48:56 +0000 (19:48 +0000)]
Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
Simo Sorce [Sat, 28 Dec 2002 13:42:54 +0000 (13:42 +0000)]
some more work on gums.
- Building a tdbsam2 backend to see what I got right and what not about the proposed API
- Corrections to API based on tdbsam2 work
Jeremy Allison [Sat, 28 Dec 2002 01:23:38 +0000 (01:23 +0000)]
Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
Jeremy Allison [Sat, 28 Dec 2002 01:23:34 +0000 (01:23 +0000)]
Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
Shirish Kalele [Sat, 28 Dec 2002 00:18:23 +0000 (00:18 +0000)]
Modify DfsEnum to handle 'msdfs proxy' shares. No NETDFS editing support for
the proxy target.
Shirish Kalele [Fri, 27 Dec 2002 23:36:28 +0000 (23:36 +0000)]
Add 'msdfs proxy' description to smb.conf docs.
Shirish Kalele [Fri, 27 Dec 2002 23:03:22 +0000 (23:03 +0000)]
Add check to prevent non-Dfs clients from connecting to an msdfs proxy.
Richard Sharpe [Fri, 27 Dec 2002 22:55:11 +0000 (22:55 +0000)]
For some reason, the configure tests for sendfile support in FreeBSD
were broken. This works for 4.3 and 4.6.2.
Shirish Kalele [Fri, 27 Dec 2002 20:08:35 +0000 (20:08 +0000)]
Add msdfs proxy functionality; a CIFS share can directly be a stand-in for
another share, and when clients connect to the first share, they will be
redirected to the proxied share.
Jelmer Vernooij [Tue, 24 Dec 2002 02:04:09 +0000 (02:04 +0000)]
Update link
Jelmer Vernooij [Tue, 24 Dec 2002 02:01:35 +0000 (02:01 +0000)]
Put in actual status
Jelmer Vernooij [Tue, 24 Dec 2002 01:56:03 +0000 (01:56 +0000)]
sync
Jelmer Vernooij [Tue, 24 Dec 2002 01:41:10 +0000 (01:41 +0000)]
Add note about storing mysql passwords in smb.conf
Jeremy Allison [Mon, 23 Dec 2002 23:54:10 +0000 (23:54 +0000)]
Finish adding strings to all talloc_init() calls.
Jeremy.
Jeremy Allison [Mon, 23 Dec 2002 23:53:56 +0000 (23:53 +0000)]
Finish adding strings to all talloc_init() calls.
Jeremy.
Andrew Tridgell [Mon, 23 Dec 2002 20:22:20 +0000 (20:22 +0000)]
the 'padding' field in the query domain info reply is not a padding
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
Jeremy Allison [Sun, 22 Dec 2002 16:03:28 +0000 (16:03 +0000)]
talloc_init_named -> talloc_init.
Jeremy.
Jeremy Allison [Sun, 22 Dec 2002 16:02:36 +0000 (16:02 +0000)]
talloc_init_named -> talloc_init.
Jeremy.
Jeremy Allison [Fri, 20 Dec 2002 20:23:06 +0000 (20:23 +0000)]
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
Jeremy Allison [Fri, 20 Dec 2002 20:21:31 +0000 (20:21 +0000)]
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
Tim Potter [Fri, 20 Dec 2002 01:37:39 +0000 (01:37 +0000)]
Merge removal of unpopular winbind client environment variable.
Tim Potter [Fri, 20 Dec 2002 01:36:57 +0000 (01:36 +0000)]
Formatting syncup.
Tim Potter [Fri, 20 Dec 2002 01:35:21 +0000 (01:35 +0000)]
Merge from HEAD:
>Fix fnum leak under error condition in cacl_dump.
Tim Potter [Fri, 20 Dec 2002 01:34:06 +0000 (01:34 +0000)]
Merge of some kind of bugfix from idra.
Tim Potter [Fri, 20 Dec 2002 01:31:13 +0000 (01:31 +0000)]
Merge from HEAD:
>fix rpcclient querygroup command (from 2.2 and head)
Tim Potter [Fri, 20 Dec 2002 01:29:08 +0000 (01:29 +0000)]
Whitespace syncup.
Tim Potter [Fri, 20 Dec 2002 01:27:22 +0000 (01:27 +0000)]
Merge ... comment about apparent spoolss_io_user_info weirdness.
Tim Potter [Fri, 20 Dec 2002 01:25:27 +0000 (01:25 +0000)]
Merge from HEAD.
- null termination of winbind request fix
- bail out if we can't open winbind socket
Tim Potter [Fri, 20 Dec 2002 01:23:58 +0000 (01:23 +0000)]
Merge from HEAD. lp_winbind_separator() is now a const string.
Tim Potter [Fri, 20 Dec 2002 01:22:57 +0000 (01:22 +0000)]
Merge some more FUNCTION_MACRO stuff.
Tim Potter [Fri, 20 Dec 2002 01:19:04 +0000 (01:19 +0000)]
Merge from HEAD:
>CR1333: Fix memory leak when unpacking some structures.
>
>* (pytdbunpack_item): PyList_Append creates an additional reference to
> the appended object. Therefore, release the initial reference after
> it's added to the list.
Tim Potter [Fri, 20 Dec 2002 01:16:07 +0000 (01:16 +0000)]
Ignore python compiled files.
Tim Potter [Fri, 20 Dec 2002 01:07:09 +0000 (01:07 +0000)]
Fixed bug in debug statement when tconX fails.
Jeremy Allison [Thu, 19 Dec 2002 22:14:53 +0000 (22:14 +0000)]
Protect nmbd against malformed reply packets. Some reports on the lists showing
these.
Jeremy.
Jeremy Allison [Thu, 19 Dec 2002 22:14:40 +0000 (22:14 +0000)]
Protect nmbd against malformed reply packets. Some reports on the lists showing
these.
Jeremy.
Herb Lewis [Thu, 19 Dec 2002 20:26:44 +0000 (20:26 +0000)]
merge from 2.2 fix for smbclient large files
Herb Lewis [Thu, 19 Dec 2002 20:23:45 +0000 (20:23 +0000)]
merge from 2.2 fix for smbclient large files
Herb Lewis [Thu, 19 Dec 2002 19:57:37 +0000 (19:57 +0000)]
merge from 2.2
actually print args for %g and %e
Herb Lewis [Thu, 19 Dec 2002 19:56:31 +0000 (19:56 +0000)]
merge from 2.2
actually print args for %g and %e
John Terpstra [Wed, 18 Dec 2002 21:19:24 +0000 (21:19 +0000)]
Updated from Samba-2.2.7 code tree.
John Terpstra [Wed, 18 Dec 2002 20:21:31 +0000 (20:21 +0000)]
Applied typoe fix from SuSE.
John Terpstra [Wed, 18 Dec 2002 17:02:36 +0000 (17:02 +0000)]
Fixed typo.
Gerald Carter [Tue, 17 Dec 2002 22:55:49 +0000 (22:55 +0000)]
app_head merge for get_friendly_nt_err()
Gerald Carter [Tue, 17 Dec 2002 22:53:56 +0000 (22:53 +0000)]
app_head merge for get_friendly_nt_err()
Herb Lewis [Tue, 17 Dec 2002 21:45:50 +0000 (21:45 +0000)]
fix make proto to work with SGI smake
Herb Lewis [Tue, 17 Dec 2002 21:45:09 +0000 (21:45 +0000)]
fix make proto to work with SGI smake
Gerald Carter [Tue, 17 Dec 2002 21:36:31 +0000 (21:36 +0000)]
* fix memory leak when constructing an driver_level_6 structure
and no dependent files (working on smbd memory leak). No CR# yet.
Gerald Carter [Tue, 17 Dec 2002 21:35:56 +0000 (21:35 +0000)]
* fix memory leak when constructing an driver_level_6 structure
and no dependent files (working on smbd memory leak). No CR# yet.
John Terpstra [Tue, 17 Dec 2002 20:26:06 +0000 (20:26 +0000)]
Added Registry update to remove roaming profiles from local machine cache.
NOTE: This works with NT4, Win2K, WinXP.
Richard Sharpe [Tue, 17 Dec 2002 07:45:14 +0000 (07:45 +0000)]
Start adding code to allow the in memory version of the registry tree
structure to be manipulated. Keys can be partially deleted now.
Simo Sorce [Tue, 17 Dec 2002 01:38:48 +0000 (01:38 +0000)]
it's getting comic ...
yet another missing piece :-O
Simo Sorce [Mon, 16 Dec 2002 23:40:15 +0000 (23:40 +0000)]
Uhmm a bad day to commit changes :-((
Herb Lewis [Mon, 16 Dec 2002 21:32:32 +0000 (21:32 +0000)]
merge smbtar fix from 2.2
Herb Lewis [Mon, 16 Dec 2002 21:30:20 +0000 (21:30 +0000)]
merge smbtar fixes from 2.2
Simo Sorce [Mon, 16 Dec 2002 21:22:09 +0000 (21:22 +0000)]
oh god, I will forgot my name one of these days :-/
Simo Sorce [Mon, 16 Dec 2002 17:51:40 +0000 (17:51 +0000)]
forgont genstruct.pl is needed to build new include files for genparse
sorry
Jim McDonough [Mon, 16 Dec 2002 17:26:49 +0000 (17:26 +0000)]
Add win32 utility to query driver capabilities to publish
cvs2svn Import User [Mon, 16 Dec 2002 17:26:02 +0000 (17:26 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Jim McDonough [Mon, 16 Dec 2002 17:26:01 +0000 (17:26 +0000)]
Add win32 utility to query driver capabilities to publish
Gerald Carter [Mon, 16 Dec 2002 16:49:51 +0000 (16:49 +0000)]
fix usage message
Gerald Carter [Mon, 16 Dec 2002 16:48:23 +0000 (16:48 +0000)]
fix usage message
Simo Sorce [Mon, 16 Dec 2002 12:11:02 +0000 (12:11 +0000)]
updates to the gums
introduce genparser will be used by tdbsam2
Richard Sharpe [Mon, 16 Dec 2002 03:23:25 +0000 (03:23 +0000)]
We now read in the whole of the registry, including security bits.
Still have to make sure that the datastructure is correct, though.
Then on to writing it out and editing/changing keys, values and sec_descriptors
Tim Potter [Sun, 15 Dec 2002 23:24:08 +0000 (23:24 +0000)]
Fix fnum leak under error condition in cacl_dump.
Richard Sharpe [Sun, 15 Dec 2002 08:35:19 +0000 (08:35 +0000)]
All the code for reading in the registy is done, but I have a malloc'd
area overrun somewhere :-(
Richard Sharpe [Sun, 15 Dec 2002 06:39:17 +0000 (06:39 +0000)]
Almost finished processing the registry encoded SEC DESC ...
Soon to move onto writing these things out.
Richard Sharpe [Sat, 14 Dec 2002 07:36:34 +0000 (07:36 +0000)]
More code to read in and create security descriptor entries ...
Jeremy Allison [Sat, 14 Dec 2002 01:33:02 +0000 (01:33 +0000)]
Ensure talloc pool query messages are reserved.
Jeremy.
Jeremy Allison [Sat, 14 Dec 2002 01:32:59 +0000 (01:32 +0000)]
Ensure talloc pool query messages are reserved.
Jeremy.
Jeremy Allison [Sat, 14 Dec 2002 00:57:45 +0000 (00:57 +0000)]
The name pointer in the talloc context must not be a talloced entry as
calling talloc_destroy_pool(as we do sometimes) will destroy it.
Jeremy.
Jeremy Allison [Sat, 14 Dec 2002 00:57:01 +0000 (00:57 +0000)]
The name pointer in the talloc context must not be a talloced entry as
calling talloc_destroy_pool(as we do sometimes) will destroy it.
Jeremy.
Jim McDonough [Fri, 13 Dec 2002 21:56:34 +0000 (21:56 +0000)]
Store printer guid in the dsspooler registry key so we don't have to
query the directory server every time someone asks
Jim McDonough [Fri, 13 Dec 2002 21:54:09 +0000 (21:54 +0000)]
Store printer guid in the dsspooler registry key so we don't have to
query the directory server every time someone asks