Günther Deschner
7ece43b15e
s3-build: make sure we pick up system tdb and talloc via #include.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2011-04-14 12:56:27 +02:00
Günther Deschner
daea6a4b8c
s3-includes: move readahead prototype to its only user.
...
Guenther
2011-04-14 12:12:47 +02:00
Volker Lendecke
15d6c70707
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Apr 14 11:55:56 CEST 2011 on sn-devel-104
2011-04-14 11:55:56 +02:00
Andrew Bartlett
32c12cc279
libcli/auth Fix compile on hosts without krb5
...
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 11:08:49 CEST 2011 on sn-devel-104
2011-04-14 11:08:49 +02:00
Andrew Bartlett
e1078b87de
lib/util Move alpha_strcpy() from s3 into common code
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
2011-04-14 09:21:59 +02:00
Andrew Bartlett
bbeba18b1c
s3-auth Rename smb_krb5_open_keytab to avoid a conflict with s3
...
The s3 function doesn't use the keytab_container concept.
Andrew Bartlett
2011-04-14 16:38:27 +10:00
Andrew Bartlett
4ba1375526
libcli/auth Move krb5 wrapper functions from s3 into common
...
This requires a small rework of the build system to ensure that the
correct #define statements are made in both the s3 and top level
builds. We now define the various HAVE_ macros in config.h at all
times, using heimdal_build/wscript_configure when that is in use.
Andrew Bartlett
2011-04-14 16:38:26 +10:00
Andrew Bartlett
3d7998bce1
s3-lib Remove very unused (#if 0) strncpyn
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 06:27:31 CEST 2011 on sn-devel-104
2011-04-14 06:27:31 +02:00
Andrew Bartlett
b1873be59b
s3-lib Remove unused string_append
2011-04-14 12:47:45 +10:00
Andrew Bartlett
72dcf6d47c
s3-lib Move unix_strlower and unix_strupper to their only users.
2011-04-14 12:42:52 +10:00
Andrew Bartlett
aad2c19da7
s3-lib Remove unused str_ascii_charnum()
2011-04-14 12:34:51 +10:00
Andrew Bartlett
9d62ee2a81
s3-lib Move strisnormal to it's only user in mangle_hash.c
2011-04-14 12:31:18 +10:00
Andrew Bartlett
35fca85660
libcli/ldap Re-add ldap_ndr.h as a public header
...
as noticed by Brad Hards
Andrew Bartlett
2011-04-14 12:22:59 +10:00
Christian Ambach
29c0c37691
s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego
...
I have seen domain controllers rejecting NTLMv2 blobs presented to
NetrLogonSamLogonEx with LOGON_FAILURE when the MsvAvNbComputerName
was a FQDN or an IP address
I have not seen this field in NTLMv2 blobs send by Windows clients
when extended security was not available, so omitting the field
makes Samba similar to Windows.
This prevents errors with some smbtorture testcases that disable
spnego and when a target name is specified that is not a valid
netbios name.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 02:19:08 CEST 2011 on sn-devel-104
2011-04-14 02:19:08 +02:00
Christian Ambach
96a49d23a4
libcli: allow exclusion of netbios name in NTLMV2 blob
...
when no hostname is given, leave away the MsvAvNbComputerName part
of the ntlmv2 blob
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-14 01:32:22 +02:00
Christian Ambach
36f7f985c1
s4/libcli: do not announce NT error code support when it is disabled
...
when the support of NT error codes has been disabled in the options of a
CLI connection, support for them should not be announced during
protocol negotiation
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-14 01:32:22 +02:00
Günther Deschner
165521e20d
s3: only include smb profiling where needed.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-14 01:31:39 +02:00
Günther Deschner
1b4d27d45a
s3-waf: add --with-profiling-data configure option.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
bae2ce8054
s3: fix the build of --with-profiling-data.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
321587e44a
s3-includes: only include acl prototypes when needed.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
c4331f6fcf
s3-includes: absolutely no need to globally include debugparse.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
b4e4b60719
s3-includes: include lib/util/debug.h headers in includes.h not smb.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
76d4ede6db
s3-includes: remove unused schema_types enum.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
e7821116d1
s3-includes: move struct pipe_open_rec to srvsvc rpc server.
...
Guenther
2011-04-14 00:47:57 +02:00
Jeremy Allison
a21be2c3c8
Fix WAF build for sids2xids.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
2011-04-14 00:33:53 +02:00
Volker Lendecke
845d4d43c7
s3: Add a test for sid2xids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
32bd64359c
s3: Add some debug to winbindd_sids_to_xids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
ddfeccc6e4
s3: Use wbcSidsToUnixIds in create_local_token
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
b8dc235b08
nsswitch: Add wbinfo --sids-to-unix-ids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
a93c49d7e6
libwbclient: Add wbcSidsToUnixIds
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
44f7fc4fdf
s3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipe
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
a671885f49
s3: Add wbint_Sids2UnixIDs idl & implementation
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
80f873853f
s3: Make idmap_find_domain public
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
74ea52e351
s3: Add is_domain_online
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
69ba25948a
nsswitch: wbinfo --lookup-sids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
4be643d4ce
lib: Move next_token next to next_token_talloc
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
cfe30df98e
libwbclient: Add wbcLookupSids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
63446c2c2a
s3: Add winbindd_lookupsids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
490c52c9fc
s3: Add wb_lookupsids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
091fd0f0f7
s3: Add wbint_LookupSids
...
This will be called from wb_lookupsids to query remote DCs via lsa
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
ef9d2b15e0
s3: Make parse_sidlist public
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
58e26c2589
s3: Simplify parse_sidlist
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
d4c693df98
Add dom_sid_parse_endp
...
This returns a pointer to the first non-parsed character, along the lines of
strtoul for example.
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Jeremy Allison
df269c0834
Don't print "success" message after error message in change_file_owner_to_parent(). Remove "goto" in change_dir_owner_to_parent().
2011-04-13 14:13:24 -07:00
Günther Deschner
c3d8991164
s3-build: finally remove references to ndr and dcerpc headers that were included globally.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
2011-04-13 23:07:05 +02:00
Günther Deschner
9824e2e5ee
s3-rpc_client: add and use rpc_client/rpc_client.h.
...
Guenther
2011-04-13 22:23:59 +02:00
Günther Deschner
d2d976d835
s3-netapi: remove two shadowed variables.
...
Guenther
2011-04-13 22:23:59 +02:00
Stefan Metzmacher
8acc57d6a2
s3:WHATSNEW.txt: remove the "strict allocate" default value
...
commit dc36d75d5fddaa351025e8eb8140f401b66aeb9d
reverted the change to true, because it makes Samba
unusable on systems without Linux and a modern Filesystem.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Apr 13 21:21:10 CEST 2011 on sn-devel-104
2011-04-13 21:21:10 +02:00
Günther Deschner
4b3fe5247a
s3-cli_pipe: fix timeout in rpc_pipe_open_tcp_port().
...
Make sure we use a timeout of 60 seconds, not 60 milliseconds...
This prevented us from successfully using the ncacn_ip_tcp client in a lot of
places, I guess.
Guenther
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Apr 13 18:59:19 CEST 2011 on sn-devel-104
2011-04-13 18:59:19 +02:00
Günther Deschner
8b8014198c
s3-util_sock: very brief documentation for open_socket_out().
...
The most important bit is to document that timeout is in MILLIseconds, not
seconds.
Guenther
2011-04-13 18:13:34 +02:00