summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19832: better prototypes for the linearization functions:Simo Sorce2-22/+22
- ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce3-21/+24
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19759: Allow a join to occour against ncacn_ip_tcp again (useful for tortureAndrew Bartlett1-7/+28
tests). The issue is that Win2k3 SP1 will not answer many LSA requests on that port (I think this is as a security measure). In this case, we need to skip ahead in the composite functions. We were also checking the wrong variable to determine sucess/failure of the LsaOpenPolicy2. Andrew Bartlett (This used to be commit 67c191305fa97470017e7e8a5b55fc0949d432ad)
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-10r19699: - use better names for the site stringsStefan Metzmacher1-1/+1
- use the client_site when creating the server object metze (This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
2007-10-10r19640: add some commentsRafal Szczesniak1-8/+57
rafal (This used to be commit 1ea37bf3b32a7f534b3ae1918fc6336ef062f8ab)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett3-0/+3
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19587: Fix indentation and correctly set error string when completingRafal Szczesniak1-3/+5
a composite call - don't leave it unset. rafal (This used to be commit 8bd57beca19bd2c76d58b64ddd12553b0adce595)
2007-10-10r19586: draft version of libnet_UserList function. still a bit of workRafal Szczesniak2-1/+218
to do left. rafal (This used to be commit 4e6d479b0707a4b48f4ca7c2a042bbf9627411f9)
2007-10-10r19584: add the new file to the build.Rafal Szczesniak1-2/+3
rafal (This used to be commit 936e87b89d22c8ddd1058766fc3d6e5ada9035da)
2007-10-10r19583: a few prerequisite functions called from within libnet functionsRafal Szczesniak1-0/+138
(in this case domain related) to ensure certain conditions before doing what libnet function is expected to do. rafal (This used to be commit e3159ceeede2865b0252ee24497498ec9ffa432f)
2007-10-10r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).Jelmer Vernooij1-1/+1
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)
2007-10-10r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce1-1/+1
argument. This is a pointer to an element pointer. If it is not null it will be filled with the pointer of the manipulated element. Will avoid double searches on the elements list in some cases. (This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
2007-10-10r19482: remove pointless castStefan Metzmacher1-1/+1
metze (This used to be commit 81a975100cbf7058de9245e51992d61cbdcb6473)
2007-10-10r19398: more commentsRafal Szczesniak1-3/+97
rafal (This used to be commit 2ed463e3cd36434c25833a0905e432b5b7f14e25)
2007-10-10r19309: Split out checks for LDB_SUCCESS from checks for the expected numberAndrew Bartlett1-3/+11
of returned entries. Andrew Bartlett (This used to be commit 84efd9ecd994b53817dde8c1ad995afb7ebc8192)
2007-10-10r19308: Merge samsync fixes from SAMBA_4_0_RELEASEAndrew Bartlett1-7/+12
Andrew Bartlett (This used to be commit 331003239972d80864211377e864f7e469bd3d77)
2007-10-10r19299: Fix possible memleaksSimo Sorce1-0/+1
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
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)