Pi-manage.py create_enckey issue

Hi Blue Waters,

as the first line points out, you are using python 2.6.
privacyIDEA uses some modules and constructs, that are not supported by
python 2.6 anymore.

What operating system/distribution are you running?

Kind regards
CorneliusAm Mittwoch, den 17.06.2015, 11:43 -0700 schrieb blue90waters@gmail.com:

Hi,

i am having this issue when trying to create the encryption keys.

pi-manage.py create_enckey

/opt/privacyidea/lib/python2.6/site-packages/cryptography/init.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python.
DeprecationWarning
Traceback (most recent call last):
File “/opt/privacyidea/bin/pi-manage.py”, line 40, in
from privacyidea.app import create_app
File
“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py”,
line 27, in
from privacyidea.api.system import system_blueprint
File
“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py”, line 66, in
from .policy import policy_blueprint
File
“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py”, line 523
+ dynamic_pol.get(k, {}).items()) for k in keys}

Any help on this would be appreciated.

You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

I just wanted to update that i did go through the post below and tried
installing the deb package on ubuntu and that doesn’t seem to have resolved
the issue.

https://groups.google.com/forum/#!topic/privacyidea/R0Yc79zctzsOn Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel wrote:

Hi Blue Waters,

as the first line points out, you are using python 2.6.
privacyIDEA uses some modules and constructs, that are not supported by
python 2.6 anymore.

What operating system/distribution are you running?

Kind regards
Cornelius

Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb blue90...@gmail.com
<javascript:>:

Hi,

i am having this issue when trying to create the encryption keys.

pi-manage.py create_enckey

/opt/privacyidea/lib/python2.6/site-packages/cryptography/init.py:25:
DeprecationWarning: Python 2.6 is no longer supported by the Python core
team, please upgrade your Python.

DeprecationWarning
Traceback (most recent call last):
File “/opt/privacyidea/bin/pi-manage.py”, line 40, in
from privacyidea.app import create_app
File
"/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py",
line 27, in
from privacyidea.api.system import system_blueprint
File

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py”,
line 66, in

from .policy import policy_blueprint 

File

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py”,
line 523

+ dynamic_pol.get(k, {}).items()) for k in keys} 

Any help on this would be appreciated.

You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea...@googlegroups.com <javascript:>.
To post to this group, send email to priva...@googlegroups.com
<javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
corneliu...@netknights.it <javascript:>
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

Hi,

I am having issues assigning a token to an ldap user. I have created a
realm and an ldapresolver. I am able to see the ldap users but here is the
message i get when i try to assign a token "ERR905: The user can not be
found in any resolver in this realm!"
I get this error on both Ubuntu 14.04 and Centos 6.5

I tried installing the deb package on the ubuntu after going through the
below post but it doesnt seem to have resolve the issue.
https://groups.google.com/forum/#!topic/privacyidea/R0Yc79zctzs

I appreciate you taking a look at this issue.

Below are the logs

Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!

Thanks,On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel wrote:

Hi Blue Waters,

as the first line points out, you are using python 2.6.
privacyIDEA uses some modules and constructs, that are not supported by
python 2.6 anymore.

What operating system/distribution are you running?

Kind regards
Cornelius

Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb blue90...@gmail.com
<javascript:>:

Hi,

i am having this issue when trying to create the encryption keys.

pi-manage.py create_enckey

/opt/privacyidea/lib/python2.6/site-packages/cryptography/init.py:25:
DeprecationWarning: Python 2.6 is no longer supported by the Python core
team, please upgrade your Python.

DeprecationWarning
Traceback (most recent call last):
File “/opt/privacyidea/bin/pi-manage.py”, line 40, in
from privacyidea.app import create_app
File
"/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py",
line 27, in
from privacyidea.api.system import system_blueprint
File

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py”,
line 66, in

from .policy import policy_blueprint 

File

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py”,
line 523

+ dynamic_pol.get(k, {}).items()) for k in keys} 

Any help on this would be appreciated.

You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea...@googlegroups.com <javascript:>.
To post to this group, send email to priva...@googlegroups.com
<javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
corneliu...@netknights.it <javascript:>
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

a) after creating the realm, ldap resolver. I go to users->select realm ->
. Select an ldap user from the realm, then i get this “ERR905: The user can
not be found in any resolver in this realm!”

b)secondly, even If i go to Token -> Enroll token -> select realm -> under
username, the ldap username populates, gave a pin, when i hit enroll "ERR905:
The user can not be found in any resolver in this realm! ".

here is how my ldap resolver looks like.

Resolver name : testldap
server URI : ldap://hostname.example.com
Base DN : cn=users,cn=accounts,dc=example,dc=com
Bind DN : cn=Directory Manager
Bind passwd :
Bind Type : Simple

Loginname Attribute : uid
search filter: (uid=*)(objectClass=inetOrgPerson)
user filter : (&(uid=%s)(objectClass=inetOrgPerson))
attribute mapping : { “username”: “uid”, “phone” : “telephoneNumber”,
“mobile” : “mobile”, “email” : “mail”, “surname” : “sn”, “givenname” :
“givenName” }
UID type : entryUUID

Thanks,On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:

When does this occur?

a) Does it occur in the token enroll-dialog, when you are searching for
a user,
b) does it occur in the token detail view, when you assign a user or
c) Does it occur after you have assigned the token and try to list the
users.

What does you LDAP resolver look like?
Especially the “User Filter”, “Seaech FIlter” and “Mapping”?

Kind regards
Cornelius

Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb
blue90...@gmail.com <javascript:>:

Hi,

I am having issues assigning a token to an ldap user. I have created a
realm and an ldapresolver. I am able to see the ldap users but here is
the message i get when i try to assign a token "ERR905: The user can
not be found in any resolver in this realm!"
I get this error on both Ubuntu 14.04 and Centos 6.5

I tried installing the deb package on the ubuntu after going through
the below post but it doesnt seem to have resolve the issue.
https://groups.google.com/forum/#!topic/privacyidea/R0Yc79zctzs

I appreciate you taking a look at this issue.

Below are the logs

Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!

Thanks,

On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel wrote:
Hi Blue Waters,

    as the first line points out, you are using python 2.6. 
    privacyIDEA uses some modules and constructs, that are not 
    supported by 
    python 2.6 anymore. 
    
    What operating system/distribution are you running? 
    
    Kind regards 
    Cornelius 
    
    
    Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
    blue90...@gmail.com: 
    > Hi, 
    > 
    > 
    > i am having this issue when trying to create the encryption 
    keys. 
    > 
    > 
    > # pi-manage.py create_enckey 
    > 

/opt/privacyidea/lib/python2.6/site-packages/cryptography/init.py:25:
DeprecationWarning: Python 2.6 is no longer supported by the Python core
team, please upgrade your Python.

    >   DeprecationWarning 
    > Traceback (most recent call last): 
    >   File "/opt/privacyidea/bin/pi-manage.py", line 40, in 
    <module> 
    >     from privacyidea.app import create_app 
    >   File 
    > 

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py”,

    > line 27, in <module> 
    >     from privacyidea.api.system import system_blueprint 
    >   File 
    > 

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py”,
line 66, in

    >     from .policy import policy_blueprint 
    >   File 
    > 

“/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py”,
line 523

    >     + dynamic_pol.get(k, {}).items()) for k in keys} 
    > 
    > 
    > Any help on this would be appreciated. 
    > -- 
    > You received this message because you are subscribed to the 
    Google 
    > Groups "privacyidea" group. 
    > To unsubscribe from this group and stop receiving emails 
    from it, send 
    > an email to privacyidea...@googlegroups.com. 
    > To post to this group, send email to 
    priva...@googlegroups.com. 
    > To view this discussion on the web visit 
    > 

https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com.

    > For more options, visit https://groups.google.com/d/optout. 
    
    -- 
    Cornelius Kölbel 
    corneliu...@netknights.it 
    +49 151 2960 1417 
    
    NetKnights GmbH 
    http://www.netknights.it 
    Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    Tel: +49 561 3166797, Fax: +49 561 3166798 
    
    Amtsgericht Kassel, HRB 16405 
    Geschäftsführer: Cornelius Kölbel 


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea...@googlegroups.com <javascript:>.
To post to this group, send email to priva...@googlegroups.com
<javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
corneliu...@netknights.it <javascript:>
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

When does this occur?

a) Does it occur in the token enroll-dialog, when you are searching for
a user,
b) does it occur in the token detail view, when you assign a user or
c) Does it occur after you have assigned the token and try to list the
users.

What does you LDAP resolver look like?
Especially the “User Filter”, “Seaech FIlter” and “Mapping”?

Kind regards
Cornelius

blue90waters@gmail.com:Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb

Hi,

I am having issues assigning a token to an ldap user. I have created a
realm and an ldapresolver. I am able to see the ldap users but here is
the message i get when i try to assign a token “ERR905: The user can
not be found in any resolver in this realm!”
I get this error on both Ubuntu 14.04 and Centos 6.5

I tried installing the deb package on the ubuntu after going through
the below post but it doesnt seem to have resolve the issue.
https://groups.google.com/forum/#!topic/privacyidea/R0Yc79zctzs

I appreciate you taking a look at this issue.

Below are the logs

Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!

Thanks,

On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel wrote:
Hi Blue Waters,

    as the first line points out, you are using python 2.6. 
    privacyIDEA uses some modules and constructs, that are not
    supported by 
    python 2.6 anymore. 
    
    What operating system/distribution are you running? 
    
    Kind regards 
    Cornelius 
    
    
    Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb
    blue90...@gmail.com: 
    > Hi, 
    > 
    > 
    > i am having this issue when trying to create the encryption
    keys. 
    > 
    > 
    > # pi-manage.py create_enckey 
    > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
    >   DeprecationWarning 
    > Traceback (most recent call last): 
    >   File "/opt/privacyidea/bin/pi-manage.py", line 40, in
    <module> 
    >     from privacyidea.app import create_app 
    >   File 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
    > line 27, in <module> 
    >     from privacyidea.api.system import system_blueprint 
    >   File 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
    >     from .policy import policy_blueprint 
    >   File 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
    >     + dynamic_pol.get(k, {}).items()) for k in keys} 
    > 
    > 
    > Any help on this would be appreciated. 
    > -- 
    > You received this message because you are subscribed to the
    Google 
    > Groups "privacyidea" group. 
    > To unsubscribe from this group and stop receiving emails
    from it, send 
    > an email to privacyidea...@googlegroups.com. 
    > To post to this group, send email to
    priva...@googlegroups.com. 
    > To view this discussion on the web visit 
    >
    https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
    > For more options, visit https://groups.google.com/d/optout. 
    
    -- 
    Cornelius Kölbel 
    corneliu...@netknights.it 
    +49 151 2960 1417 
    
    NetKnights GmbH 
    http://www.netknights.it 
    Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    Tel: +49 561 3166797, Fax: +49 561 3166798 
    
    Amtsgericht Kassel, HRB 16405 
    Geschäftsführer: Cornelius Kölbel 


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

Hi Cornelius,

I changed the log level to 10 and restated nginx.
Below is the output that i see when restart and assign a token. Something
that i have noticed is, there isn’t any “deflocal” resolver. But i see that
in the logs.
Let me know if you need any more logs that can be helpful.

tail -f privacyidea.log
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:01,095][2329][140697013417920][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:17,690][2338][140697013417920][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:27,243][2298][140697013417920][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:41,089][2372][140697013417920][ERROR][privacyidea.lib.resolver:314]
unknown resolver class deflocal
[2015-06-19
15:05:41,202][2373][140697013417920][ERROR][privacyidea.lib.resolver:314]
unknown resolver class deflocalOn Friday, June 19, 2015 at 12:37:24 PM UTC-6, Cornelius Kölbel wrote:

Please set

PI_LOGLEVEL = 10

in pi.cfg, restart apache and watch the logfile.

If you are OK with it, send it.

Kind regards
Cornelius

Am Freitag, den 19.06.2015, 20:14 +0200 schrieb Cornelius Kölbel:

Hi,
the configuration looks good. I assume, can you take a look at the log
file prior to the traceback you sent in your original post?

Kind regards
Cornelius

Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90...@gmail.com <javascript:>:> a) after creating the realm, ldap resolver. I go to users->select> realm -> . Select an ldap user from the realm, then i get this> “ERR905: The user can not be found in any resolver in this realm!”> > > b)secondly, even If i go to Token -> Enroll token -> select realm ->> under username, the ldap username populates, gave a pin, when i hit> enroll "ERR905: The user can not be found in any resolver in this> realm! ".> > > > > here is how my ldap resolver looks like.> > > Resolver name : testldap> server URI : ldap://hostname.example.com> Base DN : cn=users,cn=accounts,dc=example,dc=com> Bind DN : cn=Directory Manager> Bind passwd : > Bind Type : Simple> > > Loginname Attribute : uid> search filter: (uid=*)(objectClass=inetOrgPerson)> user filter : (&(uid=%s)(objectClass=inetOrgPerson))> attribute mapping : { “username”: “uid”, “phone” : “telephoneNumber”,> “mobile” : “mobile”, “email” : “mail”, “surname” : “sn”, “givenname” :> “givenName” }> UID type : entryUUID> > > > > Thanks,> > > > > > On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel> wrote:> When does this occur? > > a) Does it occur in the token enroll-dialog, when you are> searching for > a user, > b) does it occur in the token detail view, when you assign a> user or > c) Does it occur after you have assigned the token and try to> list the > users. > > What does you LDAP resolver look like? > Especially the “User Filter”, “Seaech FIlter” and “Mapping”? > > Kind regards > Cornelius > > Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb > blue90...@gmail.com: > > Hi, > > > > > > > > > > I am having issues assigning a token to an ldap user. I have> created a > > realm and an ldapresolver. I am able to see the ldap users> but here is > > the message i get when i try to assign a token “ERR905: The> user can > > not be found in any resolver in this realm!” > > I get this error on both Ubuntu 14.04 and Centos 6.5 > > > > > > I tried installing the deb package on the ubuntu after going> through > > the below post but it doesnt seem to have resolve the> issue. > > https://groups.google.com/forum/#!> topic/privacyidea/R0Yc79zctzs > > > > > > > > I appreciate you taking a look at this issue. > > > > > > > > > > Below are the logs > > > > > > Traceback (most recent call last): > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1817, in > > wsgi_app > > response = self.full_dispatch_request() > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1477, in > > full_dispatch_request > > rv = self.handle_user_exception(e) > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1381, in > > handle_user_exception > > reraise(exc_type, exc_value, tb) > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1475, in > > full_dispatch_request > > rv = self.dispatch_request() > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1461, in > > dispatch_request > > return> self.view_functionsrule.endpoint > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”,> line > > 101, in log_wrapper > > f_result = func(*args, **kwds) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, > > line 350, in list_api > > description=description) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”,> line > > 101, in log_wrapper > > f_result = func(*args, **kwds) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, > > line 306, in get_tokens_paginate > > description=description) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, > > line 182, in _create_token_query > > (uid, _rtype, _resolver) = user.get_user_identifiers() > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, > > line 213, in get_user_identifiers > > raise UserError("The user can not be found in any> resolver in " > > UserError: ERR905: The user can not be found in any resolver> in this > > realm! > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius> Kölbel > > wrote: > > Hi Blue Waters, > > > > as the first line points out, you are using python> 2.6. > > privacyIDEA uses some modules and constructs, that> are not > > supported by > > python 2.6 anymore. > > > > What operating system/distribution are you running? > > > > Kind regards > > Cornelius > > > > > > Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb > > blue90...@gmail.com: > > > Hi, > > > > > > > > > i am having this issue when trying to create the> encryption > > keys. > > > > > > > > > # pi-manage.py create_enckey > >> > /opt/privacyidea/lib/python2.6/site-packages/cryptography/init.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. > > > DeprecationWarning > > > Traceback (most recent call last): > > > File “/opt/privacyidea/bin/pi-manage.py”, line> 40, in > > > > > from privacyidea.app import create_app > > > File > > > > >> “/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py”, > > > line 27, in > > > from privacyidea.api.system import> system_blueprint > > > File > > > > >> “/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py”, line 66, in > > > from .policy import policy_blueprint > > > File > > > > >> “/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py”, line 523 > > > + dynamic_pol.get(k, {}).items()) for k in> keys} > > > > > > > > > Any help on this would be appreciated. > > > – > > > You received this message because you are> subscribed to the > > Google > > > Groups “privacyidea” group. > > > To unsubscribe from this group and stop receiving> emails > > from it, send > > > an email to privacyidea...@googlegroups.com. > > > To post to this group, send email to > > priva...@googlegroups.com. > > > To view this discussion on the web visit > > > > >> https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. > > > For more options, visit> https://groups.google.com/d/optout. > > > > – > > Cornelius Kölbel > > corneliu...@netknights.it > > +49 151 2960 1417 > > > > NetKnights GmbH > > http://www.netknights.it > > Landgraf-Karl-Str. 19, 34131 Kassel, Germany > > Tel: +49 561 3166797, Fax: +49 561 3166798 > > > > Amtsgericht Kassel, HRB 16405 > > Geschäftsführer: Cornelius Kölbel > > > > > > – > > You received this message because you are subscribed to the> Google > > Groups “privacyidea” group. > > To unsubscribe from this group and stop receiving emails> from it, send > > an email to privacyidea...@googlegroups.com. > > To post to this group, send email to> priva...@googlegroups.com. > > To view this discussion on the web visit > >> https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > – > Cornelius Kölbel > corneliu...@netknights.it > +49 151 2960 1417 > > NetKnights GmbH > http://www.netknights.it > Landgraf-Karl-Str. 19, 34131 Kassel, Germany > Tel: +49 561 3166797, Fax: +49 561 3166798 > > Amtsgericht Kassel, HRB 16405 > Geschäftsführer: Cornelius Kölbel > > > – > You received this message because you are subscribed to the Google> Groups “privacyidea” group.> To unsubscribe from this group and stop receiving emails from it, send> an email to privacyidea...@googlegroups.com <javascript:>.> To post to this group, send email to priva...@googlegroups.com <javascript:>.> To view this discussion on the web visit> https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.> For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbelcorneliu…@netknights.it <javascript:>
+49 151 2960 1417

