jerry/samba.git
16 years agor6290: and now the development tree becomes 3.0.15pre1
Gerald Carter [Mon, 11 Apr 2005 00:15:28 +0000 (00:15 +0000)]
r6290: and now the development tree becomes 3.0.15pre1

16 years agor6282: Before converting enum_dom_groups, better get the previous version a bit
Volker Lendecke [Sun, 10 Apr 2005 17:12:25 +0000 (17:12 +0000)]
r6282: Before converting enum_dom_groups, better get the previous version a bit
closer to being correct. 'svn blame' shows CVSIN, but somehow I get the
feeling this is my code...

Volker

16 years agor6281: Fix the build for FreeBSD 4 -- no winbind
Volker Lendecke [Sun, 10 Apr 2005 15:54:18 +0000 (15:54 +0000)]
r6281: Fix the build for FreeBSD 4 -- no winbind

16 years agor6279: Convert the RAP enum functions to the pdb_search API. Who is using this
Volker Lendecke [Sun, 10 Apr 2005 15:45:46 +0000 (15:45 +0000)]
r6279: Convert the RAP enum functions to the pdb_search API. Who is using this
nowadays? This looks rather broken, but survives basic tests with 'net'.

Volker

16 years agor6277: This implements a new caching API for enumerating the pdb elements. It is
Volker Lendecke [Sun, 10 Apr 2005 15:26:37 +0000 (15:26 +0000)]
r6277: This implements a new caching API for enumerating the pdb elements. It is
modeled after query_displayinfo and should hide the differences between users,
groups and aliases while allowing a cache analog load_sampw_entries:

struct pdb_search *pdb_search_users(uint16 acct_flags);
struct pdb_search *pdb_search_groups(void);
struct pdb_search *pdb_search_aliases(const DOM_SID *sid);
uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx,
                          uint32 max_entries,
                          struct samr_displayentry **result);
void pdb_search_destroy(struct pdb_search *search);

Why this API? Eventually we will need to apply the work gd has started on
enumerating users with paged ldap searches to groups and aliases. Before doing
that I want to clean up the search routines we have.

The sample application (more to follow) is 'net maxrid'.

Volker

16 years agor6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not gone mad,
Volker Lendecke [Sun, 10 Apr 2005 14:44:56 +0000 (14:44 +0000)]
r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not gone mad,
this is to test future changes to enumeration functions...

This can successfully list users from nt4 and w2k3sp1.

Volker

16 years agor6273: Remove some unused code, minor cleanup
Volker Lendecke [Sun, 10 Apr 2005 14:20:29 +0000 (14:20 +0000)]
r6273: Remove some unused code, minor cleanup

16 years agor6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the bug,
Jeremy Allison [Sun, 10 Apr 2005 06:57:55 +0000 (06:57 +0000)]
r6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the bug,
fix trans2 and nttrans secondary packet processing. We were being too strict checking
the incoming packet (by 1 byte).
Jeremy.

16 years agor6266: Add includes for sys/extattr.h and sys/uio.h for FreeBSD xattr code.
Jeremy Allison [Sun, 10 Apr 2005 04:27:14 +0000 (04:27 +0000)]
r6266: Add includes for sys/extattr.h and sys/uio.h for FreeBSD xattr code.
Jeremy.

16 years agor6263: Get rid of generate_wellknown_sids, they are const static and initializable
Volker Lendecke [Sat, 9 Apr 2005 11:46:40 +0000 (11:46 +0000)]
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
statically.

Volker

16 years agor6262: Minor updates to cifs umount helper
Steve French [Sat, 9 Apr 2005 05:01:00 +0000 (05:01 +0000)]
r6262: Minor updates to cifs umount helper

16 years agor6261: Tidyup message str printf. Ensure tvs struct is zeroed.
Jeremy Allison [Sat, 9 Apr 2005 00:50:12 +0000 (00:50 +0000)]
r6261: Tidyup message str printf. Ensure tvs struct is zeroed.
Jeremy.

16 years agor6258: Fix found by OS/2 set_ea call. When setting specific info remember to terminate
Jeremy Allison [Sat, 9 Apr 2005 00:41:38 +0000 (00:41 +0000)]
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.

16 years agor6256: Fix fprintf errors in smbpasswd. Fix for bug #2585 Ulf Härnhammar <metaur...
Jeremy Allison [Fri, 8 Apr 2005 22:58:07 +0000 (22:58 +0000)]
r6256: Fix fprintf errors in smbpasswd. Fix for bug #2585 Ulf Härnhammar <metaur@telia.com>
Jeremy.

