Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #1672
Closed
Open
Issue created Dec 07, 2012 by bmortier@bmortierMaintainer

when copying a user it doesnt generate a new uidnumber and guidnumber

Hello,

when copying a user it doesnt generate a new uidnumber and gidnumber

i have this in my tree

0 uid=toto,ou=people,dc=labo,dc=opensides,dc=be sn: toto givenName: toto uid: toto dateOfBirth: 2012-12-12 gender: M preferredLanguage: fr_FR cn: toto toto homeDirectory: /home/toto gecos: toto toto loginShell: /bin/ash uidNumber: 1101 gidNumber: 1101 host: * objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: gosaAccount objectClass: posixAccount objectClass: shadowAccount objectClass: hostObject sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2 sambaPwdLastSet: 1354879250 sambaBadPasswordCount: 0 sambaBadPasswordTime: 0

i made a copy and got this

0 uid=toto42,ou=people,dc=labo,dc=opensides,dc=be sn: toto42 givenName: toto uid: toto42 dateOfBirth: 2012-12-12 gender: M preferredLanguage: fr_FR cn: toto toto42 homeDirectory: /home/toto42 gecos: toto toto42 loginShell: /bin/ash uidNumber: 1101 gidNumber: 1101 host: * objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: gosaAccount objectClass: posixAccount objectClass: shadowAccount objectClass: hostObject

has you can see there is the same number as the original for uid/gid

(from redmine: issue id 1672, created on 2012-12-07, closed on 2012-12-11)

  • Changesets:
    • Revision 6e19f1bc by Benoit MORTIER on 2012-12-07T15:13:59.000Z:
Fixes: #1672 when copying a user it doesnt generate a new uidnumber and guidnumber
  • Revision 51cee3c8 by Benoit MORTIER on 2012-12-11T08:30:08.000Z:
Fixes: #1672 when copying a user it doesnt generate a new uidnumber and guidnumber
  • Custom Fields:
    • Bug in version: 1.0.5
  • Uploads:
    • 0001-Fixes-1672.patch
    • 0002-Fixes-1672-when-copying-a-user-it-doesnt-generate-a-.patch
    • 0003-Fixes-1672-when-copying-a-user-it-doesnt-generate-a-.patch
Assignee
Assign to
Time tracking