summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_passwd.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7204: Also fall back to different password set methods on WRITE_FAULT, asAndrew Bartlett1-1/+1
NT4 apparently returns this. Andrew Bartlett (This used to be commit 06b1416c3162a525eac9626957dd3e4adf1d257e)
2007-10-10r5941: Commit this patch much earlier than I would normally prefer, but ↵Andrew Bartlett1-2/+2
metze needs a working tree... The main volume of this patch was what I started working on today: - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context. - Uses sepereate inner loops for some of the DCE/RPC tests The other and more important part of this patch fixes issues surrounding the new credentials framwork: This makes the struct cli_credentials always a talloc() structure, rather than on the stack. Parts of the cli_credentials code already assumed this. There were other issues, particularly in the DCERPC over SMB handling, as well as little things that had to be tidied up before test_w2k3.sh would start to pass. Andrew Bartlett (This used to be commit 0453f9d05d2e336fba1f85dbf2718d01fa2bf778)
2007-10-10r5364: Rename string fields called 'domain' and 'name' to be 'domain_name'.Tim Potter1-1/+1
(This used to be commit 6749b9404d4e9876ecd964e038c608f05d2c0b69)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-1/+1
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4722: Start to add 'net join' to Samba4.Andrew Bartlett1-45/+1
Andrew Bartlett (This used to be commit a9b960609142e15ba5950eb1b22944eb6df18d9c)
2007-10-10r4721: Changes to libnet_passwd to take advantage of the new easier to callAndrew Bartlett1-198/+223
RPC client libs, and to make the fallback between the various SAMR levels easier to manage. I'm starting to enjoy the structure that libnet has actually, and I'm about to build 'net join' on that basis (and I didn't want to have to duplicate the password set code). Andrew Bartlett (This used to be commit f1dd179a50d2c9c81b90a621459c93b0d60e2609)
2007-10-10r4035: more effort on consistent naming of the access mask bits.Andrew Tridgell1-3/+3
This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and SEC_RIGHTS_FULL_CONTROL, which are just other names for SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names match the new naming conventions in security.idl Also added names for the generic->specific mappings for files are directories (This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)
2007-10-10r3724: Rename a number of structures, for better consistance between SAMR andAndrew Bartlett1-9/+9
NETLOGON. In particular, rename samr_Name to samr_String - given that many strings in this pipe are not 'names', the previous was just confusing. (I look forward to PIDL turning these into simple char * some day...). Also export out a few changes from testjoin.c to allow for how I have written the new RPC-SAMSYNC test. Andrew Bartlett (This used to be commit 9cd666bcfb1fc752a4717010a7c4f05131dc728e)
2007-10-10r3478: split out some more pieces of includes.hAndrew Tridgell1-0/+1
(This used to be commit 8e9212ecfc61c509f686363d8ec412ce54bc1c8d)
2007-10-10r3462: separate out the crypto includesAndrew Tridgell1-0/+1
(This used to be commit 3f75117db921e493bb77a5dc14b8ce91a6288f30)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell1-0/+1
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r2545: str_charnum -> strlen_m.Andrew Bartlett1-1/+1
These two functions do exactly the same thing, I'll be removing str_charnum shortly. Andrew Bartlett (This used to be commit 5eaa4c97488671a0b7ff539d4d392cbaa29fa489)
2007-10-10r2458: Rename policy handle parameters for the SAMR pipe. Parameters nowTim Potter1-10/+10
have the handle type implied by the parameter name. There are four types of handle: connect, domain, user and group handles. The various samr_Connect functions return a connect handle, and the samr_OpenFoo functions return a foo handle. There is one exception - the samr_{Get,Set}Security function can take any type of handle. Fix up all C callers. (This used to be commit 32f0f3154a8eb63de83145cbc8806b8906ccdc3e)
2007-10-10r2346: fix some minor stuffStefan Metzmacher1-1/+1
metze (This used to be commit 56e21d0ce29b13808bbbd2a6c0464948886d317d)
2007-10-10r2064: fix some error casesStefan Metzmacher1-1/+36
metze (This used to be commit 85ba7b4d60be3f771364aebc9c803da26d2c090b)
2007-10-10r2021: add password change fallback to SetUserInfo level 25,24,23Stefan Metzmacher1-0/+130
metze (This used to be commit d31405ff2f379e9627cc9ee3acaf61e2ccc0f6e4)
2007-10-10r1952: change the _RPC levels into _SAMRStefan Metzmacher1-96/+130
because we may have other rpc levels in future add more comments about what's going on check the rsult of samr_OpenUser metze (This used to be commit 741f95909b42eb55a251e5de991e5b3185714e3e)
2007-10-10r1950: implement libnet_SetPassword_rpc()Stefan Metzmacher1-2/+207
this currently tries only SetUserInfo26 the fallback is not yet done metze (This used to be commit af6b5673b05e7fc1c876a248f99bc71faeec9538)
2007-10-10r1947: fix cup & paste errorsStefan Metzmacher1-14/+18
metze (This used to be commit 1c72f30650655b03fb04a34188a959dfe917b5ec)
2007-10-10r1928: give up on NT_STATUS_PASSWORD_RESTRICTIONStefan Metzmacher1-0/+3
(NOTE: this code pass isn't called yet, because pidl mixes the NTSTATUS of transport and request layer, and will be fixed soon) metze (This used to be commit 84c06d9ab0366772f71be088c53da9618e2555fe)
2007-10-10r1926: fallback to other SAMR ChangePasswordUser levelsStefan Metzmacher1-5/+121
1. ChangePasswordUser3 2. ChangePasswordUser2 3. OemChangePasswordUser2 4. ChangePasswordUser (not implemented complete) metze (This used to be commit eb93d38de0dab0d0ad5adf8cfb69623bc35e942a)
2007-10-10r1919: paasword change basicly works now:-)Stefan Metzmacher1-5/+5
but we need to find the real pdc for the users domain and fallback to other levels metze (This used to be commit f1b9c1f3dd0fb927c065541da900ae43e0018a62)
2007-10-10r1878: implemet libnet_context_{init,destroy}Stefan Metzmacher1-1/+14
and implement libnet_Change_Password_generic() metze (This used to be commit d48050ae906ecf8d4f78c224042f8f9fe584ad39)
2007-10-10r1836: - as abartlet said to me, we need to contact the users domain pdcfor ↵Stefan Metzmacher1-26/+68
doing a password change - add start of libnet_SetPassword - use KRB5 and LDAP instead of ADS as ADS isn't a protocol - add start of lib_rpc_connect() metze (This used to be commit 05c40dca8ad1ab020aa75282da046f1dbce2a52a)
2007-10-10r1816: here's the initial idea of libnetStefan Metzmacher1-0/+117
metze (This used to be commit dcb3ea32da6d7cf93e6bdda9b839faf604ba3b6a)