Volker Lendecke
87165a81d9
r24167: Fix Coverity ID 365
...
We checked argc>=3 some lines above
(This used to be commit fa385e9f3c980756e428d89e73012cce895c3bf6)
2007-10-10 12:29:17 -05:00
Volker Lendecke
d5ca533043
r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
...
(This used to be commit b876bca6bcdb091c4f4f11af3bd758c8ce4db50a)
2007-10-10 12:29:01 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Jeremy Allison
be8b0685a5
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
(This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10 12:19:49 -05:00
Michael Adam
992fac30a5
r22489: Add a deletedomgroup command to rpcclient (samr).
...
Corresponding to deletedomuser.
Michael
(This used to be commit 9775de56b89f00c77cc52e5d53d93502dc79483e)
2007-10-10 12:19:38 -05:00
Jeremy Allison
8e00e9d7a6
r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
...
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
(This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10 12:18:16 -05:00
Günther Deschner
9918e74984
r21320: Display query_user info level 16 in rpcclient.
...
Guenther
(This used to be commit bc77622134e606b8a643454493ba316f84312d52)
2007-10-10 12:17:56 -05:00
Günther Deschner
52b5ca933b
r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
...
Guenther
(This used to be commit 4036cb51692d3f12a8f56a412fa5b2ca830d005b)
2007-10-10 12:17:40 -05:00
Jeremy Allison
63609fbb04
r20090: Fix a class of bugs found by James Peach. Ensure
...
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-10 12:16:24 -05:00
Günther Deschner
dbcb4b1266
r19355: Add getdispenumindex2 wrapper for rpcclient.
...
Guenther
(This used to be commit 27c35848ebc6d72fd4fccbb6597b63787230f80c)
2007-10-10 12:15:31 -05:00
Günther Deschner
fb183ebd92
r19353: Add "timeout" command for rpcclient.
...
Guenther
(This used to be commit 4106a56d3f4edb2e07e876204743a1cb028c950a)
2007-10-10 12:15:30 -05:00
Günther Deschner
258f7b50dc
r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.
...
Guenther
(This used to be commit 37dd019e21cab2f0df314b0b741f79422fc10d1b)
2007-10-10 12:15:29 -05:00
Volker Lendecke
bb5c820542
r19013: Fix some 64-bit warnings.
...
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-10 12:15:02 -05:00
Jelmer Vernooij
4db7642caa
r18745: Use the Samba4 data structures for security descriptors and security descriptor
...
buffers.
Make security access masks simply a uint32 rather than a structure
with a uint32 in it.
(This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10 12:00:54 -05:00
Günther Deschner
5cadb91622
r18732: Fix build warning as pointed out by Volker.
...
Guenther
(This used to be commit fccaff37132de499002b9be484055a4fbf722d0d)
2007-10-10 12:00:53 -05:00
Jim McDonough
47bb2e1839
r18702: re-enable non-decimal specification of rid
...
(This used to be commit f3ff07404650e4b9846367ba981764b1a879bca9)
2007-10-10 12:00:49 -05:00
Günther Deschner
5864fb9fc5
r18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.
...
Guenther
(This used to be commit bd546edc482d42c6d783f474eeffa8a8086efd83)
2007-10-10 12:00:46 -05:00
Günther Deschner
a812e2d7db
r18619: Add rpcclient helper for samr_querydispinfo2|3 for testing.
...
Guenther
(This used to be commit 1a307954e5ddc1441524eb6d22258be387cca9d4)
2007-10-10 11:52:00 -05:00
Jelmer Vernooij
995205fc60
r18188: merge 3.0-libndr branch
...
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10 11:43:56 -05:00
Jeremy Allison
fbdcf2663b
r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
...
to do the upper layer directories but this is what
everyone is waiting for....
Jeremy.
(This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10 11:19:14 -05:00
Volker Lendecke
8961048d24
r16339: Fix Klocwork ID
...
277 278 (cmd_*)
485 487 488 (ldap.c)
Volker
(This used to be commit 5b1eba76b3ec5cb9b896a9a5641b4d83bdbdd4cf)
2007-10-10 11:17:36 -05:00
Günther Deschner
0fe21ac560
r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).
...
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-10 11:16:44 -05:00
Günther Deschner
20204ab040
r14646: Adding samr querygroup infolevels 2 & 5.
...
Guenther
(This used to be commit 6c4fe819c69f281915ad0f4c3bde4dfb194aa33a)
2007-10-10 11:15:42 -05:00
Günther Deschner
736ba57efe
r14579: Add REJECT_REASON_OTHER in the rpcclient chgpasswd3.
...
Guenther
(This used to be commit 9de3e9e6b26bebc580b771f9020fc7934e44d51c)
2007-10-10 11:15:38 -05:00
Volker Lendecke
e6f82d5c36
r14217: Fix Coverity Bug # 7
...
(This used to be commit b3cfa292cf204a87acde073e2f800123ee474e40)
2007-10-10 11:15:17 -05:00
Volker Lendecke
0fcd3e1095
r14216: Fix Coverity bug # 8
...
(This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)
2007-10-10 11:15:17 -05:00
Günther Deschner
9f2e29799e
r13864: Some cleanup and the samr set security object function client-side.
...
Guenther
(This used to be commit 0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd)
2007-10-10 11:10:57 -05:00
Günther Deschner
e54786b535
r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
...
* 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-10 11:10:25 -05:00
Günther Deschner
ee078e61a6
r13523: Fix indent.
...
Guenther
(This used to be commit 85435bf96114679253551a3e6c5db046b8320611)
2007-10-10 11:10:09 -05:00
Günther Deschner
6a6f2463f6
r13522: Add SAMR_GET_USRDOM_PWINFO client-side.
...
Guenther
(This used to be commit 290a581b7567eab82b18fbadae9aa2ab29e95069)
2007-10-10 11:10:09 -05:00
Günther Deschner
8675ab8787
r13448: Fix the build (again).
...
Guenther
(This used to be commit 7eacb47660fdb4b0100a778062623ad74b755f34)
2007-10-10 11:10:03 -05:00
Günther Deschner
e83c7d0141
r13442: Implement samr_chgpasswd_user3 server-side.
...
Guenther
(This used to be commit f60eddc0a4dfe623e5f115533a62c03810fd5f38)
2007-10-10 11:10:03 -05:00
Gerald Carter
0af1500fc0
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10 11:06:23 -05:00
Alexander Bokovoy
a02415bf36
r12935: After discussion with Volker fix bug #3397 using a variant of the 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-10 11:06:08 -05:00
Günther Deschner
107fe91d2b
r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
...
translation elsewhere.
Guenther
(This used to be commit 6c4a6da3dc7cecce09890a0da7d97b9d1bb47827)
2007-10-10 11:05:55 -05:00
Volker Lendecke
e30b176ea3
r11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
...
and username.
Volker
(This used to be commit 8fefafcbb8dc774c7cee2062b13a2790bfc3e5c8)
2007-10-10 11:05:41 -05:00
Günther Deschner
6ffd82ea77
r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's what
...
it is. (SAM_UNK_INFO_1 should get a better name as well).
Guenther
(This used to be commit d94aaeb625c39b6205fe61c274aed57b1399bafc)
2007-10-10 11:05:40 -05:00
Volker Lendecke
10bc204efb
r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels 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-10 11:05:36 -05:00
Günther Deschner
2770e98aec
r11856: Replace unknown1 with group_attr.
...
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?
Guenther
(This used to be commit 3282c7c458d390547fbaca44821eff376e8f9aaa)
2007-10-10 11:05:30 -05:00
Günther Deschner
e09cc27d3b
r11852: Fill in samr_get_dom_pwinfo based on Samba4.
...
Guenther
(This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
2007-10-10 11:05:30 -05:00
Jeremy Allison
8d7c886671
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
...
x86_64 box.
Jeremy.
(This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10 11:05:02 -05:00
Gerald Carter
54abd2aa66
r10656: BIG merge from trunk. Features not copied over
...
* \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-10 11:04:48 -05:00
Günther Deschner
7715c33ab1
r8938: fix querydispinfo search semantics.
...
Just in case some uses rpcclient for code-testing...
Guenther
(This used to be commit 624b1c220801834820a605274b1abce883597403)
2007-10-10 11:00:21 -05:00
Volker Lendecke
2e0cac8e3e
r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
...
--enable-developer=yes?
Volker
(This used to be commit 61d40ac60dd9c8c9bbcf92e4fc57fe1d706bc721)
2007-10-10 10:56:41 -05:00
Volker Lendecke
83e11ba86c
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
...
statically.
Volker
(This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
2007-10-10 10:56:33 -05:00
Günther Deschner
acd9ef30f3
r6117: Close handles after group-creation as well.
...
Guenther
(This used to be commit f41f1437e7682ecd7e381357fa2acc74ad970fe7)
2007-10-10 10:56:23 -05:00
Volker Lendecke
be70aa7614
r6110: Close handles on user creation. This allows easy mass creation of users with
...
rpcclient.
Volker
(This used to be commit 1a56a4fd3e09361e44c8ff4666bd6091db0b945d)
2007-10-10 10:56:22 -05:00
Volker Lendecke
e84ead0cfd
r6080: Port some of the non-critical changes from HEAD to 3_0. The main one is the
...
change in pdb_enum_alias_memberships to match samr.idl a bit closer.
Volker
(This used to be commit 3a6786516957d9f67af6d53a3167c88aa272972f)
2007-10-10 10:56:20 -05:00
Volker Lendecke
dc0ec44483
r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 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-10 10:55:42 -05:00