Find the answer to your Linux question:
Results 1 to 2 of 2
HI all I am facing a problem to reset the password of a user in ldap + samba 3. Samba is working fine with ldap backend and users are able ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    problem how to reset the password of samba ldap user


    HI all

    I am facing a problem to reset the password of a user in ldap + samba 3. Samba is working fine with ldap backend and users are able to login to domain.

    In ldap I have a user – Adminisrator
    I want to reset its password, tried the commands
    ‘Smbldap-passwd Administrator’
    Also ‘smbpasswd Administrator’ ,but that password is nt working when I try to login or access shares using smbclient or to the pc.

    What is the exact way to reset a password of a user in samba + openldap environment so it is able to login to domain.
    Please note that I also have ldap password sync = yes enabled in my smb.conf

    Thanks in advance, will appreciate an early response

    Niyati Dave

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    problem how to reset the password of samba ldap user

    HI

    My few further findings for this problem.

    It seems like smbldap-passwd command is working perfectly and its changing the password in ldap database too.
    But when I try to login to samba with the same user and password using the command smbclient

    session setup failed: NT_STATUS_LOGON_FAILURE

    Following error comes in /var/log/syslog

    smbd[11236]: pdb_increment_bad_password_count: pdb_get_account_policy failed.

    If there's anyone out there to help, I'd really appreciate.

    Niyati

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •