Wilco Baan Hofman
626db5c3b5
Add old functionality back which was removed in commit 589a42e2.
...
Andrew, please review!
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Wilco Baan Hofman
08a7bb4abc
Add gpo list function for listing applicable GPO's for users/machines.
...
Implements:
* Hierarchical listing through all parent containers
* security ACL checking on the GPO
* User/computer disabled flags on the GPO
* gPLink disabled
* gPLink enforced
* Block inheritance on the container
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Wilco Baan Hofman
6478a1edb7
Add gPLink and getgpo functionality to net gpo.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Wilco Baan Hofman
8d5f8f577f
Created net gpo and new libgpo for samba 4. This adds the init function which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC.
...
Aborted earlier attempt at reconciliation with samba 3.
Did not work out due to lack of ldb support in samba 3, also the
different registry libraries and different libnet did not help..
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Jelmer Vernooij
0a07b8ebfe
testparm: Convert to Python.
2010-06-20 13:16:30 +02:00
Jelmer Vernooij
1e35ec43f2
setnttoken: Remove empty utility.
2010-06-20 12:19:08 +02:00
Jelmer Vernooij
bd8fcd869d
s4: Fix build when there is a system-provided ldb.
2010-06-16 18:13:18 +02:00
Stefan Metzmacher
6dbcffb51d
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
...
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-16 14:07:28 +02:00
Jelmer Vernooij
55ef0ecea8
s4-python: Remove cruft to deal with static python modules, which are no
...
longer supported.
2010-05-31 00:21:42 +02:00
Matthias Dieter Wallnöfer
fe2a607640
s4:utils/ntlm_auth.c - fix "asprintf" calls
2010-05-28 10:04:48 +02:00
Andrew Bartlett
72ccbcacdd
s4:auth Allow the operational module to get a user's tokenGroups from auth
...
This creates a new interface to the auth subsystem, to allow an
auth_context to be created from the ldb, and then tokenGroups to be
calculated in the same way that the auth subsystem would.
Andrew Bartlett
2010-05-20 17:39:10 +10:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +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
Kamen Mazdrashki
eed665d653
s4/net_drs: Fix Connection name printed
2010-04-28 12:11:03 +03:00
Andrew Tridgell
ec0bb2f46b
s4-net: fixed two compiler warnings
2010-04-22 19:36:16 +10:00
Andrew Tridgell
9b66b7abcc
s4-net: show a list of commands when someone runs "net" with no arguments
2010-04-20 20:59:24 +10:00
Andrew Tridgell
211bf1ea17
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
...
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Stefan Metzmacher
1293712b7d
s4:util/net/drs: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02:00
Jelmer Vernooij
673ca04114
s4-build: Fix autoconf build (net_machinepw.c is no longer present)
2010-04-09 14:21:24 +02:00
Jelmer Vernooij
9af8d02b22
s4-net: Convert machinepw command to python.
2010-04-09 11:53:00 +02:00
Jelmer Vernooij
f83aa13f62
s4-net: Convert vampire command over to Python.
2010-04-09 11:53:00 +02:00
Jelmer Vernooij
ffa73c412e
s4-net: Convert user subcommand to Python.
2010-04-09 11:53:00 +02:00
Jelmer Vernooij
26d928e948
s4-net: Convert 'net time' to python.
2010-04-08 23:41:08 +02:00
Jelmer Vernooij
0c6f434b7b
net: Convert time command to python.
2010-04-08 23:22:55 +02:00
Jelmer Vernooij
7f65f77b4d
Update waf build.
2010-04-08 22:46:02 +02:00
Jelmer Vernooij
cf17d48dec
Migrate 'net export keytab' to python.
2010-04-08 22:37:35 +02:00
Matthias Dieter Wallnöfer
2859b9df99
s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning
2010-04-06 14:54:11 +02:00
Andrew Tridgell
b690fedef5
s4-waf: removed the AUTOGENERATED markers
...
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
b0fb567f04
s4-waf: more dependencies on talloc
...
these are needed so we can support a system talloc without using the
bundled talloc.h
2010-04-06 20:27:13 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
9c0c4a5011
build: setnttoken depends on libreplace
2010-04-06 20:27:01 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Andrew Tridgell
6199ae4745
s4-ldb: fixed command line parsing in oLschema2ldif
...
It really doesn't make sense to use the ldb command line code
2010-03-25 15:45:40 +11:00
Stefan Metzmacher
d3e7266676
s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
fd86c9b687
s4:utils/net/drs: make use of dcerpc_binding_handle stubs
...
metze
2010-03-18 12:39:43 +01:00
Jelmer Vernooij
e49041065f
getntacl: Remove manpage for removed utility.
2010-03-01 03:48:11 +01:00
Kamen Mazdrashki
8416570ea3
s4/drs_util: 'net drs showrepl' command implementation
2010-02-24 14:14:09 +02:00
Kamen Mazdrashki
3f5e9e9974
s4/drs_util: 'net drs replicate' command implementation
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
ff94094dfa
s4/drs_util: Add public function for binding to a DC
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
394746285e
s4/drs_util: Refactor code to use net_drs_connection object for DRSUAPI connecitons
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
9ddb10869c
s4/drs_util: Move DRSUAPI connection data into separate object
...
We need this so we can create independent DRS connections to
different DCs.
2010-02-24 14:14:07 +02:00
Kamen Mazdrashki
e5aae24b3f
s4/net_drs: Utility macros for conditions checking
2010-02-24 14:14:07 +02:00
Brad Hards
7a23b9769b
Various source4 spelling fixes.
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-22 21:45:37 +01:00
Stefan Metzmacher
e82ac8655e
s4:net_drs_bind: make some more stuff static
...
metze
2010-02-12 12:58:47 +01:00
Stefan Metzmacher
eee98110b3
s4:net/drs: use the full path to "utils/net/drs/net_drs*.h"
...
This fixes the build with automatic dependecies.
metze
2010-02-12 12:58:34 +01:00
Andrew Tridgell
f78a534dd2
s4-net-drs: fix some coding style issues
...
We should use the system/*.h headers for system includes. We also try
to avoid C++ comments.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:40 +11:00
Kamen Mazdrashki
976201d24a
s4/net_drs: 'net drs kcc' command implementation
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:39 +11:00
Kamen Mazdrashki
fedc1152b5
s4/net_drs: 'net drs bind' command implementation
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:38 +11:00