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
Jelmer Vernooij
71e2cafe96
r26483: Merge ldb module dependency fixes, fix auth python module.
...
(This used to be commit 85eeecf997
)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
a2cea02584
r26430: require explicit specification of loadparm context.
...
(This used to be commit 1b947fe0e6
)
2007-12-21 05:49:58 +01:00
Stefan Metzmacher
50ec7b1a39
r26392: cmdline: remove unused var
...
metze
(This used to be commit 844da106e9
)
2007-12-21 05:49:22 +01:00
Jelmer Vernooij
b65dba2245
r26355: Eliminate global_loadparm in more places.
...
(This used to be commit 5d589a0d94
)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
dd7e5ed88c
r26352: Don't make lp_load create a new context.
...
(This used to be commit d0d5c1a823
)
2007-12-21 05:48:56 +01:00
Jelmer Vernooij
5c6eacdb04
r26350: More tests.
...
(This used to be commit 87799f55d5
)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
a48fdda5fe
r26339: Make loadparm talloc-allocated.
...
(This used to be commit 1e02cd8db1
)
2007-12-21 05:48:49 +01:00
Jelmer Vernooij
fd1870e4f7
r26308: Split up big popt common callback function.
...
(This used to be commit bd2d6e0595
)
2007-12-21 05:48:20 +01:00