Booked Scheduler Community Support
May 25, 2017, 06:12:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked 2.5 has been released!
 
   Home   Help Login Register  
Pages: [1] 2 3 ... 10
 1 
 on: Today at 05:33:10 PM 
Started by bitskrieg - Last post by bitskrieg
We use TOTP as a 2nd authentication factor on our LDAP server.  This works well in other systems (keystone, gitlab) but does not work when using booked.  It appears that booked makes multiple bind requests using the user uid before allowing logon:


[25/May/2017:13:24:23.687976677 -0400] conn=990 TLS1.2 256-bit AES-GCM
[25/May/2017:13:24:23.689224620 -0400] conn=990 op=2 BIND dn="{{ my_dn }}" method=128 version=3
[25/May/2017:13:24:23.691204980 -0400] conn=990 op=2 RESULT err=0 tag=97 nentries=0 etime=0 dn="{{ my_dn }}"
[25/May/2017:13:24:23.692942295 -0400] conn=990 op=3 SRCH base="{{ my base }}" scope=2 filter="(uid={{my_uid}})" attrs="sn givenName mail telephoneNumber physicalDeliveryOfficeName title telephoneNumber physicalDeliveryOfficeName"
[25/May/2017:13:24:23.693912404 -0400] conn=990 op=3 RESULT err=0 tag=101 nentries=1 etime=0
[25/May/2017:13:24:23.694883537 -0400] conn=990 op=4 SRCH base="" scope=0 filter="(objectClass=*)" attrs="subschemaSubentry"
[25/May/2017:13:24:23.697108232 -0400] conn=990 op=4 RESULT err=0 tag=101 nentries=1 etime=0
[25/May/2017:13:24:23.697932438 -0400] conn=990 op=5 SRCH base="cn=schema" scope=0 filter="(objectClass=*)" attrs="attributeTypes dITContentRules dITStructureRules matchingRules matchingRuleUse nameForms objectClasses ldapSyntaxes"
[25/May/2017:13:24:23.808031083 -0400] conn=990 op=5 RESULT err=0 tag=101 nentries=1 etime=0
[25/May/2017:13:24:23.931747183 -0400] conn=990 op=6 BIND dn="{{my_uid}}" method=128 version=3
[25/May/2017:13:24:23.937076946 -0400] conn=990 op=6 RESULT err=0 tag=97 nentries=0 etime=0 dn="{{my_uid}}"

[25/May/2017:13:24:23.938267603 -0400] conn=990 op=7 BIND dn="{{my_uid}}" method=128 version=3
[25/May/2017:13:24:23.939984878 -0400] conn=990 op=7 RESULT err=49 tag=97 nentries=0 etime=0

[25/May/2017:13:24:23.948336216 -0400] conn=990 op=8 UNBIND
[25/May/2017:13:24:23.948390792 -0400] conn=990 op=8 fd=133 closed - U1

You can see that the first bind is successful, but the 2nd bind fails because the TOTP token that was passed to the booked UI has already been burned.  As a result, users cannot log in to the web UI when using their LDAP credentials.

 2 
 on: Today at 05:27:57 PM 
Started by bitskrieg - Last post by bitskrieg
Update to this - for whatever reason, specifying ldaps/636 doesn't work, but using STARTTLS on 389 works fine.

 3 
 on: Today at 03:45:26 PM 
Started by koenr - Last post by koenr
Newbie question.
Say we have 30 laptops that can be reserved. In my opiniion, they are actually accessories. They don't come with a room or other resource.
So I made a resource laptops with accessories: 30 laptops. But if I create accessories "projectors", than they also show up under the laptop resource. So I'm missing something here.
How do you approach something like that in Booked? Do I need to create a resource for each laptop/projector? But what if the number of laptops that can be reserved changes (one is broken, stolen)? It seems like the resources are quite a lot to change available quantities.

How do other booked users solve the problem of a lot of "stuf" that can be reserved, not as an accessory to a room?

Thank you for sharing your thoughts.

Koen

 4 
 on: Today at 10:59:07 AM 
Started by korky - Last post by korky
Maybe you can try this via css.

Thanks for your input! I fiddled around with it but I don't know how I could hide only this specific (empty) part. Also I'm not sure this is the right place to hide it. Changing something in php (server-side) to not even transmit the data seems to me better than changing how to display the data in css (client-side).

 5 
 on: Today at 07:00:40 AM 
