1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

22956 Commits

Author SHA1 Message Date
Michael Adam
ca237a3ad3 libreplace: use the new getifaddrs test also for autoconf.
Michael
(cherry picked from commit a2a506ff0e)
(This used to be commit c5932414fd)
2008-02-29 09:31:02 +01:00
Michael Adam
d24f3b8a93 libreplace: add extended getifaddrs test that prints out the interfaces.
Michael

cherry-picked from libreplace-part of 9d2bab09aa
and adapted replacetort creation
(This used to be commit 52d79ad487)
2008-02-29 09:30:40 +01:00
Günther Deschner
808348a8ca Trying to fix libnetapi examples Makefile.in.
Guenther
(This used to be commit 405ef74d7e)
2008-02-29 02:49:27 +01:00
Günther Deschner
53d55794df libnetjoin: add fallback to level 24 samr setinfo so that libnet can join NT4.
Guenther
(This used to be commit bc2d3d5144)
2008-02-29 01:27:52 +01:00
Günther Deschner
29222fa551 libnetjoin: Trying to avoid confusion between acct_flags, acb_info and
access_desired.

Guenther
(This used to be commit 63894e5c93)
2008-02-29 01:25:45 +01:00
Günther Deschner
700438dbbd Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
Thanks metze for the fix.

Guenther
(This used to be commit dcffb885bc)
2008-02-28 23:37:47 +01:00
Günther Deschner
de39bd20c1 Re-run make idl.
Guenther
(This used to be commit 7d88cb2e8d)
2008-02-28 23:37:18 +01:00
Stefan Metzmacher
c7d0b8f3ba samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
Tested with nt4 and w2k3.

metze
(This used to be commit 490d0c52bb)
2008-02-28 23:31:22 +01:00
Stefan Metzmacher
5e7cc85a12 lsa.idl: strlen_m*() also for the lsa_AsciiString* versions
We already did this before b994f899b4.

This is needed to handle NULL strings, where strlen() would crash...

Maybe we should add a strlen_a() and strlen_a_term() later...

metze
(This used to be commit c445a17a91)
2008-02-28 23:30:22 +01:00
Stefan Metzmacher
364ce40643 lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
metze
(This used to be commit d98ac73122)
2008-02-28 23:30:07 +01:00
Stefan Metzmacher
48bffb0f34 lsa.idl: add lsa_AsciiStringLarge
metze
(This used to be commit bf5da9ea08)
2008-02-28 23:29:46 +01:00
Stefan Metzmacher
f610e1fa52 lsa.idl: don't use ascstr_noterm anymore
metze
(This used to be commit 1937d19623)
2008-02-28 23:29:35 +01:00
Günther Deschner
a29b042204 Remove DomainControllerAddressType which we now have in IDL.
Guenther
(This used to be commit 0a012c12d6)
2008-02-28 23:15:30 +01:00
Günther Deschner
bddceee09a Fix memleak in netsamlogon_cache_get().
Guenther
(This used to be commit b736c77dc6)
2008-02-28 23:15:11 +01:00
Stefan Metzmacher
76de025c72 winbind: use a struct element for WBFLAG_PAM_UNIX_NAME
To not conflict with WBFLAG_PAM_INFO3_TEXT.

This should fix pam_winbind.

metze
(This used to be commit 1b8ed6c0ff)
2008-02-28 23:00:42 +01:00
Günther Deschner
37bca2ea57 While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.
This can be tested with e.g. "netdom remove SAMBAHOST" from windows.

Guenther
(This used to be commit 53121e62ea)
2008-02-28 22:07:30 +01:00
Günther Deschner
781e1ab4a1 Re-enable _wkssvc_NetrJoinDomain2 remote join implementation now that we are ready for it.
"netdom join SAMBAHOST" from a windows workstation nicely demonstrates it.

Guenther
(This used to be commit 3bcaa3582a)
2008-02-28 20:06:09 +01:00
Günther Deschner
27310f0768 Remove original copy of now redundant join code.
Jerry, I checked this very carefully that nothing got lost. The only thing I need to
re-add still is the normalized DN handling for account precreation in "net ads join".

Guenther
(This used to be commit a5c6347644)
2008-02-28 19:54:35 +01:00
Günther Deschner
2306574570 libnetjoin: Merge in comments, debugs and missing code from original join code.
Guenther
(This used to be commit 09e6010159)
2008-02-28 19:49:07 +01:00
Gerald W. Carter
8f58ae97f0 Fix macro name (no 's' in ifr_addr).
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(This used to be commit 37c87acc9d)
2008-02-28 11:58:05 -06:00
Günther Deschner
77a2531810 Only set DEBUGLEVEL to 0 in libnetapi when not set already.
Guenther
(This used to be commit 3ace1601ac)
2008-02-28 17:25:33 +01:00
Günther Deschner
15f6e27bd5 Add some more error handling in libnetjoin.
Guenther
(This used to be commit 892b2bc0cf)
2008-02-28 17:05:38 +01:00
Günther Deschner
4a8e6c9a91 Use libnetapi_get_error_string() in "net dom" commands.
Guenther
(This used to be commit 58048f0c57)
2008-02-28 17:05:38 +01:00
Karolin Seeger
e1b32594c7 Remove smbmount.
Karolin
(This used to be commit 5fbd98f706)
2008-02-28 15:53:43 +01:00
Volker Lendecke
95222d115a Convert cli_read to use cli_pull
(This used to be commit 719527f55e)
2008-02-28 15:27:55 +01:00
Volker Lendecke
525aac775e Add async cli_pull support
This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)

