#127 SSSD Should Fail to start if minId or maxId are defined as negative numbers
Closed: Fixed None Opened 14 years ago by jgalipea.

Description
SSSD should fail to start if minId or maxId are defined as negative numbers. [[BR]]
If minId is set to negative 1, below is the result - users added with same uidNumbers.[[BR]]

dn: name=jenny,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: jenny
fullName: jenny
gecos: jenny
homeDirectory: /home/jenny
loginShell: /bin/bash
createTimestamp: 1250791355
uidNumber: 4294967295
gidNumber: 4294967295
distinguishedName: name=jenny,cn=users,cn=LOCAL,cn=sysdb

# record 4
dn: cn=sysdb
cn: sysdb
version: 0.1
description: base object
distinguishedName: cn=sysdb

# record 5
dn: name=jimi,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: jimi
fullName: jimi
gecos: jimi
homeDirectory: /home/jimi
loginShell: /bin/bash
createTimestamp: 1250791358
uidNumber: 4294967295
gidNumber: 4294967295
distinguishedName: name=jimi,cn=users,cn=LOCAL,cn=sysdb

If minId set to random negative number such as "-1234124" below is the resulting uid and gid numbers

# record 3
dn: name=jenny,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: jenny
fullName: jenny
gecos: jenny
homeDirectory: /home/jenny
loginShell: /bin/bash
createTimestamp: 1250792128
uidNumber: 4293733173
gidNumber: 4293733173
distinguishedName: name=jenny,cn=users,cn=LOCAL,cn=sysdb

# record 5
dn: name=jimi,cn=users,cn=LOCAL,cn=sysdb
objectClass: user
name: jimi
fullName: jimi
gecos: jimi
homeDirectory: /home/jimi
loginShell: /bin/bash
createTimestamp: 1250792114
uidNumber: 4293733172
gidNumber: 4293733172
distinguishedName: name=jimi,cn=users,cn=LOCAL,cn=sysdb

Fields changed

doc: => 0
docupdated: => 0
owner: somebody => sgallagh
status: new => assigned
tests: => 0
testsupdated: => 0

Fixed in 50a7654

fixedin: => 0.6.0
resolution: => fixed
status: assigned => closed

Reopening this ticket. It's not fixed.

resolution: fixed =>
status: closed => reopened

Should be really fixed in 1f4f4f1

resolution: => fixed
status: reopened => closed
tests: 0 => 1

Fields changed

tests: 1 => 0
testsupdated: 0 => 1

Fields changed

rhbz: => 0

Metadata Update from @jgalipea:
- Issue assigned to sgallagh
- 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/1169

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