16 years agor6255: Initial checkin of cifs umount utility
Steve French [Fri, 8 Apr 2005 22:46:31 +0000 (22:46 +0000)]
r6255: Initial checkin of cifs umount utility

16 years agor6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur...
Jeremy Allison [Fri, 8 Apr 2005 21:05:14 +0000 (21:05 +0000)]
r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur@com.bat.ru>
Jeremy.

16 years agor6252: Re-order position of become_root() to allow directory to be
Jeremy Allison [Fri, 8 Apr 2005 19:21:41 +0000 (19:21 +0000)]
r6252: Re-order position of become_root() to allow directory to be
read first.
Jeremy.

16 years agor6249: Get the comparison the right way around...
Jeremy Allison [Fri, 8 Apr 2005 17:04:59 +0000 (17:04 +0000)]
r6249: Get the comparison the right way around...
Jeremy.

16 years agor6243: Yes. I *will* hate myself in the morning for this one.
Gerald Carter [Fri, 8 Apr 2005 04:13:19 +0000 (04:13 +0000)]
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.

16 years agor6242: after talking to jeremy, we can actually consolidate
Gerald Carter [Thu, 7 Apr 2005 22:37:03 +0000 (22:37 +0000)]
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.

16 years agor6240: Fix for bug #2581. Add size limit (in kb) to stat cache.
Jeremy Allison [Thu, 7 Apr 2005 20:59:37 +0000 (20:59 +0000)]
r6240: Fix for bug #2581. Add size limit (in kb) to stat cache.
Jeremy.

16 years agor6237: fix my breakage of WinXP sp2 msdfs support.
Gerald Carter [Thu, 7 Apr 2005 19:43:19 +0000 (19:43 +0000)]
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()

16 years agor6235: Partial fix for bugid #2581. Ensure if realloc fails on an internal
Jeremy Allison [Thu, 7 Apr 2005 19:39:34 +0000 (19:39 +0000)]
r6235: Partial fix for bugid #2581. Ensure if realloc fails on an internal
tdb we fail gracefully.
Jeremy.

16 years agor6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.au
Jeremy Allison [Thu, 7 Apr 2005 18:27:28 +0000 (18:27 +0000)]
r6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.au
Jeremy.

16 years agor6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CRE...
Gerald Carter [Thu, 7 Apr 2005 04:58:38 +0000 (04:58 +0000)]
r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CREATE_VALE -> REG_SET_VALUE

16 years agor6231: Herb, I think this checkin was a mistake. Are you sure this is
Gerald Carter [Thu, 7 Apr 2005 03:24:02 +0000 (03:24 +0000)]
r6231: Herb,  I think this checkin was a mistake.  Are you sure this is
what you meant to change?

Fix build breakage....

16 years agor6230: don't know how this ever worked! the compiler complained we
Herb Lewis [Wed, 6 Apr 2005 23:50:48 +0000 (23:50 +0000)]
r6230: don't know how this ever worked! the compiler complained we
were comparing an integer to a pointer and it was right.

16 years agor6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
Gerald Carter [Wed, 6 Apr 2005 22:27:55 +0000 (22:27 +0000)]
r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
Tested client and server code.

16 years agor6225: get rid of warnings from my compiler about nested externs
Herb Lewis [Wed, 6 Apr 2005 16:28:04 +0000 (16:28 +0000)]
r6225: get rid of warnings from my compiler about nested externs

16 years agor6221: format cleanup (got tied of looking for related structures)
Gerald Carter [Wed, 6 Apr 2005 03:08:25 +0000 (03:08 +0000)]
r6221: format cleanup (got tied of looking for related structures)

also remove unused SID_ARRAY structure....

16 years agor6220: cleaning up spoolss header; removing unused structures
Gerald Carter [Tue, 5 Apr 2005 23:47:42 +0000 (23:47 +0000)]
r6220: cleaning up spoolss header; removing unused structures

16 years agor6218: * fix a segv in EnumPrinters():rpc_buffer_alloc when the caller does not provi...
Gerald Carter [Tue, 5 Apr 2005 17:49:16 +0000 (17:49 +0000)]
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()

16 years agor6217: After talking to jerry, commit the partial fix for wbinfo -r. This fixes the
Volker Lendecke [Tue, 5 Apr 2005 16:42:06 +0000 (16:42 +0000)]
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

