Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSS usernames are truncated when returned by SSSD #1048

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

NSS usernames are truncated when returned by SSSD #1048

sssd-bot opened this issue May 2, 2020 · 0 comments

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/6

  • Created at 2009-03-18 13:38:09 by sgallagh
  • Closed as Invalid
  • Assigned to simo

I created a user using the !InfoPipe !CreateUser interface. Its internal representation in the LDB is:

dn: name=myinfpuser225,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: myinfpuser225
uidNumber: 1011
gidNumber: 1011
fullName: INFP User
homeDirectory: /home/myinfpuser
loginShell: /usr/infshell
createTimestamp: 1236694637
distinguishedName: name=myinfpuser225,cn=users,cn=LOCAL,cn=sysdb

When I run 'getent passwd myinfpuser225' I get back:

er225@LOCAL:x:1011:1852406125::/home/myinfpuser:/usr/infshell

Comments


Comment from sgallagh at 2009-03-18 13:40:17

Reformatting summary using WikiText for readibility.

description: I created a user using the InfoPipe CreateUser interface. Its internal representation in the LDB is:
dn: name=myinfpuser225,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: myinfpuser225
uidNumber: 1011
gidNumber: 1011
fullName: INFP User
homeDirectory: /home/myinfpuser
loginShell: /usr/infshell
createTimestamp: 1236694637
distinguishedName: name=myinfpuser225,cn=users,cn=LOCAL,cn=sysdb

When I run 'getent passwd myinfpuser225' I get back:
er225@LOCAL:x:1011:1852406125::/home/myinfpuser:/usr/infshell
=> I created a user using the !InfoPipe !CreateUser interface. Its internal representation in the LDB is:
{{{
dn: name=myinfpuser225,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: myinfpuser225
uidNumber: 1011
gidNumber: 1011
fullName: INFP User
homeDirectory: /home/myinfpuser
loginShell: /usr/infshell
createTimestamp: 1236694637
distinguishedName: name=myinfpuser225,cn=users,cn=LOCAL,cn=sysdb
}}}
When I run 'getent passwd myinfpuser225' I get back:
{{{
er225@LOCAL:x:1011:1852406125::/home/myinfpuser:/usr/infshell
}}}


Comment from simo at 2009-03-18 13:47:02

You used a pre-1.2.0 nss client with a new sssd daemon.
That kind of stuff happens because your client is still expecting some calues to be 64 bit in length when they are 32 bit.
Make sure you install all components from the same build.


Comment from sgallagh at 2009-03-18 13:56:41

Simo was correct. I was running with the wrong NSS client library. Closing this bug as WORKSFORME.

resolution: => worksforme
status: new => closed


Comment from dpal at 2012-01-19 02:21:52

Fields changed

rhbz: => 0


Comment from sgallagh at 2017-02-24 14:54:43

Metadata Update from @sgallagh:

  • Issue assigned to simo
  • Issue set to the milestone: SSSD 1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant