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
Steve French [Thu, 28 Apr 2005 05:09:30 +0000 (05:09 +0000)]
r6505: Add missing remount flag handling
Herb Lewis [Wed, 27 Apr 2005 18:32:37 +0000 (18:32 +0000)]
r6502: add LOCKING debug class - pull PRINTINGDB class definition from trunk
so our numbers don't get out of sync
Derrell Lipman [Wed, 27 Apr 2005 14:05:02 +0000 (14:05 +0000)]
r6501: correct deprecated lvalue casts in testsuite/libsmbclient
Steve French [Wed, 27 Apr 2005 03:24:11 +0000 (03:24 +0000)]
r6499: Add two newer mount options to syntax help for mount.cifs
Jeremy Allison [Tue, 26 Apr 2005 23:52:21 +0000 (23:52 +0000)]
r6497: Ensure yield_connection() is called on all appropriate error conditions.
Jeremy.
Jeremy Allison [Tue, 26 Apr 2005 20:07:28 +0000 (20:07 +0000)]
r6495: Bugfix for #2596 by James Peach @ SGI. Fix become_root link issues and one IRIX
stack backtrace bug.
Jeremy.
Gerald Carter [Tue, 26 Apr 2005 15:14:15 +0000 (15:14 +0000)]
r6493: we're at 3.0.15pre3 now
Gerald Carter [Tue, 26 Apr 2005 14:42:48 +0000 (14:42 +0000)]
r6491: BUG 2653: patch from Olaf Imig <Olaf.Imig@bifab.de>; allocate memory for user1* in make_spoolss_q_open_printer_ex()
Gerald Carter [Tue, 26 Apr 2005 14:14:16 +0000 (14:14 +0000)]
r6490: BUG 1998: patch from Olaf Imig <Olaf.Imig@bifab.de>; fix byte ordering bug when storing 16-bit RAP print job ids
Volker Lendecke [Tue, 26 Apr 2005 12:26:32 +0000 (12:26 +0000)]
r6488: net rpc printer migrate should not try to set stuff that's not there. This
fixes two segfaults. Thanks to Karolin Segger <ks@sernet.de> to find the bug
and test the patch.
Volker
Steve French [Tue, 26 Apr 2005 05:19:22 +0000 (05:19 +0000)]
r6482: Add support so umount.cifs can update mtab
Jeremy Allison [Mon, 25 Apr 2005 23:15:48 +0000 (23:15 +0000)]
r6473: Fix for bug #2644 - test for special files to be ignored was reversed.
Jeremy.
Gerald Carter [Mon, 25 Apr 2005 02:30:12 +0000 (02:30 +0000)]
r6450: * fix typo in htlm_auth help message
* add synonym for idmap_rid in better lining with
other idmap backend names
* remove old debug messages when idmap {uid|gid} options
are not defined
Steve French [Sun, 24 Apr 2005 02:59:40 +0000 (02:59 +0000)]
r6447: Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we have it the other direction
in clierror already). This fixes the return code when we try to hardlink from a client.
Volker Lendecke [Sat, 23 Apr 2005 18:07:01 +0000 (18:07 +0000)]
r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
--enable-developer=yes?
Volker
Gerald Carter [Thu, 21 Apr 2005 17:13:50 +0000 (17:13 +0000)]
r6421: use add machine script when creating a user (ACB_NORMAL)
who has a name ending in '$' (usrmgr.exe does this for
domain trusts (that's was jfm's original comment I think).
avoid an assert() call in libldap.
Jeremy Allison [Thu, 21 Apr 2005 07:57:52 +0000 (07:57 +0000)]
r6417: Strange old IRIX systems return -1 for telldir() when
end of directory reached. Don't check for that and bail
when reading directory entries as it's a valid value.
Excellent work from Cale Fairchild <cale@brocku.ca>
tracked this down.
Jeremy.
Tim Potter [Thu, 21 Apr 2005 05:09:05 +0000 (05:09 +0000)]
r6412: Add fflush(stdout) after displaying username prompt in smbsh if
username not specified on command line. Bugzilla 2611.
Tim Potter [Thu, 21 Apr 2005 05:00:29 +0000 (05:00 +0000)]
r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually
used anywhere in the code anymore. Bugzilla 2625.
Tim Potter [Thu, 21 Apr 2005 01:46:18 +0000 (01:46 +0000)]
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
Tim Potter [Thu, 21 Apr 2005 01:40:44 +0000 (01:40 +0000)]
r6407: Fix for bugzilla 2623 and 2630: $< and $* are not valid in explicit
rules according to POSIX.
Volker Lendecke [Wed, 20 Apr 2005 07:30:03 +0000 (07:30 +0000)]
r6401: Fix a debug message
Deryck Hodge [Tue, 19 Apr 2005 21:35:42 +0000 (21:35 +0000)]
r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>
Encode quotes for display in HTML.
deryck
Derrell Lipman [Tue, 19 Apr 2005 19:23:49 +0000 (19:23 +0000)]
r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather than
a directory, the errno returned could end up as ENOENT rather than ENOTDIR.
- Fixes some compiler warnings which showed up on IRIX, as reported by
James Peach.
Gerald Carter [Tue, 19 Apr 2005 14:03:08 +0000 (14:03 +0000)]
r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n)
Jeremy Allison [Tue, 19 Apr 2005 07:12:44 +0000 (07:12 +0000)]
r6385: Convert checking of egid and secondary egid list into
iterator functions so it can be used easily in a for loop.
Drops duplicated code from posix_acls.c
Jeremy.
Jeremy Allison [Mon, 18 Apr 2005 22:53:51 +0000 (22:53 +0000)]
r6378: Other systems may not return 1 for checking WRITE permission.
Canaonicalise any +ve return to 1.
Jeremy.
Gerald Carter [Mon, 18 Apr 2005 17:48:31 +0000 (17:48 +0000)]
r6373: minor changes to solaris packaging readme to bring it up to date
Gerald Carter [Mon, 18 Apr 2005 17:46:46 +0000 (17:46 +0000)]
r6372: removing outdated Mandrake packaging files and pointing at Mandriva cooker (after clearing with Buchan)
Volker Lendecke [Mon, 18 Apr 2005 16:07:49 +0000 (16:07 +0000)]
r6367: Slim down pdb_interface.c a bit. next_entry and search_end are function
pointers now.
Yes, Jeremy, this is about re-inventing C++... :-)
Volker
Jeremy Allison [Sun, 17 Apr 2005 07:57:45 +0000 (07:57 +0000)]
r6365: Wow, how much worse does this get. From info provided by
Eric Stewart <eric@lib.usf.edu> I realised we weren't checking
against the current effective groupid (set by force group) as
well as the group list. Fix this.
Jeremy.
Gerald Carter [Sat, 16 Apr 2005 20:48:04 +0000 (20:48 +0000)]
r6358: merging SMB_ASSERT() changes from the release branch
Stefan Metzmacher [Fri, 15 Apr 2005 15:39:00 +0000 (15:39 +0000)]
r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands
metze
Volker Lendecke [Fri, 15 Apr 2005 13:41:49 +0000 (13:41 +0000)]
r6351: This is quite a large and intrusive patch, but there are not many pieces that
can be taken out of it, so I decided to commit this in one lump. It changes
the passdb enumerating functions to use ldap paged results where possible. In
particular the samr calls querydispinfo, enumdomusers and friends have
undergone significant internal changes. I have tested this extensively with
rpcclient and a bit with usrmgr.exe. More tests and the merge to trunk will
follow later.
The code is based on a first implementation by Günther Deschner, but has
evolved quite a bit since then.
Volker
Steve French [Fri, 15 Apr 2005 05:42:03 +0000 (05:42 +0000)]
r6349: Update cifs umount utility
Jeremy Allison [Fri, 15 Apr 2005 00:39:03 +0000 (00:39 +0000)]
r6348: Fix for bug #2605 reported by Daniel Patterson <Daniel_Patterson@national.com.au>.
Ensure smbclient doesn't perform commands if the "chdir" fails in a scripted set.
Jeremy.