Compare commits

...

94 Commits

Author SHA1 Message Date
Michele Calgaro a0e4c4b600
Use TDE cmake macro to set version
2 years ago
Michele Calgaro efa376e43a
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
2 years ago
Slávek Banko 4ff37ff710
Update version number to the upcoming R14.0.13.
2 years ago
Slávek Banko 82079a7fb3
Raise the minimum required version of CMake to 3.1 in CMakeL10n rules.
2 years ago
Slávek Banko c0d1ae2814
Raise the minimum required version of CMake to 3.1.
2 years ago
Slávek Banko 22ea227463
Update version number to R14.0.12.
3 years ago
Slávek Banko 731dbe646f
Change README to markdown format.
3 years ago
Slávek Banko 409980df4a
Use common rules for build and install translations.
3 years ago
TDE Gitea c4998a4906 Update translation template.
3 years ago
Slávek Banko 3a39e2286e
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
3 years ago
TDE Gitea 7b6573ed6e Reset submodule main/applications/kcmldap/cmake to latest HEAD
3 years ago
Slávek Banko a7dd65a65d
Update version number to R14.0.11.
3 years ago
TDE Gitea 98c7c0ed93 Reset submodule main/applications/kcmldap/cmake to latest HEAD
3 years ago
TDE Gitea e094e561f6 Reset submodule main/applications/kcmldap/cmake to latest HEAD
3 years ago
TDE Gitea c47a98dd9e Reset submodule main/applications/kcmldap/cmake to latest HEAD
3 years ago
Slávek Banko eda3088eb7
Raise the minimum required version of CMake to 2.8.12.
3 years ago
TDE Gitea 37cf0607dc Reset submodule main/applications/kcmldap/cmake to latest HEAD
3 years ago
TDE Gitea f20725a083 Reset submodule main/applications/kcmldap/cmake to latest HEAD
3 years ago
Slávek Banko cc6e8c63d9
Update version number to R14.0.10.
4 years ago
TDE Gitea eac427d85e Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 79d72ad6c3 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 188b44ffd9 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea eb26c01eb4 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea f0ec1045e1 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea b5ee4935d7 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 880e1a544f Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea cf1dc48013 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 7eef268e93 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea e2de8baf28 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 1f2cb135e0 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 73b576c37a Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
Slávek Banko de72900180
Desktop file translations:
4 years ago
Slávek Banko 06e1d5974c
Remove the original translation directory layout.
4 years ago
Slávek Banko 2e8160919b
Move translations to a new directory layout.
4 years ago
gregory guy 6b3af72b6e
Drop automake build support.
4 years ago
Michele Calgaro 28d57874e8
Update release version number to R14.0.9.
4 years ago
TDE Gitea a634743409 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
Slávek Banko 7f54aceb3a Update translation template.
4 years ago
TDE Gitea 1c2dd2bb71 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea bb8ee1d2c7 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 29adac8ab2 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
Slávek Banko 6582484087
Update version number for R14.0.8 final release.
4 years ago
TDE Gitea f25d9d888f Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea 2cb02ca3b3 Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
TDE Gitea a96bea6c6a Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
Slávek Banko e0c8941cf0
Update version number for R14.0.7 final release.
4 years ago
TDE Gitea 7bec6ef15e Reset submodule main/applications/kcmldap/cmake to latest HEAD
4 years ago
Slávek Banko 4dcf1de27c
Switch all submodules to https.
4 years ago
TDE Gitea 0ba9405610 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 05457a12b8 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 874db07d90 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
Michele Calgaro 1cc38cbbf9
Updated VERSION reference to R14.0.6 in CMakeLists.txt
5 years ago
TDE Gitea eb72263e04 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 4ead65b2ca Reset submodule main/applications/kcmldap/admin to latest HEAD
5 years ago
Slávek Banko debece55fa
Use common CMake tests.
5 years ago
TDE Gitea 94efda5d03 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 59d963df43 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
Slávek Banko 763fc00a89 Update translation template.
5 years ago
TDE Gitea 939a70d44c Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 82b2d156c5 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
Slávek Banko 6b9215622c
Fix krb5 detection without pkgconfig file.
5 years ago
Slávek Banko 79d0943b6d
Update translation template.
5 years ago
Slávek Banko ccee21ee3f
Added controlled conversions to char* instead of automatic ascii conversions.
5 years ago
Slávek Banko ea962b24d1
Fix invalid data type for the "hidden" property.
5 years ago
Slávek Banko 46da5e9f4c
Fix FTBFS due to improper automoc.
5 years ago
Slávek Banko 3958665136
Add includes to UI files to resolve FTBFS.
5 years ago
Slávek Banko 75764f54bc
cmake: Add krb5 library detection.
5 years ago
gregory guy 2ad893acef
conversion to the cmake building system
5 years ago
Slávek Banko c94ce32241
Add CMakeL10n rules.
5 years ago
TDE Gitea f66b61a557 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 90d07af167 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea b5c00e085d Reset submodule main/applications/kcmldap/admin to latest HEAD
5 years ago
TDE Gitea 8243c42ff9 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea f88edba0e2 Reset submodule main/applications/kcmldap/cmake to latest HEAD
5 years ago
TDE Gitea 39fbe2f887 Reset submodule main/applications/kcmldap/admin to latest HEAD
6 years ago
Slávek Banko 7270a6eee9 Reset submodule main/applications/kcmldap/admin to latest HEAD
6 years ago
Slávek Banko 9e46f25960 Reset submodule main/applications/kcmldap/admin to latest HEAD
6 years ago
Slávek Banko 1dae4a3931 Reset submodule main/applications/kcmldap/admin to latest HEAD
6 years ago
Slávek Banko 7dd39f7843 Reset submodule main/applications/kcmldap/cmake to latest HEAD
7 years ago
Slávek Banko 479a5f2bf4 Reset submodule main/applications/kcmldap/cmake to latest HEAD
7 years ago
Slávek Banko e92db0c1c7 Reset submodule main/applications/kcmldap/cmake to latest HEAD
7 years ago
Slávek Banko cb56496ce9 Reset submodule main/applications/kcmldap/cmake to latest HEAD
7 years ago
Slávek Banko 0748354e2c Reset submodule main/applications/kcmldap/admin to latest HEAD
7 years ago
Slávek Banko 222386458a cmake: add tde_add_check_executable macro
7 years ago
Slávek Banko 99ce8237c1 Reset submodule main/applications/kcmldap/admin to latest HEAD
8 years ago
Timothy Pearson e57d31b321 Fix invalid headers in PNG files and optimize for size
8 years ago
Slávek Banko 30ee78cb65 Reset submodule main/applications/kcmldap/cmake to latest HEAD
8 years ago
Slávek Banko 86ccb78060 Reset submodule main/applications/kcmldap/cmake to latest HEAD
8 years ago
Michele Calgaro 1f2f34c1b6 Revert "Fix krb5 library detection. This resolves FTBFS with heimdal-krb5."
8 years ago
Michele Calgaro 6d3b42e175 Fix krb5 library detection. This resolves FTBFS with heimdal-krb5.
8 years ago
Timothy Pearson 0e633d60cf Fix missing newline in root certificate warning
8 years ago
Slávek Banko 0508c12378 Reset submodule main/applications/kcmldap/cmake to latest HEAD
9 years ago
Slávek Banko 8d107b15b0 Reset submodule main/applications/kcmldap/cmake to latest HEAD
9 years ago
Slávek Banko 974114836b Reset submodule main/applications/kcmldap/admin to latest HEAD
9 years ago