NetKnights GmbHhttp://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel


Cornelius Kölbel
corneliu...@netknights.it <javascript:>
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

Hi Cornelius,

I changed the log level to 10 and restated nginx.
Below is the output that i see when restart and assign a token. Something
that i have noticed is, there isn’t any “deflocal” resolver. But i see that
in the logs.
Let me know if you need any more logs that can be helpful.

tail -f privacyidea.log

[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:239]
exception OperationalError("(OperationalError) (1241,
‘Operand should contain 1 column(s)’)",)
[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:240]
DATA: {‘info’: ‘’, ‘administrator’: u’admin’, ‘realm’:
[u’defrealm’, u’flatfileresolver’, u’freeipa’], ‘success’: True,
‘privacyidea_server’: ‘HOST’, ‘client_user_agent’: ‘firefox’, ‘client’: ‘10
.40.104.81’, ‘action_detail’: u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_lengt h=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresolv er’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}", ‘action’:
‘POST /policy/’, ‘serial’: None}
[2015-06-11
16:07:41,281][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:241]
Traceback (most recent call last):
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/auditmodules/sqlaudit.py",
line 231, in finalize_log
self.session.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”, line
721, in commit
self.transaction.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”, line
354, in commit
self._prepare_impl()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”, line
334, in _prepare_impl
self.session.flush()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”, line
1818, in flush
self._flush(objects)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”, line
1936, in _flush
transaction.rollback(_capture_exception=True)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py”,
line 58, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”, line
1900, in _flush
flush_context.execute()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”,
line 372, in execute
rec.execute(self)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”,
line 525, in execute
uow
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”,
line 64, in save_obj
table, insert)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”,
line 569, in _emit_insert_statements
execute(statement, params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line
662, in execute
params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line
761, in _execute_clauseelement
compiled_sql, distilled_params
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line
874, in _execute_context
context)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line
1024, in _handle_dbapi_exception
exc_info
File “/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”, line
196, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line
867, in _execute_context
context)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”,
line 324, in do_execute
cursor.execute(statement, parameters)
File “/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py”, line 174, in
execute
self.errorhandler(self, exc, value)
File “/usr/lib/python2.7/dist-packages/MySQLdb/connections.py”, line 36,
in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (OperationalError) (1241, ‘Operand should contain 1
column(s)’) ‘INSERT INTO pidea_audit (date, signature, action, success,
serial, toke
n_type, user, realm, administrator, action_detail, info,
privacyidea_server, client, loglevel, clearance_level) VALUES (%s, %s, %s,
%s, %s, %s, %s, %s, %s
, %s, %s, %s, %s, %s, %s)’ (datetime.datetime(2015, 6, 11, 16, 7, 41,
278670), ‘’, ‘POST /policy/’, 1, None, None, None, [u’defrealm’, u’flatfileres olver’, u’freeipa’], u’admin’, u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_leng th=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresol ver’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}", ‘’, ‘HOST’,
10.40.aa.bb’, None, None)

[2015-06-11
16:08:25,935][29574][139662564255488][ERROR][privacyidea.lib.user:319] The
user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:35,315][29574][139662681753344][ERROR][privacyidea.lib.user:319] The
user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:50,437][29574][139662656575232][ERROR][privacyidea.lib.user:319] The
user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:12:00,264][29574][139662681753344][ERROR][privacyidea.lib.user:319] The
user User(login=u’test’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:13:47,190][2009][139814139623168][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-11
16:16:35,587][2009][139814231942912][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,590][2009][139814231942912][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,596][2009][139814231942912][ERROR][privacyidea.app:1423] Exception
on /machine/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/machine.py”, line
112, in list_machines_api
any=any)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machine.py”, line
79, in get_machines
substring=True)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 132, in get_machines
self._bind()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 72, in _bind
raise Exception(“Wrong credentials”)
Exception: Wrong credentials
[2015-06-11
16:16:40,701][2009][139814114445056][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:54,570][2009][139814231942912][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-12
15:57:33,902][5010][139814139307776][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
15:58:11,109][5010][139814147700480][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:04:37,131][5010][139814114129664][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:05:16,148][5010][139814114129664][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:05:22,511][5010][139814114129664][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:09:15,917][5010][139814139307776][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:10:04,910][5010][139814114129664][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:20:33,802][5010][139814147700480][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:27:04,059][5010][139814122522368][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:39:17,328][5010][139814122522368][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-12
16:39:41,311][5010][139814139307776][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-16
13:49:54,140][15858][139814156093184][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-16
13:50:43,280][15858][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 85, in policy_wrapper
action=self.action)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 276, in check_max_token_user
tokenobject_list = get_tokens(user=user_object)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
246, in get_tokens
rollout_state=rollout_state)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-16
13:52:01,251][15858][139814139307776][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
[2015-06-16
15:48:16,717][15858][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-16
15:59:50,035][15858][139814130915072][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 101,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-16
16:08:52,892][15858][139814139307776][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
[2015-06-16
16:20:22,619][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”, line
40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line 127, in
render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line 830,
in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line 791,
in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line 765,
in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113, in
load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line 64, in
get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:20:30,406][16680][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”, line
40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line 127, in
render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line 830,
in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line 791,
in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line 765,
in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113, in
load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line 64, in
get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:21:45,356][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]On Friday, June 19, 2015 at 3:11:51 PM UTC-6, blue90...@gmail.com wrote:

description=description)

File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:01,095][2329][140697013417920][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:17,690][2338][140697013417920][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:27,243][2298][140697013417920][ERROR][privacyidea.app:1423] Exception
on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-19
15:05:41,089][2372][140697013417920][ERROR][privacyidea.lib.resolver:314]
unknown resolver class deflocal
[2015-06-19
15:05:41,202][2373][140697013417920][ERROR][privacyidea.lib.resolver:314]
unknown resolver class deflocal

On Friday, June 19, 2015 at 12:37:24 PM UTC-6, Cornelius Kölbel wrote:

Please set

PI_LOGLEVEL = 10

in pi.cfg, restart apache and watch the logfile.

If you are OK with it, send it.

Kind regards
Cornelius

Am Freitag, den 19.06.2015, 20:14 +0200 schrieb Cornelius Kölbel:

Hi,
the configuration looks good. I assume, can you take a look at the log
file prior to the traceback you sent in your original post?

Kind regards
Cornelius

Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90...@gmail.com:> a) after creating the realm, ldap resolver. I go to users->select> realm -> . Select an ldap user from the realm, then i get this> “ERR905: The user can not be found in any resolver in this realm!”> > > b)secondly, even If i go to Token -> Enroll token -> select realm ->> under username, the ldap username populates, gave a pin, when i hit> enroll "ERR905: The user can not be found in any resolver in this> realm! ".> > > > > here is how my ldap resolver looks like.> > > Resolver name : testldap> server URI : ldap://hostname.example.com> Base DN : cn=users,cn=accounts,dc=example,dc=com> Bind DN : cn=Directory Manager> Bind passwd : > Bind Type : Simple> > > Loginname Attribute : uid> search filter: (uid=*)(objectClass=inetOrgPerson)> user filter : (&(uid=%s)(objectClass=inetOrgPerson))> attribute mapping : { “username”: “uid”, “phone” : “telephoneNumber”,> “mobile” : “mobile”, “email” : “mail”, “surname” : “sn”, “givenname” :> “givenName” }> UID type : entryUUID> > > > > Thanks,> > > > > > On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel> wrote:> When does this occur? > > a) Does it occur in the token enroll-dialog, when you are> searching for > a user, > b) does it occur in the token detail view, when you assign a> user or > c) Does it occur after you have assigned the token and try to> list the > users. > > What does you LDAP resolver look like? > Especially the “User Filter”, “Seaech FIlter” and “Mapping”? > > Kind regards > Cornelius > > Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb > blue90...@gmail.com: > > Hi, > > > > > > > > > > I am having issues assigning a token to an ldap user. I have> created a > > realm and an ldapresolver. I am able to see the ldap users> but here is > > the message i get when i try to assign a token “ERR905: The> user can > > not be found in any resolver in this realm!” > > I get this error on both Ubuntu 14.04 and Centos 6.5 > > > > > > I tried installing the deb package on the ubuntu after going> through > > the below post but it doesnt seem to have resolve the> issue. > > https://groups.google.com/forum/#!> topic/privacyidea/R0Yc79zctzs > > > > > > > > I appreciate you taking a look at this issue. > > > > > > > > > > Below are the logs > > > > > > Traceback (most recent call last): > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1817, in > > wsgi_app > > response = self.full_dispatch_request() > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1477, in > > full_dispatch_request > > rv = self.handle_user_exception(e) > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1381, in > > handle_user_exception > > reraise(exc_type, exc_value, tb) > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1475, in > > full_dispatch_request > > rv = self.dispatch_request() > > File “/usr/lib/python2.7/dist-packages/flask/app.py”, line> 1461, in > > dispatch_request > > return> self.view_functionsrule.endpoint > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”,> line > > 101, in log_wrapper > > f_result = func(*args, **kwds) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, > > line 350, in list_api > > description=description) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”,> line > > 101, in log_wrapper > > f_result = func(*args, **kwds) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, > > line 306, in get_tokens_paginate > > description=description) > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, > > line 182, in _create_token_query > > (uid, _rtype, _resolver) = user.get_user_identifiers() > > File> “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, > > line 213, in get_user_identifiers > > raise UserError("The user can not be found in any> resolver in " > > UserError: ERR905: The user can not be found in any resolver> in this > > realm! > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius> Kölbel > > wrote: > > Hi Blue Waters, > > > > as the first line points out, you are using python> 2.6. > > privacyIDEA uses some modules and constructs, that> are not > > supported by > > python 2.6 anymore. > > > > What operating system/distribution are you running? > > > > Kind regards > > Cornelius > > > > > > Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb > > blue90...@gmail.com: > > > Hi, > > > > > > > > > i am having this issue when trying to create the> encryption > > keys. > > > > > > > > > # pi-manage.py create_enckey > >> > /opt/privacyidea/lib/python2.6/site-packages/cryptography/init.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. > > > DeprecationWarning > > > Traceback (most recent call last): > > > File “/opt/privacyidea/bin/pi-manage.py”, line> 40, in > > > > > from privacyidea.app import create_app > > > File > > > > >> “/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py”, > > > line 27, in > > > from privacyidea.api.system import> system_blueprint > > > File > > > > >> “/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py”, line 66, in > > > from .policy import policy_blueprint > > > File > > > > >> “/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py”, line 523 > > > + dynamic_pol.get(k, {}).items()) for k in> keys} > > > > > > > > > Any help on this would be appreciated. > > > – > > > You received this message because you are> subscribed to the > > Google > > > Groups “privacyidea” group. > > > To unsubscribe from this group and stop receiving> emails > > from it, send > > > an email to privacyidea...@googlegroups.com. > > > To post to this group, send email to > > priva...@googlegroups.com. > > > To view this discussion on the web visit > > > > >> https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. > > > For more options, visit> https://groups.google.com/d/optout. > > > > – > > Cornelius Kölbel > > corneliu...@netknights.it > > +49 151 2960 1417 > > > > NetKnights GmbH > > http://www.netknights.it > > Landgraf-Karl-Str. 19, 34131 Kassel, Germany > > Tel: +49 561 3166797, Fax: +49 561 3166798 > > > > Amtsgericht Kassel, HRB 16405 > > Geschäftsführer: Cornelius Kölbel > > > > > > – > > You received this message because you are subscribed to the> Google > > Groups “privacyidea” group. > > To unsubscribe from this group and stop receiving emails> from it, send > > an email to privacyidea...@googlegroups.com. > > To post to this group, send email to> priva...@googlegroups.com. > > To view this discussion on the web visit > >> https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > – > Cornelius Kölbel > corneliu...@netknights.it > +49 151 2960 1417 > > NetKnights GmbH > http://www.netknights.it > Landgraf-Karl-Str. 19, 34131 Kassel, Germany > Tel: +49 561 3166797, Fax: +49 561 3166798 > > Amtsgericht Kassel, HRB 16405 > Geschäftsführer: Cornelius Kölbel > > > – > You received this message because you are subscribed to the Google> Groups “privacyidea” group.> To unsubscribe from this group and stop receiving emails from it, send> an email to privacyidea…@googlegroups.com.> To post to this group, send email to priva…@googlegroups.com.> To view this discussion on the web visit> https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.> For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbelcorneliu…@netknights.it
+49 151 2960 1417

NetKnights GmbHhttp://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel


Cornelius Kölbel
corneliu...@netknights.it
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

Hi,
the configuration looks good. I assume, can you take a look at the log
file prior to the traceback you sent in your original post?

Kind regards
CorneliusAm Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90waters@gmail.com:

a) after creating the realm, ldap resolver. I go to users->select
realm -> . Select an ldap user from the realm, then i get this
“ERR905: The user can not be found in any resolver in this realm!”

b)secondly, even If i go to Token -> Enroll token -> select realm ->
under username, the ldap username populates, gave a pin, when i hit
enroll "ERR905: The user can not be found in any resolver in this
realm! ".

here is how my ldap resolver looks like.

Resolver name : testldap
server URI : ldap://hostname.example.com
Base DN : cn=users,cn=accounts,dc=example,dc=com
Bind DN : cn=Directory Manager
Bind passwd :
Bind Type : Simple

Loginname Attribute : uid
search filter: (uid=*)(objectClass=inetOrgPerson)
user filter : (&(uid=%s)(objectClass=inetOrgPerson))
attribute mapping : { “username”: “uid”, “phone” : “telephoneNumber”,
“mobile” : “mobile”, “email” : “mail”, “surname” : “sn”, “givenname” :
“givenName” }
UID type : entryUUID

Thanks,

