Re: [PacketFence-users] problem with source definition

2017-01-17 Thread denis


Le 17/01/2017 à 15:43, Antoine Amacher a écrit :
> Denis
>
> I forgot to ask is this a debian or CentOS install?
>
> Thanks
>

It's Debian 8. And as Antonio points it, the problem was 
https://github.com/inverse-inc/packetfence/issues/1551

I applied pf-maint.pl patches and it is solved !

Thanks !


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] problem with source definition

2017-01-17 Thread Antoine Amacher
Denis

I forgot to ask is this a debian or CentOS install?

Thanks


On 01/17/2017 09:13 AM, Antoine Amacher wrote:
> Hello Denis,
>
> Have a look in httpd.admin.catalyst and httpd.admin.error logs also, if
> you find anything. Look for 'ERROR'
>
> You can increase the log level via conf/log.conf.d/httpd.admin.conf,
> change INFO for DEBUG (l2) and WARN for DEBUG (l5). then restart your
> httpd.admin process. That will increase the output in the log by a LOT.
>
> Is this a standalone or cluster installation?
>
> I tried to recreate your process on a 6.4, I did not encounter this
> issue.(cluster setup)
>
> Thanks
>
>
> On 01/17/2017 06:33 AM, Denis Bonnenfant wrote:
>> Le 16/01/2017 à 18:51, Antoine Amacher a écrit :
>>> Hello Denis,
>>>
>>> Make sure your ad-blocker(if you have one) is disable for the admin of
>>> PF, it may, sometimes create weird interactions and not allow you to
>>> access a source to edit for instance.
>>>
>> There are no adbockers, proxies or other things that may interfer with
>> interface. I tested with different computers, OS and browsers. refreshed
>> cache, removed cookies, etc...
>>
>>> What does logs/httpd.admin.log tells you when the error appear?
>>>
>> Nothing. No messages, but maybe log level can be increased ?
>> To be more precise, the exact process :
>>
>> - create a new ldap or any other type of source : OK
>> - add a rule inside : OK
>> - go back to main page
>> - go to source page, open the source,
>> - click save : the error is displayed
>> - delete source : OK
>> - create a new one OK
>> - modify it : error
>>
>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> ___
>> PacketFence-users mailing list
>> PacketFence-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Antoine Amacher
aamac...@inverse.ca  ::  www.inverse.ca
+1.514.447.4918 x130  :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] problem with source definition

2017-01-17 Thread Antoine Amacher
Hello Denis,

Have a look in httpd.admin.catalyst and httpd.admin.error logs also, if 
you find anything. Look for 'ERROR'

You can increase the log level via conf/log.conf.d/httpd.admin.conf, 
change INFO for DEBUG (l2) and WARN for DEBUG (l5). then restart your 
httpd.admin process. That will increase the output in the log by a LOT.

Is this a standalone or cluster installation?

I tried to recreate your process on a 6.4, I did not encounter this 
issue.(cluster setup)

Thanks


On 01/17/2017 06:33 AM, Denis Bonnenfant wrote:
>
> Le 16/01/2017 à 18:51, Antoine Amacher a écrit :
>> Hello Denis,
>>
>> Make sure your ad-blocker(if you have one) is disable for the admin of
>> PF, it may, sometimes create weird interactions and not allow you to
>> access a source to edit for instance.
>>
> There are no adbockers, proxies or other things that may interfer with
> interface. I tested with different computers, OS and browsers. refreshed
> cache, removed cookies, etc...
>
>> What does logs/httpd.admin.log tells you when the error appear?
>>
> Nothing. No messages, but maybe log level can be increased ?
>>
> To be more precise, the exact process :
>
> - create a new ldap or any other type of source : OK
> - add a rule inside : OK
> - go back to main page
> - go to source page, open the source,
> - click save : the error is displayed
> - delete source : OK
> - create a new one OK
> - modify it : error
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Antoine Amacher
aamac...@inverse.ca  ::  www.inverse.ca
+1.514.447.4918 x130  :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] problem with source definition

2017-01-17 Thread antonio
Hello Denis,

Maybe your problem is related to this:

https://github.com/inverse-inc/packetfence/issues/1551



