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

25655 Commits

Author SHA1 Message Date
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
ce55d7c9f0 Revert "s4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS settings object"
This reverts commit b87c3703cf.
Andrew Bartlett told me that exactly the opposite is true - the "objectCategory"
lookup is performing better.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 14:18:41 CET 2010 on sn-devel-104
2010-11-28 14:18:40 +01:00
Matthias Dieter Wallnöfer
736d36a948 s4:dsdb/repl/drepl* - move "lib/messaging/irpc.h" include into "drepl_service.h"
This is needed to fix a Tru64 "cc" warning regarding "enum drepl_role_master".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 12:46:19 CET 2010 on sn-devel-104
2010-11-28 12:46:19 +01:00
Jelmer Vernooij
4cf85a7193 s4-selftest: Ignore broken pipe error from grep.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
2010-11-28 05:45:05 +01:00
Jelmer Vernooij
7c65ab12af samba.provision: Fix setup_path. 2010-11-28 05:00:06 +01:00
Jelmer Vernooij
8caac9462a samba.provision: Add package with provision and backend modules. 2010-11-28 05:00:06 +01:00
Jelmer Vernooij
a7675bd501 s4-python: Fix formatting of docstrings for the purpose of pydoctor. 2010-11-28 05:00:06 +01:00
Jelmer Vernooij
6fea636888 Makefile: Add rule for pydoctor. 2010-11-28 05:00:05 +01:00
Jelmer Vernooij
ae48c626c8 samba.tests: Fix formatting. 2010-11-28 05:00:05 +01:00
Kamen Mazdrashki
092e923e2b s4-tests/bind.py: Use samba.tests.connect_samdb() instead of directly using SamDB class
connect_samdb() functino will correctly handle things like:
- session_info param - it will create system_session() using supplied
  LoadParm parameter and thus avoiding creation of multiple LoadParm
  instances (LoadParm() will mask certain command line supplied options)