On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:
When does this occur?

    a) Does it occur in the token enroll-dialog, when you are
    searching for 
    a user, 
    b) does it occur in the token detail view, when you assign a
    user or 
    c) Does it occur after you have assigned the token and try to
    list the 
    users. 
    
    What does you LDAP resolver look like? 
    Especially the "User Filter", "Seaech FIlter" and "Mapping"? 
    
    Kind regards 
    Cornelius 
    
    Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb 
    blue90...@gmail.com: 
    > Hi, 
    > 
    > 
    > 
    > 
    > I am having issues assigning a token to an ldap user. I have
    created a 
    > realm and an ldapresolver. I am able to see the ldap users
    but here is 
    > the message i get when i try to assign a token "ERR905: The
    user can 
    > not be found in any resolver in this realm!" 
    > I get this error on both Ubuntu 14.04 and Centos 6.5 
    > 
    > 
    > I tried installing the deb package on the ubuntu after going
    through 
    > the below post but it doesnt seem to have resolve the
    issue. 
    > https://groups.google.com/forum/#!
    topic/privacyidea/R0Yc79zctzs 
    > 
    > 
    > 
    > I appreciate you taking a look at this issue. 
    > 
    > 
    > 
    > 
    > Below are the logs 
    > 
    > 
    > Traceback (most recent call last): 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in 
    > wsgi_app 
    >     response = self.full_dispatch_request() 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in 
    > full_dispatch_request 
    >     rv = self.handle_user_exception(e) 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in 
    > handle_user_exception 
    >     reraise(exc_type, exc_value, tb) 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in 
    > full_dispatch_request 
    >     rv = self.dispatch_request() 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in 
    > dispatch_request 
    >     return
    self.view_functions[rule.endpoint](**req.view_args) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 
    > 101, in log_wrapper 
    >     f_result = func(*args, **kwds) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    > line 350, in list_api 
    >     description=description) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 
    > 101, in log_wrapper 
    >     f_result = func(*args, **kwds) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    > line 306, in get_tokens_paginate 
    >     description=description) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    > line 182, in _create_token_query 
    >     (uid, _rtype, _resolver) = user.get_user_identifiers() 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    > line 213, in get_user_identifiers 
    >     raise UserError("The user can not be found in any
    resolver in " 
    > UserError: ERR905: The user can not be found in any resolver
    in this 
    > realm! 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > Thanks, 
    > 
    > 
    > 
    > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel  wrote: 
    >         Hi Blue Waters, 
    >         
    >         as the first line points out, you are using python
    2.6. 
    >         privacyIDEA uses some modules and constructs, that
    are not 
    >         supported by 
    >         python 2.6 anymore. 
    >         
    >         What operating system/distribution are you running? 
    >         
    >         Kind regards 
    >         Cornelius 
    >         
    >         
    >         Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
    >         blue90...@gmail.com: 
    >         > Hi, 
    >         > 
    >         > 
    >         > i am having this issue when trying to create the
    encryption 
    >         keys. 
    >         > 
    >         > 
    >         > # pi-manage.py create_enckey 
    >
    > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
    >         >   DeprecationWarning 
    >         > Traceback (most recent call last): 
    >         >   File "/opt/privacyidea/bin/pi-manage.py", line
    40, in 
    >         <module> 
    >         >     from privacyidea.app import create_app 
    >         >   File 
    >         > 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
    >         > line 27, in <module> 
    >         >     from privacyidea.api.system import
    system_blueprint 
    >         >   File 
    >         > 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
    >         >     from .policy import policy_blueprint 
    >         >   File 
    >         > 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
    >         >     + dynamic_pol.get(k, {}).items()) for k in
    keys} 
    >         > 
    >         > 
    >         > Any help on this would be appreciated. 
    >         > -- 
    >         > You received this message because you are
    subscribed to the 
    >         Google 
    >         > Groups "privacyidea" group. 
    >         > To unsubscribe from this group and stop receiving
    emails 
    >         from it, send 
    >         > an email to privacyidea...@googlegroups.com. 
    >         > To post to this group, send email to 
    >         priva...@googlegroups.com. 
    >         > To view this discussion on the web visit 
    >         > 
    >
    https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
    >         > For more options, visit
    https://groups.google.com/d/optout. 
    >         
    >         -- 
    >         Cornelius Kölbel 
    >         corneliu...@netknights.it 
    >         +49 151 2960 1417 
    >         
    >         NetKnights GmbH 
    >         http://www.netknights.it 
    >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    >         Tel: +49 561 3166797, Fax: +49 561 3166798 
    >         
    >         Amtsgericht Kassel, HRB 16405 
    >         Geschäftsführer: Cornelius Kölbel 
    >         
    >         
    > -- 
    > You received this message because you are subscribed to the
    Google 
    > Groups "privacyidea" group. 
    > To unsubscribe from this group and stop receiving emails
    from it, send 
    > an email to privacyidea...@googlegroups.com. 
    > To post to this group, send email to
    priva...@googlegroups.com. 
    > To view this discussion on the web visit 
    >
    https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. 
    > For more options, visit https://groups.google.com/d/optout. 
    
    -- 
    Cornelius Kölbel 
    corneliu...@netknights.it 
    +49 151 2960 1417 
    
    NetKnights GmbH 
    http://www.netknights.it 
    Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    Tel: +49 561 3166797, Fax: +49 561 3166798 
    
    Amtsgericht Kassel, HRB 16405 
    Geschäftsführer: Cornelius Kölbel 


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

Please set

PI_LOGLEVEL = 10

in pi.cfg, restart apache and watch the logfile.

If you are OK with it, send it.

Kind regards
CorneliusAm Freitag, den 19.06.2015, 20:14 +0200 schrieb Cornelius Kölbel:

Hi,
the configuration looks good. I assume, can you take a look at the log
file prior to the traceback you sent in your original post?

Kind regards
Cornelius

Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90waters@gmail.com:

a) after creating the realm, ldap resolver. I go to users->select
realm -> . Select an ldap user from the realm, then i get this
“ERR905: The user can not be found in any resolver in this realm!”

b)secondly, even If i go to Token -> Enroll token -> select realm ->
under username, the ldap username populates, gave a pin, when i hit
enroll "ERR905: The user can not be found in any resolver in this
realm! ".

here is how my ldap resolver looks like.

Resolver name : testldap
server URI : ldap://hostname.example.com
Base DN : cn=users,cn=accounts,dc=example,dc=com
Bind DN : cn=Directory Manager
Bind passwd :
Bind Type : Simple

Loginname Attribute : uid
search filter: (uid=*)(objectClass=inetOrgPerson)
user filter : (&(uid=%s)(objectClass=inetOrgPerson))
attribute mapping : { “username”: “uid”, “phone” : “telephoneNumber”,
“mobile” : “mobile”, “email” : “mail”, “surname” : “sn”, “givenname” :
“givenName” }
UID type : entryUUID

Thanks,

On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:
When does this occur?

    a) Does it occur in the token enroll-dialog, when you are
    searching for 
    a user, 
    b) does it occur in the token detail view, when you assign a
    user or 
    c) Does it occur after you have assigned the token and try to
    list the 
    users. 
    
    What does you LDAP resolver look like? 
    Especially the "User Filter", "Seaech FIlter" and "Mapping"? 
    
    Kind regards 
    Cornelius 
    
    Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb 
    blue90...@gmail.com: 
    > Hi, 
    > 
    > 
    > 
    > 
    > I am having issues assigning a token to an ldap user. I have
    created a 
    > realm and an ldapresolver. I am able to see the ldap users
    but here is 
    > the message i get when i try to assign a token "ERR905: The
    user can 
    > not be found in any resolver in this realm!" 
    > I get this error on both Ubuntu 14.04 and Centos 6.5 
    > 
    > 
    > I tried installing the deb package on the ubuntu after going
    through 
    > the below post but it doesnt seem to have resolve the
    issue. 
    > https://groups.google.com/forum/#!
    topic/privacyidea/R0Yc79zctzs 
    > 
    > 
    > 
    > I appreciate you taking a look at this issue. 
    > 
    > 
    > 
    > 
    > Below are the logs 
    > 
    > 
    > Traceback (most recent call last): 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in 
    > wsgi_app 
    >     response = self.full_dispatch_request() 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in 
    > full_dispatch_request 
    >     rv = self.handle_user_exception(e) 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in 
    > handle_user_exception 
    >     reraise(exc_type, exc_value, tb) 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in 
    > full_dispatch_request 
    >     rv = self.dispatch_request() 
    >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in 
    > dispatch_request 
    >     return
    self.view_functions[rule.endpoint](**req.view_args) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 
    > 101, in log_wrapper 
    >     f_result = func(*args, **kwds) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    > line 350, in list_api 
    >     description=description) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 
    > 101, in log_wrapper 
    >     f_result = func(*args, **kwds) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    > line 306, in get_tokens_paginate 
    >     description=description) 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    > line 182, in _create_token_query 
    >     (uid, _rtype, _resolver) = user.get_user_identifiers() 
    >   File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    > line 213, in get_user_identifiers 
    >     raise UserError("The user can not be found in any
    resolver in " 
    > UserError: ERR905: The user can not be found in any resolver
    in this 
    > realm! 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > Thanks, 
    > 
    > 
    > 
    > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel  wrote: 
    >         Hi Blue Waters, 
    >         
    >         as the first line points out, you are using python
    2.6. 
    >         privacyIDEA uses some modules and constructs, that
    are not 
    >         supported by 
    >         python 2.6 anymore. 
    >         
    >         What operating system/distribution are you running? 
    >         
    >         Kind regards 
    >         Cornelius 
    >         
    >         
    >         Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
    >         blue90...@gmail.com: 
    >         > Hi, 
    >         > 
    >         > 
    >         > i am having this issue when trying to create the
    encryption 
    >         keys. 
    >         > 
    >         > 
    >         > # pi-manage.py create_enckey 
    >
    > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
    >         >   DeprecationWarning 
    >         > Traceback (most recent call last): 
    >         >   File "/opt/privacyidea/bin/pi-manage.py", line
    40, in 
    >         <module> 
    >         >     from privacyidea.app import create_app 
    >         >   File 
    >         > 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
    >         > line 27, in <module> 
    >         >     from privacyidea.api.system import
    system_blueprint 
    >         >   File 
    >         > 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
    >         >     from .policy import policy_blueprint 
    >         >   File 
    >         > 
    >
    "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
    >         >     + dynamic_pol.get(k, {}).items()) for k in
    keys} 
    >         > 
    >         > 
    >         > Any help on this would be appreciated. 
    >         > -- 
    >         > You received this message because you are
    subscribed to the 
    >         Google 
    >         > Groups "privacyidea" group. 
    >         > To unsubscribe from this group and stop receiving
    emails 
    >         from it, send 
    >         > an email to privacyidea...@googlegroups.com. 
    >         > To post to this group, send email to 
    >         priva...@googlegroups.com. 
    >         > To view this discussion on the web visit 
    >         > 
    >
    https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
    >         > For more options, visit
    https://groups.google.com/d/optout. 
    >         
    >         -- 
    >         Cornelius Kölbel 
    >         corneliu...@netknights.it 
    >         +49 151 2960 1417 
    >         
    >         NetKnights GmbH 
    >         http://www.netknights.it 
    >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    >         Tel: +49 561 3166797, Fax: +49 561 3166798 
    >         
    >         Amtsgericht Kassel, HRB 16405 
    >         Geschäftsführer: Cornelius Kölbel 
    >         
    >         
    > -- 
    > You received this message because you are subscribed to the
    Google 
    > Groups "privacyidea" group. 
    > To unsubscribe from this group and stop receiving emails
    from it, send 
    > an email to privacyidea...@googlegroups.com. 
    > To post to this group, send email to
    priva...@googlegroups.com. 
    > To view this discussion on the web visit 
    >
    https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. 
    > For more options, visit https://groups.google.com/d/optout. 
    
    -- 
    Cornelius Kölbel 
    corneliu...@netknights.it 
    +49 151 2960 1417 
    
    NetKnights GmbH 
    http://www.netknights.it 
    Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    Tel: +49 561 3166797, Fax: +49 561 3166798 
    
    Amtsgericht Kassel, HRB 16405 
    Geschäftsführer: Cornelius Kölbel 


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

I fixed the logging.

Would you try a release candidate 2.4dev12?
Are you now running on ubuntu or on centos?

For ubuntu you could add the devel repo:

apt-add-repository ppa:privacyidea/privacyidea-dev
apt-get update
apt-get dist-upgrade

And check with the new version of privacyIDEA.

Kind regards
CorneliusAm Freitag, den 19.06.2015, 14:22 -0700 schrieb blue90waters@gmail.com:

On Friday, June 19, 2015 at 3:11:51 PM UTC-6, blue90...@gmail.com wrote:
Hi Cornelius,

    I changed the log level to 10 and restated nginx. 
    Below is the output that i see when restart and assign a
    token. Something that i have noticed is, there isn't any
    "deflocal" resolver. But i see that in the logs.
    Let me know if you need any more logs that can be helpful.
     
    
    
    tail -f privacyidea.log

[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:239] exception OperationalError("(OperationalError) (1241,
‘Operand should contain 1 column(s)’)",)
[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:240] DATA: {‘info’: ‘’, ‘administrator’: u’admin’, ‘realm’:
[u’defrealm’, u’flatfileresolver’, u’freeipa’], ‘success’: True,
‘privacyidea_server’: ‘HOST’, ‘client_user_agent’: ‘firefox’,
‘client’: ‘10
.40.104.81’, ‘action_detail’: u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_lengt h=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresolv er’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}",
‘action’: ‘POST /policy/’, ‘serial’: None}
[2015-06-11
16:07:41,281][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:241] Traceback (most recent call last):
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/auditmodules/sqlaudit.py”, line 231, in finalize_log
self.session.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 721, in commit
self.transaction.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 354, in commit
self._prepare_impl()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 334, in _prepare_impl
self.session.flush()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1818, in flush
self._flush(objects)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1936, in _flush
transaction.rollback(_capture_exception=True)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py”,
line 58, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1900, in _flush
flush_context.execute()
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”, line
372, in execute
rec.execute(self)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”, line
525, in execute
uow
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”, line
64, in save_obj
table, insert)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”, line
569, in _emit_insert_statements
execute(statement, params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 662, in execute
params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 761, in _execute_clauseelement
compiled_sql, distilled_params
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 874, in _execute_context
context)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 1024, in _handle_dbapi_exception
exc_info
File “/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”,
line 196, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 867, in _execute_context
context)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line
324, in do_execute
cursor.execute(statement, parameters)
File “/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py”, line
174, in execute
self.errorhandler(self, exc, value)
File “/usr/lib/python2.7/dist-packages/MySQLdb/connections.py”, line
36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (OperationalError) (1241, ‘Operand should contain 1
column(s)’) ‘INSERT INTO pidea_audit (date, signature, action,
success, serial, toke
n_type, user, realm, administrator, action_detail, info,
privacyidea_server, client, loglevel, clearance_level) VALUES (%s, %s,
%s, %s, %s, %s, %s, %s, %s
, %s, %s, %s, %s, %s, %s)’ (datetime.datetime(2015, 6, 11, 16, 7, 41,
278670), ‘’, ‘POST /policy/’, 1, None, None, None, [u’defrealm’, u’flatfileres olver’, u’freeipa’], u’admin’, u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_leng th=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresol ver’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}", ‘’,
‘HOST’, ‘10.40.aa.bb’, None, None)

