Günther Deschner
6a93be43dc
s3-selftest: add WIN40 directory to print$ share.
...
Guenther
2010-11-29 15:35:19 +01:00
Günther Deschner
b9a59ba80d
s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.
...
Guenther
2010-11-29 15:35:19 +01:00
Günther Deschner
90a0a7e81b
s4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.
...
Guenther
2010-11-29 15:35:19 +01:00
Günther Deschner
93582c3d29
s4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.
...
Guenther
2010-11-29 15:35:19 +01:00
Matthias Dieter Wallnöfer
e9c40efdcf
s4:wrepl_server - add a cast on "iov_base"
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 15:34:32 CET 2010 on sn-devel-104
2010-11-29 15:34:32 +01:00
Matthias Dieter Wallnöfer
6ce63655ef
s4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts
2010-11-29 14:48:13 +01:00
Matthias Dieter Wallnöfer
bd4006fb9e
s4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"
2010-11-29 14:48:13 +01:00
Matthias Dieter Wallnöfer
205c1e0106
s4:wrepl_server - remove unreachable statement
2010-11-29 14:48:13 +01:00
Matthias Dieter Wallnöfer
40db0b8386
s4:dcesrv_drsuapi RPC server - remove unreachable statement
2010-11-29 14:48:13 +01:00
Matthias Dieter Wallnöfer
821c962d2a
s4:dns_server/dns_update.c - remove unreachable statements
2010-11-29 14:48:13 +01:00
Matthias Dieter Wallnöfer
3035fe041f
libcli/security/object_tree.c - remove unreachable statement
2010-11-29 14:48:12 +01:00
Matthias Dieter Wallnöfer
87b887f48f
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
2010-11-29 14:48:12 +01:00
Matthias Dieter Wallnöfer
7fb9087e64
s4:auth/ntlmssp/ntlmssp_server.c - remove unnecessary ";"
2010-11-29 14:48:12 +01:00
Matthias Dieter Wallnöfer
c4625a84de
heimdal:base/heimbase.c - remove an unused variable
2010-11-29 14:14:02 +01:00
Matthias Dieter Wallnöfer
0852b0f653
s4:param/pyparam_util.c - remove unused include
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 12:56:12 CET 2010 on sn-devel-104
2010-11-29 12:56:12 +01:00
Matthias Dieter Wallnöfer
cc553eaf97
s4:auth/gensec/gensec_gssapi.c - always print error messages on the same talloc context
2010-11-29 11:33:04 +01:00
Andrew Tridgell
7025087456
wintest: cope with the heimdal version of kinit
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104
2010-11-29 08:49:36 +01:00
Andrew Tridgell
dc0c89cf40
s4-samdb: give a better exception if multiple users match in password change
2010-11-29 18:04:42 +11:00
Andrew Tridgell
c522cd73ac
s4-repl_schema: fixed ldb exception handling
2010-11-29 18:04:42 +11:00
Andrew Tridgell
37bfc4ec38
s4-samba-tool: fixed exception handling in subcommands
...
this switches to the new pattern of:
except Exception, e:
raise CommandError("some error message", e)
2010-11-29 18:04:42 +11:00
Andrew Tridgell
6250690310
s4-samba-tool: fixed ldb exception handling in domainlevel command
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-29 18:04:42 +11:00
Andrew Tridgell
a1f96923e6
s4-samba-tool: improved exception handling in samba-tool
...
we now do reasonable printing on a wide range of common exception
classes, and always force a backtrace on an exception if the debug
level is >= 3
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-29 18:04:42 +11:00
Andrew Tridgell
8c59bbd757
s4-join: fixed exception handling in join command
2010-11-29 18:04:42 +11:00
Andrew Tridgell
abe9ac53f0
s4-ldapcmp: make ldapcmp a samba-tool command
...
The ldapcmp tool is very useful, and should be available to Samba
admins, not just developers. This makes it a samba-tool command, which
also gives it the nicer command line handling that samba-tool has
2010-11-29 18:04:42 +11:00
Andrew Tridgell
f8d73e466b
s4-ldapcmp: fixed exception handling
...
This pattern, which is common in our code, is wrong:
except LdbError, (ERR_NO_SUCH_OBJECT, _):
what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT
to be equal to whatever ldb error occurred! This led to some really
bizarre behavior
2010-11-29 18:04:42 +11:00
Andrew Tridgell
0dd2152b01
s4-pyglue: added get_debug_level() method
...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-29 18:04:42 +11:00
Andrew Tridgell
33d178767b
s4-loadparm: use loadparm_init_global() instead of loadparm_init()
...
this prevents us having two lp_ctx contexts in these tools which leads
to bizarre behaviour
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-29 18:04:42 +11:00
Andrew Tridgell
b20ce4392e
s4-loadparm: added loadparm_init_global()
...
This ensures we use the same loadparm_context in all our command line
tools.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-29 18:04:42 +11:00
Andrew Tridgell
6982a00ded
s4-gpo: started on samba-tool gpo list command
2010-11-29 18:04:42 +11:00
Andrew Tridgell
6cd01c9665
s4-dsdb: give full error message for operational failures
2010-11-29 18:04:42 +11:00
Andrew Tridgell
74d373d0f7
s4-pydsdb: two more GPO related flags
2010-11-29 18:04:41 +11:00
Andrew Tridgell
7a826d02a3
s4-samba-tool: started on gpo subcommands in python
...
this adds the listall GPO command. Currently the python variants are
available as "samba-tool gpo2 SUBCOMMAND". These will replace the
"samba-tool gpo" commands when complete
2010-11-29 18:04:41 +11:00
Andrew Tridgell
e54c8bef8a
s4-pydsdb: added GPO policy flags
2010-11-29 18:04:41 +11:00
Jelmer Vernooij
97f0d6c278
samba.tests.hostconfig: Fix import.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 18:08:33 CET 2010 on sn-devel-104
2010-11-28 18:08:33 +01:00
Jelmer Vernooij
eb5a8e29cf
s4-python: Some reformatting for the purpose of pydoctor.
2010-11-28 17:23:28 +01:00
Jelmer Vernooij
20516df275
samba.upgradehelpers: Simplify code a bit.
2010-11-28 17:23:27 +01:00
Jelmer Vernooij
ca495e67b2
samba.hostconfig: Move samba.shares into samba.hostconfig.
2010-11-28 17:23:27 +01:00
Jelmer Vernooij
979d298b0d
samba.getopt: Fix missing import of sys.
2010-11-28 17:23:27 +01:00
Jelmer Vernooij
28b509579d
chgtdcpass: Fix program name in usage message.
2010-11-28 17:23:27 +01:00
Matthias Dieter Wallnöfer
56969adb3d
s4:torture/smb2/acls.c - remove two unused variables
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 17:22:54 CET 2010 on sn-devel-104
2010-11-28 17:22:54 +01:00
Matthias Dieter Wallnöfer
96c1cd762d
s4:introduce casts before outputs of "time_t" variables
...
Otherwise we are getting warnings on "NetBSD".
2010-11-28 16:38:16 +01:00
Matthias Dieter Wallnöfer
7128c15b65
replace:wscript - reintroduce the size check for "bool" due to a request of metze
2010-11-28 16:38:16 +01:00
Matthias Dieter Wallnöfer
3c0725001e
replace:wscript - change the "bool" checks to be compatible with more platforms
...
- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed
2010-11-28 16:38:16 +01:00
Matthieu Patou
c254527386
build: update gdb_backtrace to make it search for gdb66 as it work on freebsd
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104
2010-11-28 16:37:08 +01:00
Matthieu Patou
06beebd1e4
fix bad shell
2010-11-28 17:50:45 +03:00
Matthias Dieter Wallnöfer
ef8349e28d
replace:wscript - reintroduce the size check for "bool" due to a request of metze
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
2010-11-28 15:48:40 +01:00
Volker Lendecke
c69b1edcb9
s3: Properly print binary values "net cache"
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104
2010-11-28 15:03:26 +01:00
Volker Lendecke
1a91fe90b6
s3: Add gencache_iterate_blobs
2010-11-28 14:19:19 +01:00
Volker Lendecke
62afdb9cc0
s3: Convert gencache_get_data_blob to gencache_parse
2010-11-28 14:19:19 +01:00
Volker Lendecke
9843103b7d
s3: Add gencache_parse
2010-11-28 14:19:19 +01:00