Displaying 2 results from an estimated 2 matches for "s3_search_result".
2014 Jan 23
0
php script to migrate other attributes after running classicupgrade
...rt)
or die('Cannot Connect to $samba4_server');
ldap_set_option($samba4, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($samba4, LDAP_OPT_REFERRALS, 0);
$samba4Bind = ldap_bind($samba4, $samba4_user, $samba4_pass);
if (!$samba4Bind) {die('Cannot Bind to $samba4_server');}
$s3_search_result=ldap_search($samba3, $samba3_dn, $samba3_filter);
$s3_count = ldap_count_entries($samba3, $s3_search_result);
echo "Total number of ldap records found: $s3_count<br />";
$uid = ldap_first_entry($samba3, $s3_search_result);
//actual work is done below
while ($uid) {
$s3_uid =...
2019 Apr 04
5
Migration to samba4 ad and sync to openldap.
I managed to do migration using "classicupgrade".
Doing tests with debian buster 2:4.9.4+dfsg-4.
For the moment using samba internal dns and sub-domain of ad.advocap.org.
Had issue forwarding dns if I used main domain.
When it comes to real production will use bind that I understand better
but don't want to mess with my other dns servers now.
Had a w10 box join samba4 ad