16 years agor6216: Brown paper-bag bug fix for wbinfo --user-sids.... Nobody seems to really use
Volker Lendecke [Tue, 5 Apr 2005 14:24:50 +0000 (14:24 +0000)]
r6216: Brown paper-bag bug fix for wbinfo --user-sids.... Nobody seems to really use
domain local groups ...

Volker

16 years agor6204: Fix double-free of talloc context.
Jeremy Allison [Tue, 5 Apr 2005 01:24:04 +0000 (01:24 +0000)]
r6204: Fix double-free of talloc context.
Jeremy.

16 years agor6203: Fix attribute return on creating a directory with nttrans_create.
Jeremy Allison [Tue, 5 Apr 2005 01:20:32 +0000 (01:20 +0000)]
r6203: Fix attribute return on creating a directory with nttrans_create.
Fix strange allocation semantics of openX.
Jeremy.

16 years agor6200: Returned access should contain share mode as well as open mode.
Jeremy Allison [Mon, 4 Apr 2005 20:46:16 +0000 (20:46 +0000)]
r6200: Returned access should contain share mode as well as open mode.
Jeremy.

16 years agor6199: Only do the strange DOS error for openX, not trans2open.
Jeremy Allison [Mon, 4 Apr 2005 20:40:39 +0000 (20:40 +0000)]
r6199: Only do the strange DOS error for openX, not trans2open.
Jeremy.

16 years agor6176: Fix a possibly uninitialised variable warning.
Tim Potter [Sat, 2 Apr 2005 00:59:12 +0000 (00:59 +0000)]
r6176: Fix a possibly uninitialised variable warning.

16 years agor6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565.
Tim Potter [Sat, 2 Apr 2005 00:56:30 +0000 (00:56 +0000)]
r6175: Fix crash bug and compiler warnings in strchr_m() test.  Bugzilla #2565.

16 years agor6174: Fixup T2 open call - we were returning 2 bytes short.
Jeremy Allison [Sat, 2 Apr 2005 00:13:27 +0000 (00:13 +0000)]
r6174: Fixup T2 open call - we were returning 2 bytes short.
Jeremy.

16 years agor6172: Tidy up error processing significantly. Remove unix_ERR_XXX global nastyness.
Jeremy Allison [Fri, 1 Apr 2005 23:11:28 +0000 (23:11 +0000)]
r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global nastyness.
Jeremy.

16 years agor6170: Remove redundant flag that I had just added.
Steve French [Fri, 1 Apr 2005 21:15:09 +0000 (21:15 +0000)]
r6170: Remove redundant flag that I had just added.

16 years agor6169: Fix bug #2563. Infinite loop on non-existant file with findnext.
Jeremy Allison [Fri, 1 Apr 2005 19:57:22 +0000 (19:57 +0000)]
r6169: Fix bug #2563. Infinite loop on non-existant file with findnext.
Jeremy

16 years agor6167: Add more defines for POSIX extensions to match the newly added
Steve French [Fri, 1 Apr 2005 18:14:24 +0000 (18:14 +0000)]
r6167: Add more defines for POSIX extensions to match the newly added
client implementation

16 years agor6166: Derell, I'm reverting this part of -r4917 because it modifies the keys
Günther Deschner [Fri, 1 Apr 2005 13:12:51 +0000 (13:12 +0000)]
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

16 years agor6163: Well I never, all this time the t2open code was incorrectly decting
Jeremy Allison [Fri, 1 Apr 2005 00:54:55 +0000 (00:54 +0000)]
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.

16 years agor6160: Ensure allocation size is correctly returned for OpenX. Only set allocation
Jeremy Allison [Fri, 1 Apr 2005 00:21:55 +0000 (00:21 +0000)]
r6160: Ensure allocation size is correctly returned for OpenX. Only set allocation
on create/truncate for nttrans.
Jeremy.

16 years agor6158: fix some misleading error messages
Gerald Carter [Thu, 31 Mar 2005 22:02:38 +0000 (22:02 +0000)]
r6158: fix some misleading error messages

16 years agor6157: 'editorial changes' to example code
Derrell Lipman [Thu, 31 Mar 2005 21:17:36 +0000 (21:17 +0000)]
r6157: 'editorial changes' to example code

16 years agor6156: Fixes bug #2543. Properly cache anonmous username when reverting to anonymous...
Derrell Lipman [Thu, 31 Mar 2005 21:16:20 +0000 (21:16 +0000)]
r6156: Fixes bug #2543.  Properly cache anonmous username when reverting to anonymous login, in libsmbclient.

