#6 NSS usernames are truncated when returned by SSSD
Closed: Invalid None Opened 15 years ago by sgallagh.

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

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
}}}

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.

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

resolution: => worksforme
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to simo
- Issue set to the milestone: SSSD 1.0

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1048

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata