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
149e86b842
Trivial simplification
...
... things you come across when you review code
(This used to be commit 1e006bcfb1
)
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 a4d613cde8
)
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 761858312b
)
2008-01-02 17:15:10 -06:00
Gerald (Jerry) Carter
23b3b7c2b3
use C99 bool return types (true & false).
...
(This used to be commit f22c9d6296
)
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 39c2059f66
)
2008-01-02 14:50:59 -06:00
Michael Adam
a5d2449fe1
Use the proper boolean constants.
...
Michael
(This used to be commit f731fee408
)
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 bc3bd7a8e7
)
2007-12-29 23:13:26 +01:00
Volker Lendecke
7be5525792
Make [un]marshall_sec_desc use librpc/ndr
...
(This used to be commit 387936ec39
)
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 8aec5d09ba
)
2007-12-29 23:12:51 +01:00
Volker Lendecke
245537f9bd
Convert get_root_nt_token to memcache
...
(This used to be commit fada689893
)
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 069cd6d63a
)
2007-12-28 17:09:57 +01:00
Volker Lendecke
3c99b7773e
Convert csamuser to memcache
...
(This used to be commit 476d3abf9c
)
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 d78045601a
)
2007-12-26 17:12:36 -08:00
Volker Lendecke
07867ec373
Fix some memleaks
...
(This used to be commit 78b0b66cba
)
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 e33286f4a6
)
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 38e178df12
)
2007-12-25 12:35:44 +01:00
Volker Lendecke
921d8782cc
Fix the build
...
(This used to be commit 72dc717108
)
2007-12-25 11:38:26 +01:00
Volker Lendecke
9cd009b031
tiny simplification
...
(This used to be commit 8bd2484562
)
2007-12-23 00:49:32 +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
Jeremy Allison
0c3f431aba
Fix initialization warnings.
...
Jeremy.
(This used to be commit 832c093830
)
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 290ab64e9e
)
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 42787bccff
)
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 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
Günther Deschner
fb2c13fe19
Add static libnetapi_ctx.
...
Guenther
(This used to be commit 97449ea341
)
2007-12-21 15:29:10 +01:00
Günther Deschner
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
Günther Deschner
c9b44e0fc3
Add basic credential functions for libnetapi.
...
Guenther
(This used to be commit 7c38f706b5
)
2007-12-21 15:29:10 +01:00
Günther Deschner
3d853b8e7e
Move basic libnetapi functions to NET_API_STATUS.
...
Guenther
(This used to be commit 086c550059
)
2007-12-21 15:29:10 +01:00
Günther Deschner
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
Günther Deschner
9dc0ac4637
Getting rid of external credentials in libnetapi.
...
Guenther
(This used to be commit c10481dba0
)
2007-12-21 15:29:10 +01:00