1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

24226 Commits

Author SHA1 Message Date
Günther Deschner
cdb51f3bc3 Deactive remote join code server side until some last issues are resolved.
Guenther
(This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)
2007-12-21 16:44:52 +01:00
Günther Deschner
13d159bc2d Add netdomjoin-gui (my first gui application), another libnetapi user.
Guenther
(This used to be commit cf57ade5ec4a808eccb19a7723d753742fb71ca9)
2007-12-21 16:36:06 +01:00
Günther Deschner
f3607f85b6 Add netdomjoin cmd line tool (another libnetapi example).
Guenther
(This used to be commit c502686f09713a7cf3786c254be6515a7aa23555)
2007-12-21 16:08:13 +01:00
Günther Deschner
be57bc8568 Make sure libnetapi has getdcname support.
Guenther
(This used to be commit c527a28c47f42617853cd28772ef46e5e6b058b6)
2007-12-21 16:03:12 +01:00
Günther Deschner
27a58bd50c Add getdc.c, a libnetapi example (incl. Makefile).
Guenther
(This used to be commit faedc78fc78527ee3bf05e1177ea43653aea67b2)
2007-12-21 16:02:35 +01:00
Günther Deschner
eddd190921 Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.
Guenther
(This used to be commit 5bc49546a32abb4524133b9f2916cdd51d4eb462)
2007-12-21 15:51:00 +01:00
Günther Deschner
d230cd8dd5 Make libnetapi_errstr use our NTSTATUS and WERROR error string macros.
Guenther
(This used to be commit e46aa35d432e930835206b9ce7583f46933015d8)
2007-12-21 15:30:29 +01:00
Günther Deschner
9518d738b1 Add error string for access denied in libnetapi.
Guenther
(This used to be commit 4df868e3c366958c64ed8445489c8d1e8a28e50b)
2007-12-21 15:29:11 +01:00
Günther Deschner
1a30bdb506 Remove doubled cli_set_timeout calls from libnetapi.
Guenther
(This used to be commit acc5d8e784b706001457ceeeb9bd4961a13d57d2)
2007-12-21 15:29:11 +01:00
Günther Deschner
3537af86c4 Fix typo.
Guenther
(This used to be commit b95801db595109e8eade7cf7c344f281c8684249)
2007-12-21 15:29:11 +01:00
Günther Deschner
f2fe172454 Keep libnetapi_NetX calls static for now.
Guenther
(This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)
2007-12-21 15:29:11 +01:00
Günther Deschner
5479c50c37 Merge all headers into libnetapi.h.
Guenther
(This used to be commit a2c5beda2ec98dea8951fb3a37774f5f325410ef)
2007-12-21 15:29:11 +01:00
Günther Deschner
991112eda7 Implement NetServerSetInfo level 1005 in local mode with smbconf registry.
Guenther
(This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)
2007-12-21 15:29:11 +01:00
Günther Deschner
721d36df83 Add NetServerGetInfo and NetServerSetInfo (for level 1005).
Guenther
(This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)
2007-12-21 15:29:11 +01:00
Günther Deschner
2bed9564db Split out local and remote paths for NetGetJoinInformation.
Guenther
(This used to be commit d1e4f9dd5cde79f915e3e0f652621d966aa850e8)
2007-12-21 15:29:11 +01:00
Günther Deschner
af08d8be30 Add libnetapi_errstr().
Guenther
(This used to be commit 465e61a3599a277366ada6ecda3a1e6ddb1f2490)
2007-12-21 15:29:11 +01:00
Günther Deschner
75276ac2e3 Add support for remote and local unjoining in libnetapi.
Guenther
(This used to be commit 74048fe7cfbd05994d533bea4a477d6ca93449d9)
2007-12-21 15:29:11 +01:00
Günther Deschner
41467ffc6d Add libnet_Unjoin(), libnet_UnjoinCtx and friends.
Guenther
(This used to be commit 89e8abb1163984eed358a4da9be4699a8e3a43f9)
2007-12-21 15:29:11 +01:00
Günther Deschner
8f7723fc28 Remove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.
Guenther
(This used to be commit 96ebdca45b998da7e6137973dea717bf3ac76328)
2007-12-21 15:29:11 +01:00
Günther Deschner
14652eab18 Fix NetJoinDomainLocal.
Guenther
(This used to be commit 24605c9175fb313c9c888783817da755cd8ce594)
2007-12-21 15:29:11 +01:00
Günther Deschner
d1548d035f Use DsGetDcName in local libnetapi join to find a dc.
Guenther
(This used to be commit fbc60c1648ff8b1fa0ae33c09237e41232f9769c)
2007-12-21 15:29:10 +01:00
Günther Deschner
8f65326e99 Build libnetapi shared and static if possible.
Guenther
(This used to be commit 11e90dcbf5dd1a91118e6a5cee53735d72767c93)
2007-12-21 15:29:10 +01:00
Günther Deschner
f3476faa36 In libnet join code, try lsa query with level 12 first.
Guenther
(This used to be commit f0e8d744c92d2602722e04be6266196941362d63)
2007-12-21 15:29:10 +01:00
Günther Deschner
b6347c0693 Making do_DomainJoin return NTSTATUS again.
Guenther
(This used to be commit 91b884989891881b8abea70e11b87c16c574daaa)
2007-12-21 15:29:10 +01:00
Günther Deschner
dab660b9dc Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.
Guenther
(This used to be commit e640c3a4a7695613e9e619516befbaf3d44ecb10)
2007-12-21 15:29:10 +01:00
Günther Deschner
62b3fd209d Missed on instance of external creds.
Guenther
(This used to be commit 65d50f518766ab0a8115c2599d190e642eb00754)
2007-12-21 15:29:10 +01:00
Günther Deschner
fb2c13fe19 Add static libnetapi_ctx.
Guenther
(This used to be commit 97449ea341539a709953a57869570cf13be0f44e)
2007-12-21 15:29:10 +01:00
Günther Deschner
d14ee1dc08 Use full string based debug_parse_levels in libnetapi.
Guenther
(This used to be commit 78d8f0e41aa3db0060596a7b345c2f04261986e0)
2007-12-21 15:29:10 +01:00
Günther Deschner
c9b44e0fc3 Add basic credential functions for libnetapi.
Guenther
(This used to be commit 7c38f706b5dc17f15708ac932c84d863a0cc713e)
2007-12-21 15:29:10 +01:00
Günther Deschner
3d853b8e7e Move basic libnetapi functions to NET_API_STATUS.
Guenther
(This used to be commit 086c55005976b3173e915e465108214876aa5bd6)
2007-12-21 15:29:10 +01:00
Günther Deschner
4dd84b3511 Define NET_API_STATUS to be just a uin32_t.
Guenther
(This used to be commit a42850926a26a4065a6126affc3754d291a2e178)
2007-12-21 15:29:10 +01:00
Günther Deschner
9dc0ac4637 Getting rid of external credentials in libnetapi.
Guenther
(This used to be commit c10481dba01a084b0f9c4265f3408a0ec9a8b646)
2007-12-21 15:29:10 +01:00
Günther Deschner
c5a84374b6 Make sure we also support non-domain join.
Guenther
(This used to be commit c818f5505a124a6f0bb9274a1ba4a6147d2f17b3)
2007-12-21 15:29:10 +01:00
Günther Deschner
41410c86cc Some libnet and netapi build fixes.
Guenther
(This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)
2007-12-21 15:29:10 +01:00
Günther Deschner
5b5f75d229 Fill in local branch of NetGetJoinInformation().
Guenther
(This used to be commit 46db8754511f915c296771e08e822ba810f804d5)
2007-12-21 15:29:10 +01:00
Günther Deschner
7482a18c83 More minor libnetapi fixes.
Guenther
(This used to be commit 9f129c069f9feb357cbe1185058cfe3390609c09)
2007-12-21 15:29:10 +01:00
Günther Deschner
749f699f87 Build fixes for libnetapi.
Guenther
(This used to be commit 07d33557b95106ac57fdef8c767ab86192930a6d)
2007-12-21 15:29:10 +01:00
Günther Deschner
5799dcdfed Add _wkssvc_NetrJoinDomain2() server.
Guenther
(This used to be commit 9b0423e7d918b7b3837ca4ebf997edd80d4da6de)
2007-12-21 15:29:10 +01:00
Günther Deschner
4f6e8dfa51 Fill in NetJoinDomainLocal().
Guenther
(This used to be commit 4896f22bb50ea9ae0c4807ed9b2dd4283c254364)
2007-12-21 15:29:10 +01:00
Günther Deschner
5bf7319ac4 Add libnet_Join().
Heavily based on existing code in net_ads_join().

