Günther Deschner
f7100156a7
Finally enable pidl generated SAMR & NETLOGON headers and clients.
...
Guenther
2008-01-17 16:54:46 +01:00
Michael Adam
6b2b9a60ef
Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.
...
Michael
2008-01-09 01:47:10 +01:00
Michael Adam
2a0585d309
Fix an error when accessing unallocated sid in error path.
...
Michael
2007-12-18 16:33:35 +01:00
Volker Lendecke
eb523ba776
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
2007-12-15 22:47:30 +01:00
Günther Deschner
cfc6e7a2e6
Replace "unknown" with access_mask when calling samr_CreateUser2().
...
Guenther
2007-12-11 15:26:09 +01:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
5c6c8e1fe9
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
2007-10-10 15:34:30 -05:00
Michael Adam
9a28be220d
r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
...
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
2007-10-10 12:30:58 -05:00
Volker Lendecke
fa385e9f3c
r24167: Fix Coverity ID 365
...
We checked argc>=3 some lines above
2007-10-10 12:29:17 -05:00
Volker Lendecke
b876bca6bc
r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
2007-10-10 12:29:01 -05:00
Andrew Tridgell
b0132e94fc
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
8968808c3b
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
2007-10-10 12:19:49 -05:00
Michael Adam
9775de56b8
r22489: Add a deletedomgroup command to rpcclient (samr).
...
Corresponding to deletedomuser.
Michael
2007-10-10 12:19:38 -05:00
Jeremy Allison
df07a662e3
r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
...
Patch from Zack Kirsch <zack.kirsch@isilon.com >.
Jeremy.
2007-10-10 12:18:16 -05:00
Günther Deschner
bc77622134
r21320: Display query_user info level 16 in rpcclient.
...
Guenther
2007-10-10 12:17:56 -05:00
Günther Deschner
4036cb5169
r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
...
Guenther
2007-10-10 12:17:40 -05:00
Jeremy Allison
0ffca7559e
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.
2007-10-10 12:16:24 -05:00
Günther Deschner
27c35848eb
r19355: Add getdispenumindex2 wrapper for rpcclient.
...
Guenther
2007-10-10 12:15:31 -05:00
Günther Deschner
4106a56d3f
r19353: Add "timeout" command for rpcclient.
...
Guenther
2007-10-10 12:15:30 -05:00
Günther Deschner
37dd019e21
r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.
...
Guenther
2007-10-10 12:15:29 -05:00
Volker Lendecke
4a5d11e194
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
2007-10-10 12:15:02 -05:00
Jelmer Vernooij
b41c52b9db
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.
2007-10-10 12:00:54 -05:00
Günther Deschner
fccaff3713
r18732: Fix build warning as pointed out by Volker.
...
Guenther
2007-10-10 12:00:53 -05:00
Jim McDonough
f3ff074046
r18702: re-enable non-decimal specification of rid
2007-10-10 12:00:49 -05:00
Günther Deschner
bd546edc48
r18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.
...
Guenther
2007-10-10 12:00:46 -05:00
Günther Deschner
1a307954e5
r18619: Add rpcclient helper for samr_querydispinfo2|3 for testing.
...
Guenther
2007-10-10 11:52:00 -05:00
Jelmer Vernooij
1115745cae
r18188: merge 3.0-libndr branch
2007-10-10 11:43:56 -05:00
Jeremy Allison
9dafb7f48c
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.
2007-10-10 11:19:14 -05:00
Volker Lendecke
5b1eba76b3
r16339: Fix Klocwork ID
...
277 278 (cmd_*)
485 487 488 (ldap.c)
Volker
2007-10-10 11:17:36 -05:00
Günther Deschner
41b72e77ae
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
2007-10-10 11:16:44 -05:00
Günther Deschner
6c4fe819c6
r14646: Adding samr querygroup infolevels 2 & 5.
...
Guenther
2007-10-10 11:15:42 -05:00
Günther Deschner
9de3e9e6b2
r14579: Add REJECT_REASON_OTHER in the rpcclient chgpasswd3.
...
Guenther
2007-10-10 11:15:38 -05:00
Volker Lendecke
b3cfa292cf
r14217: Fix Coverity Bug # 7
2007-10-10 11:15:17 -05:00
Volker Lendecke
e4c9cba2f9
r14216: Fix Coverity bug # 8
2007-10-10 11:15:17 -05:00
Günther Deschner
0ae3fddf95
r13864: Some cleanup and the samr set security object function client-side.
...
Guenther
2007-10-10 11:10:57 -05:00
Günther Deschner
5b89e8bc24
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
2007-10-10 11:10:25 -05:00
Günther Deschner
85435bf961
r13523: Fix indent.
...
Guenther
2007-10-10 11:10:09 -05:00
Günther Deschner
290a581b75
r13522: Add SAMR_GET_USRDOM_PWINFO client-side.
...
Guenther
2007-10-10 11:10:09 -05:00
Günther Deschner
7eacb47660
r13448: Fix the build (again).
...
Guenther
2007-10-10 11:10:03 -05:00
Günther Deschner
f60eddc0a4
r13442: Implement samr_chgpasswd_user3 server-side.
...
Guenther
2007-10-10 11:10:03 -05:00
Gerald Carter
17e63ac4ed
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Alexander Bokovoy
93461646ce
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.
2007-10-10 11:06:08 -05:00
Günther Deschner
6c4a6da3dc
r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
...
translation elsewhere.
Guenther
2007-10-10 11:05:55 -05:00
Volker Lendecke
8fefafcbb8
r11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
...
and username.
Volker
2007-10-10 11:05:41 -05:00
Günther Deschner
d94aaeb625
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
2007-10-10 11:05:40 -05:00
Volker Lendecke
c917cfc320
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
2007-10-10 11:05:36 -05:00
Günther Deschner
3282c7c458
r11856: Replace unknown1 with group_attr.
...
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
a8bc4bc902
r11852: Fill in samr_get_dom_pwinfo based on Samba4.
...
Guenther
2007-10-10 11:05:30 -05:00
Jeremy Allison
d720867a78
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
...
x86_64 box.
Jeremy.
2007-10-10 11:05:02 -05:00