Jeremy Allison [Fri, 27 May 2005 20:07:28 +0000 (20:07 +0000)]
r7039: Ensure we always call read_socket_with_timeout() when
timeout > 0. Better solution after much helpful input
from derrell@samba.org. We may eventually change the
read_socket_with_timeout() interface to count down the
timeout value.
Jeremy.
Gerald Carter [Fri, 27 May 2005 19:02:30 +0000 (19:02 +0000)]
r7038: * upgrade version of nt*tdb files. Have to fix
some issues in the printer security descriptors.
Ensure that each printer sd has an oaner and group SID
(BUILTIN\Administrators) and that we utilize more than
the generic bits assigned in <= 3.0.14a.
Jeremy Allison [Fri, 27 May 2005 17:47:24 +0000 (17:47 +0000)]
r7034: Revert change in util_sock.c from derrell until this is
discussed more on samba-technical.
Jeremy.
Jeremy Allison [Fri, 27 May 2005 16:21:19 +0000 (16:21 +0000)]
r7033: Call a spade a spade :-).
Jeremy.
Jeremy Allison [Fri, 27 May 2005 16:15:56 +0000 (16:15 +0000)]
r7031: Added encrypt/decrypt function for LSA secrets and trusted
domain passwords on the wire.
Jeremy.
Derrell Lipman [Fri, 27 May 2005 14:38:00 +0000 (14:38 +0000)]
r7025: 1 if not all data is available at the time we go to read a packet, retry
the read using a timeout to ensure that all data for the packet is received.
2 some minor changes to meet coding standards
3 eliminate some compiler warnings
Gerald Carter [Fri, 27 May 2005 14:19:57 +0000 (14:19 +0000)]
r7024: reverting mistaken commit
Gerald Carter [Fri, 27 May 2005 13:58:04 +0000 (13:58 +0000)]
r7020: fixing printer ace values and getting rid of false compiler warning about unitialized variable
Gerald Carter [Thu, 26 May 2005 20:36:04 +0000 (20:36 +0000)]
r6995: * fixing segfault when writing out registry values of zero length
* add RegSaveKey() client function
* add 'net rpc registry save' subcommand
Jeremy Allison [Thu, 26 May 2005 19:39:40 +0000 (19:39 +0000)]
r6994: Fix for bugid #2729 - it turns out resume keys are *mandatory* for
a search when listing a W2K and above server from a FATxx filesystem
only. Thanks to Steve Langasek <vorlon@debian.org> for giving me the
essential info that allowed me to reproduce and thus fix this.
Jeremy.
Gerald Carter [Thu, 26 May 2005 14:03:25 +0000 (14:03 +0000)]
r6992: syncing printer permissions changes from trunk
Jeremy Allison [Wed, 25 May 2005 20:31:46 +0000 (20:31 +0000)]
r6979: Tidyups.
Jeremy.
Jeremy Allison [Wed, 25 May 2005 19:25:35 +0000 (19:25 +0000)]
r6977: Fix bug #2735 (not mangling control characters) plus
ensure we don't create files with control characters
either.
Jeremy.
Jeremy Allison [Wed, 25 May 2005 00:51:39 +0000 (00:51 +0000)]
r6965: Remove some dead code from util_unistr.c.
Start of fix for #2735 - we are not mangling some
names we should. More fixes to follow.
Jeremy.
Deryck Hodge [Tue, 24 May 2005 17:37:04 +0000 (17:37 +0000)]
r6959: Meant to fix this before commiting, just to be consistent.
deryck
Deryck Hodge [Tue, 24 May 2005 17:33:47 +0000 (17:33 +0000)]
r6958: Properly display quotes in SWAT. Thanks to Jay
Fenlason <fenlason@redhat.com> for spotting this issue.
deryck
Volker Lendecke [Tue, 24 May 2005 07:55:02 +0000 (07:55 +0000)]
r6953: Many compilers in the build farm don't like static variables initialized with
strlen(..). Jerry, I think this needs another fix. I just want to make the
build farm happy.
Not merging to trunk, this needs further looking at.
Volker
Jeremy Allison [Tue, 24 May 2005 04:55:18 +0000 (04:55 +0000)]
r6949: Back-port Volker's cache fix, plus my change.
Jeremy.
John Terpstra [Tue, 24 May 2005 00:42:11 +0000 (00:42 +0000)]
r6947: Removal of testprns from package spec.
Jeremy Allison [Mon, 23 May 2005 20:47:43 +0000 (20:47 +0000)]
r6946: Allow mapping of POSIX ACLs to NT perms to differentiate between directories
and files. Needed for Volker's coming changes.
Jeremy.
Gerald Carter [Mon, 23 May 2005 16:28:28 +0000 (16:28 +0000)]
r6943: missed in last sync
Gerald Carter [Mon, 23 May 2005 16:25:31 +0000 (16:25 +0000)]
r6942: * merging the registry changes back to the 3.0 tree
* removing the testprns tool
Gerald Carter [Mon, 23 May 2005 15:25:38 +0000 (15:25 +0000)]
r6940: fixing debug messages
Stefan Metzmacher [Fri, 20 May 2005 14:12:28 +0000 (14:12 +0000)]
r6925: merge rev 6920 from 4_0:
display the SVN revision in svk build of tree's directly mirrored from samba.org
metze
Volker Lendecke [Thu, 19 May 2005 10:52:36 +0000 (10:52 +0000)]
r6900: Fix bug 2725. Thanks, John, for finding it.
Volker
Jeremy Allison [Wed, 18 May 2005 23:37:35 +0000 (23:37 +0000)]
r6895: Add "acl check permissions" to turn on/off the new behaviour of
checking for write access in a directory before delete. Also
controls checking for write access before labeling a file read-only
if DOS attributes are not being stored in EA's.
Docuementation to follow.
Jeremy.
Jeremy Allison [Wed, 18 May 2005 18:02:15 +0000 (18:02 +0000)]
r6890: Refactor printing interface to take offset into job. Fixes bug
where large print jobs can have out-of-order offsets. Bug found
by Arcady Chernyak <Arcady.Chernyak@efi.com>
Jeremy.
Volker Lendecke [Wed, 18 May 2005 11:57:53 +0000 (11:57 +0000)]
r6880: Fix bug 2070 after positive feedback from Leon Vernikov. Thanks!
Volker
Volker Lendecke [Tue, 17 May 2005 07:10:45 +0000 (07:10 +0000)]
r6849: Merge revision 6845 from Samba 4
Jeremy Allison [Tue, 17 May 2005 01:04:51 +0000 (01:04 +0000)]
r6841: Attempt to fix buf #2681. With "strict allocate = yes" we now zero
fill when a file is extended. Should catch disk full errors on write
from MS-Office.
Jeremy.
Jeremy Allison [Mon, 16 May 2005 22:54:46 +0000 (22:54 +0000)]
r6834: Fix bug #2703, found by John Antonishek <ant@nist.gov>. Add NULL
guard for disp_fields[0].
Jeremy.
John Terpstra [Mon, 16 May 2005 18:51:59 +0000 (18:51 +0000)]
r6823: Add deletion confirmation / error message.
Jeremy Allison [Mon, 16 May 2005 18:45:19 +0000 (18:45 +0000)]
r6822: Use chsize if we don't have ftruncate. From Steven Edwards <steven_ed4153@yahoo.com>.
Jeremy.
John Terpstra [Mon, 16 May 2005 18:22:22 +0000 (18:22 +0000)]
r6820: Remove claim that password can be set with account creation (RPC).
Gerald Carter [Sat, 14 May 2005 15:50:35 +0000 (15:50 +0000)]
r6785: deprecating the printer admin parameter
John Terpstra [Sat, 14 May 2005 01:21:18 +0000 (01:21 +0000)]
r6783: Fixes for Solaris 9.
Gerald Carter [Fri, 13 May 2005 19:06:00 +0000 (19:06 +0000)]
r6782: rename for consistency
Volker Lendecke [Fri, 13 May 2005 12:21:35 +0000 (12:21 +0000)]
r6779: Use the SID in the user token for the %s expansion in 'afs username map'. This
fixes a rather weird problem where an algorithmic SID ended up as the
replacement for %s.
Volker
Volker Lendecke [Fri, 13 May 2005 12:05:14 +0000 (12:05 +0000)]
r6777: Fix vfs_full_audit.c after jra's change.
Volker
Volker Lendecke [Fri, 13 May 2005 09:21:21 +0000 (09:21 +0000)]
r6774: Fix 2 memleaks
Volker Lendecke [Fri, 13 May 2005 09:18:50 +0000 (09:18 +0000)]
r6772: Fix a valgrind error for samr_open_alias uncovered by one of John's test.
Jerry, in query_aliasmem, set_aliasinfo and set_groupinfo (and possibly
others) need become_root()/unbecome_root() around the pdb calls. I'm not sure
I would do the access checks correctly, I would much rather leave that to
you.
Volker
Volker Lendecke [Fri, 13 May 2005 09:10:00 +0000 (09:10 +0000)]
r6770: Fix bug 2705. Thanks, John, for beating my stuff :-)
Volker
Tim Potter [Fri, 13 May 2005 07:46:29 +0000 (07:46 +0000)]
r6769: Fix bugzilla #2538 and #2527. Unused variables found by Jason Mader.
Derrell Lipman [Thu, 12 May 2005 13:39:00 +0000 (13:39 +0000)]
r6757: test for existence of sys/un.h was missing, thus AF_LOCAL support was not found
Gerald Carter [Thu, 12 May 2005 13:09:33 +0000 (13:09 +0000)]
r6755: removing domain_sid() since it is not referenced anymore
Derrell Lipman [Thu, 12 May 2005 12:50:03 +0000 (12:50 +0000)]
r6753: Fixes bug 2663. cli_getattrE() and cli_setattrE() were not formatting or
parsing the timestamp values correctly. It turns out they were using the
incorrect function for formatting and parsing values. Thanks to Satwik Hebbar
for reporting this and testing the patch.
Volker Lendecke [Thu, 12 May 2005 08:33:27 +0000 (08:33 +0000)]
r6748: With reconnects, state->connection->ldap_struct can change in smbldap_search
and friends. This should be a fix for bug 2701. Thanks to jht for giving me
access to his box!
Volker
Volker Lendecke [Thu, 12 May 2005 06:43:12 +0000 (06:43 +0000)]
r6743: Merge r6741 from 4_0
Tim Potter [Thu, 12 May 2005 01:44:09 +0000 (01:44 +0000)]
r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.
Jeremy Allison [Tue, 10 May 2005 17:58:51 +0000 (17:58 +0000)]
r6715: We don't need to wrap the setfsinfo call in HAVE_QUOTA
as they'll just return ENOSYS if we don't. Add new CAP for
POSIX pathnames, prepare to allow FSINFO set for client POSIX
caps.
Jeremy.
Gerald Carter [Tue, 10 May 2005 16:24:42 +0000 (16:24 +0000)]
r6713: another talloc() fix. This time in pdb_xml.c
Gerald Carter [Tue, 10 May 2005 15:42:32 +0000 (15:42 +0000)]
r6712: BUG 2362: fix quota support on DragonFly (Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>)
Gerald Carter [Tue, 10 May 2005 12:21:02 +0000 (12:21 +0000)]
r6706: * fix bug that prevented smbclient from creating directories
on non-dfs paths
* add patch from James Peach to remove use of uninitialized
variables
Jeremy Allison [Tue, 10 May 2005 04:25:11 +0000 (04:25 +0000)]
r6696: Another attempt to fix the (unreproducible for me) bug #2346 (read-only
excel files). Ensures that any missing user ACL entry will be generated
from a union of all group permissions that contain the user.
Awaiting feedback from the reporters.
Jeremy.
Gerald Carter [Tue, 10 May 2005 01:32:43 +0000 (01:32 +0000)]
r6686: strip the directory path from cups printin defaults
Gerald Carter [Mon, 9 May 2005 22:39:20 +0000 (22:39 +0000)]
r6685: smbclient fixes
* BUG 2680: copy files from an MSDFS win2k root share
* BUG 2688: re-implement support for the -P (--port) option
* support connecting to an 'msdfs proxy' share on a Samba server
Gerald Carter [Mon, 9 May 2005 16:04:27 +0000 (16:04 +0000)]
r6684: BUG 1780: patch from Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM> to add kerberos supsport to smbspool
Gerald Carter [Mon, 9 May 2005 16:03:55 +0000 (16:03 +0000)]
r6683: remove log messages about unknown specversions since I think we are fairly safe at this point
Gerald Carter [Mon, 9 May 2005 16:02:57 +0000 (16:02 +0000)]
r6682: patch from Qiao Yang <qyang@stbernard.com> to use out own DC when getting the SID for a domain
Gerald Carter [Mon, 9 May 2005 14:05:10 +0000 (14:05 +0000)]
r6681: updating copyrights (see bug 2546)
Gerald Carter [Mon, 9 May 2005 13:51:44 +0000 (13:51 +0000)]
r6680: event log patches from Marcin
Gerald Carter [Mon, 9 May 2005 12:52:57 +0000 (12:52 +0000)]
r6679: BUG 2684: abartlett's patch for check the per service hosts allow/deny on printers when connecting via MS-RPC
Gerald Carter [Mon, 9 May 2005 12:43:12 +0000 (12:43 +0000)]
r6678: fix python python after talloc() shakeup
Jeremy Allison [Sun, 8 May 2005 23:16:28 +0000 (23:16 +0000)]
r6673: Fix the write cache based on some VERY good detective work
from Ingo Kilian <ikilian@web.de>.
You must do a make clean after updating this.
Jeremy.
Volker Lendecke [Sat, 7 May 2005 22:09:24 +0000 (22:09 +0000)]
r6658: Sorry for the spam... I think now I've got a version that should compile on
trunk, 3_0 and 4_0.
Volker
Volker Lendecke [Sat, 7 May 2005 21:41:53 +0000 (21:41 +0000)]
r6656: Samba 4 is Samba 3.9...
Volker Lendecke [Sat, 7 May 2005 21:18:27 +0000 (21:18 +0000)]
r6654: Make talloc.c 4.0-ready
Volker Lendecke [Sat, 7 May 2005 19:05:15 +0000 (19:05 +0000)]
r6652: Next step getting the build farm happy.
Volker
Volker Lendecke [Sat, 7 May 2005 17:09:16 +0000 (17:09 +0000)]
r6651: It's not the smartest thing in the world to #define _SAMBA_BUILD_ in a file
that is only included if _SAMBA_BUILD_ is defined...
Let's see how far this gets us.
Volker
Simo Sorce [Sat, 7 May 2005 16:25:30 +0000 (16:25 +0000)]
r6648: do not annoy make proto
Simo Sorce [Sat, 7 May 2005 16:04:37 +0000 (16:04 +0000)]
r6646: keep samba3 talloc inline with samba4 one
Gerald Carter [Sat, 7 May 2005 15:03:00 +0000 (15:03 +0000)]
r6643: fix some build issues on IRIX;l patch from james peach
Gerald Carter [Sat, 7 May 2005 14:55:44 +0000 (14:55 +0000)]
r6642: BUG 2686: shouold fix the group_setinfo() failures; similar to alias_setinfo() patch from last week
Volker Lendecke [Sat, 7 May 2005 06:59:00 +0000 (06:59 +0000)]
r6640: Attempt to fix 'make everything' with the paranoid malloc checker.
Volker
Volker Lendecke [Sat, 7 May 2005 06:46:37 +0000 (06:46 +0000)]
r6639: Attempt to fix the build with talloc
Volker
Jelmer Vernooij [Fri, 6 May 2005 16:21:20 +0000 (16:21 +0000)]
r6635: Fix build of the various sql pdb backends after new talloc.
Gerald Carter [Fri, 6 May 2005 15:22:05 +0000 (15:22 +0000)]
r6634: merge smbmount malloc checker fixes from trunk
Jeremy Allison [Fri, 6 May 2005 13:26:54 +0000 (13:26 +0000)]
r6633: Added "check_path_syntax_posix()" in preparation for handling
POSIX pathnames. Not yet used.
Jeremy.
Jeremy Allison [Fri, 6 May 2005 10:55:56 +0000 (10:55 +0000)]
r6631: More typo's. Sorry.
Jeremy.
Jeremy Allison [Fri, 6 May 2005 10:47:52 +0000 (10:47 +0000)]
r6629: Fix stupid typo. Thanks Gunther.
Jeremy.
Volker Lendecke [Fri, 6 May 2005 10:08:34 +0000 (10:08 +0000)]
r6627: Fix debug message
Jeremy Allison [Fri, 6 May 2005 08:07:39 +0000 (08:07 +0000)]
r6625: Remove another global variable left over from a long time ago (magic char).
Jeremy.
Herb Lewis [Fri, 6 May 2005 01:28:02 +0000 (01:28 +0000)]
r6623: This change fixes a few broken commands plus adds some
new commands. It also restructures it so you can execute
a single command from the command line. Input strings are
parsed to allow input of arbitrary characters using the
\xx syntax for hex values.
Jeremy Allison [Wed, 4 May 2005 16:19:23 +0000 (16:19 +0000)]
r6613: Merge back fix for PARANOID_MALLOC checker.
Jeremy.
Gerald Carter [Tue, 3 May 2005 14:01:39 +0000 (14:01 +0000)]
r6601: fixing query and set alias info calls (level 1 from the
MMC manage computer plugin.
Jeremy Allison [Tue, 3 May 2005 07:33:49 +0000 (07:33 +0000)]
r6595: This is Volkers new-talloc patch. Just got the go-ahead from
Volker to commit. Woo Hoo !
Jeremy.
Jeremy Allison [Tue, 3 May 2005 07:27:44 +0000 (07:27 +0000)]
r6594: Fix silly typo causing tdb to be freed twice.
Jeremy.
Herb Lewis [Mon, 2 May 2005 21:30:57 +0000 (21:30 +0000)]
r6588: just include includes.h to get prototypes here.
Herb Lewis [Mon, 2 May 2005 17:49:43 +0000 (17:49 +0000)]
r6586: get rid of a few more compiler warnings
Jelmer Vernooij [Mon, 2 May 2005 16:23:02 +0000 (16:23 +0000)]
r6585: Fix socket-wrapper-enabled build for the tdb tools
Simo Sorce [Mon, 2 May 2005 15:00:51 +0000 (15:00 +0000)]
r6575: use samba4 torture please message on samba 3 torture
Jelmer Vernooij [Mon, 2 May 2005 10:12:36 +0000 (10:12 +0000)]
r6570: Add socket_wrapper library to 3.0. Can be enabled by passing
--enable-socket-wrapper to configure
Gerald Carter [Sun, 1 May 2005 20:05:16 +0000 (20:05 +0000)]
r6566: fix a couple of local group bugs.
* ensure that we set full access on the handle
returned from _samr_create_dom_alias() so that
future set_alias commands succeed
* fix bug when looking for internal domains in winbindd
(caused winbindd_getgrgid() for local groups to fail).
Jeremy Allison [Sun, 1 May 2005 10:13:08 +0000 (10:13 +0000)]
r6553: Added Linux per-socket TCP settings patch from "Ed Boraas" <ed.boraas@concordia.ab.ca>.
Jeremy.
Jeremy Allison [Sun, 1 May 2005 10:00:14 +0000 (10:00 +0000)]
r6550: Move function make_dir_struct from util to dir.c
Jeremy.
Jeremy Allison [Sun, 1 May 2005 09:30:18 +0000 (09:30 +0000)]
r6548: Fix bug #2622 - remove DPTR_MASK as it makes no sense.
Jeremy.
Jeremy Allison [Sun, 1 May 2005 07:01:18 +0000 (07:01 +0000)]
r6543: Fix EDEADLCK problem with deferred open calls. Problem found by
"Hu, David J" <david.hu@hp.com>
Jeremy.
Volker Lendecke [Sat, 30 Apr 2005 13:21:13 +0000 (13:21 +0000)]
r6536: Jeremy, did you actually test this part of revision 801? I just tested that
Windows 2003 returns "4 (Local Group)" for
rpcclient -c 'lookupnames "System Operators"'
Before #ifdef'ing that out again I would like to see a sniff how you get a "5"
(WKN_GRP) out of lsa_lookupnames.
Volker
Jeremy Allison [Sat, 30 Apr 2005 12:28:25 +0000 (12:28 +0000)]
r6533: Fix for bad comment from Andreas Gruenbacher <agruen@suse.de>.
Jeremy.
Steve French [Thu, 28 Apr 2005 22:28:11 +0000 (22:28 +0000)]
r6514: Allow domain= to be specified in credentials file. Fix umount.cifs help, allow root to unmount someone
else's mount