[2015-06-11
16:08:25,935][29574][139662564255488][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:35,315][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:50,437][29574][139662656575232][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:12:00,264][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’test’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:13:47,190][2009][139814139623168][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-11
16:16:35,587][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,590][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,596][2009][139814231942912][ERROR][privacyidea.app:1423]
Exception on /machine/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/machine.py”,
line 112, in list_machines_api
any=any)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machine.py”,
line 79, in get_machines
substring=True)
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 132, in get_machines
self._bind()
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 72, in _bind
raise Exception(“Wrong credentials”)
Exception: Wrong credentials
[2015-06-11
16:16:40,701][2009][139814114445056][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:54,570][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-12
15:57:33,902][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
15:58:11,109][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:04:37,131][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:16,148][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:22,511][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:09:15,917][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:10:04,910][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:20:33,802][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:27:04,059][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:17,328][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:41,311][5010][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-16
13:49:54,140][15858][139814156093184][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:50:43,280][15858][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 85, in policy_wrapper
action=self.action)
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 276, in check_max_token_user
tokenobject_list = get_tokens(user=user_object)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 246, in get_tokens
rollout_state=rollout_state)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:52:01,251][15858][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
[2015-06-16
15:48:16,717][15858][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
15:59:50,035][15858][139814130915072][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
16:08:52,892][15858][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
[2015-06-16
16:20:22,619][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:20:30,406][16680][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:21:45,356][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]

        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:01,095][2329][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:17,690][2338][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:27,243][2298][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:41,089][2372][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
    [2015-06-19
    15:05:41,202][2373][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
    
    
    
    On Friday, June 19, 2015 at 12:37:24 PM UTC-6, Cornelius Kölbel wrote:
            Please set 
            
            
            PI_LOGLEVEL = 10
            
            in pi.cfg, restart apache and watch the logfile.
            
            If you are OK with it, send it.
            
            Kind regards
            Cornelius
            
            Am Freitag, den 19.06.2015, 20:14 +0200 schrieb
            Cornelius Kölbel: 
            > Hi,
            > the configuration looks good. I assume, can you take a look at the log
            > file prior to the traceback you sent in your original post?
            > 
            > Kind regards
            > Cornelius
            > 
            > Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90...@gmail.com:
            > > a) after creating the realm, ldap resolver. I go to users->select
            > > realm -> . Select an ldap user from the realm, then i get this
            > > "ERR905: The user can not be found in any resolver in this realm!"
            > > 
            > > 
            > > b)secondly, even If i go to Token -> Enroll token -> select realm ->
            > > under username, the ldap username populates, gave a pin, when i hit
            > > enroll "ERR905: The user can not be found in any resolver in this
            > > realm! ".
            > > 
            > > 
            > > 
            > > 
            > > here is how my ldap resolver looks like.
            > > 
            > > 
            > > Resolver name : testldap
            > > server URI : ldap://hostname.example.com
            > > Base DN : cn=users,cn=accounts,dc=example,dc=com
            > > Bind DN : cn=Directory Manager
            > > Bind passwd : 
            > > Bind Type : Simple
            > > 
            > > 
            > > Loginname Attribute : uid
            > > search filter: (uid=*)(objectClass=inetOrgPerson)
            > > user filter : (&(uid=%s)(objectClass=inetOrgPerson))
            > > attribute mapping : { "username": "uid", "phone" : "telephoneNumber",
            > > "mobile" : "mobile", "email" : "mail", "surname" : "sn", "givenname" :
            > > "givenName" }
            > > UID type : entryUUID
            > > 
            > > 
            > > 
            > > 
            > > Thanks,
            > > 
            > > 
            > > 
            > > 
            > > 
            > > On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:
            > >         When does this occur? 
            > >         
            > >         a) Does it occur in the token enroll-dialog, when you are
            > >         searching for 
            > >         a user, 
            > >         b) does it occur in the token detail view, when you assign a
            > >         user or 
            > >         c) Does it occur after you have assigned the token and try to
            > >         list the 
            > >         users. 
            > >         
            > >         What does you LDAP resolver look like? 
            > >         Especially the "User Filter", "Seaech FIlter" and "Mapping"? 
            > >         
            > >         Kind regards 
            > >         Cornelius 
            > >         
            > >         Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb 
            > >         blue90...@gmail.com: 
            > >         > Hi, 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > I am having issues assigning a token to an ldap user. I have
            > >         created a 
            > >         > realm and an ldapresolver. I am able to see the ldap users
            > >         but here is 
            > >         > the message i get when i try to assign a token "ERR905: The
            > >         user can 
            > >         > not be found in any resolver in this realm!" 
            > >         > I get this error on both Ubuntu 14.04 and Centos 6.5 
            > >         > 
            > >         > 
            > >         > I tried installing the deb package on the ubuntu after going
            > >         through 
            > >         > the below post but it doesnt seem to have resolve the
            > >         issue. 
            > >         > https://groups.google.com/forum/#!
            > >         topic/privacyidea/R0Yc79zctzs 
            > >         > 
            > >         > 
            > >         > 
            > >         > I appreciate you taking a look at this issue. 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > Below are the logs 
            > >         > 
            > >         > 
            > >         > Traceback (most recent call last): 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1817, in 
            > >         > wsgi_app 
            > >         >     response = self.full_dispatch_request() 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1477, in 
            > >         > full_dispatch_request 
            > >         >     rv = self.handle_user_exception(e) 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1381, in 
            > >         > handle_user_exception 
            > >         >     reraise(exc_type, exc_value, tb) 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1475, in 
            > >         > full_dispatch_request 
            > >         >     rv = self.dispatch_request() 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1461, in 
            > >         > dispatch_request 
            > >         >     return
            > >         self.view_functions[rule.endpoint](**req.view_args) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
            > >         line 
            > >         > 101, in log_wrapper 
            > >         >     f_result = func(*args, **kwds) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
            > >         > line 350, in list_api 
            > >         >     description=description) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
            > >         line 
            > >         > 101, in log_wrapper 
            > >         >     f_result = func(*args, **kwds) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
            > >         > line 306, in get_tokens_paginate 
            > >         >     description=description) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
            > >         > line 182, in _create_token_query 
            > >         >     (uid, _rtype, _resolver) = user.get_user_identifiers() 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
            > >         > line 213, in get_user_identifiers 
            > >         >     raise UserError("The user can not be found in any
            > >         resolver in " 
            > >         > UserError: ERR905: The user can not be found in any resolver
            > >         in this 
            > >         > realm! 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > Thanks, 
            > >         > 
            > >         > 
            > >         > 
            > >         > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel  wrote: 
            > >         >         Hi Blue Waters, 
            > >         >         
            > >         >         as the first line points out, you are using python
            > >         2.6. 
            > >         >         privacyIDEA uses some modules and constructs, that
            > >         are not 
            > >         >         supported by 
            > >         >         python 2.6 anymore. 
            > >         >         
            > >         >         What operating system/distribution are you running? 
            > >         >         
            > >         >         Kind regards 
            > >         >         Cornelius 
            > >         >         
            > >         >         
            > >         >         Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
            > >         >         blue90...@gmail.com: 
            > >         >         > Hi, 
            > >         >         > 
            > >         >         > 
            > >         >         > i am having this issue when trying to create the
            > >         encryption 
            > >         >         keys. 
            > >         >         > 
            > >         >         > 
            > >         >         > # pi-manage.py create_enckey 
            > >         >
            > >         > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
            > >         >         >   DeprecationWarning 
            > >         >         > Traceback (most recent call last): 
            > >         >         >   File "/opt/privacyidea/bin/pi-manage.py", line
            > >         40, in 
            > >         >         <module> 
            > >         >         >     from privacyidea.app import create_app 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
            > >         >         > line 27, in <module> 
            > >         >         >     from privacyidea.api.system import
            > >         system_blueprint 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
            > >         >         >     from .policy import policy_blueprint 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
            > >         >         >     + dynamic_pol.get(k, {}).items()) for k in
            > >         keys} 
            > >         >         > 
            > >         >         > 
            > >         >         > Any help on this would be appreciated. 
            > >         >         > -- 
            > >         >         > You received this message because you are
            > >         subscribed to the 
            > >         >         Google 
            > >         >         > Groups "privacyidea" group. 
            > >         >         > To unsubscribe from this group and stop receiving
            > >         emails 
            > >         >         from it, send 
            > >         >         > an email to privacyidea...@googlegroups.com. 
            > >         >         > To post to this group, send email to 
            > >         >         priva...@googlegroups.com. 
            > >         >         > To view this discussion on the web visit 
            > >         >         > 
            > >         >
            > >         https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
            > >         >         > For more options, visit
            > >         https://groups.google.com/d/optout. 
            > >         >         
            > >         >         -- 
            > >         >         Cornelius Kölbel 
            > >         >         corneliu...@netknights.it 
            > >         >         +49 151 2960 1417 
            > >         >         
            > >         >         NetKnights GmbH 
            > >         >         http://www.netknights.it 
            > >         >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
            > >         >         Tel: +49 561 3166797, Fax: +49 561 3166798 
            > >         >         
            > >         >         Amtsgericht Kassel, HRB 16405 
            > >         >         Geschäftsführer: Cornelius Kölbel 
            > >         >         
            > >         >         
            > >         > -- 
            > >         > You received this message because you are subscribed to the
            > >         Google 
            > >         > Groups "privacyidea" group. 
            > >         > To unsubscribe from this group and stop receiving emails
            > >         from it, send 
            > >         > an email to privacyidea...@googlegroups.com. 
            > >         > To post to this group, send email to
            > >         priva...@googlegroups.com. 
            > >         > To view this discussion on the web visit 
            > >         >
            > >         https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. 
            > >         > For more options, visit https://groups.google.com/d/optout. 
            > >         
            > >         -- 
            > >         Cornelius Kölbel 
            > >         corneliu...@netknights.it 
            > >         +49 151 2960 1417 
            > >         
            > >         NetKnights GmbH 
            > >         http://www.netknights.it 
            > >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
            > >         Tel: +49 561 3166797, Fax: +49 561 3166798 
            > >         
            > >         Amtsgericht Kassel, HRB 16405 
            > >         Geschäftsführer: Cornelius Kölbel 
            > >         
            > >         
            > > -- 
            > > You received this message because you are subscribed to the Google
            > > Groups "privacyidea" group.
            > > To unsubscribe from this group and stop receiving emails from it, send
            > > an email to privacyidea...@googlegroups.com.
            > > To post to this group, send email to priva...@googlegroups.com.
            > > To view this discussion on the web visit
            > > https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.
            > > For more options, visit https://groups.google.com/d/optout.
            > 
            > -- 
            > Cornelius Kölbel
            > corneliu...@netknights.it
            > +49 151 2960 1417
            > 
            > NetKnights GmbH
            > http://www.netknights.it
            > Landgraf-Karl-Str. 19, 34131 Kassel, Germany
            > Tel: +49 561 3166797, Fax: +49 561 3166798
            > 
            > Amtsgericht Kassel, HRB 16405
            > Geschäftsführer: Cornelius Kölbel
            > 
            > 


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

Hi Blue Waters,

it is really hard to get an idea what is happening, since there are
still log entries missing!

It looks like you cut something between

this

[2015-06-11
16:07:41,281][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:241] Traceback (most recent call last):

and that

[2015-06-11
16:08:25,935][29574][139662564255488][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist

It is really hard for me to help here.

The previous error at 16:07:41,281 did only result in not writing an
audit log. But it seems not be the reason for not finding the user!

So I just can say check check your resolver setup!
Check which resolvers are contained in the realm ‘freeipa’.

To drill this down I need the complete log without gaps.

Kind regards
CorneliusAm Freitag, den 19.06.2015, 14:22 -0700 schrieb blue90waters@gmail.com:

On Friday, June 19, 2015 at 3:11:51 PM UTC-6, blue90...@gmail.com wrote:
Hi Cornelius,

    I changed the log level to 10 and restated nginx. 
    Below is the output that i see when restart and assign a
    token. Something that i have noticed is, there isn't any
    "deflocal" resolver. But i see that in the logs.
    Let me know if you need any more logs that can be helpful.
     
    
    
    tail -f privacyidea.log

[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:239] exception OperationalError("(OperationalError) (1241,
‘Operand should contain 1 column(s)’)",)
[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:240] DATA: {‘info’: ‘’, ‘administrator’: u’admin’, ‘realm’:
[u’defrealm’, u’flatfileresolver’, u’freeipa’], ‘success’: True,
‘privacyidea_server’: ‘HOST’, ‘client_user_agent’: ‘firefox’,
‘client’: ‘10
.40.104.81’, ‘action_detail’: u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_lengt h=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresolv er’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}",
‘action’: ‘POST /policy/’, ‘serial’: None}
[2015-06-11
16:07:41,281][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:241] Traceback (most recent call last):
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/auditmodules/sqlaudit.py”, line 231, in finalize_log
self.session.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 721, in commit
self.transaction.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 354, in commit
self._prepare_impl()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 334, in _prepare_impl
self.session.flush()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1818, in flush
self._flush(objects)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1936, in _flush
transaction.rollback(_capture_exception=True)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py”,
line 58, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1900, in _flush
flush_context.execute()
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”, line
372, in execute
rec.execute(self)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”, line
525, in execute
uow
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”, line
64, in save_obj
table, insert)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”, line
569, in _emit_insert_statements
execute(statement, params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 662, in execute
params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 761, in _execute_clauseelement
compiled_sql, distilled_params
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 874, in _execute_context
context)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 1024, in _handle_dbapi_exception
exc_info
File “/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”,
line 196, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 867, in _execute_context
context)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line
324, in do_execute
cursor.execute(statement, parameters)
File “/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py”, line
174, in execute
self.errorhandler(self, exc, value)
File “/usr/lib/python2.7/dist-packages/MySQLdb/connections.py”, line
36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (OperationalError) (1241, ‘Operand should contain 1
column(s)’) ‘INSERT INTO pidea_audit (date, signature, action,
success, serial, toke
n_type, user, realm, administrator, action_detail, info,
privacyidea_server, client, loglevel, clearance_level) VALUES (%s, %s,
%s, %s, %s, %s, %s, %s, %s
, %s, %s, %s, %s, %s, %s)’ (datetime.datetime(2015, 6, 11, 16, 7, 41,
278670), ‘’, ‘POST /policy/’, 1, None, None, None, [u’defrealm’, u’flatfileres olver’, u’freeipa’], u’admin’, u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_leng th=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresol ver’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}", ‘’,
‘HOST’, ‘10.40.aa.bb’, None, None)

