1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00
Commit Graph

711 Commits

Author SHA1 Message Date
528d253cc8 Rearrange order of libnet join context init.
Guenther
(This used to be commit 89669c66f2)
2008-01-07 19:38:35 +01:00
0b92d8bc79 Free libnet_JoinCtx after joining.
Guenther
(This used to be commit 5abae9ef15)
2008-01-07 19:38:22 +01:00
cc1982ab1c Close registry in libnetapi_free().
Guenther
(This used to be commit e7258a4408)
2008-01-07 19:38:10 +01:00
fa1e5e95d5 Add NET_API_STATUS_SUCCESS define.
Guenther
(This used to be commit a72ad63163)
2008-01-07 19:37:54 +01:00
be7df54c39 Fix two memleaks in libnetapi.
Guenther
(This used to be commit d73bde99e8)
2008-01-07 12:48:21 +01:00
e6c3ac59c5 Failure while unjoining a domain is non-critical.
Just continue joining to the workgroup in that case.

Guenther
(This used to be commit bf9ce2a928)
2008-01-07 12:48:21 +01:00
395c366237 Do not pass emtpy wkssvc_PasswordBuffers to rpc functions.
Guenther
(This used to be commit fe75e5ccdf)
2008-01-04 23:03:55 +01:00
28ef4878d9 Rename server_name to dc_name in libnet join structures.
Guenther
(This used to be commit ff5e15b1ba)
2008-01-04 17:43:15 +01:00
0399df22f0 In libnet_join finally separate the admin from the machine pwd entirely.
Guenther
(This used to be commit d88bb94f0e)
2008-01-04 17:43:02 +01:00
f78c318eb0 Add debug switch to netdomjoin.
Guenther
(This used to be commit 2b221708c0)
2008-01-04 15:21:41 +01:00
564a54aa16 Minor cosmetic cleanup for netdomjoin-gui.
Guenther
(This used to be commit 02e3887f39)
2008-01-04 15:21:35 +01:00
cf6e59de2b Fix some error strings in netdomjoin-gui.
Guenther
(This used to be commit aaea8f1ed7)
2008-01-04 11:55:08 +01:00
be88a67388 Minor libnetapi join cosmetic cleanup.
Guenther
(This used to be commit 4deef80bed)
2008-01-03 18:15:22 +01:00
5655ae7a24 Rename libnet_smbconf_set_global_param() to libnet_conf_set_global_parameter().
Now all functions are converted to the consistent naming scheme.

Michael
(This used to be commit a559533c0c)
2008-01-03 14:17:49 +01:00
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
921d8782cc Fix the build
(This used to be commit 72dc717108)
2007-12-25 11:38:26 +01:00
86dfb55ffb Correct netapi header filename. Thanks Jeremy.
Guenther
(This used to be commit f192737ec8)
2007-12-22 00:03:15 +01:00
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
77a2e13cb1 Move libnetapi examples into subdirs.
Guenther
(This used to be commit 0c3de6f345)
2007-12-21 17:05:55 +01:00
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
f3607f85b6 Add netdomjoin cmd line tool (another libnetapi example).
Guenther
(This used to be commit c502686f09)
2007-12-21 16:08:13 +01:00
27a58bd50c Add getdc.c, a libnetapi example (incl. Makefile).
Guenther
(This used to be commit faedc78fc7)
2007-12-21 16:02:35 +01:00
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
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
9518d738b1 Add error string for access denied in libnetapi.
Guenther
(This used to be commit 4df868e3c3)
2007-12-21 15:29:11 +01:00
1a30bdb506 Remove doubled cli_set_timeout calls from libnetapi.
Guenther
(This used to be commit acc5d8e784)
2007-12-21 15:29:11 +01:00
f2fe172454 Keep libnetapi_NetX calls static for now.
Guenther
(This used to be commit c255654c68)
2007-12-21 15:29:11 +01:00
5479c50c37 Merge all headers into libnetapi.h.
Guenther
(This used to be commit a2c5beda2e)
2007-12-21 15:29:11 +01:00
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
721d36df83 Add NetServerGetInfo and NetServerSetInfo (for level 1005).
Guenther
(This used to be commit 1cad549f54)
2007-12-21 15:29:11 +01:00
2bed9564db Split out local and remote paths for NetGetJoinInformation.
Guenther
(This used to be commit d1e4f9dd5c)
2007-12-21 15:29:11 +01:00
af08d8be30 Add libnetapi_errstr().
Guenther
(This used to be commit 465e61a359)
2007-12-21 15:29:11 +01:00
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
8f7723fc28 Remove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.
Guenther
(This used to be commit 96ebdca45b)
2007-12-21 15:29:11 +01:00
14652eab18 Fix NetJoinDomainLocal.
Guenther
(This used to be commit 24605c9175)
2007-12-21 15:29:11 +01:00
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
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
62b3fd209d Missed on instance of external creds.
Guenther
(This used to be commit 65d50f5187)
2007-12-21 15:29:10 +01:00
fb2c13fe19 Add static libnetapi_ctx.
Guenther
(This used to be commit 97449ea341)
2007-12-21 15:29:10 +01:00
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
c9b44e0fc3 Add basic credential functions for libnetapi.
Guenther
(This used to be commit 7c38f706b5)
2007-12-21 15:29:10 +01:00
3d853b8e7e Move basic libnetapi functions to NET_API_STATUS.
Guenther
(This used to be commit 086c550059)
2007-12-21 15:29:10 +01:00
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
9dc0ac4637 Getting rid of external credentials in libnetapi.
Guenther
(This used to be commit c10481dba0)
2007-12-21 15:29:10 +01:00
41410c86cc Some libnet and netapi build fixes.
Guenther
(This used to be commit 1d47247283)
2007-12-21 15:29:10 +01:00
5b5f75d229 Fill in local branch of NetGetJoinInformation().
Guenther
(This used to be commit 46db875451)
2007-12-21 15:29:10 +01:00
7482a18c83 More minor libnetapi fixes.
Guenther
(This used to be commit 9f129c069f)
2007-12-21 15:29:10 +01:00
749f699f87 Build fixes for libnetapi.
Guenther
(This used to be commit 07d33557b9)
2007-12-21 15:29:10 +01:00
4f6e8dfa51 Fill in NetJoinDomainLocal().
Guenther
(This used to be commit 4896f22bb5)
2007-12-21 15:29:10 +01:00
67aa44e7a2 Split NetJoinDomain() into NetJoinDomainRemote() and the unsupported
NetJoinDomainLocal().

Guenther
(This used to be commit d2f21ce672)
2007-12-21 15:29:09 +01:00