1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

70809 Commits

Author SHA1 Message Date
Andreas Schneider
edbd6f4a93 s3-rpc_server: We need a messaging context for rpc.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  9 17:26:00 CET 2011 on sn-devel-104
2011-02-09 17:26:00 +01:00
Andreas Schneider
1b5609aa4d s3-rpc_server: Fixed possible segfault with client_id. 2011-02-09 16:42:19 +01:00
Christian Ambach
d8a90b499b s3:utils enable sharesec for registry shares
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 16:41:31 CET 2011 on sn-devel-104
2011-02-09 16:41:31 +01:00
Gregor Beck
927102790e s3:net idmap: implement net idmap delete
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 15:06:06 CET 2011 on sn-devel-104
2011-02-09 15:06:06 +01:00
Michael Adam
a6d45d0ad8 s3:net idmap dump: report correct database file when failed to open idmap db. 2011-02-09 14:00:35 +01:00
Gregor Beck
59ccfac211 s3:net idmap dump: use net_idmap_dbfile 2011-02-09 14:00:35 +01:00
Michael Adam
79307cf006 s3:net idmap restore: correctly abort operation if dbfile could not be determined 2011-02-09 14:00:34 +01:00
Michael Adam
92f856c513 s3:net idmap: fix error reporting in net_idmap_dbfile()
The last case which results in dbfile == NULL is not an
out of memory case but means no --db has been specified
and the idmap backend is not supported for auto-determining
the idmap tdb file.
2011-02-09 14:00:34 +01:00
Gregor Beck
e2795f5664 s3:net factor out net_idmap_dbfile 2011-02-09 14:00:34 +01:00
Gregor Beck
1f1a165ea9 s3:net idmap restore: fix segfault on missing input file 2011-02-09 14:00:34 +01:00
Gregor Beck
47f499abf6 s3:net add option --db 2011-02-09 14:00:34 +01:00
Michael Adam
872d913fa2 s3:testparm: add "--option" to testparm
This way one can test the --option feature with testparm.
E.g.:

testparm -s -v --option="parameter=value" | grep parameter

should print "parameter = value"
2011-02-09 14:00:34 +01:00
Michael Adam
015b47fa14 s3:popt: add POPT_COMMON_OPTION to provide only the "--option" feature 2011-02-09 14:00:34 +01:00
Michael Adam
c6f797d020 s3:loadparm: skip leading spaces in parameter values from the command line 2011-02-09 14:00:33 +01:00
Jelmer Vernooij
a65eedd0c7 provision: Add missing dependency on pyldb-util.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb  9 13:55:10 CET 2011 on sn-devel-104
2011-02-09 13:55:10 +01:00
Jelmer Vernooij
d2740976cd dlinklist: Change license to LGPLv3+ (checked with tridge). 2011-02-09 13:10:09 +01:00
Stefan Metzmacher
d04c2c575a s3:rpc_server: create binding_handle in rpc_pipe_open_external()
metze

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 12:30:50 CET 2011 on sn-devel-104
2011-02-09 12:30:50 +01:00
Stefan Metzmacher
f915dd5dd4 s3:rpc_client: make rpccli_bh_create() non-static for now
metze
2011-02-09 11:46:20 +01:00
Kamen Mazdrashki
4d058ca7c0 s4/tests: Implement a blackbox test for 'samba-tool drs' command
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Feb  9 11:45:30 CET 2011 on sn-devel-104
2011-02-09 11:45:30 +01:00
Kamen Mazdrashki
099644f0a7 s4/tests: Move command line processing into separate method to be reused 2011-02-09 11:57:13 +02:00
Kamen Mazdrashki
6b1574636a s4/tests: Implement BlackboxTestCase.check_output() method
I am going to need this to check if output is OK (kind of)
2011-02-09 11:57:13 +02:00
Kamen Mazdrashki
d0867e5c6c s4/samba-tool/drs: Make use of Command.message() method instead of using 'print' 2011-02-09 11:57:12 +02:00
Kamen Mazdrashki
ad48c70db6 s4/samba-tool/drs: Move get_dsServiceName function at module level to be re-used 2011-02-09 11:57:12 +02:00
Kamen Mazdrashki
f3db67e14f s4/samba-tool: 'drs options' command implementation
Current implementation handle only one flag change per call
2011-02-09 11:57:11 +02:00
Andrew Bartlett
6c89bb8d85 waf Remove debugging hacks left in the top level build
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb  9 01:55:15 CET 2011 on sn-devel-104
2011-02-09 01:55:15 +01:00
Andrew Bartlett
45b16de1fc s4-waf Remove source4 build system.
The top level build is the official build system now.

Andrew Bartlett
2011-02-09 01:11:06 +01:00
Andrew Bartlett
7e76367e59 s4-auth Fix setting of bad_password_count in auth_convert_user_info_dc_sambaseinfo()
Discovered during the convertion to auth_user_info.