[2015-06-11
16:08:25,935][29574][139662564255488][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:35,315][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:50,437][29574][139662656575232][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:12:00,264][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’test’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:13:47,190][2009][139814139623168][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-11
16:16:35,587][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,590][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,596][2009][139814231942912][ERROR][privacyidea.app:1423]
Exception on /machine/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/machine.py”,
line 112, in list_machines_api
any=any)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machine.py”,
line 79, in get_machines
substring=True)
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 132, in get_machines
self._bind()
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 72, in _bind
raise Exception(“Wrong credentials”)
Exception: Wrong credentials
[2015-06-11
16:16:40,701][2009][139814114445056][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:54,570][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-12
15:57:33,902][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
15:58:11,109][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:04:37,131][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:16,148][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:22,511][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:09:15,917][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:10:04,910][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:20:33,802][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:27:04,059][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:17,328][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:41,311][5010][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-16
13:49:54,140][15858][139814156093184][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:50:43,280][15858][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 85, in policy_wrapper
action=self.action)
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 276, in check_max_token_user
tokenobject_list = get_tokens(user=user_object)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 246, in get_tokens
rollout_state=rollout_state)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:52:01,251][15858][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
[2015-06-16
15:48:16,717][15858][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
15:59:50,035][15858][139814130915072][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
16:08:52,892][15858][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
[2015-06-16
16:20:22,619][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:20:30,406][16680][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:21:45,356][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]

        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:01,095][2329][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:17,690][2338][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:27,243][2298][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:41,089][2372][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
    [2015-06-19
    15:05:41,202][2373][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
    
    
    
    On Friday, June 19, 2015 at 12:37:24 PM UTC-6, Cornelius Kölbel wrote:
            Please set 
            
            
            PI_LOGLEVEL = 10
            
            in pi.cfg, restart apache and watch the logfile.
            
            If you are OK with it, send it.
            
            Kind regards
            Cornelius
            
            Am Freitag, den 19.06.2015, 20:14 +0200 schrieb
            Cornelius Kölbel: 
            > Hi,
            > the configuration looks good. I assume, can you take a look at the log
            > file prior to the traceback you sent in your original post?
            > 
            > Kind regards
            > Cornelius
            > 
            > Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90...@gmail.com:
            > > a) after creating the realm, ldap resolver. I go to users->select
            > > realm -> . Select an ldap user from the realm, then i get this
            > > "ERR905: The user can not be found in any resolver in this realm!"
            > > 
            > > 
            > > b)secondly, even If i go to Token -> Enroll token -> select realm ->
            > > under username, the ldap username populates, gave a pin, when i hit
            > > enroll "ERR905: The user can not be found in any resolver in this
            > > realm! ".
            > > 
            > > 
            > > 
            > > 
            > > here is how my ldap resolver looks like.
            > > 
            > > 
            > > Resolver name : testldap
            > > server URI : ldap://hostname.example.com
            > > Base DN : cn=users,cn=accounts,dc=example,dc=com
            > > Bind DN : cn=Directory Manager
            > > Bind passwd : 
            > > Bind Type : Simple
            > > 
            > > 
            > > Loginname Attribute : uid
            > > search filter: (uid=*)(objectClass=inetOrgPerson)
            > > user filter : (&(uid=%s)(objectClass=inetOrgPerson))
            > > attribute mapping : { "username": "uid", "phone" : "telephoneNumber",
            > > "mobile" : "mobile", "email" : "mail", "surname" : "sn", "givenname" :
            > > "givenName" }
            > > UID type : entryUUID
            > > 
            > > 
            > > 
            > > 
            > > Thanks,
            > > 
            > > 
            > > 
            > > 
            > > 
            > > On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:
            > >         When does this occur? 
            > >         
            > >         a) Does it occur in the token enroll-dialog, when you are
            > >         searching for 
            > >         a user, 
            > >         b) does it occur in the token detail view, when you assign a
            > >         user or 
            > >         c) Does it occur after you have assigned the token and try to
            > >         list the 
            > >         users. 
            > >         
            > >         What does you LDAP resolver look like? 
            > >         Especially the "User Filter", "Seaech FIlter" and "Mapping"? 
            > >         
            > >         Kind regards 
            > >         Cornelius 
            > >         
            > >         Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb 
            > >         blue90...@gmail.com: 
            > >         > Hi, 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > I am having issues assigning a token to an ldap user. I have
            > >         created a 
            > >         > realm and an ldapresolver. I am able to see the ldap users
            > >         but here is 
            > >         > the message i get when i try to assign a token "ERR905: The
            > >         user can 
            > >         > not be found in any resolver in this realm!" 
            > >         > I get this error on both Ubuntu 14.04 and Centos 6.5 
            > >         > 
            > >         > 
            > >         > I tried installing the deb package on the ubuntu after going
            > >         through 
            > >         > the below post but it doesnt seem to have resolve the
            > >         issue. 
            > >         > https://groups.google.com/forum/#!
            > >         topic/privacyidea/R0Yc79zctzs 
            > >         > 
            > >         > 
            > >         > 
            > >         > I appreciate you taking a look at this issue. 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > Below are the logs 
            > >         > 
            > >         > 
            > >         > Traceback (most recent call last): 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1817, in 
            > >         > wsgi_app 
            > >         >     response = self.full_dispatch_request() 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1477, in 
            > >         > full_dispatch_request 
            > >         >     rv = self.handle_user_exception(e) 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1381, in 
            > >         > handle_user_exception 
            > >         >     reraise(exc_type, exc_value, tb) 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1475, in 
            > >         > full_dispatch_request 
            > >         >     rv = self.dispatch_request() 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1461, in 
            > >         > dispatch_request 
            > >         >     return
            > >         self.view_functions[rule.endpoint](**req.view_args) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
            > >         line 
            > >         > 101, in log_wrapper 
            > >         >     f_result = func(*args, **kwds) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
            > >         > line 350, in list_api 
            > >         >     description=description) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
            > >         line 
            > >         > 101, in log_wrapper 
            > >         >     f_result = func(*args, **kwds) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
            > >         > line 306, in get_tokens_paginate 
            > >         >     description=description) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
            > >         > line 182, in _create_token_query 
            > >         >     (uid, _rtype, _resolver) = user.get_user_identifiers() 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
            > >         > line 213, in get_user_identifiers 
            > >         >     raise UserError("The user can not be found in any
            > >         resolver in " 
            > >         > UserError: ERR905: The user can not be found in any resolver
            > >         in this 
            > >         > realm! 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > Thanks, 
            > >         > 
            > >         > 
            > >         > 
            > >         > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel  wrote: 
            > >         >         Hi Blue Waters, 
            > >         >         
            > >         >         as the first line points out, you are using python
            > >         2.6. 
            > >         >         privacyIDEA uses some modules and constructs, that
            > >         are not 
            > >         >         supported by 
            > >         >         python 2.6 anymore. 
            > >         >         
            > >         >         What operating system/distribution are you running? 
            > >         >         
            > >         >         Kind regards 
            > >         >         Cornelius 
            > >         >         
            > >         >         
            > >         >         Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
            > >         >         blue90...@gmail.com: 
            > >         >         > Hi, 
            > >         >         > 
            > >         >         > 
            > >         >         > i am having this issue when trying to create the
            > >         encryption 
            > >         >         keys. 
            > >         >         > 
            > >         >         > 
            > >         >         > # pi-manage.py create_enckey 
            > >         >
            > >         > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
            > >         >         >   DeprecationWarning 
            > >         >         > Traceback (most recent call last): 
            > >         >         >   File "/opt/privacyidea/bin/pi-manage.py", line
            > >         40, in 
            > >         >         <module> 
            > >         >         >     from privacyidea.app import create_app 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
            > >         >         > line 27, in <module> 
            > >         >         >     from privacyidea.api.system import
            > >         system_blueprint 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
            > >         >         >     from .policy import policy_blueprint 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
            > >         >         >     + dynamic_pol.get(k, {}).items()) for k in
            > >         keys} 
            > >         >         > 
            > >         >         > 
            > >         >         > Any help on this would be appreciated. 
            > >         >         > -- 
            > >         >         > You received this message because you are
            > >         subscribed to the 
            > >         >         Google 
            > >         >         > Groups "privacyidea" group. 
            > >         >         > To unsubscribe from this group and stop receiving
            > >         emails 
            > >         >         from it, send 
            > >         >         > an email to privacyidea...@googlegroups.com. 
            > >         >         > To post to this group, send email to 
            > >         >         priva...@googlegroups.com. 
            > >         >         > To view this discussion on the web visit 
            > >         >         > 
            > >         >
            > >         https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
            > >         >         > For more options, visit
            > >         https://groups.google.com/d/optout. 
            > >         >         
            > >         >         -- 
            > >         >         Cornelius Kölbel 
            > >         >         corneliu...@netknights.it 
            > >         >         +49 151 2960 1417 
            > >         >         
            > >         >         NetKnights GmbH 
            > >         >         http://www.netknights.it 
            > >         >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
            > >         >         Tel: +49 561 3166797, Fax: +49 561 3166798 
            > >         >         
            > >         >         Amtsgericht Kassel, HRB 16405 
            > >         >         Geschäftsführer: Cornelius Kölbel 
            > >         >         
            > >         >         
            > >         > -- 
            > >         > You received this message because you are subscribed to the
            > >         Google 
            > >         > Groups "privacyidea" group. 
            > >         > To unsubscribe from this group and stop receiving emails
            > >         from it, send 
            > >         > an email to privacyidea...@googlegroups.com. 
            > >         > To post to this group, send email to
            > >         priva...@googlegroups.com. 
            > >         > To view this discussion on the web visit 
            > >         >
            > >         https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. 
            > >         > For more options, visit https://groups.google.com/d/optout. 
            > >         
            > >         -- 
            > >         Cornelius Kölbel 
            > >         corneliu...@netknights.it 
            > >         +49 151 2960 1417 
            > >         
            > >         NetKnights GmbH 
            > >         http://www.netknights.it 
            > >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
            > >         Tel: +49 561 3166797, Fax: +49 561 3166798 
            > >         
            > >         Amtsgericht Kassel, HRB 16405 
            > >         Geschäftsführer: Cornelius Kölbel 
            > >         
            > >         
            > > -- 
            > > You received this message because you are subscribed to the Google
            > > Groups "privacyidea" group.
            > > To unsubscribe from this group and stop receiving emails from it, send
            > > an email to privacyidea...@googlegroups.com.
            > > To post to this group, send email to priva...@googlegroups.com.
            > > To view this discussion on the web visit
            > > https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.
            > > For more options, visit https://groups.google.com/d/optout.
            > 
            > -- 
            > Cornelius Kölbel
            > corneliu...@netknights.it
            > +49 151 2960 1417
            > 
            > NetKnights GmbH
            > http://www.netknights.it
            > Landgraf-Karl-Str. 19, 34131 Kassel, Germany
            > Tel: +49 561 3166797, Fax: +49 561 3166798
            > 
            > Amtsgericht Kassel, HRB 16405
            > Geschäftsführer: Cornelius Kölbel
            > 
            > 


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

Hi,
I realize I have a problem in the logging facility.
I will send you a patched version to go and try with it again, to get
some more information from the problem.

Kind regards
CorneliusAm Freitag, den 19.06.2015, 14:22 -0700 schrieb blue90waters@gmail.com:

On Friday, June 19, 2015 at 3:11:51 PM UTC-6, blue90...@gmail.com wrote:

    Hi Cornelius,
    
    
    
    I changed the log level to 10 and restated nginx. 
    Below is the output that i see when restart and assign a
    token. Something that i have noticed is, there isn't any
    "deflocal" resolver. But i see that in the logs.
    Let me know if you need any more logs that can be helpful.
     
    
    
    tail -f privacyidea.log

[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:239] exception OperationalError("(OperationalError) (1241,
‘Operand should contain 1 column(s)’)",)
[2015-06-11
16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:240] DATA: {‘info’: ‘’, ‘administrator’: u’admin’, ‘realm’:
[u’defrealm’, u’flatfileresolver’, u’freeipa’], ‘success’: True,
‘privacyidea_server’: ‘HOST’, ‘client_user_agent’: ‘firefox’,
‘client’: ‘10
.40.104.81’, ‘action_detail’: u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_lengt h=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresolv er’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}",
‘action’: ‘POST /policy/’, ‘serial’: None}
[2015-06-11
16:07:41,281][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:241] Traceback (most recent call last):
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/auditmodules/sqlaudit.py”, line 231, in finalize_log
self.session.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 721, in commit
self.transaction.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 354, in commit
self._prepare_impl()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 334, in _prepare_impl
self.session.flush()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1818, in flush
self._flush(objects)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1936, in _flush
transaction.rollback(_capture_exception=True)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py”,
line 58, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1900, in _flush
flush_context.execute()
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”, line
372, in execute
rec.execute(self)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py”, line
525, in execute
uow
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”, line
64, in save_obj
table, insert)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py”, line
569, in _emit_insert_statements
execute(statement, params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 662, in execute
params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 761, in _execute_clauseelement
compiled_sql, distilled_params
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 874, in _execute_context
context)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 1024, in _handle_dbapi_exception
exc_info
File “/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”,
line 196, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 867, in _execute_context
context)
File
“/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line
324, in do_execute
cursor.execute(statement, parameters)
File “/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py”, line
174, in execute
self.errorhandler(self, exc, value)
File “/usr/lib/python2.7/dist-packages/MySQLdb/connections.py”, line
36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (OperationalError) (1241, ‘Operand should contain 1
column(s)’) ‘INSERT INTO pidea_audit (date, signature, action,
success, serial, toke
n_type, user, realm, administrator, action_detail, info,
privacyidea_server, client, loglevel, clearance_level) VALUES (%s, %s,
%s, %s, %s, %s, %s, %s, %s
, %s, %s, %s, %s, %s, %s)’ (datetime.datetime(2015, 6, 11, 16, 7, 41,
278670), ‘’, ‘POST /policy/’, 1, None, None, None, [u’defrealm’, u’flatfileres olver’, u’freeipa’], u’admin’, u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_leng th=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresol ver’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}", ‘’,
‘HOST’, ‘10.40.aa.bb’, None, None)