Em Seg, 2017-01-16 às 12:51 -0500, Antoine Amacher escreveu:
> Hello Denis,
> Make sure your ad-blocker(if you have one) is disable for the admin
> of PF, it may, sometimes create weird interactions and not allow you
> to access a source to edit for instance.
> What does logs/httpd.admin.log tells you when the error appear?
> Thanks
> 
> On 01/16/2017 11:38 AM, denis wrote:
> > Hello, 
> > With PF 6.4, I have a problem with sources configuration : 
> > - The first time a source is configured, a rule can be added and
> > everything is ok.
> > - when a second rule is added to this source, and "save" button
> > clicked, an error is displayed : "Error! The authentication source
> > was not found"
> > removing rule or source doesn't solve the problem, in fact all the
> > interface seems to be dead, the only way is recover is to restart
> > the services.
> > Here is a a exemple of my conf file :
> > [se3]
> > description=test
> > port=389
> > stripped_user_name=yes
> > type=LDAP
> > connection_timeout=5
> > basedn=ou=People,dc=xxx,dc=org
> > email_attribute=mail
> > scope=sub
> > dynamic_routing_module=AuthModule
> > binddn=cn=,dc=xxx,dc=org
> > password=
> > host=172.x.x.x
> > usernameattribute=uid
> > encryption=none
> > 
> > [se3 rule eleve]
> > description=dd
> > class=authentication
> > match=any
> > action0=set_role=mobiles_eleves
> > action1=set_access_duration=12h
> > condition0=uid,is member of,cn=eleves,ou=groups,dc=xxx,dc=org
> > 
> > [se3 rule profs]
> > description=p
> > class=authentication
> > match=any
> > action0=set_role=mobiles_profs
> > action1=set_access_duration=12h
> > condition0=uid,is member of,cn=profs,ou=Groups,dc=xxx,dc=org
> > The same rules were working perfectly with PF 4.6
> > Denis
> > 
> > 
> > 
> > -
> > -
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > 
> > 
> > ___
> > PacketFence-users mailing list
> > PacketFence-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/packetfence-users
>  
> ---
> ---
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] problem with source definition

2017-01-16 Thread Antoine Amacher

Hello Denis,

Make sure your ad-blocker(if you have one) is disable for the admin of 
PF, it may, sometimes create weird interactions and not allow you to 
access a source to edit for instance.


What does logs/httpd.admin.log tells you when the error appear?

Thanks


On 01/16/2017 11:38 AM, denis wrote:


Hello,

With PF 6.4, I have a problem with sources configuration :

- The first time a source is configured, a rule can be added and 
everything is ok.


- when a second rule is added to this source, and "save" button 
clicked, an error is displayed : "*Error!* The authentication source 
was not found"


removing rule or source doesn't solve the problem, in fact all the 
interface seems to be dead, the only way is recover is to restart the 
services.


Here is a a exemple of my conf file :

[se3]
description=test
port=389
stripped_user_name=yes
type=LDAP
connection_timeout=5
basedn=ou=People,dc=xxx,dc=org
email_attribute=mail
scope=sub
dynamic_routing_module=AuthModule
binddn=cn=,dc=xxx,dc=org
password=
host=172.x.x.x
usernameattribute=uid
encryption=none

[se3 rule eleve]
description=dd
class=authentication
match=any
action0=set_role=mobiles_eleves
action1=set_access_duration=12h
condition0=uid,is member of,cn=eleves,ou=groups,dc=xxx,dc=org

[se3 rule profs]
description=p
class=authentication
match=any
action0=set_role=mobiles_profs
action1=set_access_duration=12h
condition0=uid,is member of,cn=profs,ou=Groups,dc=xxx,dc=org

The same rules were working perfectly with PF 4.6

Denis




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
Antoine Amacher
aamac...@inverse.ca  ::  www.inverse.ca
+1.514.447.4918 x130  :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] problem with source definition

2017-01-16 Thread denis

Hello,

With PF 6.4, I have a problem with sources configuration :

- The first time a source is configured, a rule can be added and 
everything is ok.


- when a second rule is added to this source, and "save" button clicked, 
an error is displayed : "*Error!* The authentication source was not found"


removing rule or source doesn't solve the problem, in fact all the 
interface seems to be dead, the only way is recover is to restart the 
services.


Here is a a exemple of my conf file :

[se3]
description=test
port=389
stripped_user_name=yes
type=LDAP
connection_timeout=5
basedn=ou=People,dc=xxx,dc=org
email_attribute=mail
scope=sub
dynamic_routing_module=AuthModule
binddn=cn=,dc=xxx,dc=org
password=
host=172.x.x.x
usernameattribute=uid
encryption=none

[se3 rule eleve]
description=dd
class=authentication
match=any
action0=set_role=mobiles_eleves
action1=set_access_duration=12h
condition0=uid,is member of,cn=eleves,ou=groups,dc=xxx,dc=org

[se3 rule profs]
description=p
class=authentication
match=any
action0=set_role=mobiles_profs
action1=set_access_duration=12h
condition0=uid,is member of,cn=profs,ou=Groups,dc=xxx,dc=org

The same rules were working perfectly with PF 4.6

Denis


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users