search for: ldap_set_opt

Displaying 17 results from an estimated 17 matches for "ldap_set_opt".

Did you mean: pmap_set_opt
2013 Apr 09
3
Problem building powerdns from EPEL
...ar --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/pdns --libdir=/usr/lib64/pdns --disable-static --with-modules= --with-lua '--with-dynmodules= gmysql gpgsql pipe geo ldap gsqlite3' --enable-cryptopp ... checking for ldap_set_option in -lldap_r... no checking for ldap_set_option in -lldap... no configure: error: ldap library (libldap) not found However, libldap exists at the required place (/usr/lib64): $ ls -la /usr/lib64/ | grep ldap drwxr-xr-x. 4 root root 4096 Mar 11 16:06 evolution-openldap lrwxrwxrwx....
2014 Jan 19
1
sudo (+ldap+kerberos) not accepting password
...in,dc=com binddn (anonymous) bindpw (anonymous) bind_timelimit 120000 timelimit 120 ssl start_tls tls_cacertdir /etc/openldap/cacerts =================== sudo: ldap_initialize(ld, ldap://idir1.internal.domain.com/ ldap://idir2.internal.domain.com/) sudo: ldap_set_option: debug -> 0 sudo: ldap_set_option: ldap_version -> 3 sudo: ldap_set_option: tls_cacertdir -> /etc/openldap/cacerts sudo: ldap_set_option: timelimit -> 120 sudo: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT, 120) sudo: ldap_start_tls_s() ok sudo: ldap_sasl_bind_s() ok sudo: found:cn=defa...
2010 Jan 21
0
Samba/Winbind 3.4.4 on AIX 5.3 TL 10 does not retrieve ANY User's Secondary Groups
...<bind user> bindpw <bind user pwd> bind_timelimit 3000 timelimit 3 ssl yes tls_checkpeer (no) tls_cacertdir /etc/openldap/cacerts/ =================== sudo: ldap_initialize(ld, ldaps://pepsdc1.peps.local/ ldaps://pepsdc2.peps.local/) sudo: ldap_set_option: debug -> 0 sudo: ldap_set_option: ldap_version -> 3 sudo: ldap_set_option: tls_checkpeer -> 0 sudo: ldap_set_option: tls_cacertdir -> /etc/openldap/cacerts/ sudo: ldap_set_option: timelimit -> 3 sudo: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT, 3) sudo: ldap_set_option(LDAP_OPT_X_...
2018 Nov 13
2
Samba4 AD LDAP Debug
Hello, I try to add some Entries via PHP to samba 4 AD LDAP. The insert work only party, some values like telephonenumber, ipPhone and facsimileTelephoneNumber are not set. ldap_add always return success. Is there a way to see whats going on in ldap and whats wrong? I have try to set ldap_set_option($connect, LDAP_OPT_DEBUG_LEVEL, 7); in php, but it doesn't output more infos. Best Regards,
2014 Jan 23
0
php script to migrate other attributes after running classicupgrade
...#39;; $samba4_pass = 'very_secret'; $samba4_port = 389; $samba4_dn = 'CN=users,DC=smb,DC=domain'; $samba4_realm = 'SMB.DOMAIN'; // samba 3 init, accessed anonymously $samba3 = ldap_connect($samba3_server, $samba3_port) or die('Cannot Connect to $samba3_server'); ldap_set_option($samba3, LDAP_OPT_PROTOCOL_VERSION, 3); $samba3Bind = ldap_bind($samba3); if (!$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');...
2014 Mar 18
1
A record packet with illegal version was received.
...lib/tls/tls_tstream.c:1338 - A record packet with illegal version was received. Here's the php script that tries to connect to the samba 4: <?php $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 &quo...
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
2019 Apr 12
3
Sudo rules in samba with winbind
Hello All, I am currently changing my samba linux clients (Debian) from sssd binding to winbind. With sssd I had all sudo rules within the samba active directory. The configuration was based on: https://lists.samba.org/archive/samba/2016-April/199402.html Is there some guideline like the one mentioned available/has someone already experience with this for winbind based clients? Within the
2015 May 02
2
LDAPS Configuration
Hi, I'm trying to convert my LDAP server into a LDAPS server to secure the users logins, but I don't know what's the procedure to do it. Someone knows any guide to do it? For now: - I've created a CA cert on the server - I've created the cert and key for the domain pdc - I've signed that cert with CA cert. - I've followed the post in samba wiki about
2005 Aug 19
0
Is anyone successfully using Solaris 8/Samba 3.0.x w/ads and OpenLDAP > 2.1.22?
Has anyone had success getting OpenLDAP > 2.1.22 to work with Samba and ADS. I can get 2.1.22 to work with Samba 3.0.x. If I try a newer version, it barfs when it calls ldap_set_option in function ads_do_search. I've tried with 3.0.14a and 3.0.20pre2. They changed how OpenLDAP interacts with Kerberos after 2.1.23. I did exchange some emails with the OpenLDAP developers. It wasn't much help -- they said that Kerberos access should go through Cyrus SASL. I have loo...
2006 Jan 06
1
net ads join Core Dumps.
Hi, I have just installed Mandrake linux x84_64 (64 bit version) on my new dell poweredge server (1850 SMP) I am getting core dumps when trying to join the 2003 AD domain. ie. I run net ads join administrator@MY.DOMAIN running kinit worked ok. I am running samba version 3.0.20 samba-client-3.0.20-3mdk samba-server-3.0.20-3mdk samba-common-3.0.20-3mdk samba-winbind-3.0.20-3mdk Anyone help.
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
2015 Jun 16
0
LDAPS Configuration
...:636 0.0.0.0:* LISTEN and i don't see any error in the log, but i can't use the TLS connection in applications like for example Horde. RSAT LDP works fine without TLS too, but with TLS give me an error trying to connect: ld = ldap_sslinit("pdc.nd.red", 636, 1); Error 81 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3); Error 81 = ldap_connect(hLdap, NULL); Server error: <empty> Error <0x51>: Fail to connect to pdc.nd.red. and the openSSL test command of the wiki works too from another server: openssl s_client -showcerts -connect pdc.nd.red:636 CONNECTED(00000...
2011 Apr 01
0
Wine release 1.3.17
...n connecting to the programmer using COM port 26232 Dragon Age 2 demo crashes with builtin msvcr90 26281 regedit: Doesn't export decent newline in Unicode (NT5) Format. 26288 Cain and Abel: No permission to open .tmp file 26440 unimplemented function WS2_32.dll.GetNameInfoW 26456 ldap_set_option with LDAP_OPT_OFF does not work 26471 Free FLV Converter: Fails to start 26483 WavePad: Unimplemented function traffic.dll.TcDeregisterClient 26493 iMesh: Fails to install 26494 Office 2007 installer terminates on start 26497 Lost Saga downloader fails because IsValidURL doesn'...
2016 Jan 05
6
Stymied with samba vs openldap SSL ("Failed to issue the StartTLS instruction...")
I know this is something which should have a simple fix but I'm failing to see it somehow. I'm moving samba service between a couple of FreeBSD systems (9.3 to 10.2), and I'm stuck on getting samba on the new machine to connect to our openldap server over ssl - frustrating since I've been running samba+ldap for 15 years or so; feel sure I'm missing something basic!
2007 Jun 05
2
pam_ldap-184 compile error
...yes checking for main in -llber... yes checking for main in -lldap... yes checking for ldap_init... yes checking for ldap_get_lderrno... no checking for ldap_set_lderrno... no checking for ldap_parse_result... yes checking for ldap_memfree... yes checking for ldap_controls_free... yes checking for ldap_set_option... yes checking for ldap_get_option... yes checking for ldapssl_init... no checking for ldap_start_tls_s... yes checking for ldap_pvt_tls_set_option... yes checking for ldap_initialize... yes checking for ldap_sasl_bind... yes checking for ldap_sasl_interactive_bind_s... yes checking for gethost...
2020 Apr 10
0
Wine release 5.6
...sldp: Map 1.2.840.113556.1.4.907 to ADSTYPE_NT_SECURITY_DESCRIPTOR. wldap32/tests: Test setting a not supported server control. wldap32: Actually use private LDAP structure for internal storage. wldap32: Locally cache "supportedControl" rootDSE attribute, and check it in ldap_set_option(LDAP_OPT_SERVER_CONTROLS). adsldp: Fix a typo in IDirectorySearch::GetNextRow(). wldap32: Fix server controls lookup logic. adsldp: Always fully initialize returned column values. adsldp: Recognize ADS_SEARCHPREF_PAGESIZE in IDirectorySearch::SetSearchPreference()....