search for: ldap_opt_referr

Displaying 4 results from an estimated 4 matches for "ldap_opt_referr".

2020 Feb 27
2
samba AD directory and PHP
Am 27.02.20 um 11:32 schrieb L.P.H. van Belle via samba: > But your missing the important part. > > How ? > > Kerberos ? NTLM ? LDAP ? > > ;-) Ah ok Actually I want to use secure LDAP from a PHP docker container. So far no Kerberos involved as far as I see. (I have to dockerize a php app which is badly written ... and I want to clean up a bit, and let it bind
2014 Jan 23
0
php script to migrate other attributes after running classicupgrade
...(!$samba3Bind) {die('Cannot Bind to samba3 ldap');} // samba 4 init, bind with a password, non-ssl $samba4 = ldap_connect($samba4_server, $samba4_port) 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 lda...
2014 Mar 18
1
A record packet with illegal version was received.
...$ldap="samba.domain.com"; $usr="test at domain.com"; $pwd="s3cr3t"; $ds=ldap_connect($ldap); ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7); $ldapbind=false; if(ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)) if(ldap_set_option($ds, LDAP_OPT_REFERRALS, 0)) if(ldap_start_tls($ds)) $ldapbind = ldap_bind($ds, $usr, $pwd); if(!$ldapbind) { echo "ERROR: "; echo ldap_error($ds); echo " (".ldap_errno($ds).")"; } else echo "OK"; ldap_close...
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