16 years agor6155: Fixes bug #1133
Derrell Lipman [Thu, 31 Mar 2005 20:28:47 +0000 (20:28 +0000)]
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().

16 years agor6154: fix winbindd <-> Windows 2003 sp1 issue.
Gerald Carter [Thu, 31 Mar 2005 20:11:20 +0000 (20:11 +0000)]
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.

16 years agor6152: Correctly check OpenX open modes.
Jeremy Allison [Thu, 31 Mar 2005 19:10:59 +0000 (19:10 +0000)]
r6152: Correctly check OpenX open modes.
Jeremy.

16 years agor6151: additional examples/tests for libsmbclient
Derrell Lipman [Thu, 31 Mar 2005 16:26:15 +0000 (16:26 +0000)]
r6151: additional examples/tests for libsmbclient

16 years agor6149: Fixes bugs #2498 and 2484.
Derrell Lipman [Thu, 31 Mar 2005 05:06:04 +0000 (05:06 +0000)]
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.

16 years agor6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in nttrans_create.
Jeremy Allison [Thu, 31 Mar 2005 02:12:09 +0000 (02:12 +0000)]
r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in nttrans_create.
Jeremy.

16 years agor6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.
Jeremy Allison [Thu, 31 Mar 2005 00:36:22 +0000 (00:36 +0000)]
r6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.
Jeremy.

16 years agor6138: Refactor length reading out of EA code so we can read length
Jeremy Allison [Wed, 30 Mar 2005 20:53:02 +0000 (20:53 +0000)]
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.

16 years agor6127: Eliminated all compiler warnings pertaining to mismatched "qualifiers". The
Derrell Lipman [Wed, 30 Mar 2005 04:40:24 +0000 (04:40 +0000)]
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.

16 years agor6126: added utility for testing smbc_stat()
Derrell Lipman [Wed, 30 Mar 2005 02:39:22 +0000 (02:39 +0000)]
r6126: added utility for testing smbc_stat()

16 years agor6125: smbc_stat() returned incorrect timestamps IFF it used cli_qpathinfo2() to
Derrell Lipman [Wed, 30 Mar 2005 02:35:31 +0000 (02:35 +0000)]
r6125: smbc_stat() returned incorrect timestamps IFF it used cli_qpathinfo2() to
retrieve the timestamps (Win2k) and not if it used cli-getatr() to retrieve
the timestamps (Win98).  Timestamps are supposed to be in GMT, and should
not have serverzone deducted from them in cli_qpathinfo2().

16 years agor6124: Fix for bug #2242 from Tom Lackemann <cessnatomny@yahoo.com> - don't
Jeremy Allison [Wed, 30 Mar 2005 02:24:47 +0000 (02:24 +0000)]
r6124: Fix for bug #2242 from Tom Lackemann <cessnatomny@yahoo.com> - don't
set SD on an NTtransact create unless we created the file.
Jeremy.

16 years agor6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2
Jeremy Allison [Wed, 30 Mar 2005 02:05:22 +0000 (02:05 +0000)]
r6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2
I believe. Reported as fixed by Marcel Müller <mueller@maazl.de>.
Jeremy.

16 years agor6120: Added "volume" command to smbclient that prints out the volume name and
Jeremy Allison [Wed, 30 Mar 2005 00:47:57 +0000 (00:47 +0000)]
r6120: Added "volume" command to smbclient that prints out the volume name and
serial number.
Jeremy.

16 years agor6117: Close handles after group-creation as well.
Günther Deschner [Tue, 29 Mar 2005 15:17:26 +0000 (15:17 +0000)]
r6117: Close handles after group-creation as well.

Guenther

16 years agor6116: update debian changelog
Simo Sorce [Tue, 29 Mar 2005 14:08:49 +0000 (14:08 +0000)]
r6116: update debian changelog

16 years agor6110: Close handles on user creation. This allows easy mass creation of users with
Volker Lendecke [Tue, 29 Mar 2005 06:45:10 +0000 (06:45 +0000)]
r6110: Close handles on user creation. This allows easy mass creation of users with
rpcclient.

Volker

16 years agor6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more...
Derrell Lipman [Tue, 29 Mar 2005 00:42:51 +0000 (00:42 +0000)]
r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility

