Jeremy Allison [Thu, 17 Oct 2002 17:10:24 +0000 (17:10 +0000)]
Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
Volker Lendecke [Thu, 17 Oct 2002 08:12:20 +0000 (08:12 +0000)]
Revert changes
Volker Lendecke [Thu, 17 Oct 2002 07:08:43 +0000 (07:08 +0000)]
Revert changes
Tim Potter [Thu, 17 Oct 2002 06:44:33 +0000 (06:44 +0000)]
Merge NULL relstr fix from HEAD.
Tim Potter [Thu, 17 Oct 2002 06:39:44 +0000 (06:39 +0000)]
When unmarshalling a relstr, don't unmarshall the string data if the
offset is zero. Previously we were jumping to the start of the
parse buffer (i.e offset zero) and reading string data until we hit
a terminating NULL.
Test case: in a PRINTER_INFO_0 structure, the servername field may be
NULL when doing an enumprinters with flags = PRINTER_ENUM_LOCAL.
Tim Potter [Thu, 17 Oct 2002 05:26:06 +0000 (05:26 +0000)]
Ignore python build directory.
Tim Potter [Thu, 17 Oct 2002 05:25:39 +0000 (05:25 +0000)]
Ignore python build directory.
Tim Potter [Thu, 17 Oct 2002 05:23:14 +0000 (05:23 +0000)]
Merge of SMB_ASSERT.
Tim Potter [Thu, 17 Oct 2002 05:08:34 +0000 (05:08 +0000)]
Do a SMB_ASSERT() in cli_nt_session_open() when the pipe index is out
of range instead of silently failing.
Tim Potter [Thu, 17 Oct 2002 04:48:08 +0000 (04:48 +0000)]
make proto
Tim Potter [Thu, 17 Oct 2002 04:45:25 +0000 (04:45 +0000)]
open_pipe_creds() now takes a pipe index instead of a pipe name.
Tim Potter [Thu, 17 Oct 2002 04:40:53 +0000 (04:40 +0000)]
Fix for new arguments of cli_nt_session_open()
Jeremy Allison [Wed, 16 Oct 2002 20:09:51 +0000 (20:09 +0000)]
Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
Jeremy.
Jeremy Allison [Wed, 16 Oct 2002 20:09:22 +0000 (20:09 +0000)]
Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
Jeremy.
Gerald Carter [Wed, 16 Oct 2002 18:23:15 +0000 (18:23 +0000)]
merge from app_head to commit re-init'd printer to disk
Gerald Carter [Wed, 16 Oct 2002 18:21:55 +0000 (18:21 +0000)]
fix from APP_HEAD to commit a re-init'd printer to disk
Volker Lendecke [Wed, 16 Oct 2002 15:49:58 +0000 (15:49 +0000)]
No functional change. I'm trying to understand pdb_ldap.c and
found an unecessary parameter to ldapsam_search_one_user.
Volker
Volker Lendecke [Wed, 16 Oct 2002 09:41:42 +0000 (09:41 +0000)]
Create group mappings on the fly.
Volker
Jeremy Allison [Wed, 16 Oct 2002 01:28:42 +0000 (01:28 +0000)]
SMB_ASSERT to check list terminates.
Jeremy.
Jeremy Allison [Wed, 16 Oct 2002 01:28:11 +0000 (01:28 +0000)]
SMB_ASSERT to check list terminates.
Jeremy
Andrew Tridgell [Tue, 15 Oct 2002 23:44:15 +0000 (23:44 +0000)]
- we need to rescan the trusted domain list regularly to cope with
transitive trusts, and trusts that are added while winbindd is running
- removed an unnecessary call to time()
Jeremy Allison [Tue, 15 Oct 2002 21:35:46 +0000 (21:35 +0000)]
Change default of max_xmit to match W2K. Ensure NT negprot uses it.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:35:41 +0000 (21:35 +0000)]
Change default of max_xmit to match W2K. Ensure NT negprot uses it.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:34:42 +0000 (21:34 +0000)]
Fix spelling of background_process.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:34:40 +0000 (21:34 +0000)]
Fix spelling of background_process.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:33:20 +0000 (21:33 +0000)]
Change to use sys_read/sys_write.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:33:16 +0000 (21:33 +0000)]
Change to use sys_read/sys_write.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:30:06 +0000 (21:30 +0000)]
Added cli_set_timeout() call.
Jeremy.
Jeremy Allison [Tue, 15 Oct 2002 21:29:37 +0000 (21:29 +0000)]
Added cli_set_timeout() call.
Jeremy.
Jelmer Vernooij [Tue, 15 Oct 2002 20:57:33 +0000 (20:57 +0000)]
These utilities aren't in HEAD
Jelmer Vernooij [Tue, 15 Oct 2002 20:56:37 +0000 (20:56 +0000)]
These utilities are not in HEAD
Jelmer Vernooij [Tue, 15 Oct 2002 20:53:27 +0000 (20:53 +0000)]
make_smbcodepage and make_unicodemap are gone in HEAD
Jelmer Vernooij [Tue, 15 Oct 2002 20:13:43 +0000 (20:13 +0000)]
Add info on chpass on *BSD systems (thanks Krzysztof Kowalik <kkowalik@uci.agh.edu.pl>)
Jelmer Vernooij [Tue, 15 Oct 2002 18:14:31 +0000 (18:14 +0000)]
make html
Jelmer Vernooij [Tue, 15 Oct 2002 18:02:23 +0000 (18:02 +0000)]
Convert BROWSING-Config.txt to SGML
Jeremy Allison [Tue, 15 Oct 2002 05:58:32 +0000 (05:58 +0000)]
Merge Anton's 64-bit fix.
Jeremy.
Andrew Tridgell [Tue, 15 Oct 2002 05:40:24 +0000 (05:40 +0000)]
fixed a crash bug on 64 bit systems. Thanks to Anton Blanchard for
finding this.
Gerald Carter [Tue, 15 Oct 2002 00:35:12 +0000 (00:35 +0000)]
merge from APP_HEAD to use GMT in job submission notification
Gerald Carter [Tue, 15 Oct 2002 00:28:04 +0000 (00:28 +0000)]
merge from app_head to use GMT in job submission notification
Tim Potter [Mon, 14 Oct 2002 22:59:08 +0000 (22:59 +0000)]
Merge of file/directory access bits changes.
Tim Potter [Mon, 14 Oct 2002 22:57:59 +0000 (22:57 +0000)]
Tidyup of file specific access mask bits.
Added directory specific access mask bits.
Jelmer Vernooij [Mon, 14 Oct 2002 21:40:45 +0000 (21:40 +0000)]
Don't use SAM FLAGS from smb.h since they're gone - patch from metze
Volker Lendecke [Mon, 14 Oct 2002 12:09:13 +0000 (12:09 +0000)]
In my test, sync_context simply has to be incremented. Can
somebody with a large domain do a net rpc samdump to verify this?
Without this change, I don't get everything from a NT4 SP1 and SP6
PDC.
Volker
Andrew Bartlett [Sat, 12 Oct 2002 03:38:07 +0000 (03:38 +0000)]
Nice *big* patch from metze.
The actual design change is relitivly small however:
It all goes back to jerry's 'BOOL store', added to many of the elements in a
SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into
ldap. This was a great win for admins, and this patch follows in the same way.
This patch extends the concept - we don't store values back into LDAP unless
they have been changed. So if we read a value, but don't update it, or we
read a value, find it's not there and use a default, we will not update
ldap with that value. This reduced clutter in our LDAP DB, and makes it
easier to change defaults later on.
Metze's particular problem was that when we 'write back' an unchanged value,
we would clear any muliple values in that feild. Now he can still have his
mulitivalued 'uid' feild, without Samba changing it for *every* other
operation.
This also applies to many other attributes, and helps to eliminate a nasty
race condition. (Time between get and set)
This patch is big, and needs more testing, but metze has tested usrmgr, and
I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly
flawed ;-).
The same system will be introduced into the SAM code shortly, but this fixes
bugs that people were coming across in production uses of Samba 3.0/HEAD, hence
it's inclusion here.
Andrew Bartlett
Andrew Bartlett [Sat, 12 Oct 2002 00:59:21 +0000 (00:59 +0000)]
We already set LDAPv3 at connect time, no need to set it again.
Jeremy Allison [Fri, 11 Oct 2002 01:19:00 +0000 (01:19 +0000)]
Turns out with Win9x, we could occasionally return from unix_convert() given
a mangled name without a valid stat struct if the file existed. This would
then cause open_file_shared1() to erroneously think the file open was new,
thus not check for oplock break, thus causing a spurious EAGAIN reply to
the open on a file we already had kernel oplocked.... (phew - that was fun
to track down :-).
Jeremy.
Jeremy Allison [Fri, 11 Oct 2002 01:17:41 +0000 (01:17 +0000)]
Turns out with Win9x, we could occasionally return from unix_convert() given
a mangled name without a valid stat struct if the file existed. This would
then cause open_file_shared1() to erroneously think the file open was new,
thus not check for oplock break, thus causing a spurious EAGAIN reply to
the open on a file we already had kernel oplocked.... (phew - that was fun
to track down :-).
Jeremy.
Jeremy Allison [Wed, 9 Oct 2002 22:50:31 +0000 (22:50 +0000)]
Added unknown info level.
Jeremy.
Jeremy Allison [Wed, 9 Oct 2002 22:50:10 +0000 (22:50 +0000)]
Added "unknown info level".
Jeremy.
Jeremy Allison [Wed, 9 Oct 2002 19:47:04 +0000 (19:47 +0000)]
Use memmove when copies can overlap. Spotted by SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
Jeremy.
Jeremy Allison [Wed, 9 Oct 2002 19:46:19 +0000 (19:46 +0000)]
Use memmove when copies can overlap. Spotted by SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
Jeremy.
Gerald Carter [Wed, 9 Oct 2002 18:55:35 +0000 (18:55 +0000)]
print job properties fix from APP_HEAD. a null devmode is not a failure.
Gerald Carter [Wed, 9 Oct 2002 18:54:20 +0000 (18:54 +0000)]
print job properties fix from APP_HEAD. a null devmode is not a failure.
Gerald Carter [Wed, 9 Oct 2002 17:44:02 +0000 (17:44 +0000)]
removed stat() call in lp_add_home()
Gerald Carter [Wed, 9 Oct 2002 17:42:06 +0000 (17:42 +0000)]
removed stat() call in lp_add_home()
Gerald Carter [Wed, 9 Oct 2002 17:00:04 +0000 (17:00 +0000)]
add_printer_hook() fix from APP_HEAD
Gerald Carter [Wed, 9 Oct 2002 16:59:45 +0000 (16:59 +0000)]
add_printer_hook() fix from APP_HEAD
Jelmer Vernooij [Wed, 9 Oct 2002 12:01:24 +0000 (12:01 +0000)]
Distclean should remove scripts/findsmb (patch from metze)
Gerald Carter [Tue, 8 Oct 2002 18:32:42 +0000 (18:32 +0000)]
merge from APP_HEAD of winbindd's domain local group fix
Gerald Carter [Tue, 8 Oct 2002 18:29:57 +0000 (18:29 +0000)]
merge from APP_HEAD
* s/driverlocation/comment
* detect native mode domain and enumerate local groups
Also
* Added sendfile stats from SAMBA_2_2
Jeremy Allison [Tue, 8 Oct 2002 18:26:12 +0000 (18:26 +0000)]
Ensure we register the 1c name on the unicast subnet.
Jeremy.
Jeremy Allison [Tue, 8 Oct 2002 18:24:12 +0000 (18:24 +0000)]
Ensure we register the 1c name on the unicast subnet.
Jeremy.
Volker Lendecke [Tue, 8 Oct 2002 15:29:13 +0000 (15:29 +0000)]
Third part of my fix for usrmgr. Assuming automagic mapping
only in parts of srv_samr_nt is not good.
This is soo broken. :-)
Volker
Jeremy Allison [Tue, 8 Oct 2002 00:20:17 +0000 (00:20 +0000)]
Fix based on Jim McDonough's code for ACL inheritance problem.
Jeremy.
Jeremy Allison [Tue, 8 Oct 2002 00:19:56 +0000 (00:19 +0000)]
Fix based on Jim McDonough's code for ACL inheritance problem.
Jeremy.
Richard Sharpe [Mon, 7 Oct 2002 21:37:37 +0000 (21:37 +0000)]
Fix John's little typo ...
John Terpstra [Mon, 7 Oct 2002 18:48:57 +0000 (18:48 +0000)]
Fix ability to locate if we are a WINS client.
Jeremy Allison [Mon, 7 Oct 2002 18:09:29 +0000 (18:09 +0000)]
Fix from Andreas Gruenbacher <agruen@suse.de> to prevent ACL set on read-only
share.
Jeremy.
Jeremy Allison [Mon, 7 Oct 2002 18:06:17 +0000 (18:06 +0000)]
Fix from Andreas Gruenbacher <agruen@suse.de> to prevent ACL set on read-only
share.
Jeremy.
Simo Sorce [Mon, 7 Oct 2002 15:51:21 +0000 (15:51 +0000)]
forgot some bits from previous rpc_secdesc.h rework patch
Simo Sorce [Sun, 6 Oct 2002 23:53:34 +0000 (23:53 +0000)]
try to put every security descriptors related definitions in the same file.
also try to uniform names to a clean scheme.
first part.
Richard Sharpe [Sat, 5 Oct 2002 20:29:59 +0000 (20:29 +0000)]
Fix a small mistake.
Jelmer Vernooij [Sat, 5 Oct 2002 16:45:54 +0000 (16:45 +0000)]
Update popt help message and use popt-common
Jelmer Vernooij [Sat, 5 Oct 2002 16:10:36 +0000 (16:10 +0000)]
Don't use usage function, but use popt for usage and help info
Gerald Carter [Sat, 5 Oct 2002 13:20:06 +0000 (13:20 +0000)]
missing prs_align()'s
Gerald Carter [Sat, 5 Oct 2002 13:19:50 +0000 (13:19 +0000)]
missing prs_align()'s
John Terpstra [Sat, 5 Oct 2002 07:45:57 +0000 (07:45 +0000)]
Removed Fax document no longer extant.
Jelmer Vernooij [Sat, 5 Oct 2002 07:11:42 +0000 (07:11 +0000)]
Use popt_common and use popt for showing help info
Richard Sharpe [Sat, 5 Oct 2002 06:50:43 +0000 (06:50 +0000)]
Push Steve Langasek's fix ...
Jelmer Vernooij [Sat, 5 Oct 2002 05:43:44 +0000 (05:43 +0000)]
Add more common options to popt_common - and start using
the ones for debuglevel and configuration file in pdbedit
Jeremy Allison [Sat, 5 Oct 2002 00:41:16 +0000 (00:41 +0000)]
Turn on sendfile detection by default in HEAD and 3.0.
Jeremy.
Jeremy Allison [Sat, 5 Oct 2002 00:40:49 +0000 (00:40 +0000)]
Turn on sendfile detection by default in HEAD and 3.0.
Jeremy.
Jeremy Allison [Fri, 4 Oct 2002 22:53:30 +0000 (22:53 +0000)]
Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue.
Jeremy.
Jeremy Allison [Fri, 4 Oct 2002 22:53:18 +0000 (22:53 +0000)]
Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue.
Jeremy.
Gerald Carter [Fri, 4 Oct 2002 21:46:27 +0000 (21:46 +0000)]
fix typo
Gerald Carter [Fri, 4 Oct 2002 21:46:11 +0000 (21:46 +0000)]
fix typo
Gerald Carter [Fri, 4 Oct 2002 21:42:04 +0000 (21:42 +0000)]
* merge native_mode flag in winbindd_domain struct from app-head
* add some files missing from a previous commit
Gerald Carter [Fri, 4 Oct 2002 21:39:09 +0000 (21:39 +0000)]
merge native_mode flag in winbindd_domain struct from app-head
Jelmer Vernooij [Fri, 4 Oct 2002 20:14:41 +0000 (20:14 +0000)]
Remove useless spaces - this broke make proto
Gerald Carter [Fri, 4 Oct 2002 19:33:41 +0000 (19:33 +0000)]
Merge ... working dsrolegetprimdominfo() client code from APP_HEAD
cvs2svn Import User [Fri, 4 Oct 2002 19:11:37 +0000 (19:11 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Gerald Carter [Fri, 4 Oct 2002 19:11:36 +0000 (19:11 +0000)]
Merge ... working dsrolegetprimdominfo() client code from APP_HEAD
Jelmer Vernooij [Fri, 4 Oct 2002 18:35:15 +0000 (18:35 +0000)]
Remove README.DCEDFS as it doesn't contain useful info for developers nor users but only about the
state DCE/DFS was in for samba 1.9.13
Jelmer Vernooij [Fri, 4 Oct 2002 18:18:45 +0000 (18:18 +0000)]
Convert even more text docs
Jelmer Vernooij [Fri, 4 Oct 2002 18:02:51 +0000 (18:02 +0000)]
Convert README.Win32-Viruses DHCP-Server-Configuration and Faxing to SGML...
Jelmer Vernooij [Fri, 4 Oct 2002 17:20:45 +0000 (17:20 +0000)]
Move Recent-FAQ's to the new SGML FAQ
Jelmer Vernooij [Fri, 4 Oct 2002 16:36:40 +0000 (16:36 +0000)]
Convert GOTCHAS to SGML
Jelmer Vernooij [Fri, 4 Oct 2002 16:11:31 +0000 (16:11 +0000)]
Move Application_Serving.txt to FAQ question "How to use a samba share as a administrative share for MS Office, etc?"
Jelmer Vernooij [Fri, 4 Oct 2002 16:05:11 +0000 (16:05 +0000)]
Split up faq in smaller files
Andrew Tridgell [Fri, 4 Oct 2002 07:47:42 +0000 (07:47 +0000)]
only set UF_USE_DES_KEY_ONLY if we are using krb5 libraries that can't
do type 23