Günther Deschner
30eeb1e3d9
s3-rpc_client: move protos to init_netlogon.h
...
Guenther
2010-05-28 02:49:36 +02:00
Simo Sorce
f888c82fe0
s3:auth Add comment to clarify usage of session keys.
...
Explain why we have what looks like a duplicate of session keys.
It is in fact not a duplicate.
2010-05-27 20:40:22 -04:00
Simo Sorce
20fb373202
s3:auth remove login_server from server info
...
It is not used anymore, we have that information in
info3->base.logon_server already
2010-05-27 19:41:07 -04:00
Simo Sorce
3bb819581b
Fix Out of memory checks
...
Günther pushed an older version of the patch "s3:auth add function to copy a
netr_SamInfo3 structure" that was missing these fixes.
2010-05-27 19:23:54 -04:00
Simo Sorce
2a6a696e32
s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 01:20:09 +02:00
Simo Sorce
606be25ecf
s3:auth Free sampass as soon as we have server_info
...
We don't keep sampass in server_info anymore
So it makes no sense to keep it around.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:56:02 +02:00
Simo Sorce
d9cffc01be
s3:auth use info3 in auth_serversupplied_info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:53 +02:00
Simo Sorce
6713f3d945
s3:auth add function to copy a netr_SamInfo3 structure
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:27 +02:00
Simo Sorce
605cfef56c
s3:auth: add function to convert samu to netr_SamInfo3
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:17 +02:00
Günther Deschner
667716d204
s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.
...
Guenther
2010-05-28 00:22:40 +02:00
Günther Deschner
7803bcdae6
s4-smbtorture: remove obsolete handmarshalled rap code.
...
Guenther
2010-05-28 00:22:18 +02:00
Günther Deschner
82982bd480
s4-smbtorture: we can fully use autogenerated code to pull info unions now.
...
Guenther
2010-05-28 00:17:45 +02:00
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