Günther Deschner
28ef4878d9
Rename server_name to dc_name in libnet join structures.
...
Guenther
(This used to be commit ff5e15b1ba0d5c39ceef9f9995c107e510162564)
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 d88bb94f0ef00ddbb48498797bd11448e0d74645)
2008-01-04 17:43:02 +01:00
Günther Deschner
f78c318eb0
Add debug switch to netdomjoin.
...
Guenther
(This used to be commit 2b221708c07967bccd68e8c7983791b4628405bb)
2008-01-04 15:21:41 +01:00
Günther Deschner
564a54aa16
Minor cosmetic cleanup for netdomjoin-gui.
...
Guenther
(This used to be commit 02e3887f3962b469c965110b6141a6655f2347af)
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 aaea8f1ed744e9662f92a3840d86ad1aff943d18)
2008-01-04 11:55:08 +01:00
Günther Deschner
be88a67388
Minor libnetapi join cosmetic cleanup.
...
Guenther
(This used to be commit 4deef80bed374af5032c0f3081d2ee3c70be99df)
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 a559533c0c8a80f3f4078bbc2675de395359485f)
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 75165ba4e7acafaca42f6afd1fb8b56e00bcbed7)
2008-01-03 13:41:36 +01:00
Volker Lendecke
149e86b842
Trivial simplification
...
... things you come across when you review code
(This used to be commit 1e006bcfb15d44ecb81b6994c588d30d87b48033)
2008-01-03 10:24:45 +01:00
Jeremy Allison
cc957c7f6d
Convert the little caches in util_sock.c to use
...
the singleton memcache. Vl please check (passes
make valgrindtest).
Jeremy.
(This used to be commit a4d613cde86caf5782c4bfc47122d6ba807990ac)
2008-01-02 17:37:39 -08:00
Gerald (Jerry) Carter
59f5b4c9d7
Merge branch 'work/v3-2-test' into v3-2-test
...
(This used to be commit 761858312b3470ff2acc2980882bad534275c552)
2008-01-02 17:15:10 -06:00
Gerald (Jerry) Carter
23b3b7c2b3
use C99 bool return types (true & false).
...
(This used to be commit f22c9d6296c754d472e8eab51caa058f55ef370e)
2008-01-02 14:54:25 -06:00
Gerald (Jerry) Carter
701a56a698
Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.
...
Follows existing convention that all returned memory should be freed with
wbcFreeMemory() and not directly with free(). Noticed by Volker. Txs.
(This used to be commit 39c2059f66ee9eb471a503b9c776807b91c2a8f8)
2008-01-02 14:50:59 -06:00
Michael Adam
a5d2449fe1
Use the proper boolean constants.
...
Michael
(This used to be commit f731fee408a809b6dc266d45e41f37e63bf4e48d)
2008-01-02 17:08:28 +01:00
Volker Lendecke
7cbdb48475
Remove tiny code duplication
...
ndr_size_security_descriptor does the same as sec_desc_size
(This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
2007-12-29 23:13:26 +01:00
Volker Lendecke
7be5525792
Make [un]marshall_sec_desc use librpc/ndr
...
(This used to be commit 387936ec3952f88d46df2d4943bbc4e408ad2bb5)
2007-12-29 23:13:17 +01:00
Volker Lendecke
a59280792c
Remove tiny code duplication
...
sid_size did the same as ndr_size_dom_sid
(This used to be commit 8aec5d09ba023413bd8ecbdfbc7d23904df94389)
2007-12-29 23:12:51 +01:00
Volker Lendecke
245537f9bd
Convert get_root_nt_token to memcache
...
(This used to be commit fada689893314bed2fc78588b3fd9b144f4c808a)
2007-12-28 17:24:39 +01:00
Volker Lendecke
3ba59d4616
don't store cache_readonly in gencache
...
tdb won't allow us to write anyway
(This used to be commit 069cd6d63a61065be7926230235e198c456d38ae)
2007-12-28 17:09:57 +01:00
Volker Lendecke
3c99b7773e
Convert csamuser to memcache
...
(This used to be commit 476d3abf9c6142d99822212141fc3d843aca4798)
2007-12-28 13:13:29 +01:00
Jeremy Allison
afc93255d1
Add SMB encryption. Still fixing client decrypt but
...
negotiation works.
Jeremy.
(This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-26 17:12:36 -08:00
Volker Lendecke
07867ec373
Fix some memleaks
...
(This used to be commit 78b0b66cbac349625257260d2e45d918e0c93617)
2007-12-26 23:45:10 +01:00
Volker Lendecke
8b88fa53b5
Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage
...
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
2007-12-25 18:37:42 +01:00
Volker Lendecke
1c26f38c16
Interface detection should not go through the socket wrapper
...
Next try to get the build farm more in line again than it is now
(This used to be commit 38e178df12d30672f74bf272338954c7917b59e3)
2007-12-25 12:35:44 +01:00
Volker Lendecke
921d8782cc
Fix the build
...
(This used to be commit 72dc71710813ea9f1d8864c4401fef25a25577bd)
2007-12-25 11:38:26 +01:00
Volker Lendecke
9cd009b031
tiny simplification
...
(This used to be commit 8bd248456205a82d57af21559a77a1030f4679b7)
2007-12-23 00:49:32 +01:00
Günther Deschner
86dfb55ffb
Correct netapi header filename. Thanks Jeremy.
...
Guenther
(This used to be commit f192737ec8140aa6570bfb49a165b31890d63b16)
2007-12-22 00:03:15 +01:00
Jeremy Allison
0c3f431aba
Fix initialization warnings.
...
Jeremy.
(This used to be commit 832c093830cb3978641be3d87670fa900105da25)
2007-12-21 12:11:23 -08:00
Gerald (Jerry) Carter
387288e950
Compile fix: Correct use of wbcDomainInfo() after function signature change.
...
Also fixes a doxygen warngin about an undocumented parameter in the same
function.
(This used to be commit 290ab64e9e5fb2a28e14a5f344f22119d5304563)
2007-12-21 13:49:19 -06:00
Gerald (Jerry) Carter
59ce7650f2
De-couple smbd from staticly linking against winbindd client files.
...
Implements a wrapper layer in winbind_util.c which are just stubs
if compiled --without-winbind. When building with winbindd, it
is now required to build the libwbclient DSO first (in the Makefile)
and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the
library PATH.
(This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)
2007-12-21 11:59:56 -06:00
Günther Deschner
657afffaae
Move gtk app to the correct location. Thanks obnox!
...
Guenther
(This used to be commit 740a2b080db56d504c4edd58bf41d72edb3d32ee)
2007-12-21 17:29:15 +01:00
Günther Deschner
77a2e13cb1
Move libnetapi examples into subdirs.
...
Guenther
(This used to be commit 0c3de6f3458419e57daaa71f1dad679897388f5a)
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 cf57ade5ec4a808eccb19a7723d753742fb71ca9)
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 c502686f09713a7cf3786c254be6515a7aa23555)
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 faedc78fc78527ee3bf05e1177ea43653aea67b2)
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 5bc49546a32abb4524133b9f2916cdd51d4eb462)
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 e46aa35d432e930835206b9ce7583f46933015d8)
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 4df868e3c366958c64ed8445489c8d1e8a28e50b)
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 acc5d8e784b706001457ceeeb9bd4961a13d57d2)
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 c255654c68923aca3e258906e49be82d719d5ccd)
2007-12-21 15:29:11 +01:00
Günther Deschner
5479c50c37
Merge all headers into libnetapi.h.
...
Guenther
(This used to be commit a2c5beda2ec98dea8951fb3a37774f5f325410ef)
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 15c2bc15f20a677c3c94895150e396275de6ac9b)
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 1cad549f54563c3a9787624ba7a56b54107ebd57)
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 d1e4f9dd5cde79f915e3e0f652621d966aa850e8)
2007-12-21 15:29:11 +01:00
Günther Deschner
af08d8be30
Add libnetapi_errstr().
...
Guenther
(This used to be commit 465e61a3599a277366ada6ecda3a1e6ddb1f2490)
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 74048fe7cfbd05994d533bea4a477d6ca93449d9)
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 96ebdca45b998da7e6137973dea717bf3ac76328)
2007-12-21 15:29:11 +01:00
Günther Deschner
14652eab18
Fix NetJoinDomainLocal.
...
Guenther
(This used to be commit 24605c9175fb313c9c888783817da755cd8ce594)
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 fbc60c1648ff8b1fa0ae33c09237e41232f9769c)
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 e640c3a4a7695613e9e619516befbaf3d44ecb10)
2007-12-21 15:29:10 +01:00