Displaying 17 results from an estimated 17 matches for "ldap_err2string".
2004 Oct 13
1
samba 3.0.7 and OpenLDAP
..._get_next: tag 0x30 len 48 contents:
ber_get_next
ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <cn=Manager,dc=my-domain,dc=com>
=> ldap_bv2dn(cn=Manager,dc=my-domain,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Manager,dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Manager,dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=manager,dc=my-domain,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Manager,dc...
2003 Jan 09
1
Re: samba (2.2.7a) + openldap (2.0.x)
..._t msgid,
+ void *arg)
+{
+ int rc;
+ if ( ( rc = ldap_simple_bind_s( ld, lp_ldap_admin_dn(), ldap_secret ) ) == LDAP_SUCCESS )
+ {
+ DEBUG( 2, ( "Rebind successful\n" ) );
+ }
+ else {
+ DEBUG( 0, ( "Rebind failed: %s\n", ldap_err2string( rc ) ) );
+ }
+ return rc;
+}
+#else
+static int auth_rebind_proc ( LDAP * ld,
+ char **whop,
+ char **credp,
+ int *methodp,
+ int freeit,
+ void...
2017 Feb 03
1
LDAP problem
...est
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP devsamba.lucas.ufes.br:636
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 172.20.152.23:636
ldap_pvt_connect: fd: 3 tm: -1 async: 0
attempting to connect:
connect errno: 111
ldap_close_socket: 3
ldap_err2string
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
Can you extract any reason with that?
add -d1 to your command, see what ldapsearch complains about.
Em 03/02/2017 10:14, Lukz Ferris via samba escreveu:
> Hello everyone,
>
>
> I'm using Samba4 in my CentOS server, a...
2013 Dec 17
1
ldapsearch w. SSL refuses to connect to server with openssl 1.0.1 (worked with openssl 1.0.0)
...;' flags=readOnly
TLS: cannot open certdb '/etc/openldap/cacerts', error -8018:Unknown
PKCS #11 error.
TLS: error: connect - force handshake failure: errno 0 - moznss error -12226
TLS: can't connect: TLS error -12226:SSL peer rejected a handshake
message for unacceptable content..
ldap_err2string
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
[bad]#
while on a system with slightly older OpenSSL package
(openssl-1.0.0-27.el6_4.2.x86_64, same openldap-clients package
version), I get the following error:
[good]# ldapsearch -H "ldaps://ldap.domain.org:6636/" -D <bi...
2017 Dec 05
2
samba net ads join windows active directory with ldap ssl
Hi,
On checking it further.
I observe below message from net ads command.
LDAP] TLS: hostname (*X.X.X.X*) does not match common name in certificate (
win.cifs.com).
[LDAP] ldap_err2string
Failed to issue the StartTLS instruction: Connect error
I am able to fetch data successfully from ldapsearch command.
It seems samba is connecting to ldap with IP but in client certificate
domain name is mentioned.
Please suggest how should i modify my smb.conf.
Arjit Kumar
9650104435
On Tue,...
2015 Oct 15
2
ldapsearch against Samba4 AD questions
...unt 1 (abandoned 0)
** ld 0x7efef3b29b00 Response Queue:
Empty
ld 0x7efef3b29b00 response count 0
ldap_chkResponseList ld 0x7efef3b29b00 msgid 1 all 1
ldap_chkResponseList returns ld 0x7efef3b29b00 NULL
ldap_int_select
read1msg: ld 0x7efef3b29b00 msgid 1 all 1
ber_get_next
ber_get_next failed.
ldap_err2string
ldap_result: Can't contact LDAP server (-1)
ldap_free_request (origid 1, msgid 1)
ldap_free_connection 1 1
ldap_free_connection: actually freed
----------------------------------------
This leads me to the first question: any idea what I'm missing to be able
to use ldaps?
Then what I'...
2004 Jan 22
2
RPC: Problem Deleting LDAP-Entries in pdb_ldap.c
...char *ld_error = NULL;
ldap_get_option(ldap_state->ldap_struct,
LDAP_OPT_ERROR_STRING,
&ld_error);
DEBUG(0, ("could not delete attributes for %s, error:
%s (%s)\n",
dn, ldap_err2string(rc),
ld_error?ld_error:"unknown"));
SAFE_FREE(ld_error);
ldap_memfree(dn);
return NT_STATUS_UNSUCCESSFUL;
}
---------------------------------------------------------------------------
could you give me a hint please?
thx
mich...
2017 Dec 07
0
samba net ads join windows active directory with ldap ssl
...On Tue, Dec 5, 2017 at 12:18 PM, Arjit Gupta <arjitk.gupta at gmail.com> wrote:
> Hi,
>
> On checking it further.
> I observe below message from net ads command.
>
> LDAP] TLS: hostname (*X.X.X.X*) does not match common name in certificate
> (win.cifs.com).
> [LDAP] ldap_err2string
> Failed to issue the StartTLS instruction: Connect error
>
> I am able to fetch data successfully from ldapsearch command.
>
> It seems samba is connecting to ldap with IP but in client certificate
> domain name is mentioned.
> Please suggest how should i modify my smb.conf.
&...
2013 Jan 13
4
Installing Dovecot on Gentoo
...d bss_file.c:398
Jan 13 15:23:11 mx0 dovecot: auth: Error: TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:400
Jan 13 15:23:11 mx0 dovecot: auth: Error: TLS: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ssl_rsa.c:648
Jan 13 15:23:11 mx0 dovecot: auth: Error: ldap_err2string
Jan 13 15:23:11 mx0 dovecot: auth: Error: LDAP: ldap_start_tls_s() failed: Connect error
Jan 13 15:23:11 mx0 dovecot: auth: Error: ldap_extended_operation_s
Jan 13 15:23:11 mx0 dovecot: auth: Error: ldap_extended_operation
Jan 13 15:23:11 mx0 dovecot: auth: Error: ldap_send_initial_request
Jan 13 1...
2017 Dec 11
0
samba net ads join windows/ubuntu active directory with ldap ssl
...Gupta <arjitk.gupta at gmail.com>
> wrote:
>
>> Hi,
>>
>> On checking it further.
>> I observe below message from net ads command.
>>
>> LDAP] TLS: hostname (*X.X.X.X*) does not match common name in
>> certificate (win.cifs.com).
>> [LDAP] ldap_err2string
>> Failed to issue the StartTLS instruction: Connect error
>>
>> I am able to fetch data successfully from ldapsearch command.
>>
>> It seems samba is connecting to ldap with IP but in client certificate
>> domain name is mentioned.
>> Please suggest how sh...
2008 Jul 02
4
samba + slave OpenLdap (read-only)
Hello,
I'm trying to config samba to use a openldap replica (slave) base.
Every thing is working, except when I try to join a machine to a domain.
Samba try to write some attributes in openldap, but this database (slave) is
read-only, so this operation fails.
Openldap can return a REFERRAL when a client (samba) try to do a
modification on a slave database and this already is happening.
2015 Oct 15
0
ldapsearch against Samba4 AD questions
...onse Queue:
> Empty
> ld 0x7efef3b29b00 response count 0
> ldap_chkResponseList ld 0x7efef3b29b00 msgid 1 all 1
> ldap_chkResponseList returns ld 0x7efef3b29b00 NULL
> ldap_int_select
> read1msg: ld 0x7efef3b29b00 msgid 1 all 1
> ber_get_next
> ber_get_next failed.
> ldap_err2string
> ldap_result: Can't contact LDAP server (-1)
> ldap_free_request (origid 1, msgid 1)
> ldap_free_connection 1 1
> ldap_free_connection: actually freed
> ----------------------------------------
>
> This leads me to the first question: any idea what I'm missing to be ab...
2017 Dec 04
2
samba net ads join windows active directory with ldap ssl
Hi,
I have enabled ldap ssl on Windows 2008 server active directory and want to
join ads domain with net ads join command.
I am getting below error:-
net ads join -U Administrator
ldap_url_parse_ext(ldap://localhost/)
ldap_init: trying /etc/ldap/ldap.conf
ldap_init: using /etc/ldap/ldap.conf
ldap_init: HOME env is /root
ldap_init: trying /root/ldaprc
ldap_init: trying /root/.ldaprc
ldap_init:
2015 Oct 15
2
ldapsearch against Samba4 AD questions
...t; ld 0x7efef3b29b00 response count 0
>> ldap_chkResponseList ld 0x7efef3b29b00 msgid 1 all 1
>> ldap_chkResponseList returns ld 0x7efef3b29b00 NULL
>> ldap_int_select
>> read1msg: ld 0x7efef3b29b00 msgid 1 all 1
>> ber_get_next
>> ber_get_next failed.
>> ldap_err2string
>> ldap_result: Can't contact LDAP server (-1)
>> ldap_free_request (origid 1, msgid 1)
>> ldap_free_connection 1 1
>> ldap_free_connection: actually freed
>> ----------------------------------------
>>
>> This leads me to the first question: any idea w...
2013 Dec 06
1
Authentification Dovecot + Samba4
...srv1 dovecot: auth: Error: ldap_free_request (origid 33, msgid 35)
srv1 dovecot: auth: Error: ldap_free_connection 0 1
srv1 dovecot: auth: Error: ldap_send_unbind
srv1 dovecot: auth: Error: ldap_free_connection: actually freed
srv1 dovecot: auth: Error: ldap_parse_result
srv1 dovecot: auth: Error: ldap_err2string
srv1 dovecot: auth: Error: ldap(john): ldap_search(base=DC=DOMAIN,DC=LOCAL filter=(&(&(objectClass=Person)(sAMAccountName=john)))) failed: Operations error
srv1 dovecot: auth: Error: ldap_msgfree
srv1 dovecot: auth: Error: ldap_result ld 0x7fef48794580 msgid -1
srv1 dovecot: auth: Error: wa...
2004 Feb 24
1
(no subject)
..._free_connection: refcnt
1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x080a4c98
ptr=0x080a4c9b end=0x080a4ca4 len=9
0000: 61 07 0a 01 31 04 00 04 00
a...1....
ber_scanf fmt (}) ber:
ber_dump:
buf=0x080a4c98 ptr=0x080a4ca4 end=0x080a4ca4
len=0
ldap_msgfree
ldap_err2string
Error: ldap_simple_bind_s for
192.168.4.2:389 failed: Invalid
credentials
ldap_unbind
ldap_free_connection
ldap_send_unbind
ber_flush:
7 bytes to sd 8
0000: 30 05 02 01 02 42 00
0....B.
ldap_write: want=7, written=7
0000: 30 05 02 01 02 42 00...
2005 Dec 06
4
BIG Samba howto for debian only.
Hi everybody,
I made a pretty complete howto for samba on debian servers.
This howto covers samba + ldap + cups + recycle bin + samba-vscan
+ phpldapadmin + ACL + Extended Attributes.
this howto is also based on the idealx howto
If you do this setup, you should be able to use the NT4 Usermanager,
setup Point en Print Printing. set rights from explorer etc.
other nice tools is ldapadmin (