1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

62636 Commits

Author SHA1 Message Date
Günther Deschner
7887d99a60 s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.
Guenther
2010-05-10 10:36:39 +02:00
Andreas Schneider
3addebee34 tevent: Added a description for tevent queue. 2010-05-10 10:28:37 +02:00
Andreas Schneider
d596bb1a1d tevent: Added an introduction to the tevent_queue tutorial.
Thanks Volker.
2010-05-10 10:28:37 +02:00
Andreas Schneider
b2e520a28b tevent: Fixed a doxygen problem with PRINTF_ATTRIBUTE. 2010-05-10 10:28:37 +02:00
Andreas Schneider
876ed034c8 talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE. 2010-05-10 10:28:37 +02:00
Kai Blin
7c68512a21 build: Update the waf build to fix python header checks 2010-05-10 10:25:34 +02:00
Matthias Dieter Wallnöfer
e4ce727c8d s3:provision_basedn_modify.ldif - add "msDS-NcType" attribute and fix comments 2010-05-10 09:21:17 +02:00
Günther Deschner
8a2a8217f8 s3-proto: add missing protoype for dcerpc_fault_to_nt_status().
Guenther
2010-05-09 23:47:56 +02:00
Günther Deschner
e6c4df43c8 s3-lanman: use srvsvc for api_RNetServerGetInfo().
Following MS-RAP 3.2.5.3 NetServerGetInfo Command.

Guenther
2010-05-09 23:42:31 +02:00
Simo Sorce
3c1e9a8c33 s3-spoolss: Make spoolss_Time_to_time_t public.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-09 23:33:40 +02:00
Matthias Dieter Wallnöfer
1cdc46a90a s4:samldb LDB module - make "samldb_member_check" synchronous again 2010-05-09 20:26:31 +02:00
Matthias Dieter Wallnöfer
4153da4069 s4:samldb LDB module - make "samldb_prim_group_users_check" synchronous again 2010-05-09 19:16:13 +02:00
Matthias Dieter Wallnöfer
d91ee0b095 s4:samldb LDB module - update the copyright notice 2010-05-09 19:16:12 +02:00
Matthias Dieter Wallnöfer
088a25912e s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" syntax 2010-05-09 19:14:47 +02:00
Matthias Dieter Wallnöfer
ce4c0261f6 s4:net utility - make outprinted description comments more consistent
I've added a [server connection needed] when commands won't work on the local
SamDB.
2010-05-09 19:14:47 +02:00
Matthias Dieter Wallnöfer
b703481ef7 s4:net utility - remove unixname parameter of samdb.newuser
We don't handle the id mapping stuff manually anymore.
2010-05-09 19:14:47 +02:00
Matthias Dieter Wallnöfer
cde9ec4af6 s4:samdb python bindings - remove idmap creation stuff from this call
The id mapping should now be handled automatically by the s4 daemon.
2010-05-09 19:14:46 +02:00
Matthias Dieter Wallnöfer
544dc4465c s4:net utility - add an optional password attribute to "net user add"
To make it behave similar to "net newuser".
2010-05-09 19:14:46 +02:00
Andrew Bartlett
6dfa851ce9 s4:dsdb Provide an intelegent fallback if not CN=Subnets is found
We may as well fall back rather than return NULL (which callers don't
do useful things with).

Andrew Bartlett
2010-05-09 21:18:52 +10:00
Andrew Bartlett
23cafd5569 buildtools: Add 'make testenv' to Samba4 make targets
I'm still too addicted to this as my standard debugging environment, and while I can learn the new command, this helps the muscle-memory.

Andrew Bartlett
2010-05-09 21:18:52 +10:00
Stefan Metzmacher
435ce8ebd7 dsdb/password_hash: remove usage of msDs-KeyVersionNumber
metze
2010-05-09 21:18:52 +10:00
Andrew Bartlett
7b11ce738d s4:dsdb Use replPropertyMetaData as the basis for msDS-KeyVersionNumber
This means that the existing kvno will no longer be valid, all
unix-based domain members may need to be rejoined, and
upgradeprovision run to update the local kvno in
secrets.ldb/secrets.keytab.

This is required to match the algorithm used by Windows DCs, which we
may be replicating with.  We also need to find a way to generate a
reasonable kvno with the OpenLDAP backend.

