Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
ef4b7876
Commit
ef4b7876
authored
Apr 29, 2007
by
Yadd
Browse files
LEMONLDAP::NG : new Debian structure and LDAPS documentation
parent
3971e6b7
Changes
27
Hide whitespace changes
Inline
Side-by-side
build/lemonldap-ng/INSTALL
View file @
ef4b7876
...
...
@@ -78,7 +78,7 @@ Modify your /etc/hosts file to include:
Edit
/
path
/
to
/
lemonldap
-
ng
/
source
/
example
/
conf
/
lmConfig
-
1
and
specify
your
LDAP
settings
.
If
you
don
't set managerDn and managerPassword, Lemonldap::NG will
use an anonymous bind to find user dn.
(Debian users: /
usr/share/doc
/lemonldap-ng/
example/
conf/lmConfig-1)
(Debian users: /
var/lib
/lemonldap-ng/conf/lmConfig-1)
WARNINGS:
* only few parameters can be set by hand in the configuration file. You have
to use the manager to change configuration, but since the example is yet
...
...
build/lemonldap-ng/Makefile
View file @
ef4b7876
...
...
@@ -6,6 +6,7 @@ PORTALDIR=lemonldap-ng-portal
MANAGERDIR
=
lemonldap-ng-manager
EXAMPLEDIRBUILD
=
`
pwd
`
/example/
EXAMPLEDIR
=
$(EXAMPLEDIRBUILD)
EXAMPLECONFDIR
=
$(EXAMPLEDIR)
conf/
EXAMPLELANG
=
en
all
:
handler manager portal
...
...
@@ -82,11 +83,11 @@ manager_clean:
example
:
all
mkdir
-p
example/portal example/manager example/handler example/conf
chmod
1777 example/conf
cp
-a
${HANDLERDIR}
/example/
*
example
/handler
cp
-a
${PORTALDIR}
/example/
*
example
/portal
cp
-a
${MANAGERDIR}
/example/
*
example
/manager
cp
-a
_example/
*
example
find
${EXAMPLEDIRBUILD}
-type
f
-exec
perl
-i
-pe
's#__DIR__/?#'
${EXAMPLEDIR}
'#g'
{}
\;
cp
-a
${HANDLERDIR}
/example/
*
${EXAMPLEDIRBUILD}
/handler
cp
-a
${PORTALDIR}
/example/
*
${EXAMPLEDIRBUILD}
/portal
cp
-a
${MANAGERDIR}
/example/
*
${EXAMPLEDIRBUILD}
/manager
cp
-a
_example/
*
${EXAMPLEDIRBUILD}
find
${EXAMPLEDIRBUILD}
-type
f
-exec
perl
-i
-pe
's#__DIR__/?#'
${EXAMPLEDIR}
'#g
;s#__CONFDIR__/?#'
${EXAMPLECONFDIR}
'#g;
'
{}
\;
@
echo
@
echo
"Example is ready."
@
echo
...
...
@@ -101,7 +102,7 @@ example: all
@
echo
@
echo
"2 - Add test.example.com and auth.example.com in yout /etc/hosts :"
@
echo
@
echo
" cat
example
/for_etc_hosts >> /etc/hosts"
@
echo
" cat
${EXAMPLEDIRBUILD}
/for_etc_hosts >> /etc/hosts"
@
echo
@
echo
"3 - edit
${EXAMPLEDIR}
/conf/lmConf-1 and set ldapServer and ldapBase."
@
echo
" or use the manager at http://manager.example.com/ (after apache restart)"
...
...
@@ -147,7 +148,7 @@ manager_cpan: manager_conf
mv
${MANAGERDIR}
/Lemonldap
*
.gz .
static_example
:
example
mkdir
-p
example
/static
cd
example
/static/
;
ln
-s
../manager/imgs
;
cd
-
scripts/make_static_example.pl
example/manager/index.pl example
/static/index.html
$(EXAMPLELANG)
mkdir
-p
${EXAMPLEDIRBUILD}
/static
cd
${EXAMPLEDIRBUILD}
/static/
;
ln
-s
../manager/imgs
;
cd
-
scripts/make_static_example.pl
${EXAMPLEDIRBUILD}
/manager/index.pl
${EXAMPLEDIRBUILD}
/static/index.html
$(EXAMPLELANG)
build/lemonldap-ng/TODO
View file @
ef4b7876
...
...
@@ -6,7 +6,9 @@ TODO list for Lemonldap::NG development
Buttons to manage configurations (delete, next, previous, last,...)
- Priority: Normal Status: In progress Created: 2007\04\21 13-05-54
Help in english
- Priority: Low Status:
N/A
Created: 2007\04\21 13-14-55
- Priority: Low Status:
Planning
Created: 2007\04\21 13-14-55
Simplified manager interface fo rules:
* simplified regexp (* instead of .*,...)
* simple combobox to choose groups
- Priority: Low Status: Planning Created: 2007\04\23 21-26-18
TLS in LDAP connection. SSL works, but start_tls cannot yet be called.
build/lemonldap-ng/debian/changelog
View file @
ef4b7876
...
...
@@ -3,8 +3,12 @@ lemonldap-ng (0.8.1.2) unstable; urgency=low
* Little bug fix if whatToTrace parameter is not defined and display it in
Manager interface
* New: port is now checked in portal redirection
* Different configurations can now be used on the same server at the same
time
* New debian structure: lemonldap-ng is splitted in 5 packages and default
configuration file has moved to /var/lib/lemonldap-ng/conf/
-- Xavier Guimard <x.guimard@free.fr>
Mo
n, 2
3
Apr 2007
21:20:24
+0200
-- Xavier Guimard <x.guimard@free.fr>
Su
n, 2
9
Apr 2007
14:00:39
+0200
lemonldap-ng (0.8.1.1) unstable; urgency=low
...
...
build/lemonldap-ng/debian/control
View file @
ef4b7876
...
...
@@ -7,11 +7,39 @@ Standards-Version: 3.7.2
Package: lemonldap-ng
Architecture: all
Depends: libapache-session-perl, libnet-ldap-perl, libdbi-perl, libwww-perl, libcache-cache-perl, libxml-simple-perl
Provides: liblemonldap-ng-manager-perl, liblemonldap-ng-portal-perl, liblemonldap-ng-manager-perl
Conflicts: liblemonldap-ng-manager-perl, liblemonldap-ng-portal-perl, liblemonldap-ng-manager-perl
Recommends: libsoap-lite-perl, liblasso-perl
Depends: liblemonldap-ng-handler-perl, liblemonldap-ng-manager-perl, liblemonldap-ng-portal-perl
Description: Lemonldap::NG Web-SSO system
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
or directly on application apache servers.
Package: liblemonldap-ng-handler-perl
Architecture: all
Depends: libapache-session-perl, libwww-perl, libcache-cache-perl, liblemonldap-ng-manager-conf-perl
Description: Lemonldap::NG apache module part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
or directly on application apache servers.
Package: liblemonldap-ng-manager-conf-perl
Architecture: all
Depends: libdbi-perl
Recommends: libsoap-lite-perl
Description: Lemonldap::NG apache manager part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
or directly on application apache servers.
Package: liblemonldap-ng-manager-perl
Architecture: all
Depends: libxml-simple-perl, liblemonldap-ng-manager-conf-perl
Recommends: libcache-cache-perl, libapache-session-perl, libsoap-lite-perl
Description: Lemonldap::NG apache manager part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
or directly on application apache servers.
Package: liblemonldap-ng-portal-perl
Architecture: all
Depends: libapache-session-perl, libnet-ldap-perl, liblemonldap-ng-manager-conf-perl
Recommends: liblasso-perl
Description: Lemonldap::NG apache authentication portal part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
or directly on application apache servers.
build/lemonldap-ng/debian/lemonldap-ng.examples
0 → 100644
View file @
ef4b7876
example/*
build/lemonldap-ng/debian/liblemonldap-ng-handler-perl.examples
0 → 100644
View file @
ef4b7876
example/handler/
build/lemonldap-ng/debian/liblemonldap-ng-handler-perl.install
0 → 100644
View file @
ef4b7876
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Handler
*
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Handler
*
build/lemonldap-ng/debian/liblemonldap-ng-manager-conf-perl.config
0 → 100644
View file @
ef4b7876
#!/bin/sh
set
-
e
. /
usr
/
share
/
debconf
/
confmodule
db_input
high
liblemonldap
-
ng
-
manager
-
conf
-
perl
/
newDirInfo
||
true
db_go
||
true
build/lemonldap-ng/debian/liblemonldap-ng-manager-conf-perl.dirs
0 → 100644
View file @
ef4b7876
/var/lib/lemonldap-ng
build/lemonldap-ng/debian/liblemonldap-ng-manager-conf-perl.examples
0 → 100644
View file @
ef4b7876
example/conf/
example/apache-session-mysql.sql
example/lmConfig.mysql
build/lemonldap-ng/debian/liblemonldap-ng-manager-conf-perl.install
0 → 100644
View file @
ef4b7876
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
Conf
*
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Manager
::
Conf
*
debian
/
tmp
/
usr
/
share
/
man
/
man1
/
lmConfig_File2MySQL
.1
p
debian
/
tmp
/
usr
/
bin
/
lmConfig_File2MySQL
example
/
conf
/
var
/
lib
/
lemonldap
-
ng
/
build/lemonldap-ng/debian/postinst
→
build/lemonldap-ng/debian/
liblemonldap-ng-manager-conf-perl.
postinst
View file @
ef4b7876
#!/bin/bash
# Maintainer: #DEBHELPER#
.
/usr/share/debconf/confmodule
if
[
"
$1
"
=
"configure"
]
then
chown
-R
www-data /usr/share/doc/lemonldap-ng/examples/conf
fi
build/lemonldap-ng/debian/liblemonldap-ng-manager-conf-perl.templates
0 → 100644
View file @
ef4b7876
Template: liblemonldap-ng-manager-conf-perl/newDirInfo
Type: note
Description: Lemonldap::NG default configuration directory has moved to /var/lib/lemondap-ng/conf/
Description-fr: Le répertoire de configuration par défaut est maintenant /var/lib/lemondap-ng/conf/
build/lemonldap-ng/debian/liblemonldap-ng-manager-perl.examples
0 → 100644
View file @
ef4b7876
example/manager
build/lemonldap-ng/debian/liblemonldap-ng-manager-perl.install
0 → 100644
View file @
ef4b7876
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
_i18n
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
Help
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
Base
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
_HTML
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
SOAPServer
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Manager
/
Restricted
.
pm
debian
/
tmp
/
usr
/
share
/
perl5
/
auto
/
Lemonldap
/
NG
/
Manager
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Manager
::
Base
.3
pm
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Manager
.3
pm
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Manager
::
SOAPServer
.3
pm
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Manager
::
Apache
::
Session
::
SOAP
.3
pm
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Manager
::
Restricted
.3
pm
build/lemonldap-ng/debian/liblemonldap-ng-portal-perl.examples
0 → 100644
View file @
ef4b7876
example/portal
build/lemonldap-ng/debian/liblemonldap-ng-portal-perl.install
0 → 100644
View file @
ef4b7876
debian
/
tmp
/
usr
/
share
/
perl5
/
Lemonldap
/
NG
/
Portal
*
debian
/
tmp
/
usr
/
share
/
perl5
/
auto
/
Lemonldap
/
NG
/
Portal
debian
/
tmp
/
usr
/
share
/
man
/
man3
/
Lemonldap
::
NG
::
Portal
*
build/lemonldap-ng/debian/rules
View file @
ef4b7876
...
...
@@ -27,7 +27,6 @@ build-stamp: configure-stamp
# Add here commands to compile the package.
$(MAKE)
INSTALLDIRS
=
vendor
#docbook-to-man debian/lemonldap-ng.sgml > lemonldap-ng.1
touch
$@
...
...
@@ -49,8 +48,8 @@ install: build
# Add here commands to install the package into debian/lemonldap-ng.
$(MAKE)
test
$(MAKE)
install
DESTDIR
=
$(CURDIR)
/debian/
lemonldap-ng
PREFIX
=
/usr
$(MAKE)
example
EXAMPLEDIR
=
/usr/share/doc/lemonldap-ng/examples/
$(MAKE)
install
DESTDIR
=
$(CURDIR)
/debian/
tmp
PREFIX
=
/usr
$(MAKE)
example
EXAMPLEDIR
=
/usr/share/doc/lemonldap-ng/examples/
EXAMPLECONFDIR
=
/var/lib/lemonldap-ng/conf
# Build architecture-independent files here.
...
...
@@ -63,10 +62,10 @@ binary-arch: build install
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
example/
*
#
dh_install
dh_installexamples
dh_install
# dh_installmenu
#
dh_installdebconf
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
...
...
build/lemonldap-ng/doc/install.html
View file @
ef4b7876
...
...
@@ -100,7 +100,7 @@ package for Debian works fine).</p>
$ tar xzf lemonldap-ng-*.tar.gz
$ cd lemonldap-ng-*
$ debuild # or fakeroot dpkg-buildpackage
$ sudo dpkg -i ../lemonldap-ng*.deb
$ sudo dpkg -i ../
*
lemonldap-ng*.deb
</pre>
</ol>
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment