LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-20-2010, 05:00 AM   #1
fabbie
LQ Newbie
 
Registered: Oct 2009
Posts: 22

Rep: Reputation: 0
openLDAP's User Authentication - ShadowAccount


Hi guys,
I hope someone can shed some light for my problem here.

Here's the scenarion.
I basically decided to add password aging to my user accounts in my existing openldap server.

In order to test, I created a new account by adding in the shadowAccount objectClass. After adding the account into the ldap server, i used 'getent shadow' and could see the following

jovi:$1$KSGJUGNC$BrExS9H3eXevcL41QufRV/:14902:2:4:1:::

After seeing jovi has been added to the shadow database, i thought that everything had gone smoothly, and begun changing the the account's password over and over again. The strange thing is that I've configured shadowMin=2, so it should not allow me to change the password consequtively until after 2 days.
Any idea why this is happening? Is there any problem with the shadowAccount objectclass?

Account information
dn: uid=jovi,ou=users,dc=example,dc=com
uid: jovi
cn: jovi
objectclass: account
objectclass: posixAccount
objectclass: top
objectClass: shadowAccount
loginshell: /bin/bash
uidnumber: 503
gidnumber: 200
homedirectory: /home/tech
userpassword: {SSHA}cGvb1JQ2gYXFfpngE9dCTOW2FbN80PF2
shadowLastChange: 14901
shadowMin: 2
shadowMax: 4
shadowWarning: 1
shadowInactive: -1






I really appreciate any kind of help!
 
  


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
nss ldap mapping shadowAccount problem neia Linux - Enterprise 4 06-11-2010 10:29 AM
Authentication service cannot retrieve authentication info - for new user yosial Linux - Newbie 2 10-28-2008 11:30 PM
User authentication triley Linux - General 6 10-06-2004 03:02 PM
NT user authentication hzhuang Linux - Security 2 08-11-2003 06:39 AM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 03:40 AM

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

All times are GMT -5. The time now is 06:50 AM.

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