Started by shanmugamit - Last post by shanmugamit
pls guide me to import blockout time.

 6 
 on: May 24, 2017, 04:04:28 PM 
Started by leoamato10 - Last post by leoamato10
its freeze and shows a pop up with the word "working" and nothing happens

i attached the screenshot.

please help me!  Grin

 7 
 on: May 24, 2017, 02:15:48 AM 
Started by bitskrieg - Last post by bitskrieg
Having issues connecting booked 2.6.6 to FreeIPA using the ldap authentication plugin:

Code:
$conf['settings']['host'] = 'ldap_endpoint'; // comma separated list of ldap servers such as mydomain1,localhost
$conf['settings']['port'] = '636';      // default ldap port 389 or 636 for ssl.
$conf['settings']['version'] = '3';             // LDAP protocol version
$conf['settings']['starttls'] = 'false';        // TLS is started after connecting
$conf['settings']['binddn'] = 'uid=bind,cn=some,cn=bind,dc=dn,dc=that,dc=works'; // The distinguished name to bind as (username). If you don't supply this, an anonymous bind will be established.
$conf['settings']['bindpw'] = 'somepass'; // Password for the binddn. If the credentials are wrong, the bind will fail server-side and an anonymous bind will be established instead. An empty bindpw string requests an unauthenticated
bind.
$conf['settings']['basedn'] = 'cn=some,cn=base,dc=dn,dc=that,dc=works';  // LDAP base name (eg. dc=example,dc=com)
$conf['settings']['filter'] = '';       // Default search filter
$conf['settings']['scope'] = '';        // Search scope (eg. uid)
$conf['settings']['required.group'] = '';       // Required group (empty if not necessary) (eg. cn=MyGroup,cn=Groups,dc=example,dc=com)
$conf['settings']['database.auth.when.ldap.user.not.found'] = 'true';   // if ldap auth fails, authenticate against Booked Scheduler database
$conf['settings']['ldap.debug.enabled'] = 'true';       // if LDAP2 should use debug logging
$conf['settings']['attribute.mapping'] = 'sn=sn,givenname=givenname,mail=mail,telephonenumber=telephonenumber,physicaldeliveryofficename=physicaldeliveryofficename,title=title';       // mapping of required attributes to attribute names in your directory
$conf['settings']['user.id.attribute'] = 'uid'; // the attribute name for user identification

I can see an inbound connection in the FreeIPA server, but no data is ever exchanged.  This is what is in the apache2 log

