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

70838 Commits

Author SHA1 Message Date
Günther Deschner
4303d34da9 s3: remove unused struct uuid_flat.
Guenther
2011-02-09 22:51:16 +01:00
Günther Deschner
9239db35e6 s3-waf: make sure we dont activate dnsupdate support w/o gssapi.
Guenther
2011-02-09 22:51:08 +01:00
Jeremy Allison
4ccb7e5bdd Oops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb  9 22:06:05 CET 2011 on sn-devel-104
2011-02-09 22:06:05 +01:00
Jeremy Allison
c377b0e718 Fix up some buildfarm warnings. 2011-02-09 21:21:04 +01:00
Jeremy Allison
344e4cd280 Don't use asprintf in this library - breaks the build on many systems. Fake with malloc/memcpy. 2011-02-09 21:21:04 +01:00
Jeremy Allison
8c363e9252 Move to opening an fd on directory opens. Get more careful about symlink races. 2011-02-09 21:21:04 +01:00
Jeremy Allison
65e6dea73f Remove unneeded stat call. 2011-02-09 21:21:04 +01:00
Matthias Dieter Wallnöfer
be808123cb s4:WAF build - remove "source4/configure.developer"
This isn't needed anymore - discussed with abartlet.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Feb  9 19:44:05 CET 2011 on sn-devel-104
2011-02-09 19:44:04 +01:00
Matthias Dieter Wallnöfer
8d80225afb ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors
Use "return" when located in "main" for consistency ("exit" would do the
same).

The patchset has been discussed with Jelmer Vernooij and afterwards LDB
maintainer Simo Sorce.
2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
5e06b21cc1 ldb:tools - always check if ldb connection has been estabilished
Otherwise return "LDB_ERR_OPERATIONS_ERROR".
2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
22f4030c30 ldb:ldbsearch tool - use LDB result constants where possible 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
23c0ae7452 ldb:ldbsearch tool - simplify error code return 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
ff7dff6ef0 ldb:ldbsearch tool - use "%u" for printing unsigned integers 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
475ea1ca59 ldb:ldbedit tool - don't forget about the "do_edit" result code
Use it for computing the program exit code. The "result" has not to be
free'd explicitly since it's a child by "ldb" which itself is child by
"mem_ctx".
2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
79d3532f7f ldb:ldbedit tool - fix bug #7914
"modify_record" returns "-1" when failing, otherwise the number of
modifies performed as an "unsigned int" converted to "int".
When we get "-1" we immediately need to stop (the error message has
already been generated by the function itself).
2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
b5ccf181f5 ldb:ldbedit tool - use unsigned counters for consistency with other LDB tools 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
bc675aa391 ldb:ldbedit tool - use "%u" for printing out unsigned integers 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
b2c1831337 ldb:ldbedit tool - use LDB result constants where needed 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
bd727a967d ldb:ldbrename tool - use LDB result constant where needed 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
ef0477a0b9 ldb:ldbmodify tool - use unsigned counters for consistency with other LDB tools 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
6f52070d9b ldb:ldbdel tool - use LDB result constants for consistency 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
2937e63644 ldb:ldbadd tool - use LDB return codes where possible 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
de9217beaa ldb:ldbadd tool - use "%u" for printing out unsigned integers 2011-02-09 18:59:19 +01:00
Matthias Dieter Wallnöfer
c3ca0b05e5 ldb:ldbadd tool - use LDB result constants for consistency 2011-02-09 18:59:18 +01:00
Günther Deschner
a0e576178b s3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY here.
Hopefully fixes the irix build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 18:58:15 CET 2011 on sn-devel-104
2011-02-09 18:58:15 +01:00
Günther Deschner
ada4c66ea3 s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
9081cb0fd8 s3-waf: check k5crypto in some more locations.
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
62cd1e08b3 s3-waf: support non-default krb5-config and cups-config locations.
Guenther
2011-02-09 18:14:19 +01:00
Volker Lendecke
dcd6764dad tevent: Fix typos
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 18:13:18 CET 2011 on sn-devel-104
2011-02-09 18:13:18 +01:00
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