1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00
Commit Graph

3057 Commits

Author SHA1 Message Date
Andrew Tridgell
a80c82d263 r4278: - added server support for lsa_EnumPrivsAccount() 2007-10-10 13:07:31 -05:00
Andrew Tridgell
bafdb17729 r4277: - added server support for lsa_EnumAccounts()
- expanded the lsa test suite to better test lsa_EnumAccounts()
2007-10-10 13:07:31 -05:00
Andrew Tridgell
4716334502 r4276: added server side support for lsa_OpenAccount() 2007-10-10 13:07:30 -05:00
Andrew Tridgell
750deb7f22 r4275: improve the share type info 2007-10-10 13:07:30 -05:00
Andrew Tridgell
b2e29756c2 r4274: make the prototype RAP netshareenum call return something a bit more sensible. 2007-10-10 13:07:30 -05:00
Andrew Tridgell
0022b4d24c r4267: fixed the charset code to use the builtin_functions.
Jelmer, please be more careful about testing new code. Your charsets
register change completely broke charset handling on systems without
iconv, and slowed every system down as the builtins were not being
used at all.
2007-10-10 13:07:30 -05:00
Andrew Tridgell
89845388ea r4264: fix acl handling on systems without xattr support 2007-10-10 13:07:30 -05:00
Andrew Tridgell
25189b8fbf r4263: added support for the trans2 RAW_SEARCH_EA_LIST information
level. This is quite a strange level that we've never seen before, but
is used by the os2 workplace shell.

note w2k screws up this level when unicode is negotiated, so it only
passes the RAW-SEARCH test when you force non-unicode
2007-10-10 13:07:29 -05:00
Andrew Tridgell
7251f1fcdd r4262: a sniff from kukks showed that the FILE_ATTRIBUTE_NORMAL handling in
pvfs was not correct. This should fix a xcopy bug on OS/2.
2007-10-10 13:07:29 -05:00
Andrew Tridgell
0b76d405a7 r4261: added the RAW_FILEINFO_EA_LIST trans2 qfileinfo and qpathinfo
level. Interestingly, this level did now show up on our trans2 scanner
previously as we didn't have the FLAGS2_EXTENDED_ATTRIBUTES bit set in
the client code. Now that we set that bit, new levels appear in
windows servers.
2007-10-10 13:07:29 -05:00
Andrew Tridgell
795897b64f r4247: two more places that need the unlink hook 2007-10-10 13:07:29 -05:00
Andrew Tridgell
3ac8401598 r4244: add more calls to pvfs_xattr_unlink_hook() on file/dir create, to try to beat race
conditions in the tdb xattr backend
2007-10-10 13:07:28 -05:00
Andrew Tridgell
b26828bef5 r4243: a sniff from kukks showed that the ea_set interface in trans2 setfileinfo allows
for multiple EAs to be set at once. This fixes all the ea code to allow for that.
2007-10-10 13:07:28 -05:00
Andrew Tridgell
0c927d912c r4242: added support for storing xattrs in a tdb. This allows all advanced NT
attributes (streams, EAs, NT ACLs, timestamps etc) to be used on
filesystems that don't support xattrs. It also allows for large
streams, although they are very inefficient.

I won't enable this by default, as I really wrote it as a way of
testing large stream support while still using ext3, but perhaps with
a bit more work this could be generally usable.

To enable this use:

   posix:eadb = /home/test/myeas.tdb
2007-10-10 13:07:28 -05:00
Andrew Tridgell
bc0209058b r4232: added server support for multi-part SMBtrans requests, while
maintaining the async nature of the server. This is done with a
SMBtrans request queue for partially completed requests.

The smb signing issues with this get a little tricky, but it now seems
to work fine
2007-10-10 13:07:28 -05:00
Andrew Tridgell
76bd647678 r4230: now that we set the FLAGS2_EXTENDED_ATTRIBUTES flag, we should mark
empty EAs as being of size 4, not size 0
2007-10-10 13:07:28 -05:00
Andrew Tridgell
ef502c4030 r4229: - added support for multi-part SMBtrans and SMBtrans2 requests in the
client code. This was essential to test the multi-part server code
  (which I will commit soon)

- when the request state is an error, ensure that req->status is not NT_STATUS_OK
2007-10-10 13:07:27 -05:00
Andrew Tridgell
5e13571e6b r4228: make sure the caller knows the packet is in error when a signing error occurs 2007-10-10 13:07:27 -05:00
Andrew Tridgell
e9e603208d r4227: index the privilege attribute to make lsa privilege calls efficient 2007-10-10 13:07:27 -05:00
Andrew Tridgell
c987125348 r4214: possibly fix the "no-EAs" bug from OS/2 2007-10-10 13:07:27 -05:00
Jelmer Vernooij
9fa25260d3 r4213: Store REG_SZ in UTF16, not the unix charset..
It is now possible to use the "Add..." button in the Security
tab of the File Properties Dialog box.
2007-10-10 13:07:27 -05:00
Jelmer Vernooij
cd9572b72e r4210: Add simple example of a registry hive LDIF file 2007-10-10 13:07:27 -05:00
Jelmer Vernooij
f3e0578280 r4209: Fix several smaller bugs
Add "predef" and "set" commands in regshell

