38628b1e32
Fix the O3 developer build
...
Different gcc versions complain at different places
Signed-off-by: Volker Lendecke <vl@samba.org >
Reviewed-by: Alexander Bokovoy <ab@samba.org >
Autobuild-User(master): Volker Lendecke <vl@samba.org >
Autobuild-Date(master): Tue Mar 3 13:14:53 CET 2015 on sn-devel-104
2015-03-03 13:14:53 +01:00
d9573ae076
s4:libnet: let libnet_rpc_usermod() 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:52 +01:00
f33a558750
s4:libnet: let libnet_rpc_usermod_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:52 +01:00
5bbcec0c2a
s4:libnet: let libnet_rpc_userdel() 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:52 +01:00
0fdf392e6a
s4:libnet: let libnet_rpc_userdel_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:52 +01:00
adef841a59
s4:libnet: let libnet_rpc_useradd() 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:52 +01:00
e3b8df2b09
s4:libnet: let libnet_rpc_useradd_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
0dc6181894
CVE-2013-4408:s3:Ensure LookupNames replies arrays are range checked.
...
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10185
Signed-off-by: Stefan Metzmacher <metze@samba.org >
Signed-off-by: Jeremy Allison <jra@samba.org >
2013-12-09 07:05:46 +01:00
b72597c6e3
s4-libnet: Add mem_ctx to libnet_rpc_usermod calls (bug #8889 )
2012-04-30 13:08:28 +02:00
08f8eb4407
s4-libnet: Add mem_ctx to libnet_rpc_userdel calls (bug #8889 )
2012-04-30 13:08:28 +02:00
fd2b21fc38
s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889 )
2012-04-30 13:08:28 +02:00
c190ae1631
s4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:44 +01:00
f995e596bb
s4:libnet: make use of explicit dcerpc_*_recv functions
...
metze
2010-03-01 16:11:53 +01:00
ff26cb4b1c
Fix compiler warnings in libnet.
2008-12-23 22:11:21 +01:00
09998ab89d
s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:31 +01:00
61391d0ade
s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
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
cc6881b8ea
r25356: Conversion from the old-style composite functions take 2.
...
Let's find out if NET-USERMOD test passes this time on
the build farm...
rafal
(This used to be commit 6ab46e91ac
)
2007-10-10 15:07:17 -05:00
7f894169d9
r25315: Revert my last change until I find out what's causing the
...
problem spotted by the builfarm.
rafal
(This used to be commit 39359391af
)
2007-10-10 15:07:13 -05:00
a23b4958c0
r25312: Replace the old-style composite calls.
...
rafal
(This used to be commit 0a8531404f
)
2007-10-10 15:07:13 -05:00
a47313851f
r24051: more monitor function calls and monitor msg names
...
convention change.
rafal
(This used to be commit 6ab10b2ed2
)
2007-10-10 15:01:18 -05:00
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
62b3aaa2e0
r23292: check for errors returned in a call result.
...
rafal
(This used to be commit 18c5341fad
)
2007-10-10 14:53:09 -05:00
40cd2d7780
r22944: fix bug #4618 :
...
rename private -> private_data
metze
(This used to be commit 58551f2f28
)
2007-10-10 14:52:30 -05:00
da7f449a07
r22763: replace talloc_zero calls with composite_create and add more
...
allocation checks.
rafal
(This used to be commit 621f3e5674
)
2007-10-10 14:52:16 -05:00
6de9ae9e43
r20138: return the proper status for the other functions as well.
...
rafal
(This used to be commit 0b82b9dba1
)
2007-10-10 14:29:13 -05:00
3dde7ab2c0
r20137: return the proper status.
...
rafal
(This used to be commit e635f5aeaf
)
2007-10-10 14:29:13 -05:00
89e4387a08
r19024: remove read-only and policy dependent fields and flags
...
from user modify routines.
rafal
(This used to be commit 7ca0d3dbcb
)
2007-10-10 14:20:29 -05:00
2a689f463b
r18752: When change is a big one, it needs to be made in a couple
...
of set user info calls one after another (each one using
different info level). Also, try to do as many changes as
possible using a single infolevel.
rafal
(This used to be commit cee9a69ffa
)
2007-10-10 14:19:07 -05:00
3394bb23fd
r18682: a bit of a change in setfield function.
...
one more change to do...
rafal
(This used to be commit 43b550c83b
)
2007-10-10 14:19:01 -05:00
602b604599
r18655: add more fields and better handle the error case where fields
...
setting routine don't know how to do that (and user info level
is invalid).
rafal
(This used to be commit a7564931a7
)
2007-10-10 14:18:59 -05:00
3ef6f35dde
r16530: Send monitor messages only after successful receiving result of a stage.
...
rafal
(This used to be commit e5dc631163
)
2007-10-10 14:09:33 -05:00
240ec86942
r16476: Error in composite functions implemented the 'old way' (single event handler,
...
no continue functions) need to report an error by means of state only.
composite_error calls event handler function which frees the context and
state structure. This fixes a segfault in some cases (caught it on modifyuser
test).
rafal
(This used to be commit 9e800fd0cf
)
2007-10-10 14:09:30 -05:00
dda3dceac7
r15726: Comments and a couple of minor formattings in the code.
...
rafal
(This used to be commit 2ab8343e99
)
2007-10-10 14:08:09 -05:00
251ea035b5
r15663: Turn libnet_DeleteUser into async function and fix subtle bug probably
...
causing ejsnet test to segfault. Also, cleanup a bit and add monitor
fn pointer to internal user delete libnet function.
Time for some comments now.
rafal
(This used to be commit 89e9a88719
)
2007-10-10 14:08:04 -05:00
1060f6b3f6
r14402: Generate seperate headers for RPC client functions.
...
(This used to be commit 7054ebf024
)
2007-10-10 13:57:19 -05:00
ba76f23df9
r12611: fix compiler warnings
...
metze
(This used to be commit 50940879f6
)
2007-10-10 13:49:04 -05:00
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318
)
2007-10-10 13:49:03 -05:00
25f82c19f6
r12105: Formatting.
...
rafal
(This used to be commit 13d7b8fa43
)
2007-10-10 13:47:10 -05:00
bc651bd7a4
r10679: Monitor messages should be issued from usermod functions.
...
Also a bit of formatting.
rafal
(This used to be commit 1fefca2c17
)
2007-10-10 13:39:17 -05:00
9c52b2a78e
r10631: Formatting.
...
rafal
(This used to be commit 426797f7b0
)
2007-10-10 13:39:13 -05:00
ab4d635b92
r10504: - seperate implementation specific stuff, from the generic composite
...
stuff.
- don't use SMBCLI_REQUEST_* state's in the genreic composite stuff
- move monitor_fn to libnet.
NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR
state in the _send() function. I haven't fixed this bugs in this
commit! We may need some composite_trigger_*() functions or so.
And maybe some other generic helper functions...
metze
(This used to be commit 4527815a0a
)
2007-10-10 13:38:57 -05:00
58a74c723d
r9994: Unused variable.
...
(This used to be commit ce4902f8de
)
2007-10-10 13:36:27 -05:00
6f6e42c856
r9090: Another field in usermod function - account flags.
...
rafal
(This used to be commit f0d51b78c0
)
2007-10-10 13:31:15 -05:00
9d7d5ea229
r9037: New fields in usermod function - allow_password_change and
...
force_password_change datetime.
rafal
(This used to be commit dfa2cc6c4e
)
2007-10-10 13:31:10 -05:00
088166461d
r8904: Split off the query stage as a separate function.
...
rafal
(This used to be commit bbe7e726af
)
2007-10-10 13:30:17 -05:00
aff62e9ee2
r8896: Handle more complex case where field being changed doesn't appear
...
alone in any of userinfo levels. What's needed is extra query step
to fill the userinfo structure and then modify a single field.
The other way to do it is userinfo level 21 with bitmap flags set,
but first all field flags need to be found.
rafal
(This used to be commit 59769977e8
)
2007-10-10 13:30:16 -05:00
5dd9940da8
r8845: Removing unnecessary string length calculations. Thanks abartlet
...
for noticing that.
rafal
(This used to be commit 109fc94c13
)
2007-10-10 13:30:11 -05:00
f95a494e97
r8808: More comments.
...
rafal
(This used to be commit da7a31d707
)
2007-10-10 13:30:07 -05:00