1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

17664 Commits

Author SHA1 Message Date
Steve French
cd8b93edc6 r6262: Minor updates to cifs umount helper 2007-10-10 10:56:33 -05:00
Jeremy Allison
6c9f227ef4 r6261: Tidyup message str printf. Ensure tvs struct is zeroed.
Jeremy.
2007-10-10 10:56:33 -05:00
Jeremy Allison
f1e12be9ed r6258: Fix found by OS/2 set_ea call. When setting specific info remember to terminate
once we've done that and not "break" into the generic file metadata set code.
Jeremy.
2007-10-10 10:56:33 -05:00
Jeremy Allison
3dfa6c40fc r6256: Fix fprintf errors in smbpasswd. Fix for bug #2585 Ulf Härnhammar <metaur@telia.com>
Jeremy.
2007-10-10 10:56:32 -05:00
Steve French
8f7c36a6c4 r6255: Initial checkin of cifs umount utility 2007-10-10 10:56:32 -05:00
Jeremy Allison
059a2e30c9 r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur@com.bat.ru>
Jeremy.
2007-10-10 10:56:32 -05:00
Jeremy Allison
9fa32282eb r6252: Re-order position of become_root() to allow directory to be
read first.
Jeremy.
2007-10-10 10:56:32 -05:00
Jeremy Allison
1d542eee57 r6249: Get the comparison the right way around...
Jeremy.
2007-10-10 10:56:32 -05:00
Gerald Carter
e7189a4e4b r6243: Yes. I *will* hate myself in the morning for this one.
I need to gather some more information to know if these
extra context id's may be used later.  But for now,
pw changes via CTL+ALT+DEL from win2k3sp1 clients work.
2007-10-10 10:56:32 -05:00
Gerald Carter
59ffacf59c r6242: after talking to jeremy, we can actually consolidate
the 2 BOOL flags in dfs_redirect() down to one since
they both are used in essentially the same context
(from what we can tell).

Tested Win98SE, WinXP sp 1 & 2, Win2k3 sp1, and WIn2k Sp4.
All dfs operations still seem to work.
2007-10-10 10:56:31 -05:00
Jeremy Allison
836b73d001 r6240: Fix for bug #2581. Add size limit (in kb) to stat cache.
Jeremy.
2007-10-10 10:56:31 -05:00
Gerald Carter
29983398e2 r6237: fix my breakage of WinXP sp2 msdfs support.
We did need the special case for RESOLVE_DFSPATH
in the findfirst() code.

Jeremy, please verify I haven't broken the allow_wcard
code you added to resolve_dfs_path()
2007-10-10 10:56:31 -05:00
Jeremy Allison
28772dfca1 r6235: Partial fix for bugid #2581. Ensure if realloc fails on an internal
tdb we fail gracefully.
Jeremy.
2007-10-10 10:56:31 -05:00
Jeremy Allison
dbf021a2e0 r6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.au
Jeremy.
2007-10-10 10:56:31 -05:00
Gerald Carter
28d433351c r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CREATE_VALE -> REG_SET_VALUE 2007-10-10 10:56:30 -05:00
Gerald Carter
b3643b732b r6231: Herb, I think this checkin was a mistake. Are you sure this is
what you meant to change?

Fix build breakage....
2007-10-10 10:56:30 -05:00
Herb Lewis
b6117dd72d r6230: don't know how this ever worked! the compiler complained we
were comparing an integer to a pointer and it was right.
2007-10-10 10:56:30 -05:00
Gerald Carter
efb3ac4c69 r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
Tested client and server code.
2007-10-10 10:56:30 -05:00
Herb Lewis
efea76ac71 r6225: get rid of warnings from my compiler about nested externs 2007-10-10 10:56:30 -05:00
Gerald Carter
c8f808b076 r6221: format cleanup (got tied of looking for related structures)
also remove unused SID_ARRAY structure....
2007-10-10 10:56:29 -05:00
Gerald Carter
c474222e0d r6220: cleaning up spoolss header; removing unused structures 2007-10-10 10:56:29 -05:00
Gerald Carter
22855c7aae r6218: * fix a segv in EnumPrinters():rpc_buffer_alloc when the caller does not provide an
RPC_BUFFER in the request

* add initial (but wire untested) support for RegRestoreKey()
2007-10-10 10:56:29 -05:00
Volker Lendecke
b6352a3c46 r6217: After talking to jerry, commit the partial fix for wbinfo -r. This fixes the
expansion of domain local groups in case the netsamlogon_cache is valid. The
non-samlogon-cache side needs more work, as well as the samlogon cache itself.

Volker
2007-10-10 10:56:29 -05:00
Volker Lendecke
ed2d76d663 r6216: Brown paper-bag bug fix for wbinfo --user-sids.... Nobody seems to really use
domain local groups ...

