1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

47 Commits

Author SHA1 Message Date
Günther Deschner
6afaafe083 Let DsGetDCName figure out whether domain_name is a flat_name when unjoining.
Guenther
(This used to be commit 75165ba4e7)
2008-01-03 13:41:36 +01:00
Volker Lendecke
921d8782cc Fix the build
(This used to be commit 72dc717108)
2007-12-25 11:38:26 +01:00
Günther Deschner
86dfb55ffb Correct netapi header filename. Thanks Jeremy.
Guenther
(This used to be commit f192737ec8)
2007-12-22 00:03:15 +01:00
Günther Deschner
657afffaae Move gtk app to the correct location. Thanks obnox!
Guenther
(This used to be commit 740a2b080d)
2007-12-21 17:29:15 +01:00
Günther Deschner
77a2e13cb1 Move libnetapi examples into subdirs.
Guenther
(This used to be commit 0c3de6f345)
2007-12-21 17:05:55 +01:00
Günther Deschner
13d159bc2d Add netdomjoin-gui (my first gui application), another libnetapi user.
Guenther
(This used to be commit cf57ade5ec)
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 c502686f09)
2007-12-21 16:08:13 +01:00
Günther Deschner
27a58bd50c Add getdc.c, a libnetapi example (incl. Makefile).
Guenther
(This used to be commit faedc78fc7)
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 5bc49546a3)
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 e46aa35d43)
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 4df868e3c3)
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 acc5d8e784)
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 c255654c68)
2007-12-21 15:29:11 +01:00
Günther Deschner
5479c50c37 Merge all headers into libnetapi.h.
Guenther
(This used to be commit a2c5beda2e)
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 15c2bc15f2)
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 1cad549f54)
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 d1e4f9dd5c)
2007-12-21 15:29:11 +01:00
Günther Deschner
af08d8be30 Add libnetapi_errstr().
Guenther
(This used to be commit 465e61a359)
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 74048fe7cf)
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 96ebdca45b)
2007-12-21 15:29:11 +01:00
Günther Deschner
14652eab18 Fix NetJoinDomainLocal.
Guenther
(This used to be commit 24605c9175)
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 fbc60c1648)
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 e640c3a4a7)
2007-12-21 15:29:10 +01:00
Günther Deschner
62b3fd209d Missed on instance of external creds.
Guenther
(This used to be commit 65d50f5187)
2007-12-21 15:29:10 +01:00
Günther Deschner
fb2c13fe19 Add static libnetapi_ctx.
Guenther
(This used to be commit 97449ea341)
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 78d8f0e41a)
2007-12-21 15:29:10 +01:00
Günther Deschner
c9b44e0fc3 Add basic credential functions for libnetapi.
Guenther
(This used to be commit 7c38f706b5)
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 086c550059)
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 a42850926a)
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 c10481dba0)
2007-12-21 15:29:10 +01:00
Günther Deschner
41410c86cc Some libnet and netapi build fixes.
Guenther
(This used to be commit 1d47247283)
2007-12-21 15:29:10 +01:00
Günther Deschner
5b5f75d229 Fill in local branch of NetGetJoinInformation().
Guenther
(This used to be commit 46db875451)
2007-12-21 15:29:10 +01:00
Günther Deschner
7482a18c83 More minor libnetapi fixes.
Guenther
(This used to be commit 9f129c069f)
2007-12-21 15:29:10 +01:00
Günther Deschner
749f699f87 Build fixes for libnetapi.
Guenther
(This used to be commit 07d33557b9)
2007-12-21 15:29:10 +01:00
Günther Deschner
4f6e8dfa51 Fill in NetJoinDomainLocal().
Guenther
(This used to be commit 4896f22bb5)
2007-12-21 15:29:10 +01:00
Günther Deschner
67aa44e7a2 Split NetJoinDomain() into NetJoinDomainRemote() and the unsupported
NetJoinDomainLocal().

Guenther
(This used to be commit d2f21ce672)
2007-12-21 15:29:09 +01:00
Günther Deschner
72ffac3990 Add NetGetJoinInformation().
Guenther
(This used to be commit d341d251d6)
2007-12-21 15:29:09 +01:00
Volker Lendecke
0cdf5cfdfb Fix a missing prototype warning
(This used to be commit 93e5de23e7)
2007-12-21 09:58:20 +01:00
Günther Deschner
6b37d8e627 Fix wkssvc callers.
Guenther
(This used to be commit b734cd8aab)
2007-12-03 18:43:19 +01:00
Volker Lendecke
b1a924a0fb Fix some bogus uninitialized variable warnings
(This used to be commit 48a162b709)
2007-12-02 23:39:12 +01:00
Günther Deschner
cfbbeebbc6 Avoid to include net prototypes, just reference user creds.
Guenther
(This used to be commit 09e01a4716)
2007-11-30 22:25:01 +01:00
Günther Deschner
9433010f35 Add header file for NetJoinDomain() and friends.
Guenther
(This used to be commit 7cea527e87)
2007-11-30 22:25:01 +01:00
Günther Deschner
9fdb8b82c9 Add NetUnjoinDomain().
Guenther
(This used to be commit fd9d73ad44)
2007-11-30 22:25:01 +01:00
Günther Deschner
ac512a5bb2 Robustness-fixes for NetJoinDomain().
Guenther
(This used to be commit 2d5236cc37)
2007-11-30 22:25:01 +01:00
Günther Deschner
1484b1d174 Give NetJoinDomain() enough time to finish.
Guenther
(This used to be commit 7f021b3cb7)
2007-11-30 22:25:01 +01:00
Günther Deschner
5ee27320ce domain_name is a ref pointer.
Guenther
(This used to be commit b350e482b9)
2007-11-30 22:25:01 +01:00
Günther Deschner
a51e682a21 Add NetJoinDomain call.
Guenther
(This used to be commit 08a5a036ba)
2007-11-30 22:25:01 +01:00