cvs2svn Import User [Tue, 4 Mar 2003 20:23:29 +0000 (4 20:23 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-3-0alpha22'.
Gerald Carter [Tue, 4 Mar 2003 20:23:28 +0000 (4 20:23 +0000)]
forgot that i should run autogen.sh as part of release
Gerald Carter [Tue, 4 Mar 2003 19:55:04 +0000 (4 19:55 +0000)]
make sure to call autogen.sh
Gerald Carter [Tue, 4 Mar 2003 19:39:19 +0000 (4 19:39 +0000)]
preparing for release of 3.0alpha22
Gerald Carter [Tue, 4 Mar 2003 19:34:30 +0000 (4 19:34 +0000)]
fixing a few typos & regenerating pages
Gerald Carter [Tue, 4 Mar 2003 19:22:54 +0000 (4 19:22 +0000)]
fixing a few typos
Gerald Carter [Tue, 4 Mar 2003 19:18:23 +0000 (4 19:18 +0000)]
updating whatsnew for alpha22
Richard Sharpe [Mon, 3 Mar 2003 23:00:22 +0000 (3 23:00 +0000)]
More janitorial duties, fixing the BIG_UINT changes for large offsets.
Jeremy Allison [Mon, 3 Mar 2003 20:12:37 +0000 (3 20:12 +0000)]
Const warning fixes.
Jeremy.
Jeremy Allison [Mon, 3 Mar 2003 19:56:57 +0000 (3 19:56 +0000)]
Fix const warning.
Jeremy.
Jeremy Allison [Mon, 3 Mar 2003 19:52:27 +0000 (3 19:52 +0000)]
dlysym takes a const char *.
Jeremy.
Gerald Carter [Mon, 3 Mar 2003 17:32:55 +0000 (3 17:32 +0000)]
* always report ourselves as a Windows 2000 print server (even
without ADS support)
* add "MinorVersion" print server data key and comment on "OSVersion"
Gerald Carter [Mon, 3 Mar 2003 16:32:03 +0000 (3 16:32 +0000)]
* CR1868: only send a change notify message if we have something
that changed that the client is monitoring.
* couple of comments abnout how we need to validate driver names
on SetPrinter() and AddPrinter()
* up the debug level on some overly verbose dev mode parsing messages
Jeremy Allison [Sat, 1 Mar 2003 02:39:12 +0000 (1 02:39 +0000)]
Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs....
Jeremy.
Jeremy Allison [Sat, 1 Mar 2003 00:49:00 +0000 (1 00:49 +0000)]
Ensure added jobs increment total_jobs.
Jeremy.
Jelmer Vernooij [Fri, 28 Feb 2003 08:48:26 +0000 (28 08:48 +0000)]
Fix HTTP error codes (patch by Vance Lankhaar)
Martin Pool [Fri, 28 Feb 2003 04:02:16 +0000 (28 04:02 +0000)]
Remove reference to "mainpage.dox" and CodingStandards, which have
been removed.
Put subdirectory names in file list, so we get lib/util_chr.c, not
just util_chr.c.
Jim McDonough [Fri, 28 Feb 2003 03:35:45 +0000 (28 03:35 +0000)]
Move net ads lookup improvements over from HEAD
Jeremy Allison [Fri, 28 Feb 2003 00:25:55 +0000 (28 00:25 +0000)]
*Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a "last_access" field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently).
Jeremy.
Gerald Carter [Thu, 27 Feb 2003 23:54:58 +0000 (27 23:54 +0000)]
don't forget the NULL
Gerald Carter [Thu, 27 Feb 2003 23:21:37 +0000 (27 23:21 +0000)]
and the winner of "i should have just written it in assembly
is..."
don't use pstrcpy() when you are not dealing with pstrings.
Gerald Carter [Thu, 27 Feb 2003 21:37:30 +0000 (27 21:37 +0000)]
don't pass NULL pointers to strcmp()
Gerald Carter [Thu, 27 Feb 2003 21:22:36 +0000 (27 21:22 +0000)]
additional fix for CR 601
* distinguish WinXP from Win2k
* add a 1/3 of a second delay in OpenPrinter
in order to trigger a LAN/WAN optimization in
2k clients.
Martin Pool [Thu, 27 Feb 2003 05:57:21 +0000 (27 05:57 +0000)]
Doxygen merge from head
Martin Pool [Thu, 27 Feb 2003 05:20:23 +0000 (27 05:20 +0000)]
Merge 1.100 patch from HEAD:
init_valid_table: Fix a memory leak that would lose the
dynamically-created valid table every time the configuration was
reloaded.
Jeremy Allison [Thu, 27 Feb 2003 01:04:34 +0000 (27 01:04 +0000)]
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.
Andrew Bartlett [Wed, 26 Feb 2003 12:37:04 +0000 (26 12:37 +0000)]
Merge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
Tim Potter [Wed, 26 Feb 2003 00:10:22 +0000 (26 00:10 +0000)]
Link wbinfo with popt_common.o
Tim Potter [Wed, 26 Feb 2003 00:06:59 +0000 (26 00:06 +0000)]
Merge of exit path cleanup for EnumDomainUsers.
Tim Potter [Wed, 26 Feb 2003 00:02:07 +0000 (26 00:02 +0000)]
Merge of python prototype header removal.
Tim Potter [Tue, 25 Feb 2003 23:54:40 +0000 (25 23:54 +0000)]
Merge: newline on debug message.
Tim Potter [Tue, 25 Feb 2003 23:54:23 +0000 (25 23:54 +0000)]
Merge: add popt_common_version to command line options table.
Tim Potter [Tue, 25 Feb 2003 23:53:38 +0000 (25 23:53 +0000)]
Merge: const fixes.
Merge: add popt_common_version to command line options table.
Merge: mbp's rewrite of do_cmd()
Tim Potter [Tue, 25 Feb 2003 23:52:38 +0000 (25 23:52 +0000)]
Merge: const fixes.
Merge: add popt_common_version to command line options table.
Tim Potter [Tue, 25 Feb 2003 23:51:56 +0000 (25 23:51 +0000)]
Merge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:46:51 +0000 (25 23:46 +0000)]
Merge: fix compiler warning.
Gerald Carter [Tue, 25 Feb 2003 20:53:53 +0000 (25 20:53 +0000)]
Progress on CR 601
cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.
Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
Jeremy Allison [Mon, 24 Feb 2003 19:37:20 +0000 (24 19:37 +0000)]
Merge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy.
Jeremy Allison [Mon, 24 Feb 2003 19:22:54 +0000 (24 19:22 +0000)]
Merge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.
Jeremy.
Martin Pool [Mon, 24 Feb 2003 04:49:10 +0000 (24 04:49 +0000)]
Merge documentation from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:43:49 +0000 (24 03:43 +0000)]
Make sure these values are never uninitialsised.
Andrew Bartlett [Mon, 24 Feb 2003 03:28:37 +0000 (24 03:28 +0000)]
Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
twice, let the libsmb code determine what form the share name should take.
Andrew Bartlett
Andrew Bartlett [Mon, 24 Feb 2003 03:27:29 +0000 (24 03:27 +0000)]
Iconv as seperate library fixes from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:26:49 +0000 (24 03:26 +0000)]
Signed/unsigned fix from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:22:49 +0000 (24 03:22 +0000)]
Merge crypt(), ACL lib and shared lib changes from HEAD.
Andrew Bartlett [Mon, 24 Feb 2003 03:22:09 +0000 (24 03:22 +0000)]
Merge paramaters for client-side-auth updates.
Andrew Bartlett [Mon, 24 Feb 2003 03:14:46 +0000 (24 03:14 +0000)]
Fix a small stuffup in the HEAD -> 3.0 merge
Andrew Bartlett [Mon, 24 Feb 2003 03:09:08 +0000 (24 03:09 +0000)]
Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.
Andrew Bartlett
Andrew Bartlett [Mon, 24 Feb 2003 03:07:34 +0000 (24 03:07 +0000)]
Makefile updates for the client-side auth/kerberos merge.
Andrew Bartlett [Mon, 24 Feb 2003 03:06:45 +0000 (24 03:06 +0000)]
Missed a couple of files from the client-side kerberos merge
Andrew Bartlett [Mon, 24 Feb 2003 03:03:15 +0000 (24 03:03 +0000)]
Merge off-by-one fix from HEAD (caused crash with --enable-developer)
Andrew Bartlett [Mon, 24 Feb 2003 02:55:00 +0000 (24 02:55 +0000)]
Merge from HEAD client-side authentication changes:
- new kerberos code, allowing the account to change it's own password
without special SD settings required
- NTLMSSP client code, now seperated from cliconnect.c
- NTLMv2 client code
- SMB signing fixes
Andrew Bartlett
Andrew Bartlett [Mon, 24 Feb 2003 02:47:14 +0000 (24 02:47 +0000)]
Missed one in the previous merge - user_ok() and user_in_group() now take
an optional list of groups the user is in.
Andrew Bartlett [Mon, 24 Feb 2003 02:35:54 +0000 (24 02:35 +0000)]
Merge ... server-side authentication changes to 3.0:
- user_ok() and user_in_group() now take a list of groups, instead of
looking for the user in the members of all groups.
- The 'server_info' returned from the authentication is now kept around
- in future we won't copy the sesion key, username etc, we will just
referece them directly.
- rhosts upgraded to use the SAM if possible, otherwise fake up based on
getpwnam().
- auth_util code to deal with groups upgraded to deal with non-winbind domain
members again.
Andrew Bartlett
Martin Pool [Mon, 24 Feb 2003 01:10:15 +0000 (24 01:10 +0000)]
Add comment about Samba character sets, from explanation by abartlet.
Jeremy Allison [Sat, 22 Feb 2003 01:09:57 +0000 (22 01:09 +0000)]
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.
Gerald Carter [Fri, 21 Feb 2003 19:02:07 +0000 (21 19:02 +0000)]
s/unistr2_to_dos/unistr2_to_ascii/ to fix compile
Gerald Carter [Fri, 21 Feb 2003 17:04:01 +0000 (21 17:04 +0000)]
couple of merges from APP_HEAD
* performance optimization in enumprinterdataex() when keyname is empty
* fix a few typos in comments
* reload services after addprinter_command()
dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ
Gerald Carter [Fri, 21 Feb 2003 16:15:44 +0000 (21 16:15 +0000)]
patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module
Jim McDonough [Fri, 21 Feb 2003 14:38:14 +0000 (21 14:38 +0000)]
Fix IRIX build...void fn can't return another void fn
Jeremy Allison [Fri, 21 Feb 2003 06:25:58 +0000 (21 06:25 +0000)]
Added comments to make it clearer when we're assigning a pointer that it
must not be freed afterwards.
Jeremy.
Tim Potter [Fri, 21 Feb 2003 05:51:37 +0000 (21 05:51 +0000)]
Ignore errors on python_clean target.
Jeremy Allison [Thu, 20 Feb 2003 22:09:54 +0000 (20 22:09 +0000)]
Added Volkers "print server role" patch.
Jeremy.
Jelmer Vernooij [Thu, 20 Feb 2003 19:21:20 +0000 (20 19:21 +0000)]
Compile in lib/module.o
Jelmer Vernooij [Thu, 20 Feb 2003 19:14:55 +0000 (20 19:14 +0000)]
Merge in smb_load_module() function from HEAD
Jelmer Vernooij [Thu, 20 Feb 2003 19:13:37 +0000 (20 19:13 +0000)]
Remove obsolete files
Jeremy Allison [Thu, 20 Feb 2003 19:03:11 +0000 (20 19:03 +0000)]
Ensure tdb error code is set for corrupt and i/o errors before calling
the log function. This allows the log function to take action.
Jeremy.
Martin Pool [Thu, 20 Feb 2003 03:35:11 +0000 (20 03:35 +0000)]
(Merge from APPLIANCE_HEAD)
CR1829: Fix memory leak when unpacking 'B' buffers in Python.
(PyList_Append creates a new reference to the added object, and so we
have to release the existing one.)
Tim Potter [Wed, 19 Feb 2003 22:54:21 +0000 (19 22:54 +0000)]
Merge typo fix.
Tim Potter [Wed, 19 Feb 2003 22:52:50 +0000 (19 22:52 +0000)]
Merge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()
Tim Potter [Wed, 19 Feb 2003 22:50:29 +0000 (19 22:50 +0000)]
Merge cleanups of return values.
Tim Potter [Wed, 19 Feb 2003 22:50:05 +0000 (19 22:50 +0000)]
Merge some random looking setenv related kerberos stuff that makes
winbindd build again.
Tim Potter [Wed, 19 Feb 2003 22:47:49 +0000 (19 22:47 +0000)]
Merge ... cleanups and srvsvc implementation from HEAD.
Jeremy Allison [Wed, 19 Feb 2003 22:31:05 +0000 (19 22:31 +0000)]
Fix inspired by Stefan (metze) Metzmacher - cache the sidtype also.
Jeremy.
Simo Sorce [Wed, 19 Feb 2003 22:26:54 +0000 (19 22:26 +0000)]
correct init, tx Stefan
Jim McDonough [Wed, 19 Feb 2003 15:48:12 +0000 (19 15:48 +0000)]
Sync with HEAD for verifying kerberos tickets.
Jim McDonough [Wed, 19 Feb 2003 15:04:04 +0000 (19 15:04 +0000)]
Fix segv in net ads join...an extra & was the culprit
Andrew Bartlett [Wed, 19 Feb 2003 12:33:32 +0000 (19 12:33 +0000)]
Merge from HEAD: We don't need this any more, setenv() is in replace.c now
Andrew Bartlett [Wed, 19 Feb 2003 12:31:16 +0000 (19 12:31 +0000)]
Merge minor library fixes from HEAD to 3.0.
- setenv() replacement
- mimir's ASN1/SPNEGO typo fixes
- (size_t)-1 fixes for push_* returns
- function argument signed/unsigned correction
- ASN1 error handling (ensure we don't use initiailsed data)
- extra net ads join error checking
- allow 'set security discriptor' to fail
- escape ldap strings in libads.
- getgrouplist() correctness fixes (include primary gid)
Andrew Bartlett
Jeremy Allison [Wed, 19 Feb 2003 02:34:44 +0000 (19 02:34 +0000)]
Fix from Corny.Bondad@hp.com for missing if (setting_acls) on default
perms.
Jeremy.
Jeremy Allison [Wed, 19 Feb 2003 01:43:33 +0000 (19 01:43 +0000)]
Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if the
jobid is below the UNIX_JOB_START number.
Jeremy.
Martin Pool [Wed, 19 Feb 2003 00:49:10 +0000 (19 00:49 +0000)]
Remove old listproc address; update instructions for subscribing to
the mailing list.
Martin Pool [Wed, 19 Feb 2003 00:18:25 +0000 (19 00:18 +0000)]
Remove old samba-bugs address, etc. (Merge from HEAD)
Jim McDonough [Tue, 18 Feb 2003 23:17:59 +0000 (18 23:17 +0000)]
base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
Jim McDonough [Tue, 18 Feb 2003 20:57:29 +0000 (18 20:57 +0000)]
Sync w/HEAD - add DES_CBC_CRC encryption type
Martin Pool [Tue, 18 Feb 2003 07:15:52 +0000 (18 07:15 +0000)]
Check return code of string_to_sid. (Merge from HEAD)
Martin Pool [Tue, 18 Feb 2003 07:05:02 +0000 (18 07:05 +0000)]
Check return code of string_to_sid. (Merge from HEAD)
cvs2svn Import User [Tue, 18 Feb 2003 05:05:16 +0000 (18 05:05 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Tim Potter [Tue, 18 Feb 2003 05:05:15 +0000 (18 05:05 +0000)]
Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h
- move #include of Python.h into one place so we can get rid of that
annoying compiler warning about HAVE_FSTAT being redefined
Jeremy Allison [Tue, 18 Feb 2003 04:49:31 +0000 (18 04:49 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
Jeremy Allison [Tue, 18 Feb 2003 04:48:32 +0000 (18 04:48 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
Gerald Carter [Tue, 18 Feb 2003 03:43:08 +0000 (18 03:43 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
Gerald Carter [Tue, 18 Feb 2003 03:42:34 +0000 (18 03:42 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
Martin Pool [Tue, 18 Feb 2003 02:01:38 +0000 (18 02:01 +0000)]
Remove obsolete comment.
Martin Pool [Tue, 18 Feb 2003 01:55:50 +0000 (18 01:55 +0000)]
Doxygen janitor. No other changes.
Martin Pool [Tue, 18 Feb 2003 01:35:19 +0000 (18 01:35 +0000)]
cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
which are not valid.
Martin Pool [Tue, 18 Feb 2003 01:30:22 +0000 (18 01:30 +0000)]
init_dom_sid2s: Check return code from string_to_sid. Skip tokens
that are not valid SIDs.
Martin Pool [Tue, 18 Feb 2003 01:09:19 +0000 (18 01:09 +0000)]
Check return code from string_to_sid.
Martin Pool [Tue, 18 Feb 2003 01:05:56 +0000 (18 01:05 +0000)]
add_initial_entry should fail if string_to_sid fails.
Andrew Bartlett [Tue, 18 Feb 2003 00:54:22 +0000 (18 00:54 +0000)]
Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.