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
Gerald Carter
939c3cb5d7
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)
2007-10-10 11:04:48 -05:00
Günther Deschner
624b1c2208
r8938: fix querydispinfo search semantics.
...
Just in case some uses rpcclient for code-testing...
Guenther
2007-10-10 11:00:21 -05:00
Volker Lendecke
61d40ac60d
r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
...
--enable-developer=yes?
Volker
2007-10-10 10:56:41 -05:00
Volker Lendecke
3493d9f383
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
...
statically.
Volker
2007-10-10 10:56:33 -05:00
Günther Deschner
f41f1437e7
r6117: Close handles after group-creation as well.
...
Guenther
2007-10-10 10:56:23 -05:00
Volker Lendecke
1a56a4fd3e
r6110: Close handles on user creation. This allows easy mass creation of users with
...
rpcclient.
Volker
2007-10-10 10:56:22 -05:00
Volker Lendecke
3a67865169
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
2007-10-10 10:56:20 -05:00
Volker Lendecke
03ec1bd9e5
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
2007-10-10 10:55:42 -05:00
Volker Lendecke
43dcf0f5cb
r5469: Fix error codes of samr_lookup_rids: There's also STATUS_SOME_UNMAPPED.
...
Thanks,
Volker
2007-10-10 10:55:42 -05:00
Günther Deschner
61ec0b4cf0
r5379: Build-Fix ( #2343 )
...
Guenther
2007-10-10 10:55:39 -05:00
Günther Deschner
6cdf3b97de
r5262: Fix server_role in the samr_query_dom_info calls. When we are a BDC we
...
should not say we are a PDC.
Guenther
2007-10-10 10:55:34 -05:00
Günther Deschner
30e808ca07
r4869: Display sam_user_info_7 in rpcclient.
...
Guenther
2007-10-10 10:55:05 -05:00
Günther Deschner
88572efdea
r4866: Add createdomgroup to rpcclient (needed to generate huge amounts of
...
groups when 'net rpc group add' is just to slow).
Guenther
2007-10-10 10:54:00 -05:00
Günther Deschner
92851def70
r4839: Allow to set acb_mask in rpcclient's enumdomusers (for debugging).
...
Guenther
2007-10-10 10:53:57 -05:00
Günther Deschner
e3bd2a22a5
r4336: Apply some other samba4 SAMR idl that is just too obvious. Don't hard
...
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
2007-10-10 10:53:44 -05:00
Günther Deschner
f9ab15a986
r4331: Implement SAMR query_dom_info-call info-level 8 server- and client-side,
...
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
2007-10-10 10:53:44 -05:00
Günther Deschner
d25f303f31
r4226: display infolevel 12 in query_dom_info.
...
Guenther
2007-10-10 10:53:39 -05:00
Volker Lendecke
40b208b252
r4224: Today is not my day ....
2007-10-10 10:53:39 -05:00
Jeremy Allison
620f2e608f
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Gerald Carter
2cbcc07b7b
r485: fix compile
2007-10-10 10:51:25 -05:00
Jim McDonough
1976843345
More sync between passdb on 3.0 and HEAD.
...
Replace unknown_3 with fields_present. Also causes rpc_samr structure field changes.
-