Make use of it in the smbclient "get" command.

Volker
(This used to be commit 844a163458)
2008-02-28 15:27:55 +01:00
Volker Lendecke
1d41b5bd2a Add infrastructure to support async SMB requests
(This used to be commit f535682569)
2008-02-28 15:27:55 +01:00
Volker Lendecke
93e06129ab Add basic infrastructure for general async requests
(This used to be commit ae254cb61f)
2008-02-28 15:27:55 +01:00
Jeremy Allison
6e2e0e2ce7 Fix the build - don't use SMB_TRANS_ENC_GSS without
KRB5.
Jeremy.
(This used to be commit d16c295642)
2008-02-28 06:01:09 -08:00
Jeremy Allison
a763f4b79f Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.
Jeremy.
(This used to be commit 6f2b33f607)
2008-02-28 05:54:50 -08:00
Günther Deschner
642f46dcf9 Some fixes for net ads join (uninitialized vars).
Guenther
(This used to be commit 735235e32b)
2008-02-28 14:29:44 +01:00
Günther Deschner
e5775b4fae Use libnet_Join() for "net ads join".
Guenther
(This used to be commit 9a7a2777e4)
2008-02-28 14:19:36 +01:00
Volker Lendecke
be4a76a861 Add cli_setup_packet_buf
This is == cli_setup_packet but takes an explicit buffer argument
(This used to be commit f64b46dc27)
2008-02-28 14:20:17 +01:00
Volker Lendecke
57a9fba097 Make cli_struct a talloc parent
(This used to be commit e69244a5c8)
2008-02-28 14:20:17 +01:00
Günther Deschner
4d55efe4ab Nicen error output in net_ads_leave.
Guenther
(This used to be commit b0d1db95e5)
2008-02-28 14:11:21 +01:00
Günther Deschner
11b81cb8e4 Add WERR_TIME_SKEW to werror mapping tables.
Guenther
(This used to be commit 74767be627)
2008-02-28 14:10:53 +01:00
Volker Lendecke
b9f7dd2909 Add explicit buf arg to cli_check_sign_mac
(This used to be commit ffc1c8cc03)
2008-02-28 13:12:34 +01:00
Volker Lendecke
4b5169f590 Add explicit buf arg to cli_encrypt_message and cli_calculate_sign_mac
(This used to be commit db6ae9ed23)
2008-02-28 13:12:34 +01:00
Günther Deschner
bbe6d400e7 Re-arrange dns update block during "net ads join" a little.
Guenther
(This used to be commit 5d30e9f9fe)
2008-02-28 13:04:30 +01:00
Günther Deschner
b9ca5bf0a1 Fix one dsgetdcname call in wkssvc rpc server.
Guenther
(This used to be commit a69b918784)
2008-02-28 12:58:22 +01:00
Günther Deschner
261671dc95 Remove unused display_ds_domain_controller_info() function.
Guenther
(This used to be commit 24a5098b1c)
2008-02-28 12:47:07 +01:00
Günther Deschner
0d8985f2da Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.
Guenther
(This used to be commit b1a4b21f8c)
2008-02-28 12:40:55 +01:00
Michael Adam
3e581eeee9 Remove a useless variable.
Michael
(This used to be commit 661b9f3d77)
2008-02-28 12:20:43 +01:00
Günther Deschner
42e301570b Use libnet_Unjoin() for "net ads leave".
Guenther
(This used to be commit 11a19e88e2)
2008-02-28 12:09:06 +01:00
Günther Deschner
7347e1ff47 Store domain_is_ad info as early as possible in libnetjoin.
Guenther
(This used to be commit c4ba68aa94)
2008-02-28 11:38:01 +01:00
Günther Deschner
46bdaa5d37 Check for mandatory domain name in libnetjoin/unjoin.
Guenther
(This used to be commit 95bdf2f23c)
2008-02-28 11:38:01 +01:00
Günther Deschner
4ba6c04d0a Delete affinity cache entries while unjoining with libnetunjoin.
Guenther
(This used to be commit 0315b8e53d)
2008-02-28 11:38:01 +01:00
Günther Deschner
09886976f6 Fill in machine account manipulation flags while unjoining in libnetunjoin.
Guenther
(This used to be commit 23ae67158e)
2008-02-28 11:38:01 +01:00
Günther Deschner
1d807c3c29 Add preliminary libnet_join_post_verify call to libnetjoin.
Guenther
(This used to be commit f0e319a18d)
2008-02-28 11:38:01 +01:00
Günther Deschner
bdebe9dc2a Re-run make idl.
Guenther
(This used to be commit 5895a03fd6)
2008-02-28 11:38:01 +01:00