6
.gitmodules vendored

@ -1,6 +0,0 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

@ -0,0 +1,22 @@
#################################################
#
# (C) 2018 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### include our cmake modules #################
include( TDEL10n )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,86 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################
cmake_minimum_required( VERSION 3.1 )
#### general package setup
project( kcmldap )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths
include( TDESetupPaths )
tde_setup_paths( )
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
##### user requested modules
option( BUILD_ALL "Build all" ON )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
##### configure checks
include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### directories
add_subdirectory( src )
add_subdirectory( pics )
add_subdirectory( cmdline )
add_subdirectory( cert-updater )
##### other data ################################
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

@ -1 +0,0 @@
2012-05-17 - Initial Release

@ -0,0 +1,64 @@
###########################################
# #
# Improvements and feedback are welcome #
# #
# This file is released under GPL >= 3 #
# #
###########################################
# required stuff
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
find_package( TQt )
find_package( TDE )
##### check for gcc visibility support #########
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( )
##### check for tdeldap
find_library( HAVE_LIBTDELDAP tdeldap )
if( HAVE_LIBTDELDAP )
set( LIBTDELDAP_LIBRARIES "tdeldap" )
else()
tde_message_fatal( "libtdeldap is required, but was not found on your system" )
endif( )
##### check for krb5
pkg_search_module( KRB5 krb5 )
if( NOT KRB5_FOUND)
if( NOT DEFINED KRB5_CONFIG_EXECUTABLE )
find_program( KRB5_CONFIG_EXECUTABLE NAMES krb5-config )
if( NOT KRB5_CONFIG_EXECUTABLE )
tde_message_fatal( "krb5 library is required but not found on your system" )
endif( )
endif( )
execute_process(
COMMAND ${KRB5_CONFIG_EXECUTABLE} --libs
OUTPUT_VARIABLE KRB5_LIBRARIES
ERROR_VARIABLE KRB5_LIBRARIES
)
execute_process(
COMMAND ${KRB5_CONFIG_EXECUTABLE} --cflags
OUTPUT_VARIABLE KRB5_INCLUDE_DIRS
ERROR_VARIABLE KRB5_INCLUDE_DIRS
)
if( NOT "${KRB5_LIBRARIES}" STREQUAL "" )
set( KRB5_FOUND 1 )
endif( )
endif( )

