allowing users to change their own passwords (solaris 10)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yea, I checked that, it was already set correctly:

-bash-3.00# ls -l /var/ldap/*.db
-rw-r--r--   1 root     root       65536 Feb 22 09:45 /var/ldap/cert8.db
-rw-r--r--   1 root     root       32768 Feb 22 09:45 /var/ldap/key3.db
-rw-r--r--   1 root     root       32768 Feb 22 09:38 /var/ldap/secmod.db
-bash-3.00# ls -ld /var/ldap/
drwxr-xr-x   3 root     sys          512 Feb 22 09:49 /var/ldap/

and ldapsearch -Z works fine, as non-root.

The strange thing is that in the pam debug log, I see this:

Feb 24 08:52:03 unknown passwd[1227]: [ID 293258 user.warning] libsldap: Status: 91  Mesg:
openConnection: failed to initialize TLS security (An I/O error occurred during security
authorization.)
Feb 24 08:52:03 unknown passwd[1227]: [ID 292100 user.warning] libsldap: could not remove
ldap-serv from servers list
Feb 24 08:52:03 unknown passwd[1227]: [ID 293258 user.warning] libsldap: Status: 7  Mesg: Session
error no available conn.
Feb 24 08:52:03 unknown passwd[1227]: [ID 993883 user.debug] passwd_auth: __user_to_authenticate
returned 13
Feb 24 08:52:03 unknown passwd[1227]: [ID 238438 auth.debug] PAM[1227]: pam_authenticate(29748,
0): error No account present for user
Feb 24 08:52:03 unknown passwd[1227]: [ID 285619 auth.debug] ldap pam_sm_authenticate(passwd
test), flags = 0 
Feb 24 08:52:03 unknown passwd[1227]: [ID 647000 auth.debug] ldap pam_sm_authenticate(passwd
test), AUTHTOK not set
Feb 24 08:52:03 unknown passwd[1227]: [ID 238438 auth.debug] PAM[1227]: pam_authenticate(29748,
0): error Authentication failed

Several things stand out.  

1st, the TLS business.  If root works, why wouldn't non-root users work also??
2nd, what does it mean "error No account present for user"??  is it trying to change local
password?  Even though I explicitly say passwd -r ldap ?
3rd, why is it trying to remove my fds server from some list and what is that list?

I'm thinking that before letting me change my password, it's trying to make me enter my current
password and bombs immediately: 

passwd_auth: __user_to_authenticate returned 13

So...  I'm kind of stuck here...

Thank you, guys.


--- George Holbert <gholbert at broadcom.com> wrote:

> Ah yes,
> 
> Check permission on /var/ldap/cert7.db and /var/ldap/key3.db.
> 
> They should be mode 644.
> 
> Pete Rowley wrote:
> > Susan wrote:
> >
> >> Why would it fail to initialize TLS security?  root works fine...  Is 
> >> there an env var I'm
> >> missing?
> >>
> >>  
> >>
> > Permissions for local files?  Try getting a TLS ldapsearch to work first.
> >
> > ------------------------------------------------------------------------
> >
> > --
> > Fedora-directory-users mailing list
> > Fedora-directory-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >   
> 
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux