Package: cpu
Version: 1.4.3-5
Severity: important

cpu useradd creates accounts with duplicate user/group ID's on our Sun E250
debian/stable system.

Test cases
----------

On a SPARC system with access to an LDAP server (local/remote OpenLDAP
server, SPARC or i386), first set MIN_UIDNUMBER to a number below your
lowest LDAP uidNumber (say, 995).  Running::

    for i in 1 2 3 4 5 6 7 8 9 10
    do 
        cpu useradd test$i
    done

The new users will have increasing uids until you reach the lowest
uidNumber in your LDAP database (say, 1000); the remaining new users
will have the same uidNumber as the the lowest uidNumber in the
database (all, 1000).

Next, set MIN_UIDNUMBER to a number above your highest LDAP uidNumber
Run the same command as above.  You will create ten users, all with
uid=MIN_UIDNUMBER.

Other notes
-----------

``cpu useradd -v test``
gives no information except the usual "searching for an ID please wait".

Error occurs with ID_MAX_PASSES = 1000 and 10000.  Error does not occur
with identical configuration / user list on i386 machine.

User list is 50, UID's from 1000 to 1050.

This error occur with group ID's, if USER_GROUPS = yes.

This error was repeated on a Sun SPARCSTATION.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages cpu depends on:
ii  cracklib2             2.7-16             A pro-active password checker libr
ii  debconf [debconf-2.0] 1.4.30.13          Debian configuration management sy
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libldap2              2.1.30-8           OpenLDAP libraries
ii  ucf                   1.17               Update Configuration File: preserv

-- debconf information:
* cpu/ldap/USER_BASE: ou=People,dc=in,dc=newwireless,dc=com
* cpu/ldap/LDAP_URI: ldap://localhost
* cpu/do_debconf: true
* cpu/ldap/BIND_DN: cn=admin,dc=in,dc=newwireless,dc=com
* cpu/ldap/GROUP_BASE: ou=Group,dc=in,dc=newwireless,dc=com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to