- host url will be prefixed with ldap:// automatically

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Nov 28 03:00:41 CET 2010 on sn-devel-104
2010-11-28 03:00:41 +01:00
Andrew Tridgell
60bf020394 s4-samba-tool: support help, and show description of commands
when you don't specify a subcommand, show the description of the
subcommands in the list of available subcommands. Also show the list
of subcommands when you use 'help', '--help' or '-h' as a subcommand

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Nov 28 01:56:46 CET 2010 on sn-devel-104
2010-11-28 01:56:46 +01:00
Andrew Tridgell
2a4c6da783 s4-drs: fixed credit for C version 2010-11-28 01:11:06 +01:00
Matthias Dieter Wallnöfer
b87c3703cf s4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS settings object
Small optimisation: we don't need to look for "nTDSDSARO" since it's a subclass
of "ntDSDSA".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 27 23:35:13 CET 2010 on sn-devel-104
2010-11-27 23:35:13 +01:00
Matthias Dieter Wallnöfer
eaac277381 s4:dsdb/repl/drepl_service.c - return the correct WERR result 2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
bfb28243d0 s4:drepl_service.c - fix error macro (use "_werr" and not "werr")
Detected by Tru64 "cc".
2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
a13bd32fa9 s4:dsdb/repl/drepl_out_helpers.c - print out the correct error message (werr)
Also detected by Tru64 "cc".
2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
450b26b9b5 s4:lib/registry/rpc.c - remove a duplicate assignment 2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
24c5d6b504 s4:torture/rpc/samr.c - fix uninitialised "status" variables
Detected by Tru64. I wonder how this tests even worked.
2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
5c8f0c5b9d s4:torture/rpc/samsync.c - remove uninitialised "nt_status" check
Found by Tru64 compiler.
2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
6df6364220 s4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64 2010-11-27 21:50:42 +01:00
Matthias Dieter Wallnöfer
c8aa7d5837 s4:param/secrets.h - fix "enum netr_SchannelType" include correctly 2010-11-27 21:50:41 +01:00
Matthias Dieter Wallnöfer
4010eff80b s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.c
Reworked version of commit 7e710c4de9
2010-11-27 21:50:41 +01:00
Matthias Dieter Wallnöfer
3c343fec8a Revert "s4:rpc_server/common/common.h - introduce two forward declarations to suppress parameter declaration warnings"
This reverts commit 7e710c4de9.
This causes more noise than it's useful.
2010-11-27 21:50:41 +01:00
Matthias Dieter Wallnöfer
19ea37886c s4:libcli/security/session.h - fix include ordering for "enum security_user_level" 2010-11-27 21:50:41 +01:00
Matthias Dieter Wallnöfer
4dece699ed s4:dsdb/samdb/samdb.h - fix include ordering in order to prevent warnings on Tru64 2010-11-27 21:50:41 +01:00
Matthieu Patou
caa8a92f52 build: change compile flags on mac os x if we face pb with common symbols
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Nov 27 18:02:41 CET 2010 on sn-devel-104
2010-11-27 18:02:41 +01:00
Jelmer Vernooij
498743bd46 show_test_time: Move to root scripting directory as it's useful for s3
and s4.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
2010-11-27 17:17:29 +01:00
Matthias Dieter Wallnöfer
258dc02a9d s4:role transfer - use always type "enum drepl_role_master" for role specifications
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 27 16:03:43 CET 2010 on sn-devel-104
2010-11-27 16:03:42 +01:00
Matthias Dieter Wallnöfer
d613f91a74 s4:samba3sam LDB module - correctly print out an unsigned value
Here we can print it out as unsigned since we are generating a string
attribute.
2010-11-27 15:17:18 +01:00
Matthias Dieter Wallnöfer
2163c7a298 s4:samba3sam LDB module - make the "pw_uid"/"pw_gid" conversion a bit clearer
And remove the "long" specifier since at least on the major platforms
(Linux, BSD and Solaris) these types are defined as "uint32_t".
2010-11-27 15:17:18 +01:00
Matthias Dieter Wallnöfer
e9f019e28c s4:dsdb tests - make use of "ldb.get_domain_sid()" 2010-11-27 15:17:18 +01:00
Matthias Dieter Wallnöfer
7545b5b3db s4:dsdb/tests/python/sam.py - we don't need the domain SID 2010-11-27 15:17:18 +01:00
Matthias Dieter Wallnöfer
02addbc40d s4:torture/drs/python/fsmo.py - fix comments and an error message 2010-11-27 15:17:18 +01:00
Andrew Tridgell
847b909b6e s4-samba-tool: removed old C implementation of samba-tool drs
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Nov 27 15:16:02 CET 2010 on sn-devel-104
2010-11-27 15:16:02 +01:00
Andrew Tridgell
3d8d382fe5 s4-samba-tool: switched over to python version of samba-tool drs 2010-11-28 00:16:38 +11:00
Andrew Tridgell
d06bf954ba s4-samba-tool: added python implementation of samba-tool drs commands
much simpler than the C code, and this brings us one step closer to a
python samba-tool
2010-11-28 00:16:38 +11:00
Andrew Tridgell
f6c2d39d0b s4-pyglue: expose the remaining NTTIME functions from glue 2010-11-28 00:16:38 +11:00
Andrew Tridgell
8310375a04 s4-drs: allow DrsReplicaGetInfo as a DC 2010-11-28 00:16:38 +11:00
Andrew Tridgell
a589b9a033 s4-pydsdb: use cpp macro to simplify flags definitions
also added some more from flags.h
2010-11-28 00:16:37 +11:00
Andrew Tridgell
af93f227ad s4-samba-tool: fixed "-k no" for disabling kerberos auth
The option "-k no" was not correctly disabling kerberos in python
programs

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-28 00:16:37 +11:00
Matthieu Patou
6a781b5286 Add timestamp when running with --maximum-runtime
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Nov 27 11:51:12 CET 2010 on sn-devel-104
2010-11-27 11:51:12 +01:00