LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-31-2010, 04:23 AM   #1
piyushmap
LQ Newbie
 
Registered: Aug 2007
Distribution: RedHat/Fedora/CentOS/Ubuntu
Posts: 22
Blog Entries: 1

Rep: Reputation: 1
Question 389ds + passwd problem


Hi,

Recently i have setup 389 DS on my CentOS machine.Now yesterday i m able to reset user's password. Now i m not able to reset it....

I have checked my directory server's setting and found that i have mistakenly set "disallow_pw_change_aci" ACL. Now i have deleted this one. But whenever i restart my dirsrv and dirsrv-admin services i see "disallow_pw_change_aci" ACL again in my directory server.

Que.1 Now how to remove parmanently ?

And secondly when i remove this from directory server and then try to change password i am getting below error:-

$ passwd
Changing password for user psharma.
Enter login(LDAP) password:
New UNIX password:
Retype new UNIX password:
LDAP password information update failed: Server is unwilling to perform
user is not allowed to change password
passwd: Permission denied
$


Que.2 Now how to sort out this one... ?

Que.3 And one more question is, where i will find all these logs...if someone file these command at client as well as server machine(i.e. ldapsearch, ldapadd, ldapdelete, passwd, passwd lock etc...)


Thank you.
Piyush

Last edited by piyushmap; 12-31-2010 at 04:39 AM.
 
Old 12-31-2010, 04:27 AM   #2
piyushmap
LQ Newbie
 
Registered: Aug 2007
Distribution: RedHat/Fedora/CentOS/Ubuntu
Posts: 22

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Hi,

After hunting more in logs i got following message, Please check below :-

[31/Dec/2010:14:21:00 +051800] conn=296 op=3 BIND dn="" method=128 version=3
[31/Dec/2010:14:21:00 +051800] conn=296 op=3 RESULT err=0 tag=97 nentries=0 etime=0 dn=""
[31/Dec/2010:14:21:03 +051800] conn=295 op=3 SRCH base="dc=example,dc=com" scope=2 filter="(&(objectClass=posixAccount)(uidNumber=1001))" attrs="uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass"
[31/Dec/2010:14:21:03 +051800] conn=295 op=3 RESULT err=0 tag=101 nentries=1 etime=0
[31/Dec/2010:14:21:06 +051800] conn=296 op=4 BIND dn="uid=psharma,ou=People,dc=example,dc=com" method=128 version=3
[31/Dec/2010:14:21:06 +051800] conn=296 op=4 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=psharma,ou=people,dc=example,dc=com"
[31/Dec/2010:14:21:06 +051800] conn=296 op=5 RESULT err=53 tag=103 nentries=0 etime=0
[31/Dec/2010:14:21:06 +051800] conn=296 op=5 MOD dn="uid=psharma,ou=People,dc=example,dc=com", user is not allowed to change password
[31/Dec/2010:14:21:08 +051800] conn=296 op=7 UNBIND
[31/Dec/2010:14:21:08 +051800] conn=296 op=7 fd=88 closed - U1
[31/Dec/2010:14:21:08 +051800] conn=295 op=-1 fd=87 closed - B1



Thanks,
Piyush
 
Old 01-01-2011, 01:48 AM   #3
piyushmap
LQ Newbie
 
Registered: Aug 2007
Distribution: RedHat/Fedora/CentOS/Ubuntu
Posts: 22

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Hi,

I got the solution. I follow the below steps and its done.

389 DS Console >>
Configurations >>
DATA >>
Under the Passwords Tab >>
Enable Create user level password policy >>
Enable the Check password syntax >>
for the encryption method select Unix crypt algorithm (CRYPT) >>
click save.


Thanks,
Piyush

Last edited by piyushmap; 01-01-2011 at 01:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - root passwd - new problem geoffmat SUSE / openSUSE 2 09-11-2007 06:00 PM
Swat uses PAM but changes linux passwd not samba passwd Peter@KKVS Linux - Networking 0 11-26-2006 04:20 AM
passwd reset problem arguerin Linux - Security 2 08-09-2006 02:52 PM
passwd problem shoki_neu Linux - Software 0 05-28-2004 07:07 PM
problem with 'passwd' erikm103 Linux - Software 8 03-11-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration