<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic After PAM scripted authentication we get admin:1661 - 'str' object has no attribute 'os_startIndex' error in Security</title>
    <link>https://community.splunk.com/t5/Security/After-PAM-scripted-authentication-we-get-admin-1661-str-object/m-p/266746#M13607</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;We have just switched from native Splunk authentication to PAM scripted authentication.&lt;BR /&gt;
We are running Splunk 6.3.4 under Linux Suse, sles 11.&lt;/P&gt;

&lt;P&gt;After switching to PAM scripted authentication the administrator can no longer see the list of users in the GUI (under Settings/Access Controls/Users).&lt;BR /&gt;
Instead we get an error page and we can see internal error is related to &lt;BR /&gt;
"admin:1661 - 'str' object has no attribute 'os_startIndex'"&lt;BR /&gt;
Traceback (most recent call last): File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 1656, in listEntities pwnrList = en.getEntities("authentication/users", count=250, search="roles=*") File "/opt/splunk/lib/python2.7/site-packages/splunk/entity.py", line 131, in getEntities&lt;/P&gt;

&lt;P&gt;It seems to indicate a limit of 250 users but we do not have anything like 250 users in the system, which seems to be a (arbitrary) limit set in admin.py. We have tried to increase the count but it did no help.&lt;/P&gt;

&lt;P&gt;The PAM authentication is actually working but it is a major problem not to be able to see the list of users or to delete the old native user ids in the GUI.&lt;/P&gt;

&lt;P&gt;We tried to switch back to native authentication and there is no problem displaying the old users again.&lt;/P&gt;

&lt;P&gt;Thanks for any suggestions to resolve this issue.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 10:02:23 GMT</pubDate>
    <dc:creator>langhorn</dc:creator>
    <dc:date>2016-10-20T10:02:23Z</dc:date>
    <item>
      <title>After PAM scripted authentication we get admin:1661 - 'str' object has no attribute 'os_startIndex' error</title>
      <link>https://community.splunk.com/t5/Security/After-PAM-scripted-authentication-we-get-admin-1661-str-object/m-p/266746#M13607</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;We have just switched from native Splunk authentication to PAM scripted authentication.&lt;BR /&gt;
We are running Splunk 6.3.4 under Linux Suse, sles 11.&lt;/P&gt;

&lt;P&gt;After switching to PAM scripted authentication the administrator can no longer see the list of users in the GUI (under Settings/Access Controls/Users).&lt;BR /&gt;
Instead we get an error page and we can see internal error is related to &lt;BR /&gt;
"admin:1661 - 'str' object has no attribute 'os_startIndex'"&lt;BR /&gt;
Traceback (most recent call last): File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 1656, in listEntities pwnrList = en.getEntities("authentication/users", count=250, search="roles=*") File "/opt/splunk/lib/python2.7/site-packages/splunk/entity.py", line 131, in getEntities&lt;/P&gt;

&lt;P&gt;It seems to indicate a limit of 250 users but we do not have anything like 250 users in the system, which seems to be a (arbitrary) limit set in admin.py. We have tried to increase the count but it did no help.&lt;/P&gt;

&lt;P&gt;The PAM authentication is actually working but it is a major problem not to be able to see the list of users or to delete the old native user ids in the GUI.&lt;/P&gt;

&lt;P&gt;We tried to switch back to native authentication and there is no problem displaying the old users again.&lt;/P&gt;

&lt;P&gt;Thanks for any suggestions to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 10:02:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/After-PAM-scripted-authentication-we-get-admin-1661-str-object/m-p/266746#M13607</guid>
      <dc:creator>langhorn</dc:creator>
      <dc:date>2016-10-20T10:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: After PAM scripted authentication we get admin:1661 - 'str' object has no attribute 'os_startIndex' error</title>
      <link>https://community.splunk.com/t5/Security/After-PAM-scripted-authentication-we-get-admin-1661-str-object/m-p/266747#M13608</link>
      <description>&lt;P&gt;Well, found the answer myself in the end. &lt;BR /&gt;
It turned out to be a problem in /etc/passwd, where a user had a strange character in the description field.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/After-PAM-scripted-authentication-we-get-admin-1661-str-object/m-p/266747#M13608</guid>
      <dc:creator>langhorn</dc:creator>
      <dc:date>2016-10-20T12:35:01Z</dc:date>
    </item>
  </channel>
</rss>

