1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

63246 Commits

Author SHA1 Message Date
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
Michael Adam
aa51fa0ce3 s3:fix the waf build after registry changes. 2010-05-25 17:28:33 +02:00
Günther Deschner
f12028a3fd s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing rules" warning.
Guenther
2010-05-25 12:43:00 +02:00
Günther Deschner
8e41f2e66a s3-waf: very simple start on getting krb5 build to work.
Guenther
2010-05-25 12:27:05 +02:00
Matthias Dieter Wallnöfer
abf2764361 s4:torture/rpc/samr.c: Fix the "ValidatePassword" test
It was failing randomly due to an uninitialised "status" variable.
2010-05-25 12:09:32 +02:00
Michael Adam
af2cbaa700 s3:registry: add C for substantial changes to reg_objects 2010-05-25 10:53:17 +02:00
Michael Adam
80293b8067 s3:registry:reg_objects: Remove use of uint{8,16,32} in favour of C99 types 2010-05-25 10:35:32 +02:00
Michael Adam
0b446e0842 s3:registry: add comment header block to registry.h 2010-05-25 10:35:31 +02:00
Michael Adam
0fe1ff99a1 s3:registry: move reg_objects.h to registry/ and use it only where needed
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
2010-05-25 10:35:31 +02:00
Michael Adam
552e505cee s3:registry: move non-reg_objects definitions from reg_objects.h to registry.h 2010-05-25 10:35:31 +02:00
Michael Adam
75e691ae6b s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c 2010-05-25 10:35:31 +02:00
Michael Adam
0e8e5d5d6e s3:net rpc registry: use regval_ctr_init() instead of direct allocation 2010-05-25 10:35:31 +02:00
Michael Adam
bf65ff5ea2 s3:profiles: use regval_ctr_init() instead of direct allocation 2010-05-25 10:35:30 +02:00
Michael Adam
7b2f5f20da s3:rpcclient:spoolss: use regval_ctr/blob accessor functions. 2010-05-25 10:35:30 +02:00
Michael Adam
112eddf107 s3:net_rpc_printer: use regval_blob/ctr accessor functions 2010-05-25 10:35:30 +02:00