Günther Deschner
7bcd9c5583
libndr: add support for relative_rap_convert.
...
Will not harm anyone, is only used for rare short (2byte) relative pointers, and
relative_rap_convert is always 0 so far (as all init functions using struct
ndr_pull will zero the struct).
Guenther
2010-05-27 23:25:15 +02:00
Kai Blin
49a80fe671
s3-waf: Fix typo
...
Sorry for the noise
2010-05-27 22:45:13 +02:00
Kai Blin
21e8548c0a
s3-waf: Also set "developer" env when building in developer mode
2010-05-27 22:42:59 +02:00
Volker Lendecke
abbf8efb24
s3: Fix a bad memleak in the async echo responder
2010-05-27 18:15:19 +02:00
Günther Deschner
eff13393b3
s3-waf: fix the build after tstream changes.
...
Guenther
2010-05-27 17:18:20 +02:00
Volker Lendecke
9b534ad145
s3: Remove an unused variable
2010-05-27 14:27:58 +02:00
Günther Deschner
869eed76e6
s3-lanman: use samr for api_RNetUserGetInfo.
...
Following MS-RAP 3.2.5.13 NetUserGetInfo Command.
Guenther
2010-05-27 13:37:40 +02:00
Günther Deschner
a1fc7aebfc
s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.
...
Guenther
2010-05-27 13:37:28 +02:00
Holger Hetterich
dd895e526c
vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-27 10:27:07 +02:00
Stefan Metzmacher
85a3853249
s3:rpc_server: make use of the npa_tstream code to connect to named pipes
...
This way we use the newest protocol, which is able to pass
the local and remote address of the SMB connection.
And we correctly support message mode named pipes
without the hack that analyzes the content for DCERPC pdus.
metze
2010-05-27 07:13:59 +02:00
Stefan Metzmacher
4afa54fd53
s3:Makefile.in: add npa_tstream.o to the build of smbd
...
metze
2010-05-27 07:13:58 +02:00
Stefan Metzmacher
9a6636a56e
s3:rpc_server: pass down local and remote tsocket_address to np_open()
...
metze
2010-05-27 07:13:56 +02:00
Stefan Metzmacher
56ebbb53c8
s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes
...
metze
2010-05-27 07:13:55 +02:00
Stefan Metzmacher
9a77cb247d
s3:rpc_server: add np_read_in_progress() function
...
metze
2010-05-27 07:13:53 +02:00
Stefan Metzmacher
8c0be92044
s3:rpc_server: make sure we don't send uninitialized memory for the named_pipe_auth handshake
...
metze
2010-05-27 07:13:52 +02:00
Günther Deschner
6a14dad13c
s3-net: fix the build.
...
Guenther
2010-05-26 23:17:35 +02:00
Günther Deschner
66e9b8c888
s4-smbtorture: add usergetinfo to RAP-SAM.
...
Guenther
2010-05-26 22:58:36 +02:00
Günther Deschner
e94e13bd8d
rap: use rap_LogonHours in rap_NetUserInfo11 as well.
...
Guenther
2010-05-26 22:55:45 +02:00
Günther Deschner
20f843b678
s3-waf: more work on krb5 build.
...
Guenther
2010-05-26 22:53:13 +02:00
Kai Blin
eb6d6114f3
s3-waf: Allow to build with kerberos support
2010-05-26 22:53:04 +02:00
Günther Deschner
229b090308
s3-lanman: remove defines now provided by IDL.
...
Guenther
2010-05-26 22:49:01 +02:00
Günther Deschner
dd05e173a2
rap: fix typo in IDL.
...
Guenther
2010-05-26 22:48:32 +02:00
Günther Deschner
dc014657de
s3-waf: fix the build after chgpasswd.c changes.
...
Guenther
2010-05-26 22:32:32 +02:00
Günther Deschner
b86666ab53
s4-smbtorture: add smbcli_rap_netusergetinfo().
...
Guenther
2010-05-26 22:20:13 +02:00
Günther Deschner
fbd1d50824
rap: add rap_NetUserGetInfo IDL.
...
Guenther
2010-05-26 22:18:07 +02:00
Günther Deschner
2807ab358e
s3-samr: move chgpasswd.c out of smbd and into the samr server.
...
Guenther
2010-05-26 22:17:02 +02:00
Günther Deschner
14b03d132b
s3-smbd: remove unused change/check_lanman_password.
...
Guenther
2010-05-26 22:16:43 +02:00
Günther Deschner
7fa2129db6
s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword().
...
Guenther
2010-05-26 22:15:51 +02:00
Günther Deschner
a17203ba65
s3-lanman: use samr for api_SetUserPassword().
...
Guenther
2010-05-26 22:15:51 +02:00
Matthias Dieter Wallnöfer
c1e8838bf5
flags.h - fix comment for "GTYPE_SECURITY_UNIVERSAL_GROUP" constant
2010-05-26 17:43:18 +02:00
Björn Jacke
9b1daa78cf
s3:Makefile: add missing linker flags for smbfilter
...
this should fix the AIX build
2010-05-26 17:23:28 +02:00
Björn Jacke
60cba59ff8
s3:Makefile: fix a typo in flag variable name
2010-05-26 17:23:28 +02:00
Günther Deschner
ab707cb9b3
s3-printing: fix buildwarning in publishing code after registry changes.
...
Guenther
2010-05-26 15:14:20 +02:00
Simo Sorce
718718d0e7
s3-lanman: Migrated to rpc_connect_spoolss_pipe().
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-26 15:07:58 +02:00
Simo Sorce
8aa96566a9
s3-rpc_server: Created a per connection spoolss pipe.
...
This way all code can reuse the same connection to spoolss
and not have to deal with the creation of a new pipe all over the
code every time we need to ask a service off spoolss.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-26 15:07:57 +02:00
Kai Blin
83b2fd3021
s3-waf: Build smbclient binary
2010-05-26 14:10:54 +02:00
Kai Blin
59f3c4ec59
s3-waf: Fix the naming of some variables introduced recently
2010-05-26 14:10:47 +02:00
Kamen Mazdrashki
c2021e4211
s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functions
...
In multi-DC environment, NBT name resolution may resolv
domain name to any of DCs.
This make this test to fail, as we are modifying the user account
on one DC and query user info immediately after that on another DC.
2010-05-26 14:36:15 +03:00
Kamen Mazdrashki
de60cbb6e7
s4/test: remove unused code
...
There is no need anymore to modify samAccountName
of the testing user to original value as test_cleanup()
will spot the right samAccountName to delete
2010-05-26 14:36:14 +03:00
Kamen Mazdrashki
5444272f89
s4/test: make test_cleanup() in libnet_user library more robust
...
test_cleanup() is called always with RDN name of the user to be deleted.
When modify-user test fails however, we end up with a user
with RDN = libnetusertest and samAccountName = random_name.
This way we can not delete the user and the error message is
quite misleading (I've spent a *lot* of time trying to figure out
if the database is corrupted because of this error).
2010-05-26 14:36:13 +03:00
Kamen Mazdrashki
bbdb838422
s4/test: rename enum test_fields{} member names to be more descriptive
2010-05-26 14:36:13 +03:00
Kamen Mazdrashki
644593d30e
s4/test: Replace hand-made field count to test
...
This patch replaces hand-make count of fields to be tested
with defines for FIRST-LAST value for corresponding fields
to test with.
As a side-effect, 'acct_flags' is now included in tests.
2010-05-26 14:36:12 +03:00
Björn Jacke
2bca048367
s3:configure: use the right AC_CACHE_CHECK variable
2010-05-26 10:19:59 +02:00
Simo Sorce
3c8dc5cd21
s4:smbd: Use tstream_npa_accept_existing to accept named pipe connections
...
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26 09:24:05 +02:00
Simo Sorce
2e171239f9
s4:smbd: Add tstream to the stream_connection structure
2010-05-26 09:24:04 +02:00
Simo Sorce
b7159e6ffd
named_pipe_auth: implement tstream_npa_accept_existing_send/recv
...
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26 09:23:47 +02:00
Kai Blin
9e194cd673
s3-waf: Check for additional options on *xattr
2010-05-26 00:28:34 +02:00
Kai Blin
5a023e73f7
s3-waf: Add darwin to the host_os-specific checks
2010-05-26 00:28:34 +02:00
Kai Blin
b2546ee557
s3-waf: Don't hardcode the name of the awk executable in wscript_build
2010-05-26 00:28:34 +02:00
Jeremy Allison
475531c9bb
Standardize debug messages for read and write.
...
Jeremy.
2010-05-25 11:39:46 -07:00