Joseph Sutton
1bb5cfef87
s4:libnet: Fix code spelling
...
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-11 02:42:41 +00:00
Andreas Schneider
37664f4ce7
s4:libnet: Fix code spelling
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-08-14 21:45:29 +00:00
Stefan Metzmacher
1c6a2f8bca
s4:libnet: let libnet_rpc_groupadd_send() take tevent_context/dcerpc_binding_handle
...
This avoids usage/dereferencing 'struct dcerpc_pipe'.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2014-01-16 16:22:51 +01:00
Stefan Metzmacher
0b3b0d225f
s4:libnet: let libnet_rpc_groupinfo_send() take tevent_context/dcerpc_binding_handle
...
This avoids usage/dereferencing 'struct dcerpc_pipe'.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2014-01-16 16:22:51 +01:00
Andrew Bartlett
566f066a8d
s4-libnet: Add mem_ctx to libnet_rpc_groupadd calls (bug #8889 )
2012-04-30 13:08:28 +02:00
Andrew Bartlett
081e7909fc
s4-libnet: Add mem_ctx to libnet_rpc_groupinfo calls (bug #8889 )
2012-04-30 13:08:28 +02:00
Andrew Bartlett
74682826d9
s4-libnet: Add mem_ctx to libnet_DomainOpen calls (bug #8889 )
2012-04-30 13:08:28 +02:00
Andrew Bartlett
5960b7b2a4
s4-libnet Always return after composite_error()
...
These instances should not cause a problem, but make it easier to audit for
this kind of problem in the future with grep.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr 23 14:29:45 CEST 2012 on sn-devel-104
2012-04-23 14:29:44 +02:00
Andrew Bartlett
bb3d983f5b
s4-libnet: Fix segfault shown by wbinfo --group-info=administrator
...
The issue was that after the LookupNames call indicated that this was
not a group, the call paths diverged, with both sucess and failure
paths running.
Andrew Bartlett
2012-04-23 06:12:09 +02:00
Andrew Bartlett
9c11c0cde0
s4-libnet: Remove set but unused variables
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Mar 1 13:40:12 CET 2012 on sn-devel-104
2012-03-01 13:40:11 +01:00
Andrew Bartlett
1a5eafba13
s4-libnet: Move to talloc_get_type_abort()
...
The NULL pointer dereference from talloc_get_type() might be free, but the
information on the actual and expected types from talloc_get_type_abort()
is priceless! :-)
Andrew Bartlett
2012-03-01 22:04:46 +11:00
Matthias Dieter Wallnöfer
ab3e20b82f
s4:libnet - free the "c" context also on error conditions
...
(and if it's NULL then "talloc_free" does ignore it)
2010-08-14 18:48:20 +02:00
Stefan Metzmacher
1ea4215e56
s4:libnet_GroupList: allocate children strings on the correct talloc parent
...
Otherwise the _recv() function won't move the children strings to the
callers memory context and let the callers crash.
metze
2010-07-10 09:35:02 +02:00
Matthias Dieter Wallnöfer
b0bba4003e
s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operations
2010-07-04 22:05:17 +02:00
Stefan Metzmacher
eae3436320
s4:libnet/libnet_group.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:43 +01:00
Matthias Dieter Wallnöfer
ec6843402c
s4:libnet - change variables to "unsigned" where needed
2010-03-10 20:23:43 +01:00
Stefan Metzmacher
f995e596bb
s4:libnet: make use of explicit dcerpc_*_recv functions
...
metze
2010-03-01 16:11:53 +01:00
Stefan Metzmacher
722765213b
s4:libnet: rename uint => uint32_t because uint is not portable
...
metze
2009-07-15 20:47:00 +02:00
Kai Blin
855d2a927e
s4 libnet: Add support for groupinfo by sid lookup
2008-12-29 12:52:27 +01:00
Kai Blin
181d4fd31a
s4 libnet: Add group_name member to struct libnet_GroupInfo's out struct.
2008-12-29 12:52:26 +01:00
Günther Deschner
99c2fac6b2
s4-samr: merge samr_EnumDomainGroups from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
a4ad265850
s4-libnet: fix user and group enumeration functions after lsa changes.
...
Guenther
2008-10-27 21:46:50 +01:00
Günther Deschner
95231eae39
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Rafal Szczesniak
fcb8285339
r26632: Add libnet_CreateGroup function.
...
(This used to be commit b8e115a920
)
2007-12-30 13:18:01 -06:00
Rafal Szczesniak
1385a75409
r26532: Fix mistake in assignment.
...
(This used to be commit 4d0ff8e375
)
2007-12-21 05:51:55 +01:00
Rafal Szczesniak
cad1e11959
r26519: Add libnet_GroupList function. Totally untested (yet), but
...
it builds for start.
(This used to be commit 4e1054dc62
)
2007-12-21 05:51:25 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Rafal Szczesniak
b42691ee16
r24732: Add comments and fix memory leak.
...
rafal
(This used to be commit 07b52b3606
)
2007-10-10 15:03:00 -05:00
Rafal Szczesniak
9a02cc10e1
r24680: fix a couple of stupid typos from previous commit.
...
rafal
(This used to be commit b21b322e4c
)
2007-10-10 15:02:40 -05:00
Rafal Szczesniak
e104b1fedf
r24679: Add (raw and untested) implementation of libnet_GroupInfo function.
...
rafal
(This used to be commit 80479eee25
)
2007-10-10 15:02:39 -05:00