[2015-06-11
16:08:25,935][29574][139662564255488][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:35,315][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:50,437][29574][139662656575232][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:12:00,264][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’test’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:13:47,190][2009][139814139623168][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-11
16:16:35,587][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,590][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:35,596][2009][139814231942912][ERROR][privacyidea.app:1423]
Exception on /machine/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/machine.py”,
line 112, in list_machines_api
any=any)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machine.py”,
line 79, in get_machines
substring=True)
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 132, in get_machines
self._bind()
File
“/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py”,
line 72, in _bind
raise Exception(“Wrong credentials”)
Exception: Wrong credentials
[2015-06-11
16:16:40,701][2009][139814114445056][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-11
16:16:54,570][2009][139814231942912][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-12
15:57:33,902][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
15:58:11,109][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:04:37,131][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:16,148][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:22,511][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:09:15,917][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:10:04,910][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:20:33,802][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:27:04,059][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:17,328][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:41,311][5010][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r
ange(128)
[2015-06-16
13:49:54,140][15858][139814156093184][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:50:43,280][15858][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 85, in policy_wrapper
action=self.action)
File
“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 276, in check_max_token_user
tokenobject_list = get_tokens(user=user_object)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 246, in get_tokens
rollout_state=rollout_state)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:52:01,251][15858][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
[2015-06-16
15:48:16,717][15858][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
15:59:50,035][15858][139814130915072][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
16:08:52,892][15858][139814139307776][WARNING][privacyidea.lib.crypto:294] ‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in
range(128)
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
[2015-06-16
16:20:22,619][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:20:30,406][16680][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:21:45,356][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]

        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:01,095][2329][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:17,690][2338][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:27,243][2298][140697013417920][ERROR][privacyidea.app:1423] Exception on /token/ [GET]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 350, in list_api
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 101, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 306, in get_tokens_paginate
        description=description)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 182, in _create_token_query
        (uid, _rtype, _resolver) = user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 213, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-19
    15:05:41,089][2372][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
    [2015-06-19
    15:05:41,202][2373][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
    
    
    
    On Friday, June 19, 2015 at 12:37:24 PM UTC-6, Cornelius Kölbel wrote:
    
            Please set 
            
            
            PI_LOGLEVEL = 10
            
            in pi.cfg, restart apache and watch the logfile.
            
            If you are OK with it, send it.
            
            Kind regards
            Cornelius
            
            Am Freitag, den 19.06.2015, 20:14 +0200 schrieb
            Cornelius Kölbel: 
            
            > Hi,
            > the configuration looks good. I assume, can you take a look at the log
            > file prior to the traceback you sent in your original post?
            > 
            > Kind regards
            > Cornelius
            > 
            > Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90...@gmail.com:
            > > a) after creating the realm, ldap resolver. I go to users->select
            > > realm -> . Select an ldap user from the realm, then i get this
            > > "ERR905: The user can not be found in any resolver in this realm!"
            > > 
            > > 
            > > b)secondly, even If i go to Token -> Enroll token -> select realm ->
            > > under username, the ldap username populates, gave a pin, when i hit
            > > enroll "ERR905: The user can not be found in any resolver in this
            > > realm! ".
            > > 
            > > 
            > > 
            > > 
            > > here is how my ldap resolver looks like.
            > > 
            > > 
            > > Resolver name : testldap
            > > server URI : ldap://hostname.example.com
            > > Base DN : cn=users,cn=accounts,dc=example,dc=com
            > > Bind DN : cn=Directory Manager
            > > Bind passwd : 
            > > Bind Type : Simple
            > > 
            > > 
            > > Loginname Attribute : uid
            > > search filter: (uid=*)(objectClass=inetOrgPerson)
            > > user filter : (&(uid=%s)(objectClass=inetOrgPerson))
            > > attribute mapping : { "username": "uid", "phone" : "telephoneNumber",
            > > "mobile" : "mobile", "email" : "mail", "surname" : "sn", "givenname" :
            > > "givenName" }
            > > UID type : entryUUID
            > > 
            > > 
            > > 
            > > 
            > > Thanks,
            > > 
            > > 
            > > 
            > > 
            > > 
            > > On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:
            > >         When does this occur? 
            > >         
            > >         a) Does it occur in the token enroll-dialog, when you are
            > >         searching for 
            > >         a user, 
            > >         b) does it occur in the token detail view, when you assign a
            > >         user or 
            > >         c) Does it occur after you have assigned the token and try to
            > >         list the 
            > >         users. 
            > >         
            > >         What does you LDAP resolver look like? 
            > >         Especially the "User Filter", "Seaech FIlter" and "Mapping"? 
            > >         
            > >         Kind regards 
            > >         Cornelius 
            > >         
            > >         Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb 
            > >         blue90...@gmail.com: 
            > >         > Hi, 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > I am having issues assigning a token to an ldap user. I have
            > >         created a 
            > >         > realm and an ldapresolver. I am able to see the ldap users
            > >         but here is 
            > >         > the message i get when i try to assign a token "ERR905: The
            > >         user can 
            > >         > not be found in any resolver in this realm!" 
            > >         > I get this error on both Ubuntu 14.04 and Centos 6.5 
            > >         > 
            > >         > 
            > >         > I tried installing the deb package on the ubuntu after going
            > >         through 
            > >         > the below post but it doesnt seem to have resolve the
            > >         issue. 
            > >         > https://groups.google.com/forum/#!
            > >         topic/privacyidea/R0Yc79zctzs 
            > >         > 
            > >         > 
            > >         > 
            > >         > I appreciate you taking a look at this issue. 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > Below are the logs 
            > >         > 
            > >         > 
            > >         > Traceback (most recent call last): 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1817, in 
            > >         > wsgi_app 
            > >         >     response = self.full_dispatch_request() 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1477, in 
            > >         > full_dispatch_request 
            > >         >     rv = self.handle_user_exception(e) 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1381, in 
            > >         > handle_user_exception 
            > >         >     reraise(exc_type, exc_value, tb) 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1475, in 
            > >         > full_dispatch_request 
            > >         >     rv = self.dispatch_request() 
            > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
            > >         1461, in 
            > >         > dispatch_request 
            > >         >     return
            > >         self.view_functions[rule.endpoint](**req.view_args) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
            > >         line 
            > >         > 101, in log_wrapper 
            > >         >     f_result = func(*args, **kwds) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
            > >         > line 350, in list_api 
            > >         >     description=description) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
            > >         line 
            > >         > 101, in log_wrapper 
            > >         >     f_result = func(*args, **kwds) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
            > >         > line 306, in get_tokens_paginate 
            > >         >     description=description) 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
            > >         > line 182, in _create_token_query 
            > >         >     (uid, _rtype, _resolver) = user.get_user_identifiers() 
            > >         >   File
            > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
            > >         > line 213, in get_user_identifiers 
            > >         >     raise UserError("The user can not be found in any
            > >         resolver in " 
            > >         > UserError: ERR905: The user can not be found in any resolver
            > >         in this 
            > >         > realm! 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > 
            > >         > Thanks, 
            > >         > 
            > >         > 
            > >         > 
            > >         > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel  wrote: 
            > >         >         Hi Blue Waters, 
            > >         >         
            > >         >         as the first line points out, you are using python
            > >         2.6. 
            > >         >         privacyIDEA uses some modules and constructs, that
            > >         are not 
            > >         >         supported by 
            > >         >         python 2.6 anymore. 
            > >         >         
            > >         >         What operating system/distribution are you running? 
            > >         >         
            > >         >         Kind regards 
            > >         >         Cornelius 
            > >         >         
            > >         >         
            > >         >         Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
            > >         >         blue90...@gmail.com: 
            > >         >         > Hi, 
            > >         >         > 
            > >         >         > 
            > >         >         > i am having this issue when trying to create the
            > >         encryption 
            > >         >         keys. 
            > >         >         > 
            > >         >         > 
            > >         >         > # pi-manage.py create_enckey 
            > >         >
            > >         > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
            > >         >         >   DeprecationWarning 
            > >         >         > Traceback (most recent call last): 
            > >         >         >   File "/opt/privacyidea/bin/pi-manage.py", line
            > >         40, in 
            > >         >         <module> 
            > >         >         >     from privacyidea.app import create_app 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
            > >         >         > line 27, in <module> 
            > >         >         >     from privacyidea.api.system import
            > >         system_blueprint 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
            > >         >         >     from .policy import policy_blueprint 
            > >         >         >   File 
            > >         >         > 
            > >         >
            > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
            > >         >         >     + dynamic_pol.get(k, {}).items()) for k in
            > >         keys} 
            > >         >         > 
            > >         >         > 
            > >         >         > Any help on this would be appreciated. 
            > >         >         > -- 
            > >         >         > You received this message because you are
            > >         subscribed to the 
            > >         >         Google 
            > >         >         > Groups "privacyidea" group. 
            > >         >         > To unsubscribe from this group and stop receiving
            > >         emails 
            > >         >         from it, send 
            > >         >         > an email to privacyidea...@googlegroups.com. 
            > >         >         > To post to this group, send email to 
            > >         >         priva...@googlegroups.com. 
            > >         >         > To view this discussion on the web visit 
            > >         >         > 
            > >         >
            > >         https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
            > >         >         > For more options, visit
            > >         https://groups.google.com/d/optout. 
            > >         >         
            > >         >         -- 
            > >         >         Cornelius Kölbel 
            > >         >         corneliu...@netknights.it 
            > >         >         +49 151 2960 1417 
            > >         >         
            > >         >         NetKnights GmbH 
            > >         >         http://www.netknights.it 
            > >         >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
            > >         >         Tel: +49 561 3166797, Fax: +49 561 3166798 
            > >         >         
            > >         >         Amtsgericht Kassel, HRB 16405 
            > >         >         Geschäftsführer: Cornelius Kölbel 
            > >         >         
            > >         >         
            > >         > -- 
            > >         > You received this message because you are subscribed to the
            > >         Google 
            > >         > Groups "privacyidea" group. 
            > >         > To unsubscribe from this group and stop receiving emails
            > >         from it, send 
            > >         > an email to privacyidea...@googlegroups.com. 
            > >         > To post to this group, send email to
            > >         priva...@googlegroups.com. 
            > >         > To view this discussion on the web visit 
            > >         >
            > >         https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. 
            > >         > For more options, visit https://groups.google.com/d/optout. 
            > >         
            > >         -- 
            > >         Cornelius Kölbel 
            > >         corneliu...@netknights.it 
            > >         +49 151 2960 1417 
            > >         
            > >         NetKnights GmbH 
            > >         http://www.netknights.it 
            > >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
            > >         Tel: +49 561 3166797, Fax: +49 561 3166798 
            > >         
            > >         Amtsgericht Kassel, HRB 16405 
            > >         Geschäftsführer: Cornelius Kölbel 
            > >         
            > >         
            > > -- 
            > > You received this message because you are subscribed to the Google
            > > Groups "privacyidea" group.
            > > To unsubscribe from this group and stop receiving emails from it, send
            > > an email to privacyidea...@googlegroups.com.
            > > To post to this group, send email to priva...@googlegroups.com.
            > > To view this discussion on the web visit
            > > https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.
            > > For more options, visit https://groups.google.com/d/optout.
            > 
            > -- 
            > Cornelius Kölbel
            > corneliu...@netknights.it
            > +49 151 2960 1417
            > 
            > NetKnights GmbH
            > http://www.netknights.it
            > Landgraf-Karl-Str. 19, 34131 Kassel, Germany
            > Tel: +49 561 3166797, Fax: +49 561 3166798
            > 
            > Amtsgericht Kassel, HRB 16405
            > Geschäftsführer: Cornelius Kölbel
            > 
            > 


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

The systen tries to find a resolver with the name “deflocal”.

Probably you have a token, that is still assigned to a user, that was
originally in this resolver. The deflocal gets created at the beginning.
Probably you have created it, assigned a token and later deleted the def
realm and deflocal resolver.

But this is only a less important side effect.
The error message “unknown resolver class deflocal” is misleading. It
should be “A resolver with the name deflocal does not exist”.

I comment on the problem in your other post, since the log in the other
post contains some more interesting things.

Kind regards
CorneliusAm Freitag, den 19.06.2015, 14:11 -0700 schrieb blue90waters@gmail.com:

Hi Cornelius,

I changed the log level to 10 and restated nginx.
Below is the output that i see when restart and assign a token.
Something that i have noticed is, there isn’t any “deflocal” resolver.
But i see that in the logs.
Let me know if you need any more logs that can be helpful.

tail -f privacyidea.log
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-19
15:05:01,095][2329][140697013417920][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-19
15:05:17,690][2338][140697013417920][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-19
15:05:27,243][2298][140697013417920][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-19
15:05:41,089][2372][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal
[2015-06-19
15:05:41,202][2373][140697013417920][ERROR][privacyidea.lib.resolver:314] unknown resolver class deflocal

On Friday, June 19, 2015 at 12:37:24 PM UTC-6, Cornelius Kölbel wrote:
Please set

    PI_LOGLEVEL = 10
    
    in pi.cfg, restart apache and watch the logfile.
    
    If you are OK with it, send it.
    
    Kind regards
    Cornelius
    
    Am Freitag, den 19.06.2015, 20:14 +0200 schrieb Cornelius
    Kölbel: 
    > Hi,
    > the configuration looks good. I assume, can you take a look at the log
    > file prior to the traceback you sent in your original post?
    > 
    > Kind regards
    > Cornelius
    > 
    > Am Freitag, den 19.06.2015, 08:46 -0700 schrieb blue90...@gmail.com:
    > > a) after creating the realm, ldap resolver. I go to users->select
    > > realm -> . Select an ldap user from the realm, then i get this
    > > "ERR905: The user can not be found in any resolver in this realm!"
    > > 
    > > 
    > > b)secondly, even If i go to Token -> Enroll token -> select realm ->
    > > under username, the ldap username populates, gave a pin, when i hit
    > > enroll "ERR905: The user can not be found in any resolver in this
    > > realm! ".
    > > 
    > > 
    > > 
    > > 
    > > here is how my ldap resolver looks like.
    > > 
    > > 
    > > Resolver name : testldap
    > > server URI : ldap://hostname.example.com
    > > Base DN : cn=users,cn=accounts,dc=example,dc=com
    > > Bind DN : cn=Directory Manager
    > > Bind passwd : 
    > > Bind Type : Simple
    > > 
    > > 
    > > Loginname Attribute : uid
    > > search filter: (uid=*)(objectClass=inetOrgPerson)
    > > user filter : (&(uid=%s)(objectClass=inetOrgPerson))
    > > attribute mapping : { "username": "uid", "phone" : "telephoneNumber",
    > > "mobile" : "mobile", "email" : "mail", "surname" : "sn", "givenname" :
    > > "givenName" }
    > > UID type : entryUUID
    > > 
    > > 
    > > 
    > > 
    > > Thanks,
    > > 
    > > 
    > > 
    > > 
    > > 
    > > On Thursday, June 18, 2015 at 11:27:59 PM UTC-6, Cornelius Kölbel wrote:
    > >         When does this occur? 
    > >         
    > >         a) Does it occur in the token enroll-dialog, when you are
    > >         searching for 
    > >         a user, 
    > >         b) does it occur in the token detail view, when you assign a
    > >         user or 
    > >         c) Does it occur after you have assigned the token and try to
    > >         list the 
    > >         users. 
    > >         
    > >         What does you LDAP resolver look like? 
    > >         Especially the "User Filter", "Seaech FIlter" and "Mapping"? 
    > >         
    > >         Kind regards 
    > >         Cornelius 
    > >         
    > >         Am Donnerstag, den 18.06.2015, 16:30 -0700 schrieb 
    > >         blue90...@gmail.com: 
    > >         > Hi, 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > I am having issues assigning a token to an ldap user. I have
    > >         created a 
    > >         > realm and an ldapresolver. I am able to see the ldap users
    > >         but here is 
    > >         > the message i get when i try to assign a token "ERR905: The
    > >         user can 
    > >         > not be found in any resolver in this realm!" 
    > >         > I get this error on both Ubuntu 14.04 and Centos 6.5 
    > >         > 
    > >         > 
    > >         > I tried installing the deb package on the ubuntu after going
    > >         through 
    > >         > the below post but it doesnt seem to have resolve the
    > >         issue. 
    > >         > https://groups.google.com/forum/#!
    > >         topic/privacyidea/R0Yc79zctzs 
    > >         > 
    > >         > 
    > >         > 
    > >         > I appreciate you taking a look at this issue. 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > Below are the logs 
    > >         > 
    > >         > 
    > >         > Traceback (most recent call last): 
    > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    > >         1817, in 
    > >         > wsgi_app 
    > >         >     response = self.full_dispatch_request() 
    > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    > >         1477, in 
    > >         > full_dispatch_request 
    > >         >     rv = self.handle_user_exception(e) 
    > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    > >         1381, in 
    > >         > handle_user_exception 
    > >         >     reraise(exc_type, exc_value, tb) 
    > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    > >         1475, in 
    > >         > full_dispatch_request 
    > >         >     rv = self.dispatch_request() 
    > >         >   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    > >         1461, in 
    > >         > dispatch_request 
    > >         >     return
    > >         self.view_functions[rule.endpoint](**req.view_args) 
    > >         >   File
    > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    > >         line 
    > >         > 101, in log_wrapper 
    > >         >     f_result = func(*args, **kwds) 
    > >         >   File
    > >         "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    > >         > line 350, in list_api 
    > >         >     description=description) 
    > >         >   File
    > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    > >         line 
    > >         > 101, in log_wrapper 
    > >         >     f_result = func(*args, **kwds) 
    > >         >   File
    > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    > >         > line 306, in get_tokens_paginate 
    > >         >     description=description) 
    > >         >   File
    > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    > >         > line 182, in _create_token_query 
    > >         >     (uid, _rtype, _resolver) = user.get_user_identifiers() 
    > >         >   File
    > >         "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    > >         > line 213, in get_user_identifiers 
    > >         >     raise UserError("The user can not be found in any
    > >         resolver in " 
    > >         > UserError: ERR905: The user can not be found in any resolver
    > >         in this 
    > >         > realm! 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > 
    > >         > Thanks, 
    > >         > 
    > >         > 
    > >         > 
    > >         > On Wednesday, June 17, 2015 at 2:26:45 PM UTC-6, Cornelius Kölbel  wrote: 
    > >         >         Hi Blue Waters, 
    > >         >         
    > >         >         as the first line points out, you are using python
    > >         2.6. 
    > >         >         privacyIDEA uses some modules and constructs, that
    > >         are not 
    > >         >         supported by 
    > >         >         python 2.6 anymore. 
    > >         >         
    > >         >         What operating system/distribution are you running? 
    > >         >         
    > >         >         Kind regards 
    > >         >         Cornelius 
    > >         >         
    > >         >         
    > >         >         Am Mittwoch, den 17.06.2015, 11:43 -0700 schrieb 
    > >         >         blue90...@gmail.com: 
    > >         >         > Hi, 
    > >         >         > 
    > >         >         > 
    > >         >         > i am having this issue when trying to create the
    > >         encryption 
    > >         >         keys. 
    > >         >         > 
    > >         >         > 
    > >         >         > # pi-manage.py create_enckey 
    > >         >
    > >         > /opt/privacyidea/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. 
    > >         >         >   DeprecationWarning 
    > >         >         > Traceback (most recent call last): 
    > >         >         >   File "/opt/privacyidea/bin/pi-manage.py", line
    > >         40, in 
    > >         >         <module> 
    > >         >         >     from privacyidea.app import create_app 
    > >         >         >   File 
    > >         >         > 
    > >         >
    > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/app.py", 
    > >         >         > line 27, in <module> 
    > >         >         >     from privacyidea.api.system import
    > >         system_blueprint 
    > >         >         >   File 
    > >         >         > 
    > >         >
    > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/system.py", line 66, in <module> 
    > >         >         >     from .policy import policy_blueprint 
    > >         >         >   File 
    > >         >         > 
    > >         >
    > >         "/opt/privacyidea/lib/python2.6/site-packages/privacyidea/api/policy.py", line 523 
    > >         >         >     + dynamic_pol.get(k, {}).items()) for k in
    > >         keys} 
    > >         >         > 
    > >         >         > 
    > >         >         > Any help on this would be appreciated. 
    > >         >         > -- 
    > >         >         > You received this message because you are
    > >         subscribed to the 
    > >         >         Google 
    > >         >         > Groups "privacyidea" group. 
    > >         >         > To unsubscribe from this group and stop receiving
    > >         emails 
    > >         >         from it, send 
    > >         >         > an email to privacyidea...@googlegroups.com. 
    > >         >         > To post to this group, send email to 
    > >         >         priva...@googlegroups.com. 
    > >         >         > To view this discussion on the web visit 
    > >         >         > 
    > >         >
    > >         https://groups.google.com/d/msgid/privacyidea/8d1168b7-9e24-4710-9481-51f379c13d47%40googlegroups.com. 
    > >         >         > For more options, visit
    > >         https://groups.google.com/d/optout. 
    > >         >         
    > >         >         -- 
    > >         >         Cornelius Kölbel 
    > >         >         corneliu...@netknights.it 
    > >         >         +49 151 2960 1417 
    > >         >         
    > >         >         NetKnights GmbH 
    > >         >         http://www.netknights.it 
    > >         >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    > >         >         Tel: +49 561 3166797, Fax: +49 561 3166798 
    > >         >         
    > >         >         Amtsgericht Kassel, HRB 16405 
    > >         >         Geschäftsführer: Cornelius Kölbel 
    > >         >         
    > >         >         
    > >         > -- 
    > >         > You received this message because you are subscribed to the
    > >         Google 
    > >         > Groups "privacyidea" group. 
    > >         > To unsubscribe from this group and stop receiving emails
    > >         from it, send 
    > >         > an email to privacyidea...@googlegroups.com. 
    > >         > To post to this group, send email to
    > >         priva...@googlegroups.com. 
    > >         > To view this discussion on the web visit 
    > >         >
    > >         https://groups.google.com/d/msgid/privacyidea/f7bf5e37-1060-4ce3-bb48-88e09c8c789a%40googlegroups.com. 
    > >         > For more options, visit https://groups.google.com/d/optout. 
    > >         
    > >         -- 
    > >         Cornelius Kölbel 
    > >         corneliu...@netknights.it 
    > >         +49 151 2960 1417 
    > >         
    > >         NetKnights GmbH 
    > >         http://www.netknights.it 
    > >         Landgraf-Karl-Str. 19, 34131 Kassel, Germany 
    > >         Tel: +49 561 3166797, Fax: +49 561 3166798 
    > >         
    > >         Amtsgericht Kassel, HRB 16405 
    > >         Geschäftsführer: Cornelius Kölbel 
    > >         
    > >         
    > > -- 
    > > You received this message because you are subscribed to the Google
    > > Groups "privacyidea" group.
    > > To unsubscribe from this group and stop receiving emails from it, send
    > > an email to privacyidea...@googlegroups.com.
    > > To post to this group, send email to priva...@googlegroups.com.
    > > To view this discussion on the web visit
    > > https://groups.google.com/d/msgid/privacyidea/390a19f7-7ee4-47cc-8e40-e4f4a4045423%40googlegroups.com.
    > > For more options, visit https://groups.google.com/d/optout.
    > 
    > -- 
    > Cornelius Kölbel
    > corneliu...@netknights.it
    > +49 151 2960 1417
    > 
    > NetKnights GmbH
    > http://www.netknights.it
    > Landgraf-Karl-Str. 19, 34131 Kassel, Germany
    > Tel: +49 561 3166797, Fax: +49 561 3166798
    > 
    > Amtsgericht Kassel, HRB 16405
    > Geschäftsführer: Cornelius Kölbel
    > 
    > 


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

