summaryrefslogtreecommitdiff
path: root/source3/libnet
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-02-28Add preliminary libnet_join_post_verify call to libnetjoin.Günther Deschner1-0/+131
Guenther (This used to be commit f0e319a18d86303aeb73c08841024c27c1b135cd)
2008-02-28Merge all connect ads calls into libnet_join_post_processing_ads().Günther Deschner1-21/+7
Guenther (This used to be commit be96baeffc60d05d8e297034e5253c8b75512ab2)
2008-02-28Use W_ERROR_NOT_OK_GOTO_DONE macro in libnetjoin.Günther Deschner1-19/+15
Guenther (This used to be commit fec230b28f456469bce051a2b26249d2026a48ea)
2008-02-19Add a function libnet_conf_get_seqnum() to the libnet_conf API.Michael Adam1-0/+13
This is to provide a change sequence number to users, so that they can use it to detect change in the config and trigger a reload. Michael (This used to be commit a0b12f4d815fa92c8826954e6d73546c8a751583)
2008-02-15Rename registry_init_regdb() to registry_init_smbconf().Michael Adam1-1/+1
That's what it actually is. Michael (This used to be commit 9d3c27f55726dbdce41fcf71c8bc1a7829340268)
2008-02-12Collect all init_lsa_string varients in one place.Günther Deschner1-5/+0
Guenther (This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
2008-02-12Remove all callers of rpccli_samr_setuserinfo2 and replace withGünther Deschner1-24/+16
rpccli_samr_SetUserInfo (see the opcode mixup in rpc_samr.h). Guenther (This used to be commit bdc49185036060ebb9c727767dce52e4b01bd8b4)
2008-02-12Use everyGünther Deschner1-4/+7
(This used to be commit d9cec295bf55b3a7e16f548cc4bf64ce474b41e9)
2008-02-12Removing unused ACCT_-flags.Günther Deschner1-1/+2
Guenther (This used to be commit d1e5a5a7f9dfb5756398e99cf09a4712d2b42682)