Some of the remote calls from a Windows box work now.
2007-10-10 13:07:27 -05:00
Andrew Tridgell
bbf482e13a r4207: remove "lookupname" and "lookupsid", and instead have a single "lookup" command that
takes a name or sid.

I think in general its better to make smbclient automatically work out the type from
the format (I did the same with the privileges commands)
2007-10-10 13:07:26 -05:00
Andrew Tridgell
31ab04f790 r4206: fixed a status code check in lsa_LookupNames2 that could cause a segv 2007-10-10 13:07:26 -05:00
Andrew Tridgell
590e1a91bf r4205: fixed the default acl mapping from posix permissions to use the mapped
uid->sid and gid->sid
2007-10-10 13:07:26 -05:00
Jelmer Vernooij
8e2aa58abe r4204: Arguments to reg_del_key more like the RPC for more efficient usage
Fix small bug in regpatch
Fix segfault in regshell cmdline completion
Implement set_value and del_value in ldb backend
2007-10-10 13:07:26 -05:00
Stefan Metzmacher
983f74c365 r4203: the bind_info blob isn't a const.
here's the idl to parse it, because we don't want the
callers to manually de/encode this

metze
2007-10-10 13:07:26 -05:00
Andrew Tridgell
8764909c05 r4202: added smbclient commands "addprivileges" and "delprivileges" for
easily adding/removing privileges from users
2007-10-10 13:07:26 -05:00
Tim Potter
1d96717843 r4201: Remove duplicate const. 2007-10-10 13:07:26 -05:00
Tim Potter
0359bc408f r4200: Fix some more warnings. 2007-10-10 13:07:25 -05:00
Andrew Tridgell
9bd806b7a2 r4199: - added server side code for lsa_RemoveAccountRights (sharing code
with lsa_AddAccountRights)
2007-10-10 13:07:25 -05:00
Andrew Tridgell
ba87142586 r4198: - added server side code for lsa_AddAccountRights 2007-10-10 13:07:25 -05:00
Tim Potter
fcbfa888de r4197: Remove silly extra const. 2007-10-10 13:07:25 -05:00
Andrew Tridgell
3eee8b7c13 r4196: - added server side code for lsa_LookupPrivDisplayName
- added english descriptions of privileges. We should add other
  languages in the future.
2007-10-10 13:07:25 -05:00
Andrew Tridgell
7bddd47403 r4195: added IDL, test suite and server side code for lsa_LookupPrivValue 2007-10-10 13:07:25 -05:00
Andrew Tridgell
7107320332 r4194: added server side implementation of lsa_EnumPrivs 2007-10-10 13:07:24 -05:00
Andrew Tridgell
5088a6cbf7 r4193: added server side implementation of lsa_EnumAccountsWithUserRight 2007-10-10 13:07:24 -05:00
Andrew Tridgell
8a3f265050 r4192: added server side implementation of lsa_EnumAccountRights
the "privilege" command in smbclient now works against Samba4
2007-10-10 13:07:24 -05:00
Andrew Tridgell
0134d8e9cc r4183: expanded the RAW-MKDIR torture test to test creation of EA lists 2007-10-10 13:07:24 -05:00
Andrew Tridgell
7d981c29c2 r4182: fixed trans2 mkdir, allowing mkdir with an initial EA list 2007-10-10 13:07:23 -05:00
Stefan Metzmacher
3a6047bc47 r4181: use int32 for level
metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
00395ffcc3 r4180: use the same syntax as the other torture tests
metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
8373b2d4c7 r4179: - nicer code layout
- and disable DsReplicaSync by default it kill lsass.exe
  on my w2k box

metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
6411c00b3c r4178: the level is mostly singed not unsigned
metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
e624bb5288 r4177: add some more error codes
metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
ca610da1fc r4176: I just remeber that I have already implement STR_CONFORMANT
so use it in DsReplicaSync()

metze
2007-10-10 13:07:23 -05:00
Jelmer Vernooij
3538130bf5 r4175: InitiateSystemShutdownEx IDL and torture test 2007-10-10 13:07:22 -05:00
Stefan Metzmacher
79bdcabcc5 r4174: nicer debug output
metze
2007-10-10 13:07:22 -05:00
Andrew Tridgell
a56d95ad89 r4173: - new t2open code, that can cope with "create with EAs". Many thanks
to kukks on #samba-technical for the sniffs that allowed me to work
  this out

- much simpler ntvfs open generic mapping code

- added t2open create with EA torture test to RAW-OPEN test
2007-10-10 13:07:22 -05:00