@ -1,167 +1,22 @@
Basic Installation
==================
These are generic installation instructions.
kcmldap relies on cmake to build.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
Here are suggested default options:
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Type `make install' to install the programs and any data files and
documentation.
4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made.
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.
Requirements:
=============
- libtdeldap

@ -1,22 +0,0 @@
SUBDIRS = $(TOPSUBDIRS)
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
package-messages:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
EXTRA_DIST = admin COPYING configure.in.in
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

@ -1,10 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
$(MAKE) -f admin/Makefile.common cvs
dist:
$(MAKE) -f admin/Makefile.common dist
.SILENT:

@ -0,0 +1,32 @@
kcmldap - a Kerberos control module for the Trinity control center.
Kcmldap is a Trinity control center module to manage connections to
Kerberos realms.
.
Contributing
--------------
If you wish to contribute kcmldap, you might do so:
- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate
Translations status
---------------------
### messages
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kcm-ldap/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kcm-ldap/)
### desktop files
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kcm-ldap-ldapbondingdesktop/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kcm-ldap-ldapbondingdesktop/)

@ -1 +0,0 @@
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af

@ -0,0 +1,30 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}/tde
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${KRB5_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### tdeldapcertupdater (executable)
tde_add_executable( tdeldapcertupdater AUTOMOC
SOURCES
main.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared
${LIBTDELDAP_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)

@ -1,10 +0,0 @@
INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde
bin_PROGRAMS = tdeldapcertupdater
tdeldapcertupdater_SOURCES = main.cpp
tdeldapcertupdater_METASOURCES = AUTO
tdeldapcertupdater_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdeldap
KDE_OPTIONS = nofinal

@ -87,7 +87,7 @@ int get_certificate_from_server(TQString certificateName, LDAPRealmConfig realmc
// Get and install the CA root certificate from LDAP
printf("[INFO] Updating certificate %s from LDAP\n", certificateName.ascii());
if (ldap_mgr->getTDECertificate("publicRootCertificate", certificateName, &errorstring) != 0) {
printf("[ERROR] Unable to obtain root certificate for realm %s: %s", realmcfg.name.upper().ascii(), errorstring.ascii());
printf("[ERROR] Unable to obtain root certificate for realm %s: %s\n", realmcfg.name.upper().ascii(), errorstring.ascii());
retcode = 1;
}

@ -1 +0,0 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463

@ -0,0 +1,30 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}/tde
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${KRB5_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### tdeldapbonding (executable)
tde_add_executable( tdeldapbonding AUTOMOC
SOURCES
main.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared
${LIBTDELDAP_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)

@ -1,10 +0,0 @@
INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde
bin_PROGRAMS = tdeldapbonding
tdeldapbonding_SOURCES = main.cpp
tdeldapbonding_METASOURCES = AUTO
tdeldapbonding_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdeldap
KDE_OPTIONS = nofinal

@ -101,7 +101,7 @@ int main(int argc, char *argv[])
}
TQTextStream stream(&passFile);
credentials.username = args->getOption("adminusername");
credentials.password = stream.readLine();
credentials.password = stream.readLine().utf8();
passFile.close();
}
else {

@ -0,0 +1,8 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@

@ -1,2 +0,0 @@
./admin/configure.in.min
configure.in.in

@ -1,6 +0,0 @@
#MIN_CONFIG(3.2.0)
AM_INIT_AUTOMAKE(autostart, 0.1)
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN

@ -1,6 +0,0 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
KDE_LANG = en
KDE_DOCS = autostart
SUBDIRS = $(AUTODIRS)

@ -1,2 +0,0 @@
KDE_DOCS = ldap
KDE_LANG = en

@ -0,0 +1,7 @@
install(
FILES
kcmldapbonding_step1.png
kcmldapbonding_step3.png
DESTINATION ${SHARE_INSTALL_PREFIX}/pixmaps
)

@ -1,3 +0,0 @@
kpersonalizer_pics_data_DATA = kcmldapbonding_step1.png kcmldapbonding_step3.png
kpersonalizer_pics_datadir = $(datarootdir)/pixmaps

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 70 KiB

@ -1,2 +0,0 @@
POFILES = AUTO
# noinst_HEADERS = ldap.pot

@ -0,0 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kcmldap" )
tde_l10n_create_template(
CATALOG "desktop_files/ldapbonding.desktop/"
SOURCES ldapbonding.desktop
)

@ -0,0 +1,45 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}/tde
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${KRB5_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kcm_ldapbonding (kpart)
tde_add_kpart( kcm_ldapbonding AUTOMOC
SOURCES
ldapconfigbase.ui
bondintropagedlg.ui
bondrealmpagedlg.ui
bondfinishpagedlg.ui
tdeumaskinput.cpp
ldapbonding.cpp
realmpropertiesdialog.cpp
bondintropage.cpp
bondrealmpage.cpp
bondfinishpage.cpp
bondwizard.cpp
ldappasswddlg.cpp
LINK
tdeio-shared
tdeui-shared
${LIBTDELDAP_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data
tde_create_translated_desktop( ldapbonding.desktop )

@ -1,19 +0,0 @@
INCLUDES = $(all_includes) $(KDE_INCLUDES)/tde
METASOURCES = AUTO
# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = kcm_ldapbonding.la
kcm_ldapbonding_la_SOURCES = tdeumaskinput.cpp ldapbonding.cpp ldapconfigbase.ui realmpropertiesdialog.cpp bondintropage.cpp bondintropagedlg.ui bondrealmpage.cpp bondrealmpagedlg.ui bondfinishpage.cpp bondfinishpagedlg.ui bondwizard.cpp ldappasswddlg.cpp
kcm_ldapbonding_la_LIBADD = $(LIB_TDEIO) $(LIB_TDEUI) -ltdeldap
kcm_ldapbonding_la_LDFLAGS = -avoid-version -module -no-undefined \
$(all_libraries)
xdg_apps_DATA = ldapbonding.desktop
messages: rc.cpp
$(EXTRACTRC) `find -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kcmldap.pot

