Sponsored Content
Operating Systems Linux Red Hat I want to centralize user authentication Post 302929338 by bitlord on Friday 19th of December 2014 02:41:30 PM
Old 12-19-2014
Hi,
NIS is dead. I looked at a lot of different versions of ldap. They are more or less the same. I would try OpenLDAP or 389 Directory to learn the basics They both have a lot of good documentation.
Try this link for OpenLDAP
LDAP-based authentication for Samba

For videos, I would look at the Urban Penguin. He has a youtub channel and on a few of his videos, he shows you step by step how to set up LDAP.

I hope this helps
TheUrbanPenguin Linux Training
These 3 Users Gave Thanks to bitlord For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

User Authentication

Ok i need a little help... I have 20 Solaris 8 machines and I would like to have these machines do user authentication through one machine acting as server instead of having to maintain a user list on every machine. What can I do to achieve this? Thanks (3 Replies)
Discussion started by: meyersp
3 Replies

2. Shell Programming and Scripting

SFTP- Non-interactive user authentication

Hi All, sftp -b script.txt <hostname> user-authentication through non-interactive way is desired. But, its failing to do so. Could anyone kindly advise. Thanks for any/all help at the earliest. Regards, Dheeraj. (1 Reply)
Discussion started by: dheeruchakri
1 Replies

3. Forum Support Area for Unregistered Users & Account Problems

authentication of new user

I recently registered, but never received the email with the instructions for authenticating my account. I confirmed my email in in the profile looks correct. I found and clicked the link to resend the authentication email. I clicked that link two days ago and I still don't have the email. It... (1 Reply)
Discussion started by: dwallace
1 Replies

4. Solaris

Centralize multiple servers administration

Hello, this is my first post, i´m trying to get some help on this issue. I´m looking for a software product (maybe SUN or TIVOLI) that provide me help on doing administrative tasks involving solaris, aix , linux & HPUX machines. This tasks are user/password creation/modification, SSH rights,... (1 Reply)
Discussion started by: amedran
1 Replies

5. UNIX for Advanced & Expert Users

Centralize multiple servers administration

Hello, this is my first post, i´m trying to get some help on this issue. I´m looking for a software product (maybe SUN or TIVOLI) that provide me help on doing administrative tasks involving solaris, aix , linux & HPUX machines. This tasks are user/password creation/modification, SSH rights,... (2 Replies)
Discussion started by: amedran
2 Replies

6. Red Hat

Centralize logins w/ openldap

This is my first time configuring it, can someone give me advice on how you would config the architecture? For example, I'm stuck on the fail back issue. If my openldap box goes down, how do my users log in. I've heard of the following two options. 1 - create local user accounts ... ok but... (3 Replies)
Discussion started by: sdotsen
3 Replies

7. AIX

AIX: How to check which authentication method we are using for a user?

In /etc/security/user, we can set which authentication method we use for each user. for example: test: admin = false rlogin = false SYSTEM = "NONE" I want to test whether SYSTEM=NONE (without ") is acceptable. How can I verify it? and How can we check which... (1 Reply)
Discussion started by: quanba
1 Replies

8. AIX

LDAP user authentication issue

Hello everyone, hoping you can provide some incite with a little problem I'm having.. I have the LDAP client configured and running on my AIX 5.3 server, which is authenticating against an eDirectory LDAP server. I can login via LDAP no problems on the AIX server with newly created users,... (4 Replies)
Discussion started by: j_aix
4 Replies

9. Programming

Questions about user authentication in my application

Hi, all, I am a newbie to linux authentication part. Questions below really puzzle me: How to authenticate users from local storage(passwd shadow) and nis server? (Without PAM) getpwnam_r() will return a '*' in the pw_passwd field of "struct passwd". I can parse /etc/shadow. But how... (1 Reply)
Discussion started by: mythmgn
1 Replies

10. Shell Programming and Scripting

Perl LWP user authentication

Hello all.. i am new to perl scripting.. i wanted to parse a text file, encode the parsed text and attach in url.. please point me to right resources if you know any..This is my major problem. Now i try to get a url running and save it in a text file using LWP module in perl, I used following... (0 Replies)
Discussion started by: empyrean
0 Replies
pam_authenticate(3)					     Library Functions Manual					       pam_authenticate(3)

NAME
pam_authenticate - perform authentication within the PAM framework SYNOPSIS
[ flag ... ] file ... [ library ... ] DESCRIPTION
is called to authenticate the current user. The user is usually required to enter a password or similar authentication token depending upon the authentication service configured within the system. In the case of smart card authentication this token would be a (Personal Identification Number). The user in question should have been specified by a prior call to or The following flags may be set in the flags field: Authentication service should not generate any messages The authentication service should return if the user has a null authentication token APPLICATION USAGE
Refer to pam(3) for information on thread-safety of PAM interfaces. NOTES
In the case of authentication failures due to an incorrect username or password, it is the responsibility of the application to retry and to maintain the retry count. An authentication service module may implement an internal retry count and return an error if the module does not want the application to retry. If the PAM framework can not load the authentication module, then it will return This indicates a serious failure and that the application should not attempt to retry the authentication. For security reasons, the location of authentication failures is hidden from the user. Thus, if several authentication services are stacked and a single service fails, requires that the user re-authenticate to all the services. A null authentication token in the authentication database will result in successful authentication unless was specified. In such cases, there will not be any prompting for the user to enter an authentication token. The authentication can be done through a smart card. In this case the user plugs their smart card in the smart card reader and is required to enter their smart card PIN. RETURN VALUES
Upon successful completion, is returned. In addition to the error return values described in pam(3), the following values may be returned: Authentication failure. Can not access authentication data due to insufficient credentials. Underlying authentication service can not retrieve authentication information. User not known to the underlying authentication module. An authentication service has maintained a retry count which has been reached. No further retries should be attempted. SEE ALSO
pam(3), pam_start(3), pam_open_session(3), pam_setcred(3). pam_authenticate(3)
All times are GMT -4. The time now is 11:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy