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

430 Commits

Author SHA1 Message Date
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
Kamen Mazdrashki
61246da63c s4/net_drs: 'net drs' utility initial creation
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:38 +11:00
Jelmer Vernooij
bb83ffdc21 net: Fix python 2.4 compatibility. 2010-02-03 23:55:58 +01:00
Jelmer Vernooij
c42242d132 s4: Include Python.h early to avoid double definition errors. 2010-01-21 16:15:10 +13:00
Matthieu Patou
a4b01dd59c s4: utils recreate in python setntacl and getntacl
setntacl is able to set NTACL attribute from command line
  getntacl now use getopt for parsing command line option and is also able to
  dump the acl in the SDDL format.
2010-01-21 07:11:18 +13:00
Jelmer Vernooij
552e65679d net: Allow Python commands to return None instead of 0.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:21 +11:00
Jelmer Vernooij
31cc963ba0 net: Allow python subcommands to provide commands that are not recognized by
net itself.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:02 +11:00
Jelmer Vernooij
94454ad073 net: Make arguments available to python commands as sys.argv. 2009-12-29 16:26:21 +01:00
Jelmer Vernooij
e2c4d8281d s4/net: Allow options before arguments for Python commands. 2009-12-29 16:26:20 +01:00
Jelmer Vernooij
433f58f5a7 s4/net: Pass all arguments through to the Python commands. 2009-12-29 16:26:20 +01:00
Jelmer Vernooij
027f6ada63 s4/net: Use d_printf consistently when reporting errors. 2009-12-29 16:26:20 +01:00