16 years agor6106: Fix bug #2551. It turns out that the incoming flags2 flag FLAGS2_LONG_PATH_COM...
Jeremy Allison [Tue, 29 Mar 2005 00:36:30 +0000 (00:36 +0000)]
r6106: Fix bug #2551. It turns out that the incoming flags2 flag FLAGS2_LONG_PATH_COMPONENTS
determines if a reply is uppercased on a SMBsearch request, not the protocol level.
This could clear up quite a few hacks going forward I think.
Jeremy.

16 years agor6104: Update dos filetimes to default yes for Office 2000.
Jeremy Allison [Mon, 28 Mar 2005 21:31:01 +0000 (21:31 +0000)]
r6104: Update dos filetimes to default yes for Office 2000.
Jeremy.

16 years agor6103: Update list of mount options for mount.cifs
Steve French [Mon, 28 Mar 2005 20:32:04 +0000 (20:32 +0000)]
r6103: Update list of mount options for mount.cifs

16 years agor6102: add support for opening a file for write with O_APPEND in libsmbclient
Derrell Lipman [Mon, 28 Mar 2005 19:52:23 +0000 (19:52 +0000)]
r6102: add support for opening a file for write with O_APPEND in libsmbclient

16 years agor6092: This much const causes the compiler on Fedora Core 2
Jeremy Allison [Mon, 28 Mar 2005 03:27:44 +0000 (03:27 +0000)]
r6092: This much const causes the compiler on Fedora Core 2
to throw up.
Jeremy.

16 years agor6090: Patch to fix sys_select so it can't drop signals if another fd
Jeremy Allison [Mon, 28 Mar 2005 03:18:57 +0000 (03:18 +0000)]
r6090: Patch to fix sys_select so it can't drop signals if another fd
is ready to read. Patch from Mark Weaver <mark-clist@npsl.co.uk>.
The only question is, how did we miss this for so long..... :-).
Jeremy.

16 years agor6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy Allison [Sun, 27 Mar 2005 20:44:06 +0000 (20:44 +0000)]
r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.

16 years agor6080: Port some of the non-critical changes from HEAD to 3_0. The main one is the
Volker Lendecke [Sun, 27 Mar 2005 16:33:04 +0000 (16:33 +0000)]
r6080: Port some of the non-critical changes from HEAD to 3_0. The main one is the
change in pdb_enum_alias_memberships to match samr.idl a bit closer.

Volker

16 years agor6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
Gerald Carter [Sat, 26 Mar 2005 06:52:56 +0000 (06:52 +0000)]
r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
* add some backwards compatibility to 'net rpc rights list'
* verify privilege name in 'net rpc rights privileges <name>' in order
  to give back better error messages.

16 years agor6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select LANMAN2
Jeremy Allison [Sat, 26 Mar 2005 00:44:46 +0000 (00:44 +0000)]
r6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select LANMAN2
protocol, ensure the EA size is always correctly set on a query for a file with no EA's.
Jeremy.

16 years agor6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LIST
Jeremy Allison [Fri, 25 Mar 2005 23:45:11 +0000 (23:45 +0000)]
r6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LIST
info level.
Jeremy.

16 years agor6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as this SMB is
Jeremy Allison [Fri, 25 Mar 2005 19:52:01 +0000 (19:52 +0000)]
r6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as this SMB is
DOS codepage only.
Jeremy.

16 years agor6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK
Gerald Carter [Fri, 25 Mar 2005 14:37:10 +0000 (14:37 +0000)]
r6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK

16 years agor6060: It's not quite accurate to say not having write access causes a group
Jeremy Allison [Fri, 25 Mar 2005 03:41:02 +0000 (03:41 +0000)]
r6060: It's not quite accurate to say not having write access causes a group
entry never to match - it matches but if doesn't grant access is recorded
so the "other" entry isn't subsequently checked.
Fix the algorithm.
Jeremy.

16 years agor6057: Don't put the assert in the wrong place :-).
Jeremy Allison [Fri, 25 Mar 2005 01:36:39 +0000 (01:36 +0000)]
r6057: Don't put the assert in the wrong place :-).
Jeremy.

