1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

24230 Commits

Author SHA1 Message Date
Gerald (Jerry) Carter
83d274b460 Add files for new LGPL libwbclient DSO implementing the Winbind client API
(based on the winbind_struct_protocol.h).

The API in incomplete, but sufficient to merge.  See wbclienbt.h for the i
interface functions.
2007-12-21 11:58:04 -06:00
Günther Deschner
740a2b080d Move gtk app to the correct location. Thanks obnox!
Guenther
2007-12-21 17:29:15 +01:00
Günther Deschner
0c3de6f345 Move libnetapi examples into subdirs.
Guenther
2007-12-21 17:05:55 +01:00
Günther Deschner
1e09065432 Gitignore some generated files.
Guenther
2007-12-21 16:49:33 +01:00
Günther Deschner
1489870f05 Deactive remote join code server side until some last issues are resolved.
Guenther
2007-12-21 16:44:52 +01:00
Günther Deschner
cf57ade5ec Add netdomjoin-gui (my first gui application), another libnetapi user.
Guenther
2007-12-21 16:36:06 +01:00
Günther Deschner
c502686f09 Add netdomjoin cmd line tool (another libnetapi example).
Guenther
2007-12-21 16:08:13 +01:00
Günther Deschner
c527a28c47 Make sure libnetapi has getdcname support.
Guenther
2007-12-21 16:03:12 +01:00
Günther Deschner
faedc78fc7 Add getdc.c, a libnetapi example (incl. Makefile).
Guenther
2007-12-21 16:02:35 +01:00
Günther Deschner
5bc49546a3 Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.
Guenther
2007-12-21 15:51:00 +01:00
Günther Deschner
e46aa35d43 Make libnetapi_errstr use our NTSTATUS and WERROR error string macros.
Guenther
2007-12-21 15:30:29 +01:00
Günther Deschner
4df868e3c3 Add error string for access denied in libnetapi.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
acc5d8e784 Remove doubled cli_set_timeout calls from libnetapi.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
b95801db59 Fix typo.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
c255654c68 Keep libnetapi_NetX calls static for now.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
a2c5beda2e Merge all headers into libnetapi.h.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
15c2bc15f2 Implement NetServerSetInfo level 1005 in local mode with smbconf registry.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
1cad549f54 Add NetServerGetInfo and NetServerSetInfo (for level 1005).
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
d1e4f9dd5c Split out local and remote paths for NetGetJoinInformation.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
465e61a359 Add libnetapi_errstr().
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
74048fe7cf Add support for remote and local unjoining in libnetapi.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
89e8abb116 Add libnet_Unjoin(), libnet_UnjoinCtx and friends.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
96ebdca45b Remove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
24605c9175 Fix NetJoinDomainLocal.
Guenther
2007-12-21 15:29:11 +01:00
Günther Deschner
fbc60c1648 Use DsGetDcName in local libnetapi join to find a dc.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
11e90dcbf5 Build libnetapi shared and static if possible.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
f0e8d744c9 In libnet join code, try lsa query with level 12 first.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
91b8849898 Making do_DomainJoin return NTSTATUS again.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
e640c3a4a7 Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
65d50f5187 Missed on instance of external creds.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
97449ea341 Add static libnetapi_ctx.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
78d8f0e41a Use full string based debug_parse_levels in libnetapi.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
7c38f706b5 Add basic credential functions for libnetapi.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
086c550059 Move basic libnetapi functions to NET_API_STATUS.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
a42850926a Define NET_API_STATUS to be just a uin32_t.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
c10481dba0 Getting rid of external credentials in libnetapi.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
c818f5505a Make sure we also support non-domain join.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
1d47247283 Some libnet and netapi build fixes.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
46db875451 Fill in local branch of NetGetJoinInformation().
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
9f129c069f More minor libnetapi fixes.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
07d33557b9 Build fixes for libnetapi.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
9b0423e7d9 Add _wkssvc_NetrJoinDomain2() server.
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
4896f22bb5 Fill in NetJoinDomainLocal().
Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
fb6315b68b Add libnet_Join().
Heavily based on existing code in net_ads_join().

Guenther
2007-12-21 15:29:10 +01:00
Günther Deschner
13c46b1407 Add libnet_JoinCtx structure.
Guenther
2007-12-21 15:29:09 +01:00
Günther Deschner
d2f21ce672 Split NetJoinDomain() into NetJoinDomainRemote() and the unsupported
NetJoinDomainLocal().

Guenther
2007-12-21 15:29:09 +01:00
Günther Deschner
2b41ac926d Very quick conversion of net_conf functions into the libnet_conf layer.
Certainly needs cleanup later.

Guenther
2007-12-21 15:29:09 +01:00
Günther Deschner
8cbc6bdede For the fun of it, build netapi.so|.a.
Guenther
2007-12-21 15:29:09 +01:00
Günther Deschner
d341d251d6 Add NetGetJoinInformation().
Guenther
2007-12-21 15:29:09 +01:00
Günther Deschner
b1ad3def98 Add get_friendly_werror_msg().
Guenther
2007-12-21 15:28:21 +01:00