Code:
ldap_create
ldap_url_parse_ext(ldap://some_url:636)
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP some_url:636
ldap_new_socket: 22
ldap_prepare_socket: 22
ldap_connect_to_host: Trying 45.56.119.156:636
ldap_pvt_connect: fd: 22 tm: -1 async: 0
attempting to connect:
connect success
ldap_open_defconn: successful
ldap_send_server_request
ldap_result ld 0x562aaa814380 msgid 1
wait4msg ld 0x562aaa814380 msgid 1 (infinite timeout)
wait4msg continue ld 0x562aaa814380 msgid 1 all 1
** ld 0x562aaa814380 Connections:
* host: some_host  port: 636  (default)
  refcnt: 2  status: Connected
  last used: Tue May 23 21:43:02 2017


** ld 0x562aaa814380 Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x562aaa814380 request count 1 (abandoned 0)
** ld 0x562aaa814380 Response Queue:
   Empty
  ld 0x562aaa814380 response count 0
ldap_chkResponseList ld 0x562aaa814380 msgid 1 all 1
ldap_chkResponseList returns ld 0x562aaa814380 NULL
ldap_int_select

Any attempt to login with ldap enabled causes the login page to hang indefinitely until I forcefully restart apapche2.

The settings that I'm using work well with other LDAP-enabled applications.  I'm wondering if maybe net_ldap2 doesn't support TLS 1.2?  It appears to be unmaintained...

Any other thoughts?  php5-ldap is installed.

 8 
 on: May 23, 2017, 08:16:00 AM 
Started by mayav - Last post by YZone
Hi,

Maybe this can help: http://php.brickhost.com/forums/index.php?topic=15297.msg36457#msg36457
Try the reply of fzobitz

YZone






 9 
 on: May 23, 2017, 05:56:44 AM 
Started by mayav - Last post by mayav
Hi all,

After installation during login booked, received timezone error.
here with i attach the error page details


( ! ) Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in D:\Program Files\Ampps\www\lhrs\lib\Common\Date.php on line 69
Call Stack
#   Time   Memory   Function   Location
1   0.0003   139064   {main}( )   ...\index.php:0
2   0.1341   8695496   LoginPage->Login( )   ...\index.php:35
3   0.1341   8695656   LoginPresenter->Login( )   ...\LoginPage.php:201
4   0.1480   8742760   WebAuthentication->Login( )   ...\LoginPresenter.php:114
5   0.1480   8742912   Authentication->Login( )   ...\WebAuthentication.php:116
6   0.1679   8750792   LoginTime::Now( )   ...\Authentication.php:127
7   0.1679   8750824   Date::Now( )   ...\LoginTime.php:31
8   0.1679   8751224   Date->__construct( )   ...\Date.php:164
9   0.1679   8751288   Date->InitializeTimezone( )   ...\Date.php:56
10   0.1679   8751288   date_default_timezone_get ( )   ...\Date.php:69

( ! ) Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in D:\Program Files\Ampps\www\lhrs\lib\Common\Date.php on line 69
Call Stack
#   Time   Memory   Function   Location
1   0.0003   139064   {main}( )   ...\index.php:0
2   0.1341   8695496   LoginPage->Login( )   ...\index.php:35
3   0.1341   8695656   LoginPresenter->Login( )   ...\LoginPage.php:201
4   0.1480   8742760   WebAuthentication->Login( )   ...\LoginPresenter.php:114
5   0.1480   8742912   Authentication->Login( )   ...\WebAuthentication.php:116
6   0.1684   8752144   UserRepository->Update( )   ...\Authentication.php:136
7   0.1685   8753184   UpdateUserCommand->__construct( )   ...\UserRepository.php:451
8   0.1686   8755880   Date::Now( )   ...\Commands.php:2403
9   0.1687   8756176   Date->__construct( )   ...\Date.php:164
10   0.1687   8756208   Date->InitializeTimezone( )   ...\Date.php:56
11   0.1687   8756208   date_default_timezone_get ( )   ...\Date.php:69

( ! ) Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files\Ampps\www\lhrs\lib\Common\Date.php:69) in D:\Program Files\Ampps\www\lhrs\Pages\Page.php on line 149
Call Stack
#   Time   Memory   Function   Location
1   0.0003   139064   {main}( )   ...\index.php:0
2   0.1341   8695496   LoginPage->Login( )   ...\index.php:35
3   0.1341   8695656   LoginPresenter->Login( )   ...\LoginPage.php:201
4   0.2094   8755336   LoginPresenter->_Redirect( )   ...\LoginPresenter.php:115
5   0.2094   8755424   LoginRedirector::Redirect( )   ...\LoginPresenter.php:152
6   0.2095   8755536   Page->Redirect( )   ...\LoginRedirector.php:38
7   0.2095   8755688   header ( )   ...\Page.php:149


Advance Thanks

Maya

 10 
 on: May 23, 2017, 04:25:38 AM 
Started by idanedry - Last post by idanedry
According to the logs it seems to reach line 209 in the pluginmanager.php file.
2017-05-22T15:54:07+00:00 [30670] DEBUG default - [User=Idan Edry (idane@radware.com)] Loading plugin. Type=Authentication, Plugin=Ldap [File=/var/www/html/lib/Common/PluginManager.php,Line=209]




    198         private function LoadPlugin($configKey, $pluginSubDirectory, $baseImplementation)
    199         {
    200                 if (!$this->Cached($configKey))
    201                 {
    202                         $plugin = Configuration::Instance()->GetSectionKey(ConfigSection::PLUGINS, $configKey);
    203                         $pluginFile = ROOT_DIR . "plugins/$pluginSubDirectory/$plugin/$plugin.php";
    204
    205                         if (!empty($plugin) && file_exists($pluginFile))
    206                         {
    207                                 try
    208                                 {
    209                                         Log::Debug('Loading plugin. Type=%s, Plugin=%s', $configKey, $plugin);
    210                                         require_once($pluginFile);
    211                                         $this->Cache($configKey, new $plugin($baseImplementation));
    212                                 } catch (Exception $ex)
    213                                 {
    214                                         Log::Error('Error loading plugin. Type=%s, Plugin=%s', $configKey, $plugin);
    215                                 }
    216                         }
    217                         else
    218                         {
    219                                 $this->Cache($configKey, null);
    220                         }
    221                 }
    222                 return $this->GetCached($configKey);
    223

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!