Hi,

I would like to thank you for your effort on this. I was able to get this
working after I changed UID Type in the resolver to “DN”.
May be it was a mistake on my part.

I think we can mark this issue as resolved.

Regards,On Wednesday, June 24, 2015 at 11:15:54 AM UTC-6, blue90...@gmail.com wrote:

I am running this on ubuntu and have the 2.4dev12 on it.

Below are the logs.

[2015-06-23
12:00:54,058][12054][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:01:49,248][12096][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
”/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:02:17,968][12125][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
”/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:02:46,200][12154][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
”/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:04:12,044][12218][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
”/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:04:52,929][12252][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:52,930][12252][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
”/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,468][12255][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,469][12255][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,526][12256][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,527][12256][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,549][12251][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,550][12251][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,743][12246][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,744][12246][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:56,214][12264][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
86, in policy_wrapper
action=self.action)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line
304, in check_max_token_realm
user_object = get_user_from_param(params)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
525, in get_user_from_param
user_object = User(login=username, realm=realm)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
125, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
90, in init
self.get_resolvers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
183, in get_resolvers
uid = y.getUserId(self.login)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 261, in getUserId
attributes=attributes)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter
[2015-06-23
12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:03,862][12240][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:03,874][12240][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,348][12265][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,349][12265][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,482][12221][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,483][12221][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,591][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,592][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=sel

I am running this on ubuntu and have the 2.4dev12 on it.

Below are the logs.

[2015-06-23
12:00:54,058][12054][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:01:49,248][12096][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:02:17,968][12125][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:02:46,200][12154][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:04:12,044][12218][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:04:52,929][12252][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:52,930][12252][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
”/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,468][12255][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,469][12255][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,526][12256][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,527][12256][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,549][12251][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,550][12251][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:53,743][12246][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)
[2015-06-23
12:04:53,744][12246][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter

[2015-06-23
12:04:56,214][12264][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
action=self.action)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 304, in check_max_token_realm
user_object = get_user_from_param(params)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
525, in get_user_from_param
user_object = User(login=username, realm=realm)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line 90,
in init
self.get_resolvers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
183, in get_resolvers
uid = y.getUserId(self.login)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 261, in getUserId
attributes=attributes)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
229, in parse_filter
raise LDAPInvalidFilterError(‘malformed filter’)
LDAPInvalidFilterError: malformed filter
[2015-06-23
12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:03,862][12240][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:03,874][12240][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,348][12265][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,349][12265][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,482][12221][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,483][12221][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,591][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,592][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,649][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,649][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,691][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,692][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,737][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,737][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:04,767][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:04,767][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,631][12277][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,632][12277][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,635][12276][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,636][12276][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,629][12278][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,643][12278][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,739][12272][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,740][12272][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,831][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,832][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,834][12278][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,834][12278][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,838][12277][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,838][12277][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,872][12274][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,874][12274][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,905][12275][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,907][12275][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,912][12276][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,914][12276][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:05,954][12269][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:05:05,955][12269][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:05:11,978][12272][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:05:12,548][12273][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:07:18,106][12346][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:08:06,437][12338][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:06,438][12338][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
”/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:07,452][12334][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:07,453][12334][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:07,531][12339][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:07,532][12339][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:07,776][12340][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:07,788][12340][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,067][12356][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,068][12356][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,155][12354][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,158][12354][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,250][12355][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,257][12355][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,303][12356][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,303][12356][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,375][12354][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,375][12354][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,463][12355][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,463][12355][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,483][12356][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,487][12356][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,557][12354][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,557][12354][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,649][12355][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,649][12355][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,722][12356][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,723][12356][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,752][12354][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,752][12354][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,851][12355][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,851][12355][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,898][12356][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,898][12356][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:08,927][12354][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:08,927][12354][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:09,059][12363][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:09,062][12363][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:09,083][12362][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:09,082][12364][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)
[2015-06-23
12:08:09,090][12364][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:08:09,094][12362][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
587, in get_user_list
ulist = y.getUserList(searchDict)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py",
line 301, in getUserList
paged_size=self.sizelimit)
File “/usr/lib/python2.7/dist-packages/ldap3/core/connection.py”, line
568, in search
request = search_operation(search_base, search_filter, search_scope,
dereference_aliases, attributes, size_limit, time_limit, types_only,
self.server.schema if self.serv
er else None)
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
365, in search_operation
request[‘filter’] = build_filter(search_filter, schema) # parse the
searchFilter string and compile it starting from the root node
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
312, in build_filter
return compile_filter(parse_filter(search_filter, schema).elements[0])
File “/usr/lib/python2.7/dist-packages/ldap3/operation/search.py”, line
234, in parse_filter
raise LDAPInvalidFilterError(‘invalid filter’)
LDAPInvalidFilterError: invalid filter

[2015-06-23
12:10:58,422][12473][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:11:28,921][12494][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:12:35,000][12577][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:14:10,133][12627][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:19:43,698][12679][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:20:34,099][12738][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:21:02,474][12768][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:24:12,725][12810][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:24:36,940][12844][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:25:03,790][12879][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:25:30,487][12910][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:26:48,877][12944][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
12:28:47,985][12980][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
15:32:29,902][13886][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
355, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!
[2015-06-23
15:32:41,733][13930][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 87, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”, line
239, in init
tokenrealms=tokenrealms)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line 125,
in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”, line
846, in init_token
tokenobject.set_user(user)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”,
line 133, in set_user
(uid, resolvertype, resolvername) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”, line
218, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this realm!On Saturday, June 20, 2015 at 11:47:32 AM UTC-6, Cornelius Kölbel wrote:

I fixed the logging.

Would you try a release candidate 2.4dev12?
Are you now running on ubuntu or on centos?

For ubuntu you could add the devel repo:

apt-add-repository ppa:privacyidea/privacyidea-dev
apt-get update
apt-get dist-upgrade

And check with the new version of privacyIDEA.

Kind regards
Cornelius

Am Freitag, den 19.06.2015, 14:22 -0700 schrieb blue90...@gmail.com
<javascript:>:

On Friday, June 19, 2015 at 3:11:51 PM UTC-6, blue90...@gmail.com wrote:
Hi Cornelius,

    I changed the log level to 10 and restated nginx. 
    Below is the output that i see when restart and assign a 
    token. Something that i have noticed is, there isn't any 
    "deflocal" resolver. But i see that in the logs. 
    Let me know if you need any more logs that can be helpful. 
      
    
    
    tail -f privacyidea.log 

[2015-06-11

16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:239]
exception OperationalError("(OperationalError) (1241,

‘Operand should contain 1 column(s)’)",)
[2015-06-11

16:07:41,280][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:240]
DATA: {‘info’: ‘’, ‘administrator’: u’admin’, ‘realm’:

[u’defrealm’, u’flatfileresolver’, u’freeipa’], ‘success’: True,
‘privacyidea_server’: ‘HOST’, ‘client_user_agent’: ‘firefox’,
‘client’: ‘10
.40.104.81’, ‘action_detail’: u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_lengt h=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresolv er’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}",
‘action’: ‘POST /policy/’, ‘serial’: None}
[2015-06-11

16:07:41,281][29574][139662564255488][ERROR][privacyidea.lib.auditmodules.sqlaudit:241]
Traceback (most recent call last):

File

“/usr/lib/python2.7/dist-packages/privacyidea/lib/auditmodules/sqlaudit.py”,
line 231, in finalize_log

self.session.commit() 

File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 721, in commit
self.transaction.commit()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 354, in commit
self._prepare_impl()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 334, in _prepare_impl
self.session.flush()
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1818, in flush
self._flush(objects)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1936, in _flush
transaction.rollback(_capture_exception=True)
File
"/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py",
line 58, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py”,
line 1900, in _flush
flush_context.execute()
File
"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line
372, in execute
rec.execute(self)
File
"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line
525, in execute
uow
File
"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line
64, in save_obj
table, insert)
File
"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line
569, in _emit_insert_statements
execute(statement, params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 662, in execute
params)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 761, in _execute_clauseelement
compiled_sql, distilled_params
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 874, in _execute_context
context)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 1024, in _handle_dbapi_exception
exc_info
File “/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”,
line 196, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File “/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”,
line 867, in _execute_context
context)
File
"/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line
324, in do_execute
cursor.execute(statement, parameters)
File “/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py”, line
174, in execute
self.errorhandler(self, exc, value)
File “/usr/lib/python2.7/dist-packages/MySQLdb/connections.py”, line
36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (OperationalError) (1241, ‘Operand should contain 1
column(s)’) ‘INSERT INTO pidea_audit (date, signature, action,
success, serial, toke
n_type, user, realm, administrator, action_detail, info,
privacyidea_server, client, loglevel, clearance_level) VALUES (%s, %s,
%s, %s, %s, %s, %s, %s, %s
, %s, %s, %s, %s, %s, %s)’ (datetime.datetime(2015, 6, 11, 16, 7, 41,
278670), ‘’, ‘POST /policy/’, 1, None, None, None, [u’defrealm’, u’flatfileres olver’, u’freeipa’], u’admin’, u"{u’realm’: [u’defrealm’, u’flatfileresolver’, u’freeipa’], u’action’:
[u’losttoken_PW_contents=Ccns’, u’losttoken_PW_leng th=14’, u’losttoken_valid=1’, u’max_token_per_user=5’, u’tokenlabel=<u>/<r>/<s>’], u’client’: u’’, u’user’: u’’, u’resolver’:
[u’deflocal’, u’flatfieresol ver’, u’freeipa’], u’active’: True, u’scope’: u’enrollment’}", ‘’,
‘HOST’, ‘10.40.aa.bb’, None, None)

