Sponsored Content
Full Discussion: Openldap 2.4.31 replication
Operating Systems Linux Red Hat Openldap 2.4.31 replication Post 302876455 by jlliagre on Sunday 24th of November 2013 06:06:28 PM
Old 11-24-2013
rootpw cannot contain an encrypted password but a password hash. While a hash allows to check an incoming connection credentials, it cannot be used as a password to connect to a remote directory server instance.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

dns replication

my primary dns server is not replicating to secondary. i dont know why. i am running solaris 2.6 on both servers. what should i do?:confused: (2 Replies)
Discussion started by: lealyz
2 Replies

2. UNIX for Dummies Questions & Answers

BIND DNS replication

I have a RedHat 7.1 box that we use for DNS in our System Engineering lab. We have a Windows 2000 box that handles DNS in our main office. The Microsoft Admin and I have been given the task of making both of our domains accessible to each other. I had originally made his domain my forwarder, so... (5 Replies)
Discussion started by: Jody
5 Replies

3. HP-UX

HP Unix replication solution

Hi, I looking to setup HP Unix to HP Unix replication as plan of business continuity. The setup can be active passive or active active. Anyone can give me some idea what solution able to perform that? Thanks (3 Replies)
Discussion started by: ufo_999
3 Replies

4. UNIX and Linux Applications

Need Oracle Replication steps.

Hi All, Can anybody tell that Where is to find simple and easy steps of ORACLE replication process? Any help on this highly appreciated. http://www.unix.com/images/misc/progress.gif Thanks. (1 Reply)
Discussion started by: amit_27
1 Replies

5. SCO

Replication using NFS.

Hi all, I am going to implement a script which will use NFS to replicate data between two SCO unix servers. It will take files with mtime -1 and copy the data periodically .In this regard my questions are : Is this approach good and reliable enough with respect... (2 Replies)
Discussion started by: dextergenious
2 Replies

6. Linux

Mysql replication

Need to recover a replication broken error on the mysql slave server. I want to force it to resend the binlog file from the begining. What is the correct value for the: MASTER_LOG_POS ? 0, 1 or 107 ? (2 Replies)
Discussion started by: andriesh
2 Replies
PASSWORD_NEEDS_REHASH(3)						 1						  PASSWORD_NEEDS_REHASH(3)

password_needs_rehash - Checks if the given hash matches the given options

SYNOPSIS
boolean password_needs_rehash (string $hash, integer $algo, [array $options]) DESCRIPTION
This function checks to see if the supplied hash implements the algorithm and options provided. If not, it is assumed that the hash needs to be rehashed. PARAMETERS
o $hash - A hash created by password_hash(3). o $algo - A password algorithm constant denoting the algorithm to use when hashing the password. o $options - An associative array containing options. See the password algorithm constants for documentation on the supported options for each algorithm. EXAMPLES
Example #1 Usage of password_needs_rehash(3) <?php $password = 'rasmuslerdorf'; $hash = '$2y$10$YCFsG6elYca568hBi2pZ0.3LDL5wjgxct1N8w/oLR/jfHsiQwCqTS'; // The cost parameter can change over time as hardware improves $options = array('cost' => 11); // Verify stored hash against plain-text password if (password_verify($password, $hash)) { // Check if a newer hashing algorithm is available // or the cost has changed if (password_needs_rehash($hash, PASSWORD_DEFAULT, $options)) { // If so, create a new hash, and replace the old one $newHash = password_hash($password, PASSWORD_DEFAULT, $options); } // Log user in } ?> RETURN VALUES
Returns TRUE if the hash should be rehashed to match the given $algo and $options, or FALSE otherwise. PHP Documentation Group PASSWORD_NEEDS_REHASH(3)
All times are GMT -4. The time now is 02:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy