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
31ab04f790
r4206: fixed a status code check in lsa_LookupNames2 that could cause a segv
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
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
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
Jelmer Vernooij
a402142431
r4168: Implement QueryValue in the server
...
IDL for NotifyChangeKeyValue
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
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
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
Jelmer Vernooij
c169e86c1f
r4132: - Bunch of rather large fixes in the registry
...
- Added some README files
Not everything works yet, e.g. the EnumValue test appears to be broken.
2007-10-10 13:06:29 -05:00
Andrew Tridgell
1ddab01d2a
r4118: don't assume that "unsigned int" is the same type as uint32_t
2007-10-10 13:06:28 -05:00
Andrew Tridgell
f2f21033b6
r4117: fixed EnumValue in winreg server
2007-10-10 13:06:28 -05:00
Jelmer Vernooij
c1023db5e8
r4106: Add full name of two more hives
2007-10-10 13:06:27 -05:00
Stefan Metzmacher
893a8b8bca
r4096: move the samdb code to source/dsdb/
...
the idea is to have a directory service db layer
which will be used by the ldap server, samr server, drsuapi server
authentification...
I plan to make different implementations of this interface possible
- current default will be the current samdb code with sam.ldb
- a compat implementation for samba3 (if someone wants to write one)
- a new dsdb implementation which:
- understands naming contexts (directory parrtitions)
- do schema and acl checking checking
- maintain objectGUID, timestamps and USN number,
maybe linked attributes ('member' and 'memberOf' attributes)
- store metadata on a attribute=value combination...
metze
2007-10-10 13:06:26 -05:00
Stefan Metzmacher
4fd57d5e7c
r4087: - add idl and torture tests for drsuapi_DsReplicaGetInfo()
...
(NOTE: that the drsuapi_DsReplicaObjMetaData2 struct is not corrently parsed yet
and there're some unknown fields left in someother infotypes)
metze
2007-10-10 13:06:25 -05:00
Stefan Metzmacher
a7a6cea112
r4086: - make dcerpc_ndr_request_table_send() the default and rename it to just
...
dcerpc_ndr_request_send()
- this allows us to call dcerpc_log_packet() when we receive a packet we
can't parse correctly
metze
2007-10-10 13:06:25 -05:00
Stefan Metzmacher
ab6ec6b5f4
r4082: support alter_context requests
...
metze
2007-10-10 13:06:25 -05:00
Stefan Metzmacher
5d7d6f02cf
r4081: use clearer names
...
metze
2007-10-10 13:06:24 -05:00
Stefan Metzmacher
0c6d4246a4
r4075: implement RemoteTOD server function
...
metze
2007-10-10 13:06:23 -05:00
Andrew Tridgell
1235afa5fe
r4058: added a type safe version of smb_xmalloc()
2007-10-10 13:06:20 -05:00
Andrew Tridgell
eec698254f
r4055: fixed more places to use type safe allocation macros
2007-10-10 13:06:20 -05:00
Andrew Tridgell
80d15fa340
r4052: fixed a bunch of code to use the type safe _p allocation macros
2007-10-10 13:06:18 -05:00
Stefan Metzmacher
54398aa889
r4041: fix cut-n-paste typo
...
metze
2007-10-10 13:06:17 -05:00
Andrew Tridgell
0928b1f5b6
r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
2007-10-10 13:06:16 -05:00
Andrew Tridgell
44d9761962
r4012: split out the lsa lookup single name logic into a separate function
2007-10-10 13:06:14 -05:00
Stefan Metzmacher
2783bf393f
r4000: DATA_BLOB.data is uint8_t * not void * :-)
...
(thanks abartlet for telling me)
metze
2007-10-10 13:06:13 -05:00
Stefan Metzmacher
e896925ac0
r3999: - reply with the same DsBindInfo blob as w2k3 in the server function
...
- add idl for drsuapi_DsReplicaSync() not yet complete
- just return WERR_OK for the drsuapi_DsReplicaSync() server function
metze
2007-10-10 13:06:12 -05:00
Andrew Tridgell
677f701e71
r3994: - removed the unused reference count code in lsa server
...
- fixed the sid_index field in lsa LookupSids and LookupNames
2007-10-10 13:06:12 -05:00
Andrew Tridgell
e611405109
r3992: provide hooks for lsa to lookup sids allocated using the linear id->sid mapping
2007-10-10 13:06:11 -05:00
Andrew Tridgell
da12780bd9
r3980: added server side support for lsa_LookupNames() and lsa_LookupNames2()
2007-10-10 13:06:10 -05:00
Andrew Tridgell
a3f7f34b39
r3979: added server side code for lsa_LookupSids2() and fixed authority_name
...
return code to include our own domain.
editing of ACLs via the w2k3 GUI works nicely (and faster) with these changes
2007-10-10 13:06:10 -05:00
Andrew Tridgell
27e7fb3baf
r3977: fixed the lmPwdHash change in the rpc server (we were not fetching the
...
lm hash from the samdb, and thus not checking the verifier)
fixed the client side to calculate the lm verifier based on the nt
hash, not the lm hash (confirmed using w2k3)
2007-10-10 13:06:10 -05:00
Stefan Metzmacher
523e6acf4f
r3972: use GUID_* naming context and move GUID_* functions to one place
...
metze
2007-10-10 13:06:09 -05:00
Stefan Metzmacher
6440476f7f
r3968: fix compiler warnings
...
metze
2007-10-10 13:06:09 -05:00
Andrew Tridgell
8d4f0dc7d0
r3953: the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
...
hash, not the lm hash
2007-10-10 13:06:07 -05:00
Andrew Tridgell
f70e8f02d6
r3952: added validation of the lm and nt verifiers to our server side password change code.
2007-10-10 13:06:07 -05:00
Andrew Bartlett
90cd7b34cc
r3922: Add yet another NETLOGON RPC. This is another varient of SamLogon,
...
that works only on SCHANNEL secured connections (as it needs the
implicit credentials).
Fix some of the IDL.
Andrew Bartlett
2007-10-10 13:06:06 -05:00
Stefan Metzmacher
625826ad90
r3920: - it seem that we need to send a magic bind_guid in DsBind()
...
to make DsWriteAccountSpn() work
- add idl and torture test for DsWriteAccountSpn()
metze
2007-10-10 13:06:06 -05:00
Andrew Bartlett
d6a7ab57e7
r3917: A few more LSA RPCs found in my wanderings (for trusted domains, these
...
seem to be 'shortcut' RPCs, that just avoid an open/query pair).
Rename a few others to give us a slightly sensible pattern.
Andrew Bartlett
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
1ffabbaa66
r3914: add idl, torture test and simple server for netr_DrsGetDCNameEx2()
...
metze
2007-10-10 13:06:05 -05:00
Andrew Bartlett
174c077842
r3907: * Rename lsa_Name to lsa_String
...
* Add new IDL to LSA, to query information about trusted domains (for
cross-check with SamSync).
Andrew Bartlett
2007-10-10 13:06:04 -05:00
Andrew Bartlett
7094502fe0
r3904: * Add new LSA calls to open trusted domains
...
* Add new tests for ACCOUNTs in SamSync
* Clean up names in NETLOGON and LSA
* Verify Security Descriptors against LSA, as well as SamR
Andrew Bartlett
2007-10-10 13:06:03 -05:00