[2015-06-11
16:08:25,935][29574][139662564255488][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:35,315][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:10:50,437][29574][139662656575232][ERROR][privacyidea.lib.user:319]
The user User(login=u’testuser’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:12:00,264][29574][139662681753344][ERROR][privacyidea.lib.user:319]
The user User(login=u’test’, realm=u’freeipa’, resolver=’’) exist
s in NO resolver.
[2015-06-11
16:13:47,190][2009][139814139623168][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-11

16:16:35,587][2009][139814231942912][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r

ange(128)
[2015-06-11

16:16:35,590][2009][139814231942912][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r

ange(128)
[2015-06-11
16:16:35,596][2009][139814231942912][ERROR][privacyidea.app:1423]
Exception on /machine/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py",
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/machine.py”,
line 112, in list_machines_api
any=any)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/machine.py”,
line 79, in get_machines
substring=True)
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py",
line 132, in get_machines
self._bind()
File
"/usr/lib/python2.7/dist-packages/privacyidea/lib/machines/ldap.py",
line 72, in _bind
raise Exception(“Wrong credentials”)
Exception: Wrong credentials
[2015-06-11

16:16:40,701][2009][139814114445056][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r

ange(128)
[2015-06-11

16:16:54,570][2009][139814231942912][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r

ange(128)
[2015-06-12
15:57:33,902][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
15:58:11,109][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:04:37,131][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:16,148][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:05:22,511][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:09:15,917][5010][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:10:04,910][5010][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:20:33,802][5010][139814147700480][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:27:04,059][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12
16:39:17,328][5010][139814122522368][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-12

16:39:41,311][5010][139814139307776][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in r

ange(128)
[2015-06-16
13:49:54,140][15858][139814156093184][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError(“The user can not be found in any resolver in “
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
13:50:43,280][15858][139814114129664][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File
”/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”,
line 86, in policy_wrapper
return wrapped_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py",
line 85, in policy_wrapper
action=self.action)
File
"/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py",
line 276, in check_max_token_user
tokenobject_list = get_tokens(user=user_object)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 246, in get_tokens
rollout_state=rollout_state)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16

13:52:01,251][15858][139814139307776][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in

range(128)
[2015-06-16
15:48:16,717][15858][139814139307776][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16
15:59:50,035][15858][139814130915072][ERROR][privacyidea.app:1423]
Exception on /token/ [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/api/token.py”,
line 350, in list_api
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py”, line
101, in log_wrapper
f_result = func(*args, **kwds)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 306, in get_tokens_paginate
description=description)
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py”,
line 182, in _create_token_query
(uid, _rtype, _resolver) = user.get_user_identifiers()
File “/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py”,
line 213, in get_user_identifiers
raise UserError("The user can not be found in any resolver in "
UserError: ERR905: The user can not be found in any resolver in this
realm!
[2015-06-16

16:08:52,892][15858][139814139307776][WARNING][privacyidea.lib.crypto:294]
‘ascii’ codec can’t decode byte 0x9f in position 0: ordinal not in

range(128)
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:14:16 INFO {139991498487616}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
2015/06/16 - 16:18:03 INFO {139845310314304}
[privacyidea.lib.base][setup_app #234] Creating tables…
[2015-06-16
16:20:22,619][16681][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1475, in
full_dispatch_request
rv = self.dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1461, in
dispatch_request
return self.view_functionsrule.endpoint
File “/usr/lib/python2.7/dist-packages/privacyidea/webui/login.py”,
line 40, in single_page_application
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
127, in render_template
return
_render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
830, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
791, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/environment.py”, line
765, in _load_template
template = self.loader.load(self, name, globals)
File “/usr/lib/python2.7/dist-packages/jinja2/loaders.py”, line 113,
in load
source, filename, uptodate = self.get_source(environment, name)
File “/usr/lib/python2.7/dist-packages/flask/templating.py”, line
64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
[2015-06-16
16:20:30,406][16680][139759300777920][ERROR][privacyidea.app:1423]
Exception on / [GET]
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1817, in
wsgi_app
response = self.full_dispatch_request()
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1477, in
full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/lib/python2.7/dist-packages/flask/app.py”, line 1381, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.7/dist-packages/flas…

Hi Blue Waters,

right, there is also the remark “mal formed LDAP filter” in the log.

So if there is no uid type, that can be sensibly resolved, you will run
into problems.

I hope you are fine, now with privacyidea.

Don’t hesitate to drop any further questions.

Kind regards
CorneliusAm Mittwoch, den 24.06.2015, 10:42 -0700 schrieb blue90waters@gmail.com:

Hi,

I would like to thank you for your effort on this. I was able to get
this working after I changed UID Type in the resolver to “DN”.
May be it was a mistake on my part.

I think we can mark this issue as resolved.

Regards,

On Wednesday, June 24, 2015 at 11:15:54 AM UTC-6, blue90...@gmail.com wrote:
I am running this on ubuntu and have the 2.4dev12 on it.

    Below are the logs.
    
    
    [2015-06-23
    12:00:54,058][12054][139899939268544][ERROR][privacyidea.app:1423] Exception on /token/init [POST]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 239, in init
        tokenrealms=tokenrealms)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 846, in init_token
        tokenobject.set_user(user)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py", line 133, in set_user
        (uid, resolvertype, resolvername) =
    user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 218, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-23
    12:01:49,248][12096][139899939268544][ERROR][privacyidea.app:1423] Exception on /token/init [POST]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 239, in init
        tokenrealms=tokenrealms)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 846, in init_token
        tokenobject.set_user(user)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py", line 133, in set_user
        (uid, resolvertype, resolvername) =
    user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 218, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-23
    12:02:17,968][12125][139899939268544][ERROR][privacyidea.app:1423] Exception on /token/init [POST]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 239, in init
        tokenrealms=tokenrealms)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 846, in init_token
        tokenobject.set_user(user)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py", line 133, in set_user
        (uid, resolvertype, resolvername) =
    user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 218, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-23
    12:02:46,200][12154][139899939268544][ERROR][privacyidea.app:1423] Exception on /token/init [POST]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 239, in init
        tokenrealms=tokenrealms)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 846, in init_token
        tokenobject.set_user(user)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py", line 133, in set_user
        (uid, resolvertype, resolvername) =
    user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 218, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-23
    12:04:12,044][12218][139899939268544][ERROR][privacyidea.app:1423] Exception on /token/init [POST]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 87, in policy_wrapper
        return wrapped_function(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py",
    line 239, in init
        tokenrealms=tokenrealms)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py",
    line 846, in init_token
        tokenobject.set_user(user)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py", line 133, in set_user
        (uid, resolvertype, resolvername) =
    user.get_user_identifiers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 218, in get_user_identifiers
        raise UserError("The user can not be found in any resolver
    in "
    UserError: ERR905: The user can not be found in any resolver
    in this realm!
    [2015-06-23
    12:04:52,929][12252][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('malformed filter',)
    [2015-06-23
    12:04:52,930][12252][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    
    
    [2015-06-23
    12:04:53,468][12255][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('malformed filter',)
    [2015-06-23
    12:04:53,469][12255][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    
    
    [2015-06-23
    12:04:53,526][12256][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('malformed filter',)
    [2015-06-23
    12:04:53,527][12256][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    
    
    [2015-06-23
    12:04:53,549][12251][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('malformed filter',)
    [2015-06-23
    12:04:53,550][12251][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    
    
    [2015-06-23
    12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('malformed filter',)
    [2015-06-23
    12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    
    
    [2015-06-23
    12:04:53,743][12246][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('malformed filter',)
    [2015-06-23
    12:04:53,744][12246][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    
    
    [2015-06-23
    12:04:56,214][12264][139899939268544][ERROR][privacyidea.app:1423] Exception on /token/init [POST]
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1817, in wsgi_app
        response = self.full_dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1381, in handle_user_exception
        reraise(exc_type, exc_value, tb)
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line
    1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 86, in policy_wrapper
        action=self.action)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py", line 304, in check_max_token_realm
        user_object = get_user_from_param(params)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 525, in get_user_from_param
        user_object = User(login=username, realm=realm)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py",
    line 125, in log_wrapper
        f_result = func(*args, **kwds)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 90, in __init__
        self.get_resolvers()
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 183, in get_resolvers
        uid = y.getUserId(self.login)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 261, in getUserId
        attributes=attributes)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 229, in parse_filter
        raise LDAPInvalidFilterError('malformed filter')
    LDAPInvalidFilterError: malformed filter
    [2015-06-23
    12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('invalid filter',)
    [2015-06-23
    12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 234, in parse_filter
        raise LDAPInvalidFilterError('invalid filter')
    LDAPInvalidFilterError: invalid filter
    
    
    [2015-06-23
    12:05:03,862][12240][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('invalid filter',)
    [2015-06-23
    12:05:03,874][12240][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 234, in parse_filter
        raise LDAPInvalidFilterError('invalid filter')
    LDAPInvalidFilterError: invalid filter
    
    
    [2015-06-23
    12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('invalid filter',)
    [2015-06-23
    12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 234, in parse_filter
        raise LDAPInvalidFilterError('invalid filter')
    LDAPInvalidFilterError: invalid filter
    
    
    [2015-06-23
    12:05:04,348][12265][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('invalid filter',)
    [2015-06-23
    12:05:04,349][12265][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 234, in parse_filter
        raise LDAPInvalidFilterError('invalid filter')
    LDAPInvalidFilterError: invalid filter
    
    
    [2015-06-23
    12:05:04,482][12221][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('invalid filter',)
    [2015-06-23
    12:05:04,483][12221][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=self.sizelimit)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py",
    line 568, in search
        request = search_operation(search_base, search_filter,
    search_scope, dereference_aliases, attributes, size_limit,
    time_limit, types_only, self.server.schema if self.serv
    er else None)
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 365, in search_operation
        request['filter'] = build_filter(search_filter, schema)  #
    parse the searchFilter string and compile it starting from the
    root node
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 312, in build_filter
        return compile_filter(parse_filter(search_filter,
    schema).elements[0])
      File
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py",
    line 234, in parse_filter
        raise LDAPInvalidFilterError('invalid filter')
    LDAPInvalidFilterError: invalid filter
    
    
    [2015-06-23
    12:05:04,591][12269][139899939268544][ERROR][privacyidea.lib.user:601] LDAPInvalidFilterError('invalid filter',)
    [2015-06-23
    12:05:04,592][12269][139899939268544][ERROR][privacyidea.lib.user:602] Traceback (most recent call last):
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py",
    line 587, in get_user_list
        ulist = y.getUserList(searchDict)
      File
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py", line 301, in getUserList
        paged_size=sel
    ...


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/00b66dfa-31cc-40fd-b4c0-a482e8591499%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (819 Bytes)

Thanks for your help.On Wednesday, June 24, 2015 at 1:57:40 PM UTC-6, Cornelius Kölbel wrote:

Hi Blue Waters,

right, there is also the remark “mal formed LDAP filter” in the log.

So if there is no uid type, that can be sensibly resolved, you will run
into problems.

I hope you are fine, now with privacyidea.

Don’t hesitate to drop any further questions.

Kind regards
Cornelius

Am Mittwoch, den 24.06.2015, 10:42 -0700 schrieb blue90...@gmail.com
<javascript:>:

Hi,

I would like to thank you for your effort on this. I was able to get
this working after I changed UID Type in the resolver to “DN”.
May be it was a mistake on my part.

I think we can mark this issue as resolved.

Regards,

On Wednesday, June 24, 2015 at 11:15:54 AM UTC-6, blue90...@gmail.com wrote:
I am running this on ubuntu and have the 2.4dev12 on it.

    Below are the logs. 
    
    
    [2015-06-23 

12:00:54,058][12054][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]

    Traceback (most recent call last): 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1817, in wsgi_app 
        response = self.full_dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1477, in full_dispatch_request 
        rv = self.handle_user_exception(e) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1381, in handle_user_exception 
        reraise(exc_type, exc_value, tb) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1475, in full_dispatch_request 
        rv = self.dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1461, in dispatch_request 
        return self.view_functions[rule.endpoint](**req.view_args) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    line 239, in init 
        tokenrealms=tokenrealms) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    line 846, in init_token 
        tokenobject.set_user(user) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”, line 133,
in set_user

        (uid, resolvertype, resolvername) = 
    user.get_user_identifiers() 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 218, in get_user_identifiers 
        raise UserError("The user can not be found in any resolver 
    in " 
    UserError: ERR905: The user can not be found in any resolver 
    in this realm! 
    [2015-06-23 

12:01:49,248][12096][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]

    Traceback (most recent call last): 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1817, in wsgi_app 
        response = self.full_dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1477, in full_dispatch_request 
        rv = self.handle_user_exception(e) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1381, in handle_user_exception 
        reraise(exc_type, exc_value, tb) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1475, in full_dispatch_request 
        rv = self.dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1461, in dispatch_request 
        return self.view_functions[rule.endpoint](**req.view_args) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    line 239, in init 
        tokenrealms=tokenrealms) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    line 846, in init_token 
        tokenobject.set_user(user) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”, line 133,
in set_user

        (uid, resolvertype, resolvername) = 
    user.get_user_identifiers() 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 218, in get_user_identifiers 
        raise UserError("The user can not be found in any resolver 
    in " 
    UserError: ERR905: The user can not be found in any resolver 
    in this realm! 
    [2015-06-23 

12:02:17,968][12125][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]

    Traceback (most recent call last): 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1817, in wsgi_app 
        response = self.full_dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1477, in full_dispatch_request 
        rv = self.handle_user_exception(e) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1381, in handle_user_exception 
        reraise(exc_type, exc_value, tb) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1475, in full_dispatch_request 
        rv = self.dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1461, in dispatch_request 
        return self.view_functions[rule.endpoint](**req.view_args) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    line 239, in init 
        tokenrealms=tokenrealms) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    line 846, in init_token 
        tokenobject.set_user(user) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”, line 133,
in set_user

        (uid, resolvertype, resolvername) = 
    user.get_user_identifiers() 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 218, in get_user_identifiers 
        raise UserError("The user can not be found in any resolver 
    in " 
    UserError: ERR905: The user can not be found in any resolver 
    in this realm! 
    [2015-06-23 

12:02:46,200][12154][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]

    Traceback (most recent call last): 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1817, in wsgi_app 
        response = self.full_dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1477, in full_dispatch_request 
        rv = self.handle_user_exception(e) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1381, in handle_user_exception 
        reraise(exc_type, exc_value, tb) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1475, in full_dispatch_request 
        rv = self.dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1461, in dispatch_request 
        return self.view_functions[rule.endpoint](**req.view_args) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    line 239, in init 
        tokenrealms=tokenrealms) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    line 846, in init_token 
        tokenobject.set_user(user) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”, line 133,
in set_user

        (uid, resolvertype, resolvername) = 
    user.get_user_identifiers() 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 218, in get_user_identifiers 
        raise UserError("The user can not be found in any resolver 
    in " 
    UserError: ERR905: The user can not be found in any resolver 
    in this realm! 
    [2015-06-23 

12:04:12,044][12218][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]

    Traceback (most recent call last): 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1817, in wsgi_app 
        response = self.full_dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1477, in full_dispatch_request 
        rv = self.handle_user_exception(e) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1381, in handle_user_exception 
        reraise(exc_type, exc_value, tb) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1475, in full_dispatch_request 
        rv = self.dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1461, in dispatch_request 
        return self.view_functions[rule.endpoint](**req.view_args) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
87, in policy_wrapper

        return wrapped_function(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/api/token.py", 
    line 239, in init 
        tokenrealms=tokenrealms) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/token.py", 
    line 846, in init_token 
        tokenobject.set_user(user) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/tokenclass.py”, line 133,
in set_user

        (uid, resolvertype, resolvername) = 
    user.get_user_identifiers() 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 218, in get_user_identifiers 
        raise UserError("The user can not be found in any resolver 
    in " 
    UserError: ERR905: The user can not be found in any resolver 
    in this realm! 
    [2015-06-23 

12:04:52,929][12252][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)

    [2015-06-23 

12:04:52,930][12252][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    
    
    [2015-06-23 

12:04:53,468][12255][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)

    [2015-06-23 

12:04:53,469][12255][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    
    
    [2015-06-23 

12:04:53,526][12256][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)

    [2015-06-23 

12:04:53,527][12256][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    
    
    [2015-06-23 

12:04:53,549][12251][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)

    [2015-06-23 

12:04:53,550][12251][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    
    
    [2015-06-23 

12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)

    [2015-06-23 

12:04:53,636][12255][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    
    
    [2015-06-23 

12:04:53,743][12246][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘malformed filter’,)

    [2015-06-23 

12:04:53,744][12246][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    
    
    [2015-06-23 

12:04:56,214][12264][139899939268544][ERROR][privacyidea.app:1423]
Exception on /token/init [POST]

    Traceback (most recent call last): 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1817, in wsgi_app 
        response = self.full_dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1477, in full_dispatch_request 
        rv = self.handle_user_exception(e) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1381, in handle_user_exception 
        reraise(exc_type, exc_value, tb) 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1475, in full_dispatch_request 
        rv = self.dispatch_request() 
      File "/usr/lib/python2.7/dist-packages/flask/app.py", line 
    1461, in dispatch_request 
        return self.view_functions[rule.endpoint](**req.view_args) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
86, in policy_wrapper

        action=self.action) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/api/lib/prepolicy.py”, line
304, in check_max_token_realm

        user_object = get_user_from_param(params) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 525, in get_user_from_param 
        user_object = User(login=username, realm=realm) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/log.py", 
    line 125, in log_wrapper 
        f_result = func(*args, **kwds) 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 90, in __init__ 
        self.get_resolvers() 
      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 183, in get_resolvers 
        uid = y.getUserId(self.login) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 261, in getUserId

        attributes=attributes) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 229, in parse_filter 
        raise LDAPInvalidFilterError('malformed filter') 
    LDAPInvalidFilterError: malformed filter 
    [2015-06-23 

12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)

    [2015-06-23 

12:05:03,061][12264][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 234, in parse_filter 
        raise LDAPInvalidFilterError('invalid filter') 
    LDAPInvalidFilterError: invalid filter 
    
    
    [2015-06-23 

12:05:03,862][12240][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)

    [2015-06-23 

12:05:03,874][12240][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 234, in parse_filter 
        raise LDAPInvalidFilterError('invalid filter') 
    LDAPInvalidFilterError: invalid filter 
    
    
    [2015-06-23 

12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)

    [2015-06-23 

12:05:03,897][12252][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 234, in parse_filter 
        raise LDAPInvalidFilterError('invalid filter') 
    LDAPInvalidFilterError: invalid filter 
    
    
    [2015-06-23 

12:05:04,348][12265][139899939268544][ERROR][privacyidea.lib.user:601]
LDAPInvalidFilterError(‘invalid filter’,)

    [2015-06-23 

12:05:04,349][12265][139899939268544][ERROR][privacyidea.lib.user:602]
Traceback (most recent call last):

      File 
    "/usr/lib/python2.7/dist-packages/privacyidea/lib/user.py", 
    line 587, in get_user_list 
        ulist = y.getUserList(searchDict) 
      File 

“/usr/lib/python2.7/dist-packages/privacyidea/lib/resolvers/LDAPIdResolver.py”,
line 301, in getUserList

        paged_size=self.sizelimit) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", 
    line 568, in search 
        request = search_operation(search_base, search_filter, 
    search_scope, dereference_aliases, attributes, size_limit, 
    time_limit, types_only, self.server.schema if self.serv 
    er else None) 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 365, in search_operation 
        request['filter'] = build_filter(search_filter, schema)  # 
    parse the searchFilter string and compile it starting from the 
    root node 
      File 
    "/usr/lib/python2.7/dist-packages/ldap3/operation/search.py", 
    line 312, in build_filter 
        return compile_filter(parse_filter(search_filter, 
    schema).elements[0]) 
      File 
    "/usr...