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
Günther Deschner
b738381816
Kill fstring in getdcname & getanydcname return.
...
Guenther
2007-12-21 15:12:40 +01:00
Günther Deschner
763e13315f
Use ADS_IGNORE_PRINCIPAL define.
...
Guenther
2007-12-21 14:13:55 +01:00
Volker Lendecke
5f5e52ba7b
Fix the build on Solaris
2007-12-21 12:53:12 +01:00
Volker Lendecke
5c392c4c6e
Some C++ fixes
2007-12-21 09:58:21 +01:00
Volker Lendecke
5ab82d4f57
Some C++ warnings
2007-12-21 09:58:20 +01:00
Volker Lendecke
c31c7e3e24
Fix a C++ warning
2007-12-21 09:58:20 +01:00
Volker Lendecke
7e1d9b561f
Fix a C++ warning
2007-12-21 09:58:20 +01:00