summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8847: Rework the Samba4 'net join' code. I'm trying to get this closer toAndrew Bartlett3-259/+316
what WinXP does when joining an AD domain, but in the meantime this removes the excess unions, and uses the LSA pipe in same way XP does. Andrew Bartlett (This used to be commit d2789c426090c325f6535cdce380ac0f4e22c3c7)
2007-10-10r8845: Removing unnecessary string length calculations. Thanks abartletRafal Szczesniak1-12/+2
for noticing that. rafal (This used to be commit 109fc94c13ad04feaaa3f9c7666ad431b3255ae6)
2007-10-10r8808: More comments.Rafal Szczesniak1-0/+41
rafal (This used to be commit da7a31d7073d156ef5c593578a05fecf770ebc93)
2007-10-10r8807: Modifying datetime field using struct timeval argument rather thanRafal Szczesniak2-0/+8
text-based, after recent discussion with both Andrews :) Basic test seems to work (at least it doesn't fail now). rafal (This used to be commit 1bc3162e9441aeae1d8c4b4f03b5b75eb848f4bf)
2007-10-10r8790: Finish the migration of aliases and privilages with SamSync, by addingAndrew Bartlett1-11/+130
templating support for foreignSecurityPrincipals to the samdb module. This is an extension beyond what microsoft does, and has been very useful :-) The setup scripts have been modified to use the new template, as has the SAMR and LSA code. Other cleanups in LSA remove the assumption that the short domain name is the first component of the realm. Also add a lot of useful debug messages, to make it clear how/why the SamSync may have gone wrong. Many of these should perhaps be hooked into an error string. Andrew Bartlett (This used to be commit 1f071b0609c5c83024db1d4a7d04334a932b8253)
2007-10-10r8789: Send new monitor messages from userdel routine.Rafal Szczesniak1-0/+23
rafal (This used to be commit eaaefa374ce11ab5dc3738bea046d33ed879fc4c)
2007-10-10r8788: New monitor messages.Rafal Szczesniak1-0/+6
rafal (This used to be commit 40061d7bd66be702d92c80da2c5f955b640eda22)
2007-10-10r8775: More SamSync work. This is really just mechanical...Andrew Bartlett1-5/+264
I need to take a grip over the ForiegnSecurityPrincipals, as the SamSync currently fails on adding some aliases and privilages because it can't find their entry. Andrew Bartlett (This used to be commit 533e44535392fdb292cfff3cdcda9c38ec329d01)
2007-10-10r8771: Extend the SamSync code out to groups and aliases, as well as deleting.Andrew Bartlett1-1/+303
Andrew Bartlett (This used to be commit bf594c1022f5ed59c06cb423411f94483b168cbb)
2007-10-10r8761: Propagate changes in monitor messaging code.Rafal Szczesniak2-5/+27
rafal (This used to be commit 5be8479d5cf119bcda4046bf1c5d7c3b876e718d)
2007-10-10r8760: Rework monitor messaging code a bit, as Metze once suggested.Rafal Szczesniak2-0/+64
enum type has now been replaced with unsigned 32-bit field and message data is passed as void pointer. This allows various extension implementers to plug their monitor messages in more easily. rafal (This used to be commit 4a6ab58133a59d3da3209b3e46c2a8cf848d25e7)
2007-10-10r8759: Another couple of fields in usermod routine.Rafal Szczesniak2-0/+30
rafal (This used to be commit 266aaacf0be955096d53e2a967bdaa5d0c5558ed)
2007-10-10r8752: With all the infrustructure done, details like a SamSync migrationAndrew Bartlett3-0/+425
into LDB are actually quite easy. This brings us the users, and sets basic domain information. You are expected to have provisioned with the settings for the target domain, and have joined the domain as a BDC. Then simply 'net samsync'. Now we just need to flesh out the delta types. Andrew Bartlett (This used to be commit 1e0f7792bb29b17c23197a5e42ee8cabb0cf17d0)
2007-10-10r8744: Split 'net samdump' out into a separate fileAndrew Bartlett4-263/+289
Work on the talloc memory tree, as I think talloc_reference and other things were biting me. Crush unions in the name of code reform. ;-) Andrew Bartlett (This used to be commit 2eadcf46699f1cc7adb2066e17096f70c7b73998)
2007-10-10r8741: Kill warnings about enums not fully enumerated, as we will never useAndrew Bartlett1-0/+5
all the branches. Andrew Bartlett (This used to be commit 258e5e302e461d789e5c353e1a0d81ce33b52f6b)
2007-10-10r8721: Further work on libnet_rpc_usermod function. Now it can changeRafal Szczesniak2-4/+35
both account name and full name. rafal (This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)
2007-10-10r8717: Add monitor message emiting in userdel and usermod calls.Rafal Szczesniak1-0/+10
rafal (This used to be commit 4b3aa69e70ed5d6e78f6f45f8f43649ad9ae108d)
2007-10-10r8692: Starting parts of code to provide user modify functionality.Rafal Szczesniak2-6/+194
It's more like a placeholder now, than a working code. Just don't want to hang it around my laptop only. rafal (This used to be commit bee1c9ec2dea4cad703386af35470c7d74cef4b0)
2007-10-10r8248: Make these comments more accurate.Andrew Bartlett1-4/+6
Andrew Bartlett (This used to be commit 00e1cf79410eb7d31958ba272d87eb2d379c3613)
2007-10-10r8246: Don't try and set the element after the end off the array to NULL.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 44338b2852bff36d642ea0296d480d384e88fbcb)
2007-10-10r8235: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher4-9/+9
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8136: remove unused varStefan Metzmacher1-2/+0
metze (This used to be commit d75c97b8476357bee4d3ba5f8464193c8d296cdd)
2007-10-10r8098: Add my copyright and remove unecessary header dependency.Rafal Szczesniak1-2/+2
rafal (This used to be commit 88e7b9c2371383c469e2db73d4c8dca70aca7586)
2007-10-10r8096: Remove function that has became libnet_Lookup fuction.Rafal Szczesniak2-78/+0
rafal (This used to be commit 9885749e36435b301c992e50d0a189860cfa4b5e)
2007-10-10r8095: Fix compiler warning.Rafal Szczesniak1-1/+1
rafal (This used to be commit 6736ab102f60f8e14d10f430f3e5a0eef478bc81)
2007-10-10r8077: Propagate changes in rpc connect routine to functions using itRafal Szczesniak5-96/+96
(it's quite common). rafal (This used to be commit 798b00c24ae30a08ac81342d13130a6a2f9d3a08)
2007-10-10r8076: Put name resolution methods into libnet_context. This allows libnet basedRafal Szczesniak3-15/+47
application use methods of their own choice and makes it less dependent on smb.conf parameters. Use libnet_context in libnet_Lookup functions which is the way to pass default name resolution methods if caller doesn't want to bother with specifying them. rafal (This used to be commit d0ea136356bcb9c6c01120d8683b71e8689d5e5b)
2007-10-10r8075: Make rpc connect function part of libnet api, as I suppose manyRafal Szczesniak2-70/+64
implementers of more complex function might need to use it. Also simplify io structure which essentially does the same thing when connecting arbitrary rpc server or a domain pdc. rafal (This used to be commit b28d2e96392e89e39f2499f54b6e549a8f3cfb4b)
2007-10-10r7816: Implementation of "shortcut" function for those (probably many) whoRafal Szczesniak1-0/+70
don't like to bother with netbios type names when looking for common types: hosts (servers) and domain controllers. Also, apropriate tests rafal (This used to be commit 50cd94be0f876a3463aa58b7e0898e6b3340c4c2)
2007-10-10r7748: Use state structure in connection with io to get returned address.Rafal Szczesniak1-2/+3
rafal (This used to be commit 345a71a08e74ddf959680615d51488f8e989cba1)
2007-10-10r7734: A few missing pieces...Rafal Szczesniak3-5/+7
rafal (This used to be commit 15e2a67fe08daa722c55cd3afd46e838eb653e22)
2007-10-10r7732: Implementation of very basic lookup function (to be used in moreRafal Szczesniak6-9/+141
specific routines like resolving a pdc). Also, couple of formatting fixes. rafal (This used to be commit b9deaa995da3a732514d5ceab0010adb58be5fe0)
2007-10-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell4-16/+15
event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)
2007-10-10r7630: Unused variable.Tim Potter1-1/+0
(This used to be commit 0c1f54461cea633dbacb9692925b8c971a34a831)
2007-10-10r7629: Unused labels.Tim Potter1-2/+0
(This used to be commit c01c176da640c012e1e6c9f0553b5075ef0e93bf)
2007-10-10r7588: Fix lacking space in the comment.Rafal Szczesniak1-1/+1
rafal (This used to be commit cd89cf991923ee1184af41be4d48b372ca963062)
2007-10-10r7587: More comments.Rafal Szczesniak1-0/+41
rafal (This used to be commit 265b1ab0cc2597d277630c56553a1c6243f6994b)
2007-10-10r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/Rafal Szczesniak5-43/+43
This makes more clear where the functions belong to. Also the rule will be that lowercased function names are not part of "official" libnet API (though it doesn't mean one absolutely cannot use them). rafal (This used to be commit f6ef7b882acc6ee07422944a417a8d9013c9d8d2)
2007-10-10r7381: Put more rpc specifics in libnet context.Rafal Szczesniak1-0/+7
rafal (This used to be commit 53ad20d46ba0db6a0a5dad78f996db8c0385d4f2)
2007-10-10r7380: Mistakenly put one file twice in command line. Here's source ofRafal Szczesniak1-33/+36
CreateUser call. It serves one level of call by now. Once any more is needed it can be placed, of course. rafal (This used to be commit 80e2f04ce154338fb0208c60b5fab4e96253bb04)
2007-10-10r7379: Simplify CreateUser function and io structure. Also, implementingRafal Szczesniak1-17/+8
it based on composite functions. Moving to fully async CreateUser on the way... rafal (This used to be commit 240409bc3cfa1426db15fc0537fcf0841f51ede0)
2007-10-10r7323: Complete composite domain open call.Rafal Szczesniak2-4/+106
rafal (This used to be commit 03a228477ea525dbe19d9661cd7c027e594f0fe1)
2007-10-10r7252: Formatting.Rafal Szczesniak1-1/+0
rafal (This used to be commit aea6d8c6946fcd5e0fd4f3b496f19cf1af728531)
2007-10-10r7251: Initial work on composite domain open call.Rafal Szczesniak1-1/+2
rafal (This used to be commit be3b283b20af0b17d8c9711f362b63b881ffbc1c)
2007-10-10r7250: Starting work on composite domain open call.Rafal Szczesniak2-0/+121
rafal (This used to be commit aa4cd8f9870b80954801ee588a36fdf286f59f0a)
2007-10-10r7247: User shorter and more convenient name for credentials inRafal Szczesniak2-2/+4
libnet context. rafal (This used to be commit 702a4dd2dcb776e18acb294c87b8f460516d1383)
2007-10-10r7204: Also fall back to different password set methods on WRITE_FAULT, asAndrew Bartlett1-1/+1
NT4 apparently returns this. Andrew Bartlett (This used to be commit 06b1416c3162a525eac9626957dd3e4adf1d257e)
2007-10-10r7203: Fill in the error message and fail if we can't open the secrets database.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit 27257170f4ad08c1a86be9c2a5edfa0b3da0b7a0)
2007-10-10r6963: Further definitions for share manipulation code. Untested.Rafal Szczesniak2-0/+3
Original patch provided by Gregory Leocadie <gleocadie@idealx.com> rafal (This used to be commit eb83a8210a939a0512f505a283148898ba6eceb1)