summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_user.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-30s4-libnet: Add mem_ctx to libnet_rpc_usermod calls (bug #8889)Andrew Bartlett1-1/+1
2012-04-30s4-libnet: Add mem_ctx to libnet_rpc_userdel calls (bug #8889)Andrew Bartlett1-2/+2
2012-04-30s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)Andrew Bartlett1-2/+2
2012-04-30s4-libnet: Add mem_ctx to libnet_DomainOpen calls (bug #8889)Andrew Bartlett1-6/+6
2012-04-24s4:libnet: pass an explicit mem_ctx to libnet_rpc_userinfo_send() (bug #8889)Stefan Metzmacher1-3/+5
This hopefully fixes the flakey autobuild. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 24 16:43:03 CEST 2012 on sn-devel-104
2012-04-23s4-libnet Always return after composite_error()Andrew Bartlett1-0/+2
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-03-01s4-libnet: Remove set but unused variablesAndrew Bartlett1-2/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 1 13:40:12 CET 2012 on sn-devel-104
2012-03-01s4-libnet: Move to talloc_get_type_abort()Andrew Bartlett1-30/+30
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
2010-08-14s4:libnet - free the "c" context also on error conditionsMatthias Dieter Wallnöfer1-1/+2
(and if it's NULL then "talloc_free" does ignore it)
2010-07-10s4:libnet_UserList: allocate children strings on the correct talloc parentStefan Metzmacher1-2/+2
Otherwise the _recv() function won't move the children strings to the callers memory context and let the callers crash. metze
2010-07-04s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operationsMatthias Dieter Wallnöfer1-1/+5
2010-03-12s4:libnet/libnet_user.c: make use of use tevent_req based ↵Stefan Metzmacher1-24/+33
dcerpc_binding_handle stubs metze
2010-03-10s4:libnet - change variables to "unsigned" where neededMatthias Dieter Wallnöfer1-1/+1
2010-03-01s4:libnet: make use of explicit dcerpc_*_recv functionsStefan Metzmacher1-2/+2
metze
2009-07-15s4:libnet: rename uint => uint32_t because uint is not portableStefan Metzmacher1-1/+1
metze
2008-11-10s4-samr: merge samr_EnumDomainUsers from s3 idl. (fixme: python)Günther Deschner1-4/+12
Guenther
2008-10-27s4-libnet: fix user and group enumeration functions after lsa changes.Günther Deschner1-0/+2
Guenther
2008-10-27s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.Günther Deschner1-3/+5
Guenther
2008-04-24libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuidKai Blin1-22/+75
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
2008-02-28Ensure we don't try and set the acct_flags if they are 0 (meaningAndrew Bartlett1-1/+1
unchanged in this interface). We seem to have two very similar interfaces here, and this is the poorer interface, for this reason. Andrew Bartlett (This used to be commit 582073eff1f21f81abb3e5f1ce2eca4ebef56a00)
2007-12-30r26633: A couple of fixes in comments.Rafal Szczesniak1-7/+9
(This used to be commit 9ff6568f9563bf72d11bf437fb6718e6fafe1824)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-6/+6
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25256: Fix missing field set in libnet_ModifyUser routine.Rafal Szczesniak1-1/+4
Submitted by Matthias Dieter Wallnoefer <mwallnoefer@yahoo.de> rafal (This used to be commit 4fe47e4f976f125537b6a9fc7b13b25efe3d73a6)
2007-10-10r24127: Set the Domain SID into the libnet context, and have libnet_UserInfoAndrew Bartlett1-0/+3
return full SIDs for the user SID and primary group sid. This should help kai with his getpwnam work in winbind. Andrew Bartlett (This used to be commit 078671d5015c63e4bcd96815e150dae918763b83)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher1-2/+2
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r20162: Always return some error string.Rafal Szczesniak1-0/+3
rafal (This used to be commit 0c373605776eb166ffe46db0dd21395efc3bb186)
2007-10-10r20103: Change the returned type of prerequisite checking functions,Rafal Szczesniak1-19/+19
as metze once suggested. rafal (This used to be commit 1f3fd5f85461d1e8c9cbdc3144d0a6533b170f76)
2007-10-10r19970: more comments and fixesRafal Szczesniak1-16/+37
rafal (This used to be commit f4621dae44766feaeab452dc5fb5b495fa62d023)
2007-10-10r19956: remove unused functionRafal Szczesniak1-58/+0
rafal (This used to be commit 2b60090ca664bd99f6332ddd3541a22f89c74aab)
2007-10-10r19938: Return function status instead of rpc layer status. This isRafal Szczesniak1-0/+4
needed to correctly return STATUS_MORE_ENTRIES and the like. rafal (This used to be commit 0dbba04fe06d0feddf09421046e1e99c311272ca)
2007-10-10r19922: Use new composite_create functions in composite contextRafal Szczesniak1-105/+134
initialisation. Redesign libnet_UserList function to actually do what it was intended to do. rafal (This used to be commit 4ccc6e63dd91c1772bed13aeb1a4346c2a172d1a)
2007-10-10r19753: verify result of received request before sending the next one.Rafal Szczesniak1-0/+1
I don't know why I forgot this... rafal (This used to be commit d5f7141a6c76d80d564500d59fd07cc8edb8127d)
2007-10-10r19640: add some commentsRafal Szczesniak1-8/+57
rafal (This used to be commit 1ea37bf3b32a7f534b3ae1918fc6336ef062f8ab)
2007-10-10r19586: draft version of libnet_UserList function. still a bit of workRafal Szczesniak1-1/+198
to do left. rafal (This used to be commit 4e6d479b0707a4b48f4ca7c2a042bbf9627411f9)
2007-10-10r19398: more commentsRafal Szczesniak1-3/+97
rafal (This used to be commit 2ed463e3cd36434c25833a0905e432b5b7f14e25)
2007-10-10r19024: remove read-only and policy dependent fields and flagsRafal Szczesniak1-33/+27
from user modify routines. rafal (This used to be commit 7ca0d3dbcb9193c0f023e7c43764c7557925bb0e)
2007-10-10r18656: fix stupid mistake causing segfaults in torture testRafal Szczesniak1-2/+7
and also add one more field to be set. rafal (This used to be commit e2621d00638f7dbf9f0bf862d2841da73f26d0af)
2007-10-10r18615: add more time fields and fix a silly mistake.Rafal Szczesniak1-1/+27
rafal (This used to be commit 06e0c5d1664143f212f72fff9d9f43447b16b1d5)
2007-10-10r17856: The two new functions - libnet_LookupName and libnet_UserInfo.Rafal Szczesniak1-0/+157
These two perform name resolving in SAM database and fetching user account information, respectively. The code is quite rough yet, but it builds and basic tests work. Now, I'm working on cleaning it up... rafal (This used to be commit 4a932255a01d9f1ac91feb9e371494933f1ae74e)
2007-10-10r17670: 1) Refactor libnet context structure a bit, to have rpc connectionRafal Szczesniak1-17/+17
properties more consistently reflected. 2) Add domain open routine for lsa pipe - this is needed for ongoing name resolve function. Tests (still neglected) and comments to follow. rafal (This used to be commit fe5652c2b8121bbe3b9932c43164035355478611)
2007-10-10r17448: Define macros to set fields in api function modifying user account.Rafal Szczesniak1-28/+25
rafal (This used to be commit 8d9330c490470127f192949efa9201225136edb1)
2007-10-10r16692: More comments and further code in set_user_changes routine.Rafal Szczesniak1-17/+77
rafal (This used to be commit c58fa8676c93b49bcce2e86b957690fc6558280c)
2007-10-10r16572: More comments and simple refactoring of one condition.Rafal Szczesniak1-6/+52
rafal (This used to be commit 24006a36014eaa7457cf3db4cf0b084e1f9aa4d8)
2007-10-10r16531: Add a function preparing argument for modify user routine.Rafal Szczesniak1-2/+41
rafal (This used to be commit d91cbec2644030a6e7978dd2e2c854e9d7a3d313)
2007-10-10r16211: Refactor domain_opened function a bit and add a few comments.Rafal Szczesniak1-28/+60
rafal (This used to be commit d8113fa5e19570fcf67a7d3cd8a0d8ab12ef147e)
2007-10-10r15919: - Create function checking prerequisites like valid domainRafal Szczesniak1-63/+175
opened and rpc pipe connected. Each user management routine calls the function before doing their job - Initial work on user modify functionality (does nothing yet) rafal (This used to be commit 51501cdeef0f253d52112a368a07815ef1fbccca)
2007-10-10r15857: don't clear the error string after setting itStefan Metzmacher1-4/+6
metze (This used to be commit d273d8ae52255170932405f488876510e02f5813)
2007-10-10r15850: another spot where r->out.error_string can be uninitialiedAndrew Tridgell1-0/+1
(This used to be commit 4898b29c32737b2cf425d5822da2f395f70ca6e2)
2007-10-10r15849: ensure we don't try to talloc_steal() an invalid error_string inAndrew Tridgell1-0/+1
r->out on error (This used to be commit 1d1d2aaeae643e01bfd51d69cba741557543e5bb)