Andrew Bartlett
2010-05-09 21:18:52 +10:00
Matthias Dieter Wallnöfer
f1974fbdf9 librpc:dcerpc_error.c - fix a warning 2010-05-09 10:22:55 +02:00
Günther Deschner
ecc3413bf5 s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print().
Andreas, please check.

Guenther
2010-05-09 00:42:54 +02:00
Günther Deschner
0798ddf63a pidl: add NDR_PRINT_DEBUG output to generated s3 server dispatch tables.
This dramatically helps tracking and debugging usage of the
rpc_pipe_open_internal users.

Guenther
2010-05-08 23:00:20 +02:00
Volker Lendecke
58b5a16444 s3: Fix the build 2010-05-08 22:04:32 +02:00
Günther Deschner
e065ecc6b3 s4-smbtorture: add smbcli_rap_netuserpasswordset2().
Guenther
2010-05-08 01:47:04 +02:00
Günther Deschner
93d2e91b90 rap: add rap_NetUserPasswordSet2() to IDL.
Guenther
2010-05-08 01:46:40 +02:00
Günther Deschner
4afdb5a2a7 s3: move BASE_RID to main includes.h (in preparation to separate passdb).
Guenther
2010-05-08 01:45:39 +02:00
Günther Deschner
b83ab96b16 s3-passdb: moving account_pol.c into passdb.
Guenther
2010-05-08 01:45:27 +02:00
Jelmer Vernooij
961993bc91 s3-merged: Make sure bin/ exists when copying in bin/smbtorture4. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
169aabae70 s3-merged: Use newly added waf reconfigure subcommand. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
95421552be Reintroduce merged build, using waf to build smbtorture4. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
674a78d60a Revert "Revert "s3-build: Remove --enable-merged support.""
This reverts commit 8f8e7c788a.
2010-05-07 18:34:00 +02:00
Jelmer Vernooij
c18d58b854 samba3: Generate C files from IDL in source3/librpc/gen_ndr rather than
librpc/gen_ndr.

This is done to make it possible to run waf in the source4/ tree at
the same time, since waf has problems with files that were generated by
something else.
2010-05-07 18:34:00 +02:00
Jeremy Allison
5b7163a23d Only MULTIPLE-UNLOCK test left to fix !
Jeremy.
2010-05-07 07:25:13 -07:00
Jeremy Allison
31b12622cf When tearing down the connection make sure we close all files before
freeing the global context, as we close access to the locking db
before freeing the global context.

Jeremy.
2010-05-07 06:54:16 -07:00
Jeremy Allison
adf4833792 This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context.
Jeremy.
2010-05-07 06:20:50 -07:00
Andrew Tridgell
6fd4861d9d s4-devel: a very useful script when dealing with library/linking issues
I use this all the time, so I thought I'd put it in the tree for
others
2010-05-07 15:14:49 +02:00
Andrew Tridgell
022266566d build: fixed pc file variable substitution
We should not substitute for the first use of each variable
declaration in the pkgconfig file
2010-05-07 15:14:49 +02:00
Björn Jacke
e8c3da1fc0 idl: get the logic of the prevous commit right 2010-05-07 13:45:00 +02:00
Björn Jacke
10e0641e34 idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
2010-05-07 13:38:00 +02:00
Björn Jacke
5910f4cade s3:configure: search fdatasync also in librt
Sun^W Oracle Solaris has it there ...
2010-05-07 12:53:53 +02:00
Björn Jacke
358a3855c2 s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is being used 2010-05-07 11:58:09 +02:00
Jeremy Allison
4ad1943d29 Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-).
Jeremy.
2010-05-07 01:20:26 -07:00
Jeremy Allison
882fb1828f Fix crash in cancel-tdis lock test. Correctly shut down connection.
Jeremy.
2010-05-07 00:33:59 -07:00
Andrew Tridgell
815fcfba48 build: treat a blank --build or --host as not a cross-compile
This matches autoconf behaviour
2010-05-07 09:03:47 +02:00
Jeremy Allison
1c7a60ef41 Fix cancel by close lock test.
Jeremy.
2010-05-06 15:39:21 -07:00
Andreas Schneider
82900073fb talloc: Documented the missing string functions. 2010-05-06 18:14:09 +02:00
Jeremy Allison
516f7c571e Fix SMB2 lock tests up to cancel-by-close.
Jeremy.
2010-05-06 09:07:49 -07:00