summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+1
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16339: Fix Klocwork IDVolker Lendecke1-1/+12
277 278 (cmd_*) 485 487 488 (ldap.c) Volker (This used to be commit 5b1eba76b3ec5cb9b896a9a5641b4d83bdbdd4cf)
2007-10-10r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).Günther Deschner1-0/+62
Also return the hostname for the level 6 call (to be consistent with the server name in level 2). Guenther (This used to be commit 41b72e77ae70c96de4659af6b4b6bd842dd67981)
2007-10-10r14646: Adding samr querygroup infolevels 2 & 5.Günther Deschner1-12/+43
Guenther (This used to be commit 6c4fe819c69f281915ad0f4c3bde4dfb194aa33a)
2007-10-10r14579: Add REJECT_REASON_OTHER in the rpcclient chgpasswd3.Günther Deschner1-1/+2
Guenther (This used to be commit 9de3e9e6b26bebc580b771f9020fc7934e44d51c)
2007-10-10r14217: Fix Coverity Bug # 7Volker Lendecke1-1/+1
(This used to be commit b3cfa292cf204a87acde073e2f800123ee474e40)
2007-10-10r14216: Fix Coverity bug # 8Volker Lendecke1-1/+1
(This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)
2007-10-10r13864: Some cleanup and the samr set security object function client-side.Günther Deschner1-5/+9
Guenther (This used to be commit 0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd)
2007-10-10r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.Günther Deschner1-4/+4
* Fix a couple of related parsing issues. * in the info3 reply in a samlogon, return the ACB-flags (instead of returning zero) Guenther (This used to be commit 5b89e8bc24f0fdc8b52d5c9e849aba723df34ea7)
2007-10-10r13523: Fix indent.Günther Deschner1-13/+13
Guenther (This used to be commit 85435bf96114679253551a3e6c5db046b8320611)
2007-10-10r13522: Add SAMR_GET_USRDOM_PWINFO client-side.Günther Deschner1-39/+81
Guenther (This used to be commit 290a581b7567eab82b18fbadae9aa2ab29e95069)
2007-10-10r13448: Fix the build (again).Günther Deschner1-1/+1
Guenther (This used to be commit 7eacb47660fdb4b0100a778062623ad74b755f34)
2007-10-10r13442: Implement samr_chgpasswd_user3 server-side.Günther Deschner1-0/+77
Guenther (This used to be commit f60eddc0a4dfe623e5f115533a62c03810fd5f38)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-0/+137
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r12935: After discussion with Volker fix bug #3397 using a variant of the ↵Alexander Bokovoy1-0/+11
patch by Alex Deiter (tiamat@komi.mts.ru). Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003 on a member of a Samba domain. Also added support for this level in rpcclient. The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter. Jerry, we need this in 3.0.21b. (This used to be commit 93461646ce2ad6e2f8b11d40ce98722d56a83b43)
2007-10-10r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the roleGünther Deschner1-21/+0
translation elsewhere. Guenther (This used to be commit 6c4a6da3dc7cecce09890a0da7d97b9d1bb47827)
2007-10-10r11998: Add lookupname to rpcclient query_user as a fallback, we now accept ↵Volker Lendecke1-1/+22
both rid and username. Volker (This used to be commit 8fefafcbb8dc774c7cee2062b13a2790bfc3e5c8)
2007-10-10r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's whatGünther Deschner1-7/+25
it is. (SAM_UNK_INFO_1 should get a better name as well). Guenther (This used to be commit d94aaeb625c39b6205fe61c274aed57b1399bafc)
2007-10-10r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels ↵Volker Lendecke1-8/+15
a bit wrong, but so far we don't have proper multi-domain support in passdb yet... Volker (This used to be commit c917cfc320f0250d23fda3525a7632bc01643707)
2007-10-10r11856: Replace unknown1 with group_attr.Günther Deschner1-1/+14
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ? Guenther (This used to be commit 3282c7c458d390547fbaca44821eff376e8f9aaa)
2007-10-10r11852: Fill in samr_get_dom_pwinfo based on Samba4.Günther Deschner1-4/+23
Guenther (This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-1/+1
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-112/+145
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r8938: fix querydispinfo search semantics.Günther Deschner1-3/+3
Just in case some uses rpcclient for code-testing... Guenther (This used to be commit 624b1c220801834820a605274b1abce883597403)
2007-10-10r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that forVolker Lendecke1-5/+5
--enable-developer=yes? Volker (This used to be commit 61d40ac60dd9c8c9bbcf92e4fc57fe1d706bc721)
2007-10-10r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke1-12/+0
initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
2007-10-10r6117: Close handles after group-creation as well.Günther Deschner1-0/+9
Guenther (This used to be commit f41f1437e7682ecd7e381357fa2acc74ad970fe7)
2007-10-10r6110: Close handles on user creation. This allows easy mass creation of ↵Volker Lendecke1-0/+9
users with rpcclient. Volker (This used to be commit 1a56a4fd3e09361e44c8ff4666bd6091db0b945d)
2007-10-10r6080: Port some of the non-critical changes from HEAD to 3_0. The main one ↵Volker Lendecke1-18/+36
is the change in pdb_enum_alias_memberships to match samr.idl a bit closer. Volker (This used to be commit 3a6786516957d9f67af6d53a3167c88aa272972f)
2007-10-10r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 ↵Volker Lendecke1-3/+1
rejects everything but 1000 here, so there's no point in exposing that to the caller. Thanks, Volker (This used to be commit 03ec1bd9e54b065c0494bc57a3d78ac0ae28e234)
2007-10-10r5469: Fix error codes of samr_lookup_rids: There's also STATUS_SOME_UNMAPPED.Volker Lendecke1-1/+2
Thanks, Volker (This used to be commit 43dcf0f5cb5dc2dd37ab3cdc2905970d9cc50ba4)
2007-10-10r5379: Build-Fix (#2343)Günther Deschner1-1/+1
Guenther (This used to be commit 61ec0b4cf002cfb43ac137bf3e8f8b4877f25e50)
2007-10-10r5262: Fix server_role in the samr_query_dom_info calls. When we are a BDC weGünther Deschner1-3/+32
should not say we are a PDC. Guenther (This used to be commit 6cdf3b97de2c28ac92f972621b0ce04c1c80cea5)
2007-10-10r4869: Display sam_user_info_7 in rpcclient.Günther Deschner1-1/+22
Guenther (This used to be commit 30e808ca07bec66d5ecd81cc8c86bb4a98874bc4)
2007-10-10r4866: Add createdomgroup to rpcclient (needed to generate huge amounts ofGünther Deschner1-0/+52
groups when 'net rpc group add' is just to slow). Guenther (This used to be commit 88572efdea1bfd32478b33564a85485222731901)
2007-10-10r4839: Allow to set acb_mask in rpcclient's enumdomusers (for debugging).Günther Deschner1-2/+5
Guenther (This used to be commit 92851def70914af1aa501857c6346ca6ae6fc010)
2007-10-10r4336: Apply some other samba4 SAMR idl that is just too obvious. Don't hardGünther Deschner1-3/+3
set the value "forcibly disconnect remote users from server when logon hours expire" to "no", instead take the value from our account-policy storage. Guenther (This used to be commit e3bd2a22a5cebc4adf6910d3ec31bc6fada8cd35)
2007-10-10r4331: Implement SAMR query_dom_info-call info-level 8 server- and client-side,Günther Deschner1-2/+12
based on samba4-idl. This saves us an enormous amount of totally unnecessary ldap-traffic when several hundreds of winbind-daemons query a Samba3 DC just to get the fake SAM-sequence-number (time(NULL)) by enumerating all users, all groups and all aliases when query-dom-info level 2 is used. Note that we apparently never get the sequence number right (we parse a uint32, although it's a uint64, at least in samba4 idl). For the time being, I would propose to stay with that behaviour. Guenther (This used to be commit f9ab15a986626581000d4b93961184c501f36b93)
2007-10-10r4226: display infolevel 12 in query_dom_info.Günther Deschner1-0/+10
Guenther (This used to be commit d25f303f317ef6ec96799d396ca65ac500cae0ae)
2007-10-10r4224: Today is not my day ....Volker Lendecke1-1/+3
(This used to be commit 40b208b25212f84faeb7d54b7dc0dbb9f925b651)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-2/+2
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10r485: fix compileGerald Carter1-3/+2
(This used to be commit 2cbcc07b7b1b78b1bed95bfd8b8fc34016553201)
2004-02-12More sync between passdb on 3.0 and HEAD.Jim McDonough1-1/+1
Replace unknown_3 with fields_present. Also causes rpc_samr structure field changes. (This used to be commit 1976843345efb6ca4f9cebd964a61acd8ae11d41)
2003-09-18The "unknown_5" 32 bit field in the user structs is actually 2 16-bitJeremy Allison1-1/+2
fields, bad_password_count and logon_count. Ensure this is stored/fetched in the various SAMs. As it replaces the unknown_5 field this fits exactly into the tdb SAM without any binary problems. It also is added to the LDAP SAM as two extra attributes. It breaks compatibility with the experimental SAMs xml and mysql. The maintainers of these SAMs must fix them so upgrades like this can be done transparently. I will insist on the "experimental" status until this is solved. Jeremy. (This used to be commit cd7bd8c2daff3293d48f3376a7c5a708a140fd94)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter1-1/+1
to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-03Removed strupper/strlower macros that automatically map to ↵Jeremy Allison1-12/+12
strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
2003-04-14Merge of samr lookup domain rpc client call from HEAD.Tim Potter1-0/+44
(This used to be commit 5b1807dddf0e4fb9fcaedcfe6f67dfd78fe117bb)
2003-03-18Merge of waider's rpcclient return type patch.Tim Potter1-20/+20
(This used to be commit fb91bfa7a28f548dcc549f7e09805e4485c83538)
2003-03-18Merge of enumdomusers rpcclient command.Tim Potter1-0/+75
(This used to be commit 8cabdd635df2455d9b25604f2ea0fb85efa067e2)
2003-03-11Patch from Ronan Waide:Martin Pool1-1/+1
> when doing "enumdomusers", rpcclient prints each one preceded by the > word "group" instead of "user" (This used to be commit 0e9a2f41df932585bbff2a1a53d3dadc9a3dac62)