summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19266: Add a target_hostname element to the binding struct. This allows usAndrew Bartlett3-32/+49
to perform a lookup once, resolve the name to an IP, while still communicating the full name to the lower layers, for kerberos etc. This fixes 'net samdump', which was failing due to the schannel target name being *smbserver. Andrew Bartlett (This used to be commit 0546f487f4cc99b5549dc1e457ea243d4bd66333)
2007-10-10r19261: Fix use of unitialised variables. (The binding string is used, if notAndrew Bartlett2-1/+4
NULL). This showed up in a manual pre-TP3 test of the 'net samdump' code, and shows the critical need for the windows testing infrustructure on the build farm. Andrew Bartlett (This used to be commit 9cef40779ad987b506b1f514a67b5b1c8aea9969)
2007-10-10r19053: match the flag values with the actual equivalents in samr.idlRafal Szczesniak1-2/+2
rafal (This used to be commit 07aee708118070f99d42e8a25e28680e79c8f49c)
2007-10-10r19024: remove read-only and policy dependent fields and flagsRafal Szczesniak5-129/+40
from user modify routines. rafal (This used to be commit 7ca0d3dbcb9193c0f023e7c43764c7557925bb0e)
2007-10-10r18752: When change is a big one, it needs to be made in a coupleRafal Szczesniak1-26/+84
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 cee9a69ffaa51f0a2a0e7dcf89e183b3925feb97)
2007-10-10r18743: Mention share name in error output.Günther Deschner1-8/+12
Guenther (This used to be commit 18505ce2834e768e8f9fe09f7dbf2a3e93290e91)
2007-10-10r18682: a bit of a change in setfield function.Rafal Szczesniak1-127/+127
one more change to do... rafal (This used to be commit 43b550c83b9e595ba140a89df5683574513a3a4c)
2007-10-10r18657: handle the case where rpc call went fine, but the resultRafal Szczesniak1-0/+3
not necessariy did. rafal (This used to be commit 69c379cc636d2ccd454ea21c7ccebf27dd84e40d)
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-10r18655: add more fields and better handle the error case where fieldsRafal Szczesniak1-2/+66
setting routine don't know how to do that (and user info level is invalid). rafal (This used to be commit a7564931a72069f5ddc86956bc573f448a3c99f7)
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-10r18611: Do not return NT_STATUS_OK when libnet_Add|DelShare has failed.Günther Deschner1-1/+13
Guenther (This used to be commit 1709ad741b43a19eaeef9e0a64e70a52132c088b)
2007-10-10r18610: Fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit 759914a07e1f85617c82ee5f4a6f3193fb9cc111)
2007-10-10r18609: error_string should not contain newlines.Günther Deschner6-51/+50
Guenther (This used to be commit 556666756418ad50c533199c736fe3696a7e20cb)
2007-10-10r18607: remove unused structure elementStefan Metzmacher2-2/+1
rafal: is there a reason why we don't use libnet_AddShare() in the torture test? metze (This used to be commit 070a98379a78eb46ff808521e375c9874c1c0d1c)
2007-10-10r18587: fixed a potential memory leak in libnetAndrew Tridgell1-1/+1
(This used to be commit 935f6f34cfbec0cba6df246b7ef9fdfd604aad38)
2007-10-10r18104: A couple of important fixes to samr domain open so thatRafal Szczesniak1-3/+6
the corresponding test may pass. rafal (This used to be commit f0eb209e8478f08e36fa38ae199cfa753f9a8255)
2007-10-10r18101: Use composite_create function and add monitor function pointerRafal Szczesniak1-3/+8
to the state structure. rafal (This used to be commit 76d73bc97dfcbba0667b8d831bfbf3113a8edfcb)
2007-10-10r17954: Avoid including \n in error strings (left over from DEBUG() conversion).Andrew Bartlett1-12/+18
Make it easier to debug CrackNames failures. Andrew Bartlett (This used to be commit 5dd07074db0b25ea2e929bbdcf89f26e3665bd1c)
2007-10-10r17938: More comments.Rafal Szczesniak1-12/+101
rafal (This used to be commit 4a127aacfa142838b474b2d8186026575bca14a4)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij2-2/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17856: The two new functions - libnet_LookupName and libnet_UserInfo.Rafal Szczesniak5-0/+416
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 Szczesniak6-65/+495
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-10r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce1-1/+1
to do (This used to be commit ad75cf869550af66119d0293503024d41d834e02)
2007-10-10r17472: Remove unused variable.Rafal Szczesniak1-1/+0
rafal (This used to be commit 04c94e4a52b9253c6d2ae6e8376338f0b20dd070)
2007-10-10r17450: A bit more protection against memory allocation errors.Rafal Szczesniak1-1/+2
rafal (This used to be commit a3ef0d051ac6e4a389a294ca6001338e3da23938)
2007-10-10r17448: Define macros to set fields in api function modifying user account.Rafal Szczesniak2-28/+50
rafal (This used to be commit 8d9330c490470127f192949efa9201225136edb1)
2007-10-10r17447: Add more fields to user modify routines.Rafal Szczesniak1-0/+17
rafal (This used to be commit 8fa1cd62ec6ce3b37700cf5ffa5c47b8c8cff977)
2007-10-10r17079: Remove an attempt to connect on ncacn_ip_tcp transport after failureRafal Szczesniak1-38/+0
on ncacn_np, as abartlet suggested. Also, named pipe remains the default transport for all kinds of servers to be contacted. rafal (This used to be commit 76888c74a66317a9888ea4c0965f0d33124c222f)
2007-10-10r17028: Remove extra newline.Rafal Szczesniak1-1/+0
rafal (This used to be commit 7da9ebffbd2c8c558086656ab9c0e74aff2a7ce6)
2007-10-10r17027: My copyright notice.Rafal Szczesniak1-1/+2
rafal (This used to be commit a2229f8c80898f5f0bae6641b356a476d3265c5a)
2007-10-10r17026: Make rpc connect routine a bit smarter. Try to connect againRafal Szczesniak1-7/+86
using different transport and possibly address type, when the first attempt fails (only if it makes any sense, of course). This may be especially useful when connecting DCs and PDCs in mixed environments. Also, add monitor messages issuing. rafal (This used to be commit d69b31230dd01efadd9c0cc6ef31c794c6165881)
2007-10-10r17001: Prepare a new monitor messages.Rafal Szczesniak2-0/+24
rafal (This used to be commit aaa2a5a27adf9bc9bb6853f8b14538a5923b130a)
2007-10-10r16895: Add continue function and prevent from segfaulting (or unpredictableRafal Szczesniak1-16/+41
behaviour) if composite context returned from _send function was NULL. rafal (This used to be commit d9fce228d006b702d76faebe4eb436327a7212d0)
2007-10-10r16830: Fix IBM checker and GCC warnings.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 5ef924bc739a51a8f83d7b4566f9ba85296c585a)
2007-10-10r16694: Store lsa rpc pipe pointer in a right place.Rafal Szczesniak1-7/+12
rafal (This used to be commit fa6b52dbf7321d1a7f0fdea32ab2605951c2b35a)
2007-10-10r16693: Name type should be passed further down the lookup engine insteadRafal Szczesniak1-7/+5
of assuming only PDC name type. Also, fix the comment. rafal (This used to be commit 436c8a721114815af8eb8c96ebdfe32c1875faaa)
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-10r16573: Fixes in comments.Rafal Szczesniak1-4/+4
rafal (This used to be commit 1258e6cad890ade8a65d8d43d55a95d61e6a6968)
2007-10-10r16572: More comments and simple refactoring of one condition.Rafal Szczesniak1-6/+52
rafal (This used to be commit 24006a36014eaa7457cf3db4cf0b084e1f9aa4d8)
2007-10-10r16532: Tell username from account name (source from target, whenRafal Szczesniak1-0/+1
changing). rafal (This used to be commit e5a50ca14a1ebc2fc6e18852264b5caac69fea1d)
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-10r16530: Send monitor messages only after successful receiving result of a stage.Rafal Szczesniak1-25/+33
rafal (This used to be commit e5dc6311633146e44063ba5eb20488468af75914)
2007-10-10r16476: Error in composite functions implemented the 'old way' (single event ↵Rafal Szczesniak1-2/+4
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 9e800fd0cfda9e731905fc0f19781def5cdba89f)
2007-10-10r16226: Fixes for various segfault bugs found against a buggy Samba4. WithAndrew Bartlett2-2/+15
the current API we need to check both that the RPC didn't fault, and that the query succeeded. Also print the right things in debug messages. Andrew Bartlett (This used to be commit d18e515391f8f5038e9aaaba596099052011b53a)
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-10r15996: Implement a missing monitor message.Rafal Szczesniak1-1/+10
rafal (This used to be commit 37ec35672e23c8a3e3f1f44d2fce69a0729519fb)
2007-10-10r15940: Add new field to pass username to libnet_rpc_userinfo function.Rafal Szczesniak1-0/+1
rafal (This used to be commit 16b4b4dbb7aa1a239e680457d3cb4e3db3d38dc7)
2007-10-10r15938: Extend userinfo call with one optional stage - lookup forRafal Szczesniak1-19/+84
username to resolve it to a rid, when a sid argument is not explicitly provided. rafal (This used to be commit 9bc4ef267c3d6720422e2a2f7f2c1572ba694d2d)
2007-10-10r15937: Currently, we don't use nor support distinguished call levels, so removeRafal Szczesniak1-15/+0
them until we do such thing. There's no need to complicate things more at the moment. rafal (This used to be commit 94fb191e6b862a6b05bc962c56a0a3d34a67f6b7)