Andreas Schneider
1298280a22
auth:creds: Rename CRED_USE_KERBEROS values
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2020-11-03 15:25:37 +00:00
Andreas Schneider
2b6706fbbe
s4:lib: Use C99 initializer for poptOption in popt_credentials
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-01-28 10:29:17 +01:00
Andreas Schneider
ded66cf39e
s4:lib: Use C99 initializer for poptOption in popt_common
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-01-28 10:29:16 +01:00
Jeremy Allison
4039e51a6f
s4: popt: Change from talloc_autofree_context() to NULL context.
...
Call popt_free_cmdline_credentials() on successful exit from torture.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2017-05-11 20:30:13 +02:00
Jeremy Allison
91267449ec
s4: popt: Make cmdline_credentials static.
...
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2017-05-11 20:30:13 +02:00
Jeremy Allison
b2de5a81bf
s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials().
...
Add one use of popt_set_cmdline_credentials().
Fix 80 column limits when cmdline_credentials changes
to popt_get_cmdline_credentials().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2017-05-11 20:30:13 +02:00
Jeremy Allison
dd4a3ce927
s4: popt: Add set/get/free functions for cmdline_credentials.
...
Preparing to make this static instead of a global.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2017-05-11 20:30:13 +02:00
Andrew Bartlett
477fce1f39
s4-lib/cmdline: Fix help for -P / --machine-pass: this no longer implies -k
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2015-03-06 17:39:58 +01:00
Andreas Schneider
9c81260499
waf: Make sure we link against samba-util.
...
libcmdline-credentials.so needs samba_getpass() from libsamba-util.so,
so we need to link against it.
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Feb 14 16:56:29 CET 2013 on sn-devel-104
2013-02-14 16:56:29 +01:00
Andreas Schneider
7cc108c93c
cmdline: Use new samba_getpass() function.
...
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2012-12-03 14:35:10 +01:00
Karolin Seeger
4ed7803c80
popt_common: Fix typos.
...
Karolin
Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov 15 01:31:50 CET 2012 on sn-devel-104
2012-11-15 01:31:50 +01:00
Jelmer Vernooij
0c06eb48ab
Stop installing popt_common.h as its symbols are in a private library.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Mar 16 17:39:31 CET 2012 on sn-devel-104
2012-03-16 17:39:31 +01:00
Andrew Bartlett
abc90d8f2e
s4-cmdline: Remove unused popt_common_dont_ask()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:12 +11:00
Jelmer Vernooij
292fe74971
credentials: Rename library to samba-credentials to avoid name clashes.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
2011-08-18 22:16:38 +02:00
Andrew Bartlett
481f1e601d
s4-debug: Start with DEBUG_DEFAULT_STDOUT, so we can log to a file in deamons
...
In commit 3c9d01e3e5
I changed the priority order
and added DEBUG_DEFAULT_STDOUT, but did not check all the callers.
Andrew Bartlett
2011-07-29 04:24:06 +02:00
Andrew Bartlett
179a3530d7
s4-cmdline: Rename popt tables to avoid symbol conflicts
...
These same names are use in the source3 popt code, which is called from
in libsmbclient and libnet. These are then included in the smbtorture
binary for testing
Andrew Bartlett
2011-06-21 09:36:23 +10:00
Andrew Bartlett
55134c9a9e
s4-credentials Add a command line hook to set the kerberos credentials cache
...
This allows this to be specified independent of the KRB5CCNAME
environment variable (in this case, it's harder than it should be to
set up in the make test for s3 that way).
Andrew Bartlett
2011-04-04 19:48:43 +10:00
Andrew Tridgell
3351897924
s4-cmdline: moved loadparm init after fault setup
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00
Andrew Tridgell
43a07621bb
fault: fixed call to fault_setup() to use new syntax
2011-03-23 11:03:58 +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
Jelmer Vernooij
4217734a51
credentials: Lowercase library name,
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-11-07 01:48:44 +00:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Andrew Tridgell
2ea41fdbe2
s4-cmdline: make cmdline-credentials a private library
2010-10-30 23:49:01 +11:00
Jelmer Vernooij
8cf61377aa
waf: Remove lib prefix from libraries manually.
2010-10-26 10:17:17 -07:00
Jelmer Vernooij
833480d3ad
s4: Rename LIBSAMBA-* to libsamba-*
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
837bcb9e0f
popt_credentials: Implement pending machine account manually, rather than through credentials.
2010-10-11 15:13:16 +00:00
Jelmer Vernooij
d74e0adb30
credentials: Split up into several subsystems.
2010-10-11 02:06:03 +00:00
Jelmer Vernooij
17e96d8194
popt_common: Add missing dependency on libsamba-hostconfig.
2010-09-08 22:11:23 +02:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Jeremy Allison
f576cc5410
Doh! If you're going to give advice in "useage", make sure it's correct.
...
Jeremy.
2010-05-21 11:40:54 -07:00
Jeremy Allison
03f22005f9
Add comments to usage error message for -k to make it obvious what this needs.
...
Jeremy.
2010-05-21 10:35:22 -07:00
Andrew Bartlett
80b4d50603
Revert "Make -k a simple non-bool option."
...
This reverts commit 2bbf055dbb
.
This change broke 'make test', because the current syntax is deliberate
and an integral part of how Samba4 uses Kerberos.
If a change like this is to be implemented, then careful review of all
our test scripts must be taken first, and then new options such as
--dont-use-kerberos, --may-use-kerberos and --must-use-kerberos
should be added.
Andrew Bartlett
2010-05-21 15:04:36 +10:00
Jeremy Allison
2bbf055dbb
Make -k a simple non-bool option.
...
Jeremy.
2010-05-20 14:59:34 -07: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
aa5e08eb83
s4-waf: install the rest of the headers
2010-04-06 20:27:09 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Andrew Bartlett
bb7854afea
s4:cmdline Add --sign and --encrypt options to our common command line
...
This allows ldbsearch to accept --sign and --encrypt. I'll soon work
to integrate with the --signing= option in smbclient.
Andrew Bartlett
2010-03-24 19:28:38 +11:00
Matthias Dieter Wallnöfer
3598409951
s4:popt_common.c - fix intendation
2010-02-13 19:19:02 +01:00
Stefan Metzmacher
251b03eee6
s4:cmdline: setup talloc log and abort functions
...
metze
2009-08-24 16:29:59 +10:00
Björn Jacke
a23719babb
fix build on sles8 and other old popt installations
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 15:47:20 +01:00
Jelmer Vernooij
4147ad1e98
Remove global_loadparm.
2008-11-02 19:33:34 +01:00
Jelmer Vernooij
ef915eff16
Move check of SMB_CONF_PATH to loadparm code.
2008-11-02 16:46:32 +01:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
936b973acb
Use new dynconfig.h location.
...
(This used to be commit c3f556915f
)
2008-05-27 14:36:28 +02:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
333c169529
Use variables for source directory in remaining subsystems.
...
(This used to be commit 6b6b2196a8
)
2008-05-18 20:30:46 +02:00
Jelmer Vernooij
b29d47edcf
Move object file lists to the Makefile.
...
(This used to be commit a7e6d2a183
)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
c5d77a1c24
Move public header accumulation out of the perl code.
...
(This used to be commit 89f7c74924
)
2008-02-26 17:17:52 +01:00