Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
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 39
    • Issues 39
    • 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
  • #5293
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Webservice: isUserLocked(sid)

Closed

Webservice: isUserLocked(sid)

It would be nice to lookup if a user is locked or not. Currently, this can only (?) be done by looking for an exclamation mark (!), following the encryption scheme (Say {CRYPT}) in the userPassword field in LDAP.

(from redmine: issue id 5293, created on 2016-12-19, closed on 2017-01-11)

  • Custom Fields:
    • Bug in version: 1.0.17
An error occurred while loading designs. Please try again.

Tasks

0
Cannot read properties of undefined (reading 'workItem')

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


  • bmortier
    bmortier @bmortier · 8 years ago
    Author Maintainer

    It’s a bit hard to reach because userPassword is a composite attribute but the information can be read with the current webservice:

    $result = $client->getfields($session_id, 'user', 'uid=fd-admin,ou=people,dc=fusiondirectory,dc=org'); print_r($result['sections']['account']['attrs']['userPassword']['attributes']['userPassword_locked']['value']);

    (from redmine: written on 2017-01-09)

    By Côme Chilliet on 2017-09-02T15:34:58 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 8 years ago
    Author Maintainer

    hello,

    could you create a function isUserLocked that does just what the code your are showing and that take the user and session in parameter to make it more easier to use

    Cheers

    (from redmine: written on 2017-01-09)

    By bmortier on 2017-09-02T15:34:58 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 8 years ago
    Author Maintainer

    Close issue

    (from redmine: written on 2017-01-11)

    By Côme Chilliet on 2017-09-02T15:34:58 (imported from GitLab)

  • bmortier closed 7 years ago

    closed

    By Côme Chilliet on 2017-09-02T15:34:58 (imported from GitLab)

  • bmortier added Added label 6 years ago

    added Added label

    By bmortier on 2018-09-26T19:41:22 (imported from GitLab)

Please register or sign in to reply
Assignee
bmortier's avatar
bmortier
Assign to
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 Participants
Reference:

Menu

Explore Projects Groups Topics Snippets