summaryrefslogtreecommitdiff
path: root/source3/libnet
AgeCommit message (Collapse)AuthorFilesLines
2008-06-17net_vampire: add error and result_message to samsync_context.Günther Deschner3-23/+54
Guenther (This used to be commit e0b117200441f842fbc11cc817ab2cde4d63a22e)
2008-06-17net_vampire: add domain_name to samsync_context.Günther Deschner3-0/+6
Guenther (This used to be commit 7e7f07ec59d23e909809ed32adc8fc399826310d)
2008-06-17net_vampire: fix samsync_process_database().Günther Deschner1-1/+1
Turns out the password hashes are not rid encrypted in the samsync reply. Guenther (This used to be commit 7d8d60bcbae79f3cdd55b27217145ffbd19f161d)
2008-06-17net_vampire: fix build warning.Günther Deschner1-1/+0
Guenther (This used to be commit eb4232fec05cd87ea85a781b84a3fbe85f469703)
2008-06-17net_vampire: use generic output filename and use correct argv element.Günther Deschner2-2/+2
Guenther (This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)
2008-06-17net_vampire: move ldif code out of net_rpc_samsync.cGünther Deschner2-30/+1216
Guenther (This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)
2008-06-17net_vampire: move some samsync functions to libnet.Günther Deschner4-1/+241
Guenther (This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-13samsync: add prototype for samsync_fix_delta_array().Günther Deschner1-0/+8
Guenther (This used to be commit 6c1904f8be1b4e08b09b64052c1aba24e7a4fb3d)
2008-06-13samsync: add samsync_fix_delta_array()Günther Deschner1-0/+188
This code is vastly based on samba4 code. Guenther (cherry picked from commit 5b68be96996a710988b1fd1c176cd5dff0f2c6af) (This used to be commit 2c53d87de4ecc5ac9c43bc7488a03bceecf35140)
2008-06-05libnetjoin: add libnet_join_rollback().Günther Deschner1-1/+30
This is required now if the join verify failed and we already modified the local configuration. Guenther (This used to be commit 2870fe50af5163e30330f5a3ef21d0b7eea85ee5)
2008-06-05libnetjoin: First store configuration and then verify the join.Günther Deschner1-4/+11
Jerry, this fixes the issues while joining with "config backend = registry". Guenther (This used to be commit b3d47f099286778252c6df6bf2c1fee0c4e26560)
2008-06-04libnetjoin: correctly copy returned lsa policy sid.Günther Deschner1-2/+4
Guenther (This used to be commit f9e5450c9492b0f35bd90040739007963e765ab1)
2008-06-04libnetjoin: only close existing policy handles while unjoining.Günther Deschner1-2/+10
Guenther (This used to be commit 6dbed6e7b7300962e11fdce1a713e6f3ea2cb619)
2008-06-04libnetjoin: delete possible "realm" leftover parameter.Günther Deschner1-0/+2
Guenther (This used to be commit d7ba98cc3f2d037ec01e079220a66da508b104b0)
2008-05-18libnet: freeze libnet_proto.h from "make proto"Michael Adam1-0/+46
Michael (This used to be commit b455cd1a619a1f1922e2e7bc07f1af246e3201e6)
2008-05-16libnetjoin: for informational reasons, report forest_name.Günther Deschner1-0/+1
Guenther (This used to be commit 452a9ea4af19d3aebc35929edaf4e5adf8c1fd11)
2008-05-14Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).Günther Deschner1-2/+1
Guenther (This used to be commit f3251ba03a69c2fd0335861177159a32b2bc9477)
2008-05-09dsgetdcname: use existing messaging_context if possible.Günther Deschner1-0/+2
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-05-09Use strip_hostname after dsgetdcname/getdcname calls.Günther Deschner1-4/+6
Guenther (This used to be commit 82cbb3269b2e764c9c2a2fbcbe9c29feae07fb62)
2008-04-22libnetjoin: identify type of domain early.Günther Deschner1-16/+16
This finally enables joining AD using workgroup or realm name. Guenther (This used to be commit 0cf16e6b47f5978bdcb84ac8a29ef13ff2b5cca8)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke1-3/+3
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-2/+2
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-14libnetjoin/net: Fix lp_config_backend_is_registry() handling.Günther Deschner1-14/+56
Thanks obnox, now we can net ads join and net ads leave with zero configuration changes if "config backend = registry". Guenther (This used to be commit 9003881773de787a51ceadcdc2cb1e95f6979763)
2008-04-14libnetjoin: delete the workgroup name when requested while unjoining.Günther Deschner1-0/+4
Guenther (This used to be commit 1782e89f3341eca5ee1fa39881ee8efb3fac9a5b)
2008-04-14libnetjoin: separate out libnet_join_lookup_dc_rpc.Günther Deschner1-37/+86
Guenther (This used to be commit 8d3d1c094a28f75b01315ee05b7939ffba374f20)
2008-04-14libnetjoin: Fix unjoining when no KRB5CCNAME is around.Günther Deschner1-0/+16
Guenther (This used to be commit 7fd237c545e0a7e0029195dbbb6691571abdfe84)
2008-04-14libnetjoin: Remove machine account if we failed to set password.Günther Deschner1-0/+4
Guenther (This used to be commit db5e0ed186429667a7f6fc67e4b19a7ca75f357e)
2008-04-14libnetjoin: Fix joining when no KRB5CCNAME is around.Günther Deschner1-0/+15
Guenther (This used to be commit 512e6ca0a9be9fe35994ec1010110573a5b551d1)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner1-2/+1
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
2008-03-28Support "net ads join" format while joining to a specific ou.Günther Deschner1-0/+5
libnetjoin now supports Computers/Servers/Unix as well as ou=Computers,ou=Servers,ou=Unix,dc=ber,dc=realm,dc=com. Guenther (This used to be commit c0be84c96d8133c6b77d1f0efe41f5f2373febb3)
2008-03-28Add Support for DOMAIN\DCNAME syntax in libnetjoin.Günther Deschner1-0/+58
This format is used by Windows to enforce joining to a specific DC. Guenther (This used to be commit cc654892c0d76dea001cd8f7bd6f50cf9e89e9c9)
2008-03-21libsmbconf: add a "path" variable to the conf context.Michael Adam1-2/+2
This is passed to the module init routines. In case of the registry, this is the path of the basekey in registry, that is to be used, defaulting to KEY_SMBCONF (HKLM\software\samba\smbconf), when NULL is given. This is the only case currently used. In order to support other keys, registry initialization for smbconf has to be changed to support different keys. Michael (This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
2008-03-21Fix Coverity ID 547Volker Lendecke1-4/+1
Günther, please check. If r->in.ads==NULL, we can't call ads_leave_realm at all. Thanks, Volker (This used to be commit 120d8c889fa9ad61c74f1f936e83537513454648)
2008-03-21libsmbconf: add backend specific init function.Michael Adam1-2/+2
Hide generic init function taking smbconf_ops argument from public api. Michael (This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
2008-03-21libsmbconf: rename smbconf_close() to smbconf_shutdown().Michael Adam1-2/+2
Michael (This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
2008-03-21libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam1-2/+2
That's more appropriate. Michael (This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
2008-03-17libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam1-17/+17
Michael (This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
2008-03-17Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam3-1001/+0
The libnet_conf code to access the registry based configuration has become more of a library used in several places in samba (e.g. loadparm) than an abstraction of "net conf". So I move it to a location lib/smbconf/. In the same breath, the api is fixed (not generated by make proto anymore). Michael (This used to be commit 5315ef41f403b96715dd68b512e9e74662e2910a)
2008-03-04Add secure_channel_type to libnetjoin.Günther Deschner1-1/+3
Guenther (This used to be commit f88910c1e5186737da4eda5a7a396c3238fc6775)
2008-03-04Use TALLOC_FREE in libnetjoin debugging dump code.Günther Deschner1-2/+2
Guenther (This used to be commit b753087ff79c1d35a409eddc1f61e115e887c1e1)
2008-03-01Make sure we are still able to join Windows 2008.Günther Deschner1-2/+1
Guenther (This used to be commit aa9c0f587718f4d647e87b9662acbedba042b9cb)
2008-02-29libnetjoin: add fallback to level 24 samr setinfo so that libnet can join NT4.Günther Deschner1-0/+19
Guenther (This used to be commit bc2d3d51449831146a9faf6e809e7a91d174659c)
2008-02-29libnetjoin: Trying to avoid confusion between acct_flags, acb_info andGünther Deschner1-12/+14
access_desired. Guenther (This used to be commit 63894e5c93ef0663fc58bcc191777cd1aca7e21c)
2008-02-28libnetjoin: Merge in comments, debugs and missing code from original join code.Günther Deschner1-3/+117
Guenther (This used to be commit 09e6010159cb9c2a5d86861889b8c2a07bd39a8d)
2008-02-28Add some more error handling in libnetjoin.Günther Deschner1-0/+10
Guenther (This used to be commit 892b2bc0cf1692c5707d322d0eb711b8245a3a96)
2008-02-28Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.Günther Deschner1-4/+4
Guenther (This used to be commit b1a4b21f8c35dc23e5c986ebe44d3806055eb39b)
2008-02-28Store domain_is_ad info as early as possible in libnetjoin.Günther Deschner1-1/+16
Guenther (This used to be commit c4ba68aa94888eace393b91a669e22b27ffaba3e)
2008-02-28Check for mandatory domain name in libnetjoin/unjoin.Günther Deschner1-1/+8
Guenther (This used to be commit 95bdf2f23c195cad1b317995e362f153695e793a)
2008-02-28Delete affinity cache entries while unjoining with libnetunjoin.Günther Deschner1-2/+14
Guenther (This used to be commit 0315b8e53dca9a836d6bc2282fb1192f40545601)
2008-02-28Fill in machine account manipulation flags while unjoining in libnetunjoin.Günther Deschner1-0/+8
Guenther (This used to be commit 23ae67158e6506199318025e3dd5fd5c0b099548)