Günther Deschner
3656cb2e57
s3-samr: fix samr_SetUserInfo level 18 server-side.
...
Guenther
2008-12-05 16:35:22 +01:00
Günther Deschner
b8204ffd03
s3-samr: fix samr callers of samr_UserInfo18.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
7423b6a4b8
s3-samr: fix SAMR_FIELD_PASSWORD callers.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
eb906e1d2d
s3-samr: fix init_samr_user_info2{1,3,5} callers.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
9ccd1174f7
s3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.
...
Guenther
2008-12-02 10:08:11 +01:00
Günther Deschner
8e5cd8f81c
s3-samr: fix samr_SetUserInfo{2} level 23.
...
Do not just start decoding/setting passwords when fields_present
do not indicate there is a password to be set.
Guenther
2008-12-02 10:08:10 +01:00
Günther Deschner
931f16f622
s3-samr: _samr_EnumDomainUsers always returns a sam array (even w/o users).
...
Guenther
2008-12-02 00:53:27 +01:00
Günther Deschner
b07d3794d2
s3-samr: refuse do process UserSetInfo with 0 fields_present.
...
Guenther
2008-12-02 00:52:11 +01:00
Günther Deschner
798c4b3e6a
s3-samr: use samr_DomainServerState in client tools.
...
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
0b7430b054
s3-samr: fix various potential memleaks in samr_SetUserInfo.
...
Was there any reason why we did all these individual TALLOC_FREEs ?
Guenther
2008-12-01 22:30:17 +01:00
Günther Deschner
24fec0a8d7
s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.
...
Guenther
2008-12-01 21:56:28 +01:00
Günther Deschner
c7c591c19f
s3-samr: modify logging in _samr_Connect2 so that it can be called from other calls as well.
...
Guenther
2008-12-01 21:52:03 +01:00
Günther Deschner
6a627b440e
s3-samr: never allow to alter pwdlastset directly.
...
Guenther
2008-11-27 18:29:10 +01:00
Günther Deschner
257d99d0cd
s3-samr: fix return code for invalid password sets in SetUserInfo.
...
Guenther
2008-11-27 18:28:59 +01:00
Günther Deschner
e398eed15a
s3-samr: fix return code for invalid name in _samr_LookupDomain.
...
Guenther
2008-11-27 18:28:51 +01:00
Günther Deschner
d94f3e3db3
s3-samr: avoid enumeration and user creation on builtin domain handle.
...
Guenther
2008-11-27 18:28:43 +01:00
Günther Deschner
5f9524a956
s3-samr: support samr_CreateUser as well.
...
Guenther
2008-11-27 18:28:34 +01:00
Günther Deschner
9c2ed82d07
s3-samr: support samr_QueryUserInfo2 as well.
...
Guenther
2008-11-27 18:28:25 +01:00
Günther Deschner
bed91c0e46
s3-samr: add support for _samr_QueryUserInfo level 5.
...
Guenther
2008-11-27 18:27:36 +01:00
Günther Deschner
948218643a
s3-samr: fix _samr_LookupNames return code.
...
Guenther
2008-11-25 15:39:51 +01:00
Volker Lendecke
907f126d3e
Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!
2008-11-24 11:39:03 +01:00
Günther Deschner
a4c24b4d30
s3-samr-idl: cleanup.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
66993ab03a
s3-samr: remove duplicate copies of Alias Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
5e5edbe761
s3-samr: remove duplicate copies of Group Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
f126371f17
s3-samr: remove duplicate copies of Domain Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
29d27297d0
s3-samr: remove duplicate copies of SAM user specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
700cece822
s3-samr: remove duplicate copies of SAM server specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Jeremy Allison
8344e94574
Unify se_access_check with the S4 code. Will make
...
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Günther Deschner
3971492301
s3-samr-server: return NT_STATUS_NOT_SUPPORTED for group rename.
...
Guenther
2008-10-24 00:06:24 +02:00
Günther Deschner
2b364550a9
s3-samr-server: remove unused historic code.
...
Guenther
2008-10-24 00:06:16 +02:00
Günther Deschner
6e058e5977
s3-samr-server: unify callback convention: _samr_UserSetInfo.
...
Guenther
2008-10-23 11:46:18 +02:00
Günther Deschner
3566efede2
s3-samr-server: unify callback convention: _samr_QueryDomainInfo.
...
Guenther
2008-10-23 11:46:18 +02:00
Günther Deschner
29737ab5da
s3-samr-server: fix return code in _samr_QueryDisplayInformation.
...
Guenther
2008-10-23 11:46:18 +02:00
Günther Deschner
74a9a391aa
s3-samr-server: _samr_DeleteUser needs to wipe out the user_handle on success.
...
Guenther
2008-10-23 01:42:27 +02:00
Günther Deschner
f9c6313e66
s3-samr-server: fix access check in _samr_QuerySecurity().
...
Guenther
2008-10-22 23:17:02 +02:00
Jeremy Allison
4e9db0b100
Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.
...
Jeremy.
2008-10-21 18:05:48 -07:00
Jeremy Allison
f0b1a1bc9b
Remove the requirement for ldap call made as root. Add in security
...
checks for all SAMR calls.
Jeremy.
2008-10-20 16:51:37 -07:00
Günther Deschner
f3843e330f
s3-samr-server: be consistent when reporting we do password complexity.
...
Guenther
2008-10-20 20:16:03 +02:00
Günther Deschner
65dc1eeceb
s3: fix various samr callers.
...
Guenther
2008-10-15 17:11:27 +02:00
Jelmer Vernooij
aa982895e5
Add data_blob_string_const_null() function that includes the terminating
...
null byte and use it in Samba 3.
This matches the behaviour prior to my data_blob changes.
2008-10-13 05:20:26 +02:00
Jeremy Allison
e5692d4cbe
Remove SEC_ACCESS. It's a uint32_t.
...
Jeremy.
2008-10-09 09:49:03 -07:00
Volker Lendecke
747a580952
Now that we have p->server_info, use p->server_info->user_session_key
...
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47)
2008-06-26 13:13:23 +02:00
Günther Deschner
7aa839bba0
Fix typo.
...
Guenther
(cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926)
(This used to be commit 68d6b0053f3ce63747bc26a2bebb1fb0b46c8ca0)
2008-05-20 17:51:48 +02:00
Volker Lendecke
6a286a7bf4
Fix a valgrind error in _samr_LookupNames
...
(cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d)
(This used to be commit 89f87efa2394e99802ca23307e712fc5820a5fc6)
2008-05-20 17:51:38 +02:00
Günther Deschner
08971abdad
Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().
...
Citrix PM cannot use a Samba DC when having more then 900 groups as citrix
insists on calling _samr_GetDisplayEnumerationIndex() after receiving the first
900 groups via _samr_QueryDisplayInfo() to get the continuation index.
Guenther
(This used to be commit 1c4adc8dda68eae9839bdff843aadf8c98dd9e87)
2008-05-16 13:51:09 +02:00
Günther Deschner
8337291250
Fix _samr_GetUserPwInfo() (to return more then just zeros).
...
Guenther
(This used to be commit 624371ce32a7c0816963745059e743e5b3e92e2a)
2008-04-04 23:41:56 +02:00
Günther Deschner
8c9d6322de
Fix _samr_GetDomPwInfo (to return more then zeros).
...
Guenther
(This used to be commit 1cde9579f10ab8c43c25dfd6e5c658c7653f9a37)
2008-04-04 23:41:56 +02:00
Günther Deschner
edcbb657de
Fix build warning.
...
Guenther
(This used to be commit c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
2008-04-01 00:26:33 +02:00
Günther Deschner
4369c14a66
Re-add support for the samr parameters string.
...
(dialin settings, terminal server settings, etc.)
Guenther
(This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
2008-03-31 20:55:40 +02:00
Günther Deschner
e8775623bd
Add init_samr_parameters_string().
...
Guenther
(This used to be commit 8f6f0d1601cb93af51f8d493382cd707c3eb0cdf)
2008-03-31 20:55:40 +02:00