@ -126,4 +126,8 @@
</widget>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kpassdlg.h</include>
</includes>
</UI>

@ -143,7 +143,7 @@
<string>UID offset</string>
</property>
<property name="hidden">
<string>true</string>
<bool>true</bool>
</property>
</widget>
<widget class="KIntNumInput" row="3" column="1" colspan="3">
@ -157,7 +157,7 @@
<number>99999</number>
</property>
<property name="hidden">
<string>true</string>
<bool>true</bool>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
@ -168,7 +168,7 @@
<string>GID offset</string>
</property>
<property name="hidden">
<string>true</string>
<bool>true</bool>
</property>
</widget>
<widget class="KIntNumInput" row="4" column="1" colspan="3">
@ -182,7 +182,7 @@
<number>99999</number>
</property>
<property name="hidden">
<string>true</string>
<bool>true</bool>
</property>
</widget>
</grid>
@ -290,4 +290,9 @@
</widget>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="local" impldecl="in implementation">klineedit.h</include>
<include location="local" impldecl="in implementation">knuminput.h</include>
<include location="local" impldecl="in implementation">ktextedit.h</include>
</includes>
</UI>

@ -447,3 +447,5 @@ TQString LDAPConfig::quickHelp() const
{
return i18n("This module configures which LDAP realms TDE uses for authentication.");
}
#include "ldapbonding.moc"