16 years agor6055: Fix algorithm. If any of the primary or supplementary group ids match
Jeremy Allison [Fri, 25 Mar 2005 01:30:21 +0000 (01:30 +0000)]
r6055: Fix algorithm. If any of the primary or supplementary group ids match
a "allow" entry of GROUP or GROUP_OBJ, then access is allowed. It doesn't
terminate on the first match. Added debug to show where the match occured
(or didn't).
Jeremy.

16 years agor6053: Fixup dfs path with the new wildcard parser code split out.
Jeremy Allison [Fri, 25 Mar 2005 00:58:15 +0000 (00:58 +0000)]
r6053: Fixup dfs path with the new wildcard parser code split out.
Jeremy.

16 years agor6051: finish off
Gerald Carter [Fri, 25 Mar 2005 00:38:30 +0000 (00:38 +0000)]
r6051: finish off

        net rpc service stop
        net rpc service start
        net rpc service pause
        net rpc service resume

16 years agor6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel "read-only"
Jeremy Allison [Thu, 24 Mar 2005 22:34:28 +0000 (22:34 +0000)]
r6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel "read-only"
issue.
Jeremy.

16 years agor6048: Split out the check_path_syntax into a findfirst/next/wildcard version.
Jeremy Allison [Thu, 24 Mar 2005 22:32:52 +0000 (22:32 +0000)]
r6048: Split out the check_path_syntax into a findfirst/next/wildcard version.
The semantics are different with wildcards.
Jeremy.

16 years agor6046: $ net -S block -U % -W VALE rpc service status spooler
Gerald Carter [Thu, 24 Mar 2005 22:32:31 +0000 (22:32 +0000)]
r6046: $ net -S block -U % -W VALE rpc service status spooler

spooler service is SVCCTL_RUNNING.
Configuration details:
        Service Type         = 0x110
        Start Type           = 0x2
        Error Control        = 0x1
        Tag ID               = 0x0
        Executable Path      = C:\WINNT\system32\spoolsv.exe
        Load Order Group     = SpoolerGroup
        Dependencies         = RPCSS/
        Start Name           = LocalSystem
        Display Name         = Print Spooler

16 years agor6044: Ensure the old search calls always ask mask_match to translate
Jeremy Allison [Thu, 24 Mar 2005 19:33:02 +0000 (19:33 +0000)]
r6044: Ensure the old search calls always ask mask_match to translate
patterns like ????????.??? - even if using an NT1 protocol.
Matches W2K3 behavior.
Jeremy.

16 years agor6041: cleaning up output from 'rpc service list'
Gerald Carter [Thu, 24 Mar 2005 18:13:51 +0000 (18:13 +0000)]
r6041: cleaning up output from 'rpc service list'

16 years agor6040: finish out 'net rpc service list'
Gerald Carter [Thu, 24 Mar 2005 18:05:31 +0000 (18:05 +0000)]
r6040: finish out 'net rpc service list'

16 years agor6039: add CLI_DO_RPC macro for cookie cutter code; no new functionality to 'net...
Gerald Carter [Thu, 24 Mar 2005 17:11:51 +0000 (17:11 +0000)]
r6039: add CLI_DO_RPC macro for cookie cutter code; no new functionality to 'net rpc service'

16 years agor6038: adding more flesh to 'net rpc service'
Gerald Carter [Thu, 24 Mar 2005 16:11:23 +0000 (16:11 +0000)]
r6038: adding more flesh to 'net rpc service'
open and close the service control manager.

Also experimenting with ideas for cli_xxx() interface.

16 years agor6037: little cleanup of unused vars and unnecessary codepaths
Gerald Carter [Thu, 24 Mar 2005 14:40:35 +0000 (14:40 +0000)]
r6037: little cleanup of unused vars and unnecessary codepaths

16 years agor6036: patch from Lin Li <linl@xandros.com> to ensure trusted domains are initialized...
Gerald Carter [Thu, 24 Mar 2005 14:39:55 +0000 (14:39 +0000)]
r6036: patch from Lin Li <linl@xandros.com> to ensure trusted domains are initialized whenenumerating users and groups

16 years agor6034: Check only once
Simo Sorce [Thu, 24 Mar 2005 08:36:00 +0000 (08:36 +0000)]
r6034: Check only once

16 years agor6029: adding files necessary to support 'net rpc service' functions; will fill in...
Gerald Carter [Thu, 24 Mar 2005 04:25:49 +0000 (04:25 +0000)]
r6029: adding files necessary to support 'net rpc service' functions; will fill in tomorrow

16 years agor6022: Fix for bug #2533. Incorrect dir listings from OS/2 clients.
Jeremy Allison [Thu, 24 Mar 2005 02:23:32 +0000 (02:23 +0000)]
r6022: Fix for bug #2533. Incorrect dir listings from OS/2 clients.
Jeremy.