Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
258
Issues
258
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
cce1a636
Commit
cce1a636
authored
Aug 31, 2012
by
Clément OUDOT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Active notifications by default (
#514
)
parent
21f9b579
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
Makefile
Makefile
+4
-2
_example/conf/lmConf-1
_example/conf/lmConf-1
+11
-1
No files found.
Makefile
View file @
cce1a636
...
...
@@ -70,7 +70,8 @@ APACHESESSIONFILELOCKDIR=$(APACHESESSIONFILEDIR)/lock
RAPACHESESSIONFILELOCKDIR
=
$(DESTDIR)
/
$(APACHESESSIONFILELOCKDIR)
# Lemonldap-ng notifications storage dir
RFILENOTIFDIR
=
$(DESTDIR)
/
$(DATADIR)
/notifications
APACHEFILENOTIFDIR
=
$(DATADIR)
/notifications
RFILENOTIFDIR
=
$(DESTDIR)
/
$(APACHEFILENOTIFDIR)
# Apache user/group
APACHEUSER
=
...
...
@@ -401,7 +402,8 @@ install_conf_dir: install_sessions_dir install_notif_dir
@
cp
_example/conf/lmConf-1
$(RFILECONFIGDIR)
@
$(PERL)
-000
-i
-pe
"s#^(globalStorageOptions
\\
n
\\
s+)'[^
\\
n]*?'
\$
$#
\$
${1}
\'\\\$
$data1
= {&39;Directory&39; => &39;
$(APACHESESSIONFILEDIR)
&39;,&39;LockDirectory&39; => &39;
$(APACHESESSIONFILELOCKDIR)
&39;};'#m"
$(RFILECONFIGDIR)
/lmConf-1
@
$(PERL)
-i
-pe
's/__DNSDOMAIN__/
$(DNSDOMAIN)
/g;\
s#__SESSIONDIR__#
$(APACHESESSIONFILEDIR)
#g;'
$(RFILECONFIGDIR)
/lmConf-1
s#__SESSIONDIR__#
$(APACHESESSIONFILEDIR)
#g;\
s#__NOTIFICATIONDIR__#
$(APACHEFILENOTIFDIR)
#g;'
$(RFILECONFIGDIR)
/lmConf-1
@
if
[
"
$(APACHEUSER)
"
!=
""
]
;
then
\
chown
$(APACHEUSER)
$(RFILECONFIGDIR)
||
exit
1
;
\
if
[
"
$(APACHEGROUP)
"
!=
""
]
;
then
\
...
...
_example/conf/lmConf-1
View file @
cce1a636
applicationList
'$data1 = {'1sample' => { catname => 'Sample applications',type => 'category', 'test1' => { type => 'application', options => { name => 'Application Test 1', uri => 'http://test1.__DNSDOMAIN__/', description => 'A simple application displaying authenticated user', logo => 'demo.png', display => 'auto', }, },'test2' => { type => 'application', options => { name => 'Application Test 2', uri => 'http://test2.__DNSDOMAIN__/', description => 'The same simple application displaying authenticated user', logo => 'thumbnail.png', display => 'auto', }, }, },'2administration' => { catname => 'Administration', type => 'category', 'manager' => { type => 'application', options => { name => 'WebSSO Manager', uri => 'http://manager.__DNSDOMAIN__/', description => 'Configure LemonLDAP::NG WebSSO', logo => 'configure.png', display => 'auto', }, },'sessions' => { type => 'application', options => { name => 'Sessions explorer', uri => 'http://manager.__DNSDOMAIN__/sessions.pl', description => 'Explore WebSSO sessions', logo => 'database.png', display => 'auto', }, }, }, '3documentation' => { catname => 'Documentation', type => 'category', 'localdoc' => { type => 'application', options => { name => 'Local documentation', uri => 'http://manager.__DNSDOMAIN__/doc/', description => 'Documentation supplied with LemonLDAP::NG', logo => 'help.png', display => 'on', }, },'officialwebsite' => { type => 'application', options => { name => 'Offical Website', uri => 'http://lemonldap-ng.org/', description => 'Official LemonLDAP::NG Website', logo => 'network.png', display => 'on', }, }, }, }'
'$data1 = {'1sample' => { catname => 'Sample applications',type => 'category', 'test1' => { type => 'application', options => { name => 'Application Test 1', uri => 'http://test1.__DNSDOMAIN__/', description => 'A simple application displaying authenticated user', logo => 'demo.png', display => 'auto', }, },'test2' => { type => 'application', options => { name => 'Application Test 2', uri => 'http://test2.__DNSDOMAIN__/', description => 'The same simple application displaying authenticated user', logo => 'thumbnail.png', display => 'auto', }, }, },'2administration' => { catname => 'Administration', type => 'category', 'manager' => { type => 'application', options => { name => 'WebSSO Manager', uri => 'http://manager.__DNSDOMAIN__/', description => 'Configure LemonLDAP::NG WebSSO', logo => 'configure.png', display => 'auto', }, },'sessions' => { type => 'application', options => { name => 'Sessions explorer', uri => 'http://manager.__DNSDOMAIN__/sessions.pl', description => 'Explore WebSSO sessions', logo => 'database.png', display => 'auto', }, },
'notifications' => { type => 'application', options => { name => 'Notifications explorer', uri => 'http://manager.__DNSDOMAIN__/notifications.pl', description => 'Explore WebSSO notifications', logo => 'database.png', display => 'auto', }, },
}, '3documentation' => { catname => 'Documentation', type => 'category', 'localdoc' => { type => 'application', options => { name => 'Local documentation', uri => 'http://manager.__DNSDOMAIN__/doc/', description => 'Documentation supplied with LemonLDAP::NG', logo => 'help.png', display => 'on', }, },'officialwebsite' => { type => 'application', options => { name => 'Offical Website', uri => 'http://lemonldap-ng.org/', description => 'Official LemonLDAP::NG Website', logo => 'network.png', display => 'on', }, }, }, }'
globalStorage
'Apache::Session::File'
...
...
@@ -63,3 +63,13 @@ sessionDataToRemember
reloadUrls
'$data1 = {'reload.__DNSDOMAIN__' => 'http://reload.__DNSDOMAIN__/reload'};'
notification
1
notificationStorage
'File'
notificationStorageOptions
'$data1 = {'dirName' => '__NOTIFICATIONDIR__'};'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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