Guenther
(This used to be commit fb6315b68b16d64625457881302fd191f90defa0)
2007-12-21 15:29:10 +01:00
Günther Deschner
913d220e0b Add libnet_JoinCtx structure.
Guenther
(This used to be commit 13c46b1407117c93b8f0275cc16ea5aa49596750)
2007-12-21 15:29:09 +01:00
Günther Deschner
67aa44e7a2 Split NetJoinDomain() into NetJoinDomainRemote() and the unsupported
NetJoinDomainLocal().

Guenther
(This used to be commit d2f21ce6727ec9e4df67989db07b48470d0790a4)
2007-12-21 15:29:09 +01:00
Günther Deschner
1b5c1ae742 Very quick conversion of net_conf functions into the libnet_conf layer.
Certainly needs cleanup later.

Guenther
(This used to be commit 2b41ac926de76804a50681bd246b3a20e112853b)
2007-12-21 15:29:09 +01:00
Günther Deschner
8edf48bbf7 For the fun of it, build netapi.so|.a.
Guenther
(This used to be commit 8cbc6bdede9e8fc423488c7632546c548234cc0c)
2007-12-21 15:29:09 +01:00
Günther Deschner
72ffac3990 Add NetGetJoinInformation().
Guenther
(This used to be commit d341d251d6e22e9cc1c4596038fd5fe5c7c6c174)
2007-12-21 15:29:09 +01:00
Günther Deschner
c000a16645 Add get_friendly_werror_msg().
Guenther
(This used to be commit b1ad3def98911c91ed55a3b7aec7d0894b2dd8fd)
2007-12-21 15:28:21 +01:00
Günther Deschner
8ded1df767 Kill fstring in getdcname & getanydcname return.
Guenther
(This used to be commit b7383818168863a7ba43c2456f8c44e96e76707a)
2007-12-21 15:12:40 +01:00
Günther Deschner
574354a7ec Use ADS_IGNORE_PRINCIPAL define.
Guenther
(This used to be commit 763e13315fc71237b14a186810bc201e725648f5)
2007-12-21 14:13:55 +01:00
Volker Lendecke
4418b989e7 Fix the build on Solaris
(This used to be commit 5f5e52ba7b3862dc72a16d84e07503e98ccbbf8a)
2007-12-21 12:53:12 +01:00
Volker Lendecke
99b86e4a26 Some C++ fixes
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-21 09:58:21 +01:00