Andrew Bartlett
2011-02-09 01:11:06 +01:00
Andrew Bartlett
ce461a7857 s4-selftest Fix valgrind and gdb options for top level build
Andrew Bartlett
2011-02-09 01:11:06 +01:00
Andrew Bartlett
a2ce53c1f5 s4-auth Rework auth subsystem to remove struct auth_serversupplied_info
This changes auth_serversupplied_info into the IDL-defined struct
auth_user_info_dc.  This then in turn contains a struct
auth_user_info, which is the only part of the structure that is
mainted into the struct session_info.

The idea here is to avoid keeping the incomplete results of the
authentication (such as session keys, lists of SID memberships etc) in
a namespace where it may be confused for the finalised results.

Andrew Barltett
2011-02-09 01:11:06 +01:00
Andrew Bartlett
f1c0e9532d s4-auth Add auth.idl to encode auth subsystem structures in IDL
This is not only a useful way to encode stuff, it also allows python
to handle the structures, and natrually allows them to be NDR encoded.

Andrew Bartlett
2011-02-09 01:11:06 +01:00
Jeremy Allison
a674a56a97 Add fdopendir to the VFS. We will use this to reuse a directory fd already open by NtCreateX.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb  9 00:55:22 CET 2011 on sn-devel-104
2011-02-09 00:55:22 +01:00
Jeremy Allison
224fc03cb5 Pass fsp to dptr_CloseDir(). Cope with setting the fd if we're closing an fd that opendir knows about. 2011-02-08 15:06:00 -08:00
Jeremy Allison
ad3d1adea3 Add configure checks for fdopendir. 2011-02-08 15:06:00 -08:00
Jeremy Allison
1911d483e5 Add fdopendir(). 2011-02-08 15:05:59 -08:00
Volker Lendecke
5a0ee95b95 s3: Fix some nonempty blank lines and some typos
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 00:01:45 CET 2011 on sn-devel-104
2011-02-09 00:01:45 +01:00
Günther Deschner
698d339ffd selftest: remove make oldtest.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 22:16:31 CET 2011 on sn-devel-104
2011-02-08 22:16:31 +01:00
Günther Deschner
480671481e s3-selftest: let valgrindtest use the new make test.
Guenther
2011-02-08 21:27:40 +01:00
Günther Deschner
587cfd1832 waf: bring back shared Makefile and configure (needed by s3-waf).
Guenther

Revert "build: removed unused build scripts"

This reverts commit 2e520ca911.
2011-02-08 20:44:55 +01:00
Günther Deschner
8b64d0607b s3-spoolss: Dont wipe out all drivers when only one should be deleted.
Great catch from Bjoern Baumbach <bb@sernet.de> !

Andreas, Simo, please check.

We now have a torture test (rpc.spoolss.driver.driver.multiple_drivers) for this.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 18:11:48 CET 2011 on sn-devel-104
2011-02-08 18:11:48 +01:00
Günther Deschner
9e6d61fb85 s4-smbtorture: add torture test to check proper add and delete driver operations.
Thanks to Bjoern Baumbach <bb@sernet.de> for pushing us to test and verify this.

Guenther
2011-02-08 17:23:52 +01:00
Günther Deschner
541bf8068d s3-selftest: mark the driver timestamp test as knownfail for now.
Guenther
2011-02-08 17:23:52 +01:00
Günther Deschner
7d107cda89 s4-smbtorture: also run the driver timestamp spoolss test against samba.
Guenther
2011-02-08 17:23:52 +01:00
Günther Deschner
4086c1e382 s4-waf: split out wscript_build for ndrdump binary.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 14:50:54 CET 2011 on sn-devel-104
2011-02-08 14:50:54 +01:00
Günther Deschner
56fe080d87 lib/compression: add shared wscript_build.
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
947ba448a4 libndr: apply some const and make is_valid_policy_hnd a callback to policy_handle_empty.
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
34722c72f6 pam: share pam errors in a common location.
Guenther
2011-02-08 14:05:36 +01:00
Jelmer Vernooij
242797aca9 pysecurity: Add missing dependency on pytalloc-util.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Feb  8 13:16:43 CET 2011 on sn-devel-104
2011-02-08 13:16:43 +01:00
Gregor Beck
01d3da3c7c s3:net: remove unused net_idmap_help
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb  8 11:50:37 CET 2011 on sn-devel-104
2011-02-08 11:50:37 +01:00
Andreas Schneider
9732955038 s3: Added file for clang complete support in vim.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue Feb  8 10:40:42 CET 2011 on sn-devel-104
2011-02-08 10:40:42 +01:00
Andreas Schneider
12913c90f7 s3: Added missing files in .gitignore. 2011-02-08 09:54:06 +01:00