summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-07Use rpccli_samr_GetGroupsForUser() all over the place.Günther Deschner1-9/+10
Guenther (This used to be commit d1c669920e88e7fecd13101c4ddfe45354c5ecdb)
2008-02-07Use rpccli_samr_QueryGroupInfo() in rpcclient.Günther Deschner1-44/+32
Guenther (This used to be commit 6a3b06291bf9c11c15e38d73bbdf6c2cbd12e4ab)
2008-02-07Let rpccli_samr_chgpasswd3 use rpccli_samr_ChangePasswordUser3 internally.Günther Deschner1-10/+16
Guenther (This used to be commit ffbfd19ad7065caf05688c5748178d30115d47f4)
2008-02-07Add cmd_samr_query_aliasinfo command to rpcclient.Günther Deschner1-0/+110
Guenther (This used to be commit ecc4e5fb3852a9966b5184482d573268d8bd0cd7)
2008-02-06Use rpccli_samr_QueryDomainInfo() in rpcclient.Günther Deschner1-69/+63
Guenther (This used to be commit ed16b2f63b532a7b1a3c227a6045326a2e57a344)
2008-02-05Use SAMR_CONNECT_W2K for samr_Connect4 in rpcclient.Günther Deschner1-1/+1
Guenther (This used to be commit c0ebdb555d0ef04d49bb88c312b52bd1b0398f82)
2008-02-05Use rpccli_samr_QueryGroupMember() all over the place.Günther Deschner1-8/+9
Guenther (This used to be commit 1793ed10df7f403b85a4e52c67cbfb277b23b30b)
2008-02-05Use rpccli_samr_GetAliasMembership() in winbindd and rpcclient.Günther Deschner1-13/+17
Guenther (This used to be commit 5c167162856fd1e13a3e04423cfc0cc936ae26b0)
2008-02-05Use rpccli_samr_LookupDomain() in rpcclient.Günther Deschner1-11/+14
Guenther (This used to be commit 2d4d052257d3a051b022f58da84d40019b74dd86)
2008-02-05Use rpccli_samr_GetMembersInAlias() in net and rpcclient.Günther Deschner1-6/+7
Guenther (This used to be commit 3f48f9e671698235a4152102cf73a694b94542e0)
2008-02-04Use rpccli_samr_Connect2() all over the place.Günther Deschner1-3/+5
Guenther (This used to be commit bdf8d562621e1a09bf83e2009dec24966e7fdf22)
2008-02-04Use rpccli_samr_Connect4() in rpcclient.Günther Deschner1-2/+6
Guenther (This used to be commit c05b5709e4943345f5d2a35fad5155c79650686d)
2008-02-02Use rpccli_samr_QuerySecurity() for rpcclient.Günther Deschner1-2/+4
Guenther (This used to be commit 845d9ea9f641ff58a9b16395697c72a3963bae52)
2008-02-01Use rpccli_samr_CreateUser2() all over the place.Günther Deschner1-10/+16
Guenther (This used to be commit 701af69118c9634c7dc0d5c10152ce776787694d)
2008-02-01Use rpccli_samr_CreateDomainGroup() in net and rpcclient.Günther Deschner1-12/+15
Guenther (This used to be commit 7b7b10adcaa94de3fed9b5e925eeee714ffd1c50)
2008-02-01Use rpccli_samr_CreateDomAlias() in net and rpcclient.Günther Deschner1-5/+10
Guenther (This used to be commit 1248ec89d2d9a400f892f828126ce4e862de642f)
2008-02-01Use rpccli_samr_OpenUser() all over the place.Günther Deschner1-19/+30
Guenther (This used to be commit da90eb7653554d242da83ed98adae35ced3a2938)
2008-02-01Use rpccli_samr_OpenAlias() in net and rpcclient.Günther Deschner1-8/+13
Guenther (This used to be commit f66facc0f82e3d4c470d584d8ab0494fcb4ff5a2)
2008-02-01Use rpccli_samr_OpenGroup() all over the place.Günther Deschner1-9/+15
Guenther (This used to be commit d019fc69a986937880121c2587d3fe37f995edae)
2008-02-01Use rpccli_samr_OpenDomain() all over the place.Günther Deschner1-90/+148
Guenther (This used to be commit e4e9d72724d547e1405b2ed4cec509d50ec88c8d)
2008-02-01Use rpccli_samr_DeleteUser() in net and rpcclient.Günther Deschner1-1/+2
Guenther (This used to be commit 5bd8f7067db8479ad4beb8e49d9106e43495ecec)
2008-02-01Use rpccli_samr_DeleteDomAlias() in net and rpcclient.Günther Deschner1-1/+2
Guenther (This used to be commit bbed3aed5175589787cb1b233ce4e81ecc0c81fe)
2008-02-01Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.Günther Deschner1-2/+3
Guenther (This used to be commit 8cc094ddb5c28c7378be6c655f3311ea6abb4f64)
2008-01-31Remove rpccli_samr_close and use pidl generated function instead.Günther Deschner1-66/+68
Guenther (This used to be commit 64f0889401855ab76953bfae5db4fe4df19ad8a5)
2008-01-25Remove rpccli_samr_get_dom_pwinfo() and rpccli_samr_get_usrdom_pwinfo().Günther Deschner1-21/+23
Guenther (This used to be commit 29690d18608ab2d694c23ed7656348c8c71f204e)
2008-01-25Trying to avoid defining new SAMR acct creation flags when we already have ↵Günther Deschner1-4/+5
them with different names. Matt, Jeremy, please check. Guenther (This used to be commit d4a9e46edf7336f673c001c559af96eb0ecf9f6f)
2008-01-23Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison1-4/+7
patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-17Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner1-10/+10
Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-09Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.Michael Adam1-2/+3
Michael (This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
2007-12-18Fix an error when accessing unallocated sid in error path.Michael Adam1-3/+3
Michael (This used to be commit 2a0585d3093265a499c9fef60d500059f79b4112)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-2/+2
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-11Replace "unknown" with access_mask when calling samr_CreateUser2().Günther Deschner1-3/+3
Guenther (This used to be commit cfc6e7a2e657ee55364b739d9fe0093e4f7c8b27)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-5/+5
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-143/+9
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-30/+30
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r24167: Fix Coverity ID 365Volker Lendecke1-10/+7
We checked argc>=3 some lines above (This used to be commit fa385e9f3c980756e428d89e73012cce895c3bf6)
2007-10-10r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.Volker Lendecke1-9/+6
(This used to be commit b876bca6bcdb091c4f4f11af3bd758c8ce4db50a)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison1-14/+25
Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10r22489: Add a deletedomgroup command to rpcclient (samr).Michael Adam1-0/+73
Corresponding to deletedomuser. Michael (This used to be commit 9775de56b89f00c77cc52e5d53d93502dc79483e)
2007-10-10r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison1-0/+1
Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10r21320: Display query_user info level 16 in rpcclient.Günther Deschner1-3/+14
Guenther (This used to be commit bc77622134e606b8a643454493ba316f84312d52)
2007-10-10r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.Günther Deschner1-0/+55
Guenther (This used to be commit 4036cb51692d3f12a8f56a412fa5b2ca830d005b)
2007-10-10r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison1-1/+3
we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy. (This used to be commit 0ffca7559e07500bd09a64b775e230d448ce5c24)
2007-10-10r19355: Add getdispenumindex2 wrapper for rpcclient.Günther Deschner1-12/+44
Guenther (This used to be commit 27c35848ebc6d72fd4fccbb6597b63787230f80c)
2007-10-10r19353: Add "timeout" command for rpcclient.Günther Deschner1-1/+1
Guenther (This used to be commit 4106a56d3f4edb2e07e876204743a1cb028c950a)
2007-10-10r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.Günther Deschner1-0/+6
Guenther (This used to be commit 37dd019e21cab2f0df314b0b741f79422fc10d1b)
2007-10-10r19013: Fix some 64-bit warnings.Volker Lendecke1-3/+3
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is being used uninitialized which I don't really know how to fix. Any hints? Volker (This used to be commit 4a5d11e194ebdfb6c21586d1cf902f8ed2478e45)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij1-1/+1
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)