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
Stefan Metzmacher
be449f628f
r4172: commit a DsReplicaSync() torture test
...
this not make much sense as we don't send the correct nc_name
but it shows that doesn't get a NDR_FAULT anymore,
we just need handle the conformant strings in pidl
metze
2007-10-10 13:07:22 -05:00
Andrew Tridgell
a4ebef4f53
r4171: an attempt at better IDL for DsReplicaSync
2007-10-10 13:07:22 -05:00
Andrew Tridgell
e399834ae1
r4170: don't check array size for conformant arrays (they are checked separately)
2007-10-10 13:07:22 -05:00
Stefan Metzmacher
26a7f4cf5e
r4169: add descriptions about binding and unc strings to the
...
smbtorture --usage --help output
metze
2007-10-10 13:07:22 -05:00
Jelmer Vernooij
a402142431
r4168: Implement QueryValue in the server
...
IDL for NotifyChangeKeyValue
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
ad8d9e6f73
r4167: Fix CreateKey
...
Support CreateKey in the RPC registry backend
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
f6b9ec89af
r4166: More small API fixes, keep registry structs as small as possible.
...
Implement DelValue in the RPC server
2007-10-10 13:07:21 -05:00
Andrew Tridgell
6d471db13a
r4165: added a 100 element name cache to cope with some amount of seeking
...
back to filenames that have been deleted. This fixes the new os/2
delete test.
2007-10-10 13:07:21 -05:00
Andrew Tridgell
57204a1533
r4164: added a test that simulates a OS/2 file delete. This includes seek by
...
name back into a directory for files that no longer exist.
2007-10-10 13:07:21 -05:00
Andrew Tridgell
ae14905d95
r4163: 2nd attempt at fixing the OS/2 "del *" problem
2007-10-10 13:07:21 -05:00
Andrew Tridgell
7dfffe4ac0
r4162: this should fix the delete/findnext problem from OS/2 clients. Thanks
...
again to kukks for the excellent and detailed bug report
2007-10-10 13:07:21 -05:00
Andrew Tridgell
83ebffec32
r4161: two more fixes for NT4 clients. Bugs found by kukks.
...
- nt4 doesn't setup the pfc flags correctly for rpc packet types
other than normal requests, so don't check for fragmented packets
unless they are of type request
- ensure we give STATUS_BUFFER_OVERFLOW when we return a partial
fragment in SMBtrans requests on ncacn_np
2007-10-10 13:07:20 -05:00
Andrew Tridgell
e22de9734f
r4160: fixed the file_type in ntcreatex reply on a named pipe. NT4 requires this to be right.
2007-10-10 13:07:20 -05:00
Andrew Tridgell
13c7794e02
r4159: fixed error return for writebraw
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
a763bd8385
r4158: Fix IDL for InitiateShutdown and AbortShutdown and run both only
...
when dangerous tests are enabled.
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
72618dfe95
r4157: QueryMultipleValues IDL and torture test
...
Initialisation data pointer in QueryValue torture test
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
1c49de51ae
r4156: GetKeySecurity() IDL and torture test
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
c37d6f3c58
r4155: More destinction between hives and predefined keys
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
217e4e5841
r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXT
...
Hives and predefined keys (HKEY_*) are not necessarily the same thing.
2007-10-10 13:07:19 -05:00
Andrew Tridgell
3549039d0f
r4151: added privilege attribute handling on samdb.
...
pvfs will now honor some privileges on ACLs, and it will be quite easy
to add the checks for more privileges in the necessary places, by
making calls to sec_privilege_check().
2007-10-10 13:07:19 -05:00
Andrew Tridgell
0fa3764edc
r4150: - add fns for manipulating the privilege_mask in a security_token
...
- add the hooks in access_check that check the privilege bitmasks for
SEC_STD_DELETE and SEC_FLAG_SYSTEM_SECURITY
2007-10-10 13:07:19 -05:00