summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher1-2/+1
metze
2008-12-10Make the LookupRid access check match LookupName untilJeremy Allison1-1/+1
we know the correct bits to use here. Jeremy.
2008-12-10Fix usrmgr opening a user object as non-root.Jeremy Allison1-1/+1
Jeremy.
2008-12-09s3-samr: a level 18 password set needs to set the pwdlastset as well.Günther Deschner1-0/+4
Guenther
2008-12-05s3-samr: fix samr_SetUserInfo level 18 server-side.Günther Deschner1-16/+46
Guenther
2008-12-05s3-samr: fix samr callers of samr_UserInfo18.Günther Deschner1-2/+4
Guenther
2008-12-05s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner1-2/+2
Guenther
2008-12-05s3-samr: fix init_samr_user_info2{1,3,5} callers.Günther Deschner1-1/+1
Guenther
2008-12-02s3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.Günther Deschner1-167/+37
Guenther
2008-12-02s3-samr: fix samr_SetUserInfo{2} level 23.Günther Deschner1-16/+21
Do not just start decoding/setting passwords when fields_present do not indicate there is a password to be set. Guenther
2008-12-02s3-samr: _samr_EnumDomainUsers always returns a sam array (even w/o users).Günther Deschner1-1/+1
Guenther
2008-12-02s3-samr: refuse do process UserSetInfo with 0 fields_present.Günther Deschner1-0/+12
Guenther
2008-12-02s3-samr: use samr_DomainServerState in client tools.Günther Deschner1-1/+1
Guenther
2008-12-01s3-samr: fix various potential memleaks in samr_SetUserInfo.Günther Deschner1-43/+2
Was there any reason why we did all these individual TALLOC_FREEs ? Guenther
2008-12-01s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.Günther Deschner1-78/+15
Guenther
2008-12-01s3-samr: modify logging in _samr_Connect2 so that it can be called from ↵Günther Deschner1-4/+16
other calls as well. Guenther
2008-11-27s3-samr: never allow to alter pwdlastset directly.Günther Deschner1-0/+16
Guenther
2008-11-27s3-samr: fix return code for invalid password sets in SetUserInfo.Günther Deschner1-4/+4
Guenther
2008-11-27s3-samr: fix return code for invalid name in _samr_LookupDomain.Günther Deschner1-0/+3
Guenther
2008-11-27s3-samr: avoid enumeration and user creation on builtin domain handle.Günther Deschner1-0/+10
Guenther
2008-11-27s3-samr: support samr_CreateUser as well.Günther Deschner1-10/+20
Guenther
2008-11-27s3-samr: support samr_QueryUserInfo2 as well.Günther Deschner1-10/+15
Guenther
2008-11-27s3-samr: add support for _samr_QueryUserInfo level 5.Günther Deschner1-0/+108
Guenther
2008-11-25s3-samr: fix _samr_LookupNames return code.Günther Deschner1-1/+10
Guenther
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke1-37/+37
2008-11-10s3-samr-idl: cleanup.Günther Deschner1-0/+3
Guenther
2008-10-31s3-samr: remove duplicate copies of Alias Object specific access rights.Günther Deschner1-5/+5
Guenther
2008-10-31s3-samr: remove duplicate copies of Group Object specific access rights.Günther Deschner1-5/+5
Guenther
2008-10-31s3-samr: remove duplicate copies of Domain Object specific access rights.Günther Deschner1-18/+18
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM user specific access rights.Günther Deschner1-13/+13
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM server specific access rights.Günther Deschner1-7/+7
Guenther
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-1/+3
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-24s3-samr-server: return NT_STATUS_NOT_SUPPORTED for group rename.Günther Deschner1-0/+3
Guenther
2008-10-24s3-samr-server: remove unused historic code.Günther Deschner1-60/+0
Guenther
2008-10-23s3-samr-server: unify callback convention: _samr_UserSetInfo.Günther Deschner1-34/+19
Guenther
2008-10-23s3-samr-server: unify callback convention: _samr_QueryDomainInfo.Günther Deschner1-32/+18
Guenther
2008-10-23s3-samr-server: fix return code in _samr_QueryDisplayInformation.Günther Deschner1-1/+1
Guenther
2008-10-23s3-samr-server: _samr_DeleteUser needs to wipe out the user_handle on success.Günther Deschner1-0/+2
Guenther
2008-10-22s3-samr-server: fix access check in _samr_QuerySecurity().Günther Deschner1-1/+1
Guenther
2008-10-21Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.Jeremy Allison1-5/+59
Jeremy.
2008-10-20Remove the requirement for ldap call made as root. Add in securityJeremy Allison1-4/+63
checks for all SAMR calls. Jeremy.
2008-10-20s3-samr-server: be consistent when reporting we do password complexity.Günther Deschner1-0/+4
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-14/+14
Guenther
2008-10-13Add data_blob_string_const_null() function that includes the terminatingJelmer Vernooij1-2/+2
null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes.
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-10/+9
Jeremy.
2008-06-26Now that we have p->server_info, use p->server_info->user_session_keyVolker Lendecke1-10/+12
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47)
2008-05-20Fix typo.Günther Deschner1-1/+1
Guenther (cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926) (This used to be commit 68d6b0053f3ce63747bc26a2bebb1fb0b46c8ca0)
2008-05-20Fix a valgrind error in _samr_LookupNamesVolker Lendecke1-5/+8
(cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d) (This used to be commit 89f87efa2394e99802ca23307e712fc5820a5fc6)
2008-05-16Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().Günther Deschner1-20/+139
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-04-04Fix _samr_GetUserPwInfo() (to return more then just zeros).Günther Deschner1-8/+45
Guenther (This used to be commit 624371ce32a7c0816963745059e743e5b3e92e2a)