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-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #4575
Something went wrong while setting issue due date.
Closed
Open
Issue created 9 years ago by StanB@StanBReporter
  • New related issue

  • New related issue

Error with samba plugin and sambantpassword attribute

Closed

Error with samba plugin and sambantpassword attribute

Hi,

I get an error when i try to delete an user with samba field activated (see screenshot). The user is deleted anyway. The same errors appears when I only disable the samba field. This time, it blocks the action and the samba properties are not removed.

The error in slapd log is: Mar 4 14:27:02 host87 slapd[7003]: Entry (uid=sambauser2,ou=people,dc=toto,dc=fr), attribute 'sambaNTPassword' not allowed Mar 4 14:27:02 host87 slapd[7003]: entry failed schema check: attribute 'sambaNTPassword' not allowed

Samba is working fine with the user and the schema is OK as well.

To me, it looks like FD is trying to delete the attributes one by one and thus is rejected regarding this attribute (same problem with sambaLMPassword if i activate it in FD configuration).

Any thoughts or help ?

Thank you

(from redmine: issue id 4575, created on 2016-03-04, closed on 2016-03-08)

  • Changesets:
    • Revision 4f834961 by Côme Chilliet on 2016-03-08T07:46:01.000Z:
Fixes #4575 Error when deleting users with samba tab activated
  • Revision f1a88179 by Côme Chilliet on 2016-03-08T07:47:42.000Z:
Fixes #4575 Error when deleting users with samba tab activated
  • Custom Fields:
    • Bug in version: 1.0.9.3
  • Uploads:
    • Capture

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    ...

      Related merge requests

      Activity


      • bmortier
        bmortier @bmortier · 9 years ago
        Maintainer

        hello,

        can you tell us which FusionDirectory version on which os.

        Also did you upgrade recently from 1.0.8.x to 1.0.9.x

        Cheers

        (from redmine: written on 2016-03-04)

      • StanB
        StanB @StanB · 9 years ago
        Author Reporter

        It'a fresh install of FusionDirectory 1.0.9.3 on a Centos 6.7

        (from redmine: written on 2016-03-04)

      • bmortier
        bmortier @bmortier · 9 years ago
        Maintainer

        hello,

        i tested on demo.fusiondirectory.org :

        • deleting a samba user with the samba tag activated, i got the error message
        • removing a samba tab on a user and saving it, no error message

        Cheers

        (from redmine: written on 2016-03-04)

      • StanB
        StanB @StanB · 9 years ago
        Author Reporter

        Hi,

        I also did it on demo.fusiondirectory.org:

        • removing a samba tab on a user and saving it : i get the error, try it on user "jack".

        (from redmine: written on 2016-03-04)

      • bmortier
        bmortier @bmortier · 9 years ago
        Maintainer

        hello,

        yes on jack i got it but not on peter :)

        we need to find what are the differences

        Cheers

        (from redmine: written on 2016-03-04)

      • StanB
        StanB @StanB · 9 years ago
        Author Reporter

        I think i found why : you need to change the password AFTER you enable the samba tag, so it creates the sambaNTPassword attribute.

        (from redmine: written on 2016-03-04)

      • Côme Chilliet
        Côme Chilliet @cchilliet · 9 years ago
        Reporter

        I can’t seem to reproduce this. Is that on a locked user? Can you try on http://demo-1010.fusiondirectory.org/ ? (To see if the problem is still here in 1.0.10)

        Indeed users won’t have sambaNTPassword until you change the password with samba tab activated, but this should not prevent removing them or disabling the samba tab.

        (from redmine: written on 2016-03-08)

      • bmortier
        bmortier @bmortier · 9 years ago
        Maintainer

        hello,

        i just added the unix and samba on the peter and put the password to the peter/user and when try to remove the samba tab i trigger the bug

        Cheers

        (from redmine: written on 2016-03-08)

      • bmortier
        bmortier @bmortier · 9 years ago
        Maintainer

        hello,

        tested with removing only the samba tab and removing the whole user, the two case works correctly

        cheers

        (from redmine: written on 2016-03-08)

      • bmortier
        bmortier @bmortier · 9 years ago
        Maintainer

        Close issue

        (from redmine: written on 2016-03-08)

      • bmortier closed 7 years ago

        closed

      • bmortier added Fixed label 6 years ago

        added Fixed label

      Please register or sign in to reply
      Assignee
      Côme Chilliet's avatar
      Côme Chilliet
      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