Günther Deschner
7a87256cd1
Include some basic headers in netapi.h.
...
Guenther
(This used to be commit 23b92a6fa5 )
2008-01-11 15:10:15 +01:00
Günther Deschner
4eed7883bb
Refactor libnetapi error string functions a bit.
...
Guenther
(This used to be commit 3b450a8bcc )
2008-01-11 15:09:54 +01:00
Günther Deschner
67f2afe3c4
Correctly free buffers in netdomjoin-gui.
...
Guenther
(This used to be commit 04d78d4d9a )
2008-01-08 11:59:01 +01:00
Günther Deschner
200bba3ad6
Make name_buffer in NetGetJoinInformation() talloced.
...
Guenther
(This used to be commit 421905fb60 )
2008-01-08 11:59:01 +01:00
Günther Deschner
a01dc30db7
Add NetApiBufferFree() to libnetapi.
...
Guenther
(This used to be commit c49196954d )
2008-01-08 11:59:01 +01:00
Günther Deschner
ab216a1b4e
Fix crash bug when strequal is used too late in libnetapi_free.
...
Guenther
(This used to be commit ba2b8a310e )
2008-01-08 11:59:01 +01:00
Günther Deschner
e3ea1e1391
Enable talloc reporting in libnetapi if DEVELOPER compiled.
...
Guenther
(This used to be commit 01e9151546 )
2008-01-07 22:57:30 +01:00
Günther Deschner
74fc0bf9e5
In libnetapi example, use libnetapi_get_error_string().
...
Guenther
(This used to be commit b624db92d6 )
2008-01-07 20:13:40 +01:00
Günther Deschner
d6659f8ac8
In the local path of NetJoinDomain, try to get error string from libnetjoin.
...
Guenther
(This used to be commit 0f0f0e1302 )
2008-01-07 20:13:26 +01:00
Günther Deschner
751fc874be
Add libnetapi_set_error_string and libnetapi_get_error_string.
...
Guenther
(This used to be commit f8806bad81 )
2008-01-07 20:13:18 +01:00
Günther Deschner
1b3520db88
Add krb5 cc env to libnetapi_ctx.
...
Guenther
(This used to be commit df2b078fa1 )
2008-01-07 20:13:02 +01:00
Günther Deschner
1fba8c8019
Let libnetapi use it's own krb5 cred cache in memory if necessary.
...
Guenther
(This used to be commit 863fb30038 )
2008-01-07 20:12:38 +01:00
Günther Deschner
528d253cc8
Rearrange order of libnet join context init.
...
Guenther
(This used to be commit 89669c66f2 )
2008-01-07 19:38:35 +01:00
Günther Deschner
0b92d8bc79
Free libnet_JoinCtx after joining.
...
Guenther
(This used to be commit 5abae9ef15 )
2008-01-07 19:38:22 +01:00
Günther Deschner
cc1982ab1c
Close registry in libnetapi_free().
...
Guenther
(This used to be commit e7258a4408 )
2008-01-07 19:38:10 +01:00
Günther Deschner
fa1e5e95d5
Add NET_API_STATUS_SUCCESS define.
...
Guenther
(This used to be commit a72ad63163 )
2008-01-07 19:37:54 +01:00
Günther Deschner
be7df54c39
Fix two memleaks in libnetapi.
...
Guenther
(This used to be commit d73bde99e8 )
2008-01-07 12:48:21 +01:00
Günther Deschner
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
Günther Deschner
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
Günther Deschner
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
Günther Deschner
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
Günther Deschner
f78c318eb0
Add debug switch to netdomjoin.
...
Guenther
(This used to be commit 2b221708c0 )
2008-01-04 15:21:41 +01:00
Günther Deschner
564a54aa16
Minor cosmetic cleanup for netdomjoin-gui.
...
Guenther
(This used to be commit 02e3887f39 )
2008-01-04 15:21:35 +01:00
Günther Deschner
cf6e59de2b
Fix some error strings in netdomjoin-gui.
...
Guenther
(This used to be commit aaea8f1ed7 )
2008-01-04 11:55:08 +01:00
Günther Deschner
be88a67388
Minor libnetapi join cosmetic cleanup.
...
Guenther
(This used to be commit 4deef80bed )
2008-01-03 18:15:22 +01:00
Michael Adam
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
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