Volker
2007-10-10 10:56:29 -05:00
Jeremy Allison
d5c56d2574 r6204: Fix double-free of talloc context.
Jeremy.
2007-10-10 10:56:28 -05:00
Jeremy Allison
da5a8b539d r6203: Fix attribute return on creating a directory with nttrans_create.
Fix strange allocation semantics of openX.
Jeremy.
2007-10-10 10:56:28 -05:00
Jeremy Allison
3aa784c077 r6200: Returned access should contain share mode as well as open mode.
Jeremy.
2007-10-10 10:56:28 -05:00
Jeremy Allison
65970dfc5b r6199: Only do the strange DOS error for openX, not trans2open.
Jeremy.
2007-10-10 10:56:28 -05:00
Tim Potter
3cf5ad4e80 r6176: Fix a possibly uninitialised variable warning. 2007-10-10 10:56:28 -05:00
Tim Potter
17d13b5713 r6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565. 2007-10-10 10:56:28 -05:00
Jeremy Allison
0c7de7615b r6174: Fixup T2 open call - we were returning 2 bytes short.
Jeremy.
2007-10-10 10:56:27 -05:00
Jeremy Allison
d3379fe61b r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global nastyness.
Jeremy.
2007-10-10 10:56:27 -05:00
Steve French
981b44e600 r6170: Remove redundant flag that I had just added. 2007-10-10 10:56:27 -05:00
Jeremy Allison
065ab9182d r6169: Fix bug #2563. Infinite loop on non-existant file with findnext.
Jeremy
2007-10-10 10:56:26 -05:00
Steve French
8f6dba2cc3 r6167: Add more defines for POSIX extensions to match the newly added
client implementation
2007-10-10 10:56:26 -05:00
Günther Deschner
f46c0c1227 r6166: Derell, I'm reverting this part of -r4917 because it modifies the keys
to search in tdbs in a way that is not upgrade-safe and somewhat weird
to use: Users have to modify policies like

        pdbedit -P "maximum password policies (seconds since 1970)"

The value-description should better go into the manpage.

Guenther
2007-10-10 10:56:26 -05:00
Jeremy Allison
75a0c11de4 r6163: Well I never, all this time the t2open code was incorrectly decting
oplock requests and no one noticed. Hmmm. Don't think this is a commonly
used codepath :-).
Jeremy.
2007-10-10 10:56:26 -05:00
Jeremy Allison
fb05ac4c03 r6160: Ensure allocation size is correctly returned for OpenX. Only set allocation
on create/truncate for nttrans.
Jeremy.
2007-10-10 10:56:26 -05:00
Gerald Carter
91a8e1ac6d r6158: fix some misleading error messages 2007-10-10 10:56:26 -05:00
Derrell Lipman
fa0294ddbf r6157: 'editorial changes' to example code 2007-10-10 10:56:25 -05:00
Derrell Lipman
cf2dcc1108 r6156: Fixes bug #2543. Properly cache anonmous username when reverting to anonymous login, in libsmbclient. 2007-10-10 10:56:25 -05:00
Derrell Lipman
2c5a6305bd r6155: Fixes bug #1133
Added provision for overloading some global configuration options via the new,
per-user file ~/.smb/smb.conf.append which is read after the global config
file is read (and only if the global config file was read).  This leave the
original, BC behavior of ~/.smb/smb.conf which, if found, is read but causes
the global config file to not be read.

Also fixed a potential seg fault in to lp_dump_one().
2007-10-10 10:56:25 -05:00
Gerald Carter
82e3a9d9b5 r6154: fix winbindd <-> Windows 2003 sp1 issue.
Can't do LsaOpenPolicy() over schannel anymore.
This is an interesting find as it could imply that there are
other changes we haven't seen yet in sp1.

Volker, You might want to look at this for trunk.
2007-10-10 10:56:25 -05:00
Jeremy Allison
326124a7b3 r6152: Correctly check OpenX open modes.
Jeremy.
2007-10-10 10:56:25 -05:00
Derrell Lipman
a3bd496c92 r6151: additional examples/tests for libsmbclient 2007-10-10 10:56:25 -05:00
Derrell Lipman
994694f7f2 r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
2007-10-10 10:56:24 -05:00
Jeremy Allison
989fcb4c08 r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in nttrans_create.
Jeremy.
2007-10-10 10:56:24 -05:00
Jeremy Allison
106f91ff65 r6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.
Jeremy.
2007-10-10 10:56:24 -05:00
Jeremy Allison
7c4262d6ba r6138: Refactor length reading out of EA code so we can read length
external to buffer. Needed to add EA code to create calls.
Jeremy.
2007-10-10 10:56:24 -05:00
Derrell Lipman
5b19ede88e r6127: Eliminated all compiler warnings pertaining to mismatched "qualifiers". The
whole of samba comiles warning-free with the default compiler flags.

Temporarily defined -Wall to locate other potential problems.  Found an
unused static function (#ifdefed out rather than deleted, in case it's
needed for something in progress).

There are also a number of uses of undeclared functions, mostly krb5_*.
Files with these problems need to have appropriate header files included,
but they are not fixed in this update.

oplock_linux.c.c has undefined functions capget() and capset(), which need
to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>,
but that could potentially have other side effects, so that remains uncorrected
as well.

The flag -Wall should be added permanently to CFLAGS, and all warnings then
generated should be eliminated.
2007-10-10 10:56:24 -05:00