@ -533,10 +533,12 @@
</grid>
</widget>
<includes>
<include location="global" impldecl="in implementation">kcombobox.h</include>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
<include location="global" impldecl="in implementation">tdelistview.h</include>
<include location="local" impldecl="in implementation">LDAPConfigBase.ui.h</include>
</includes>
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
<include location="local" impldecl="in implementation">tdeumaskinput.h</include>
</includes>
<layoutdefaults spacing="3" margin="6"/>

@ -59,3 +59,5 @@ TQString TDEUmaskInput::mapValueToText (int v) {
}
return baseText;
}
#include "tdeumaskinput.moc"

@ -1,6 +0,0 @@
cert-updater
cmdline
doc
pics
po
src

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-24 15:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Comment
#: ldapbonding.desktop:16
msgid "A KControl tool for managing TDE bonding to LDAP realms."
msgstr ""
#. Keywords
#: ldapbonding.desktop:17
msgid "ldap manager;"
msgstr ""
#. Name
#: ldapbonding.desktop:18
msgid "LDAP Realm Bonding"
msgstr ""

@ -0,0 +1,428 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-07-07 22:29+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: bondwizard.cpp:61
msgid "LDAP Bonding Wizard"
msgstr ""
#: bondwizard.cpp:64
msgid "Step 1: Introduction"
msgstr ""
#: bondwizard.cpp:68
msgid "Step 2: Add New Realm"
msgstr ""
#: bondwizard.cpp:72
msgid "Step 3: Bond to New Realm"
msgstr ""
#: bondwizard.cpp:132
msgid ""
"<qt><b>The specified realm is already known to this system.</b><p>If the "
"realm name is correct, please exit the Wizard and select 'Re-Bond to Realm' "
"in the LDAP configuration module.</qt>"
msgstr ""
#: bondwizard.cpp:132
msgid "Duplicate Realm Entry Detected"
msgstr ""
#: bondwizard.cpp:155
msgid ""
"<p>Are you sure you want to quit the LDAP Bonding Wizard?</p><p>If yes, "
"click <b>Quit</b> and all changes will be lost.<br>If not, click <b>Cancel</"
"b> to return and finish your setup.</p>"
msgstr ""
#: bondwizard.cpp:160
msgid ""
"<p>Are you sure you want to quit the LDAP Bonding Wizard?</p><p>If yes, "
"click <b>Quit</b> and the new realm will remain deactivated pending bonding."
"<br>If not, click <b>Cancel</b> to return and finish your setup.</p>"
msgstr ""
#: bondwizard.cpp:165
msgid ""
"<p>Are you sure you want to quit the LDAP Bonding Wizard?</p><p>If not, "
"click <b>Cancel</b> to return and finish bonding.</p>"
msgstr ""
#: bondwizard.cpp:168
msgid "All Changes Will Be Lost"
msgstr ""
#: bondwizard.cpp:215 ldapbonding.cpp:379
msgid "<qt><b>Unable to bond to realm!</b><p>Details: %1</qt>"
msgstr ""
#: bondwizard.cpp:215 ldapbonding.cpp:379
msgid "Unable to Bond to Realm"
msgstr ""
#: ldapbonding.cpp:70
msgid "TDE LDAP Manager"
msgstr ""
#: ldapbonding.cpp:71
msgid "TDE LDAP Manager Control Panel Module"
msgstr ""
#: ldapbonding.cpp:73
msgid "(c) 2012-2013 Timothy Pearson"
msgstr ""
#: ldapbonding.cpp:83
msgid ""
"<b>Bonded LDAP realms take effect system wide, and require administrator "
"access to modify</b><br>To alter the system's bonded LDAP realms, click on "
"the \"Administrator Mode\" button below."
msgstr ""
#: ldapbonding.cpp:186
msgid "Bonded"
msgstr ""
#: ldapbonding.cpp:186
msgid "Deactivated"
msgstr ""
#: ldapbonding.cpp:227 ldapbonding.cpp:237 ldapbonding.cpp:242
#: ldapbonding.cpp:247 ldapbonding.cpp:252 ldapbonding.cpp:257
msgid "<qt><b>Unable to save configuration!</b><p>Details: %2</qt>"
msgstr ""
#: ldapbonding.cpp:227 ldapbonding.cpp:237 ldapbonding.cpp:242
#: ldapbonding.cpp:247 ldapbonding.cpp:252 ldapbonding.cpp:257
msgid "Unable to Save Configuration"
msgstr ""
#: ldapbonding.cpp:277
msgid ""
"<qt><b>Unable to obtain root certificate for realm %1!</b><p>Details: %2</qt>"
msgstr ""
#: ldapbonding.cpp:277
msgid "Unable to Obtain Certificate"
msgstr ""
#: ldapbonding.cpp:383 ldapbonding.cpp:422
msgid "<qt><b>Unable to unbond from realm!</b><p>%1</qt>"
msgstr ""
#: ldapbonding.cpp:383 ldapbonding.cpp:422
msgid "Unable to Unbond from Realm"
msgstr ""
#: ldapbonding.cpp:411
msgid ""
"Please provide LDAP realm administrator credentials below to complete the "
"unbonding process"
msgstr ""
#: ldapbonding.cpp:448
msgid "This module configures which LDAP realms TDE uses for authentication."
msgstr ""
#: ldappasswddlg.cpp:35
msgid "LDAP Authentication"
msgstr ""
#: ldapconfigbase.ui:157 realmpropertiesdialog.cpp:35
#, no-c-format
msgid "Realm Properties"
msgstr ""
#: bondfinishpagedlg.ui:47
#, no-c-format
msgid "<h3>You're almost done!</h3>"
msgstr ""
#: bondfinishpagedlg.ui:55
#, no-c-format
msgid ""
"Please provide LDAP realm administrator credentials below to complete the "
"bonding process"
msgstr ""
#: bondfinishpagedlg.ui:63
#, no-c-format
msgid "Username"
msgstr ""
#: bondfinishpagedlg.ui:76
#, no-c-format
msgid "Password"
msgstr ""
#: bondfinishpagedlg.ui:89
#, no-c-format
msgid "LDAP Realm"
msgstr ""
#: bondintropagedlg.ui:55
#, no-c-format
msgid "<h3>Welcome to the TDE LDAP Bonding Wizard!</h3>"
msgstr ""
#: bondintropagedlg.ui:71
#, no-c-format
msgid ""
"<p>This Wizard will help you bond your machine to an LDAP realm in three "
"quick, easy steps.</p>\n"
"\t\t\t\t\t<p>Please note that you will need administrative access to the "
"LDAP realm you will be bonding with.</p>\n"
"\t\t\t\t\t<p>If you wish to quit the Wizard, click <b>Cancel</b> at any time."
"</p>"
msgstr ""
#: bondrealmpagedlg.ui:55
#, no-c-format
msgid "Basic Realm Information (required)"
msgstr ""
#: bondrealmpagedlg.ui:66
#, no-c-format
msgid "Realm Name"
msgstr ""
#: bondrealmpagedlg.ui:79
#, no-c-format
msgid "Key Distribution Server [KDC]"
msgstr ""
#: bondrealmpagedlg.ui:92 bondrealmpagedlg.ui:124
#, no-c-format
msgid "port"
msgstr ""
#: bondrealmpagedlg.ui:111
#, no-c-format
msgid "Administration Server"
msgstr ""
#: bondrealmpagedlg.ui:143
#, no-c-format
msgid "UID offset"
msgstr ""
#: bondrealmpagedlg.ui:168
#, no-c-format
msgid "GID offset"
msgstr ""
#: bondrealmpagedlg.ui:195
#, no-c-format
msgid "Realm Domain Aliases (optional)"
msgstr ""
#: bondrealmpagedlg.ui:206
#, no-c-format
msgid "Enter each domain alias on a new line below"
msgstr ""
#: bondrealmpagedlg.ui:221
#, no-c-format
msgid "Advanced PKInit Settings (optional)"
msgstr ""
#: bondrealmpagedlg.ui:232
#, no-c-format
msgid "Require EKU"
msgstr ""
#: bondrealmpagedlg.ui:240
#, no-c-format
msgid "Require KRB TGT Other Name"
msgstr ""
#: bondrealmpagedlg.ui:248
#, no-c-format
msgid "Windows 2000 Compatibility"
msgstr ""
#: bondrealmpagedlg.ui:256
#, no-c-format
msgid "Require Windows 2000 Binding"
msgstr ""
#: ldapconfigbase.ui:31
#, no-c-format
msgid "LDAP Realms"
msgstr ""
#: ldapconfigbase.ui:42
#, no-c-format
msgid "Global Settings"
msgstr ""
#: ldapconfigbase.ui:53
#, no-c-format
msgid "&Enable LDAP Realm Support"
msgstr ""
#: ldapconfigbase.ui:61
#, no-c-format
msgid "Fully Qualified Domain Name"
msgstr ""
#: ldapconfigbase.ui:84
#, no-c-format
msgid "Realm Bonding"
msgstr ""
#: ldapconfigbase.ui:93
#, no-c-format
msgid "Status"
msgstr ""
#: ldapconfigbase.ui:104
#, no-c-format
msgid "Name"
msgstr ""
#: ldapconfigbase.ui:125
#, no-c-format
msgid "Bond to New Realm"
msgstr ""
#: ldapconfigbase.ui:133
#, no-c-format
msgid "Re-Bond to Realm"
msgstr ""
#: ldapconfigbase.ui:141
#, no-c-format
msgid "Deactivate Bond to Realm"
msgstr ""
#: ldapconfigbase.ui:149
#, no-c-format
msgid "Remove Realm"
msgstr ""
#: ldapconfigbase.ui:186
#, no-c-format
msgid "LDAP Globals"
msgstr ""
#: ldapconfigbase.ui:197
#, no-c-format
msgid "Kerberos Default Settings"
msgstr ""
#: ldapconfigbase.ui:208
#, no-c-format
msgid "Default Realm"
msgstr ""
#: ldapconfigbase.ui:229
#, no-c-format
msgid "Ticket Lifetime (seconds)"
msgstr ""
#: ldapconfigbase.ui:258
#, no-c-format
msgid "LDAP Connection Parameters"
msgstr ""
#: ldapconfigbase.ui:269
#, no-c-format
msgid "LDAP Version"
msgstr ""
#: ldapconfigbase.ui:296
#, no-c-format
msgid "Time Limit (seconds)"
msgstr ""
#: ldapconfigbase.ui:323
#, no-c-format
msgid "Binding Policy"
msgstr ""
#: ldapconfigbase.ui:340
#, no-c-format
msgid "soft"
msgstr ""
#: ldapconfigbase.ui:345
#, no-c-format
msgid "hard"
msgstr ""
#: ldapconfigbase.ui:354
#, no-c-format
msgid "Binding Time Limit (seconds)"
msgstr ""
#: ldapconfigbase.ui:381
#, no-c-format
msgid "Password Hash"
msgstr ""
#: ldapconfigbase.ui:398
#, no-c-format
msgid "exop"
msgstr ""
#: ldapconfigbase.ui:403
#, no-c-format
msgid "md5"
msgstr ""
#: ldapconfigbase.ui:412
#, no-c-format
msgid "Ignored Users"
msgstr ""
#: ldapconfigbase.ui:435
#, no-c-format
msgid "Authentication Settings"
msgstr ""
#: ldapconfigbase.ui:446
#, no-c-format
msgid "&Create home directory on first logon"
msgstr ""
#: ldapconfigbase.ui:454
#, no-c-format
msgid "&Enable logon credentials cache"
msgstr ""
#: ldapconfigbase.ui:462
#, no-c-format
msgid "Home directory mode creation mask"
msgstr ""
#: ldapconfigbase.ui:492
#, no-c-format
msgid "Home directory skeleton location"
msgstr ""
Loading…
Cancel
Save