Displaying 20 results from an estimated 20000 matches similar to: "Net::ldap no bind result"
2008 Feb 29
0
Net::LDAP
Hi All,
I am new to Ruby and doing some automation testing.
I am using Net::LDAP to connect to my ldap server
My script is
require ''rubygems''
require ''net/ldap''
ldap = Net::LDAP.new :host => ''10.44.169.24'',
:port => 389,
:auth => {
:method => :simple,
:username =>
2024 Apr 15
1
Status of LDAPS port 636 with Winbind idmap backend ad in 2024?
Dear Samba community,
We run two Samba server in a CTDB cluster in a small group withing a bigger company.
We use Winbind to authenicate and authorize against a company-wide active directory
(using `security = ads` and `idmap config OURDOMAIN : backend = ad`, resp., among others).
So, if I understand this correctly authentication is done via Kerberos and authorization via LDAP.
Unfortunately (but
2017 Mar 09
2
NT_STATUS_LOGON_FAILURE when trying to bind LDAP
Hello,
I have a samba 4 active directory, i have some application who use the
Administrator user to bind the LDAP.
No problems with the Administrator user but i'd like to create an application
specific user to bind the LDAP.
Unfortunately when i try to do a simple ldapsearch with the new user (the user
is in domain admins/administrators & schema admins) it throw me a
2018 Sep 06
0
Authenticating against Samba 4 AD LDAP service
Kris Lou via samba писал 2018-09-06 02:12:
> Also:
>
> -H ldap://10.100.0.4
>
> should probably be ldaps://URI
>
> You can potentially this in smb.conf, but that is definitely not
> recommended.
>
> https://wiki.samba.org/index.php/Configuring_LDAP_over_SSL_(LDAPS)_on_a_Samba_AD_DC
That's the strange part. I have set up using TLS certificate (Lets
Encrypt)
2006 May 08
1
checking trust secret failed for interdomain trust
Hi samba members,
I've searched through google, the archives and RTFM but I can't figure this out.
I've got a setup of two different offices with both their own samba PDC, wins, etc. Via OpenVPN i've set up an interdomain trust between the two domains (for now one way, but this will become two ways).
One domain is called PSW with bluemoon as PDC, the other PSWINDWG with redmoon as
2010 Feb 22
2
LDAP Server Access Problem
Hi All,
I am at my wits end. I have a LDAP server setup on a machine (the names
are changed to protect the innocent) example.mydomain.com running CentOS
5.4 and LDAP version 2.3.43-3. If I issue a ldapsearch command while
logged onto the LDAP server host I get a valid response back. For
example:
> ldapsearch -x -LLL -H ldaps://example.mydomain.com:636 "(uid=joker)" \
> sn uid
dn:
2017 Feb 03
1
LDAP problem
Hello Vinicius,
I did it and this was the answer:
ldapsearch -H "ldaps://devsamba.lucas.ufes.br:636" -w '*********' -D "cn=administrator,cn=users,dc=lucas,dc=ufes,dc=br" -x -b "dc=lucas,dc=ufes,dc=br" -d1
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636)
ldap_create
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636/??base)
ldap_sasl_bind
2006 Oct 09
1
SAMBA + LDAP + TLS
Hi there guys, do not know if post this here or in openldap list, sorry if I
disturb you.
I configured samba+ldap as a PDC and byt now it's working fine, so, I
decided to put some security to the stuff.
The problem is that I coudl not make it work, here I what I've done.
This is what netstat shows.
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:636 0.0.0.0:* LISTEN
tcp 0 0
2010 Oct 06
2
LDAP authentication on a remote server (via ldaps://) [SOLVED]
> Here are the changes I'd review:
>
> ?1. After installing the CA cert, did you create a hash link? E.g.,
>
> ? ? /usr/sbin/cacertdir_rehash /etc/openldap/cacerts
>
> ?2. Make sure you know the difference between /etc/ldap.conf and
> ? ? /etc/openldap/ldap.conf. The former is used by nss_ldap, the
> ? ? latter by openldap clients.
>
> ?3. Does /etc/ldap.conf
2024 Feb 03
2
Slow ldap membership query in large active directory
Hey there,
we've been using Samba AD DC successfully for about 4 years in our
school with about 1000 people. 4 years ago we decided to create a group
for each class + subject combination, so we have about 1400 groups with
~30 members each (some are much bigger up to 800 people and others have
only a few members). One of our systems, which uses LDAP, needs to
retrieve the gidNumber of all
2014 Apr 30
2
Changing active directory user password via LDAP
Hello, lists.
I'm struggling to find out, how one can change password of an active
directory (based on samba4) user via LDAP.
The problem is that if I try to use userPassword parameter:
dn: CN=John Smith,cn=Users,DC=domain,DC=com
changetype: modify
replace: userPassword
userPassword: newPassword
ldapmodify -v -c -a -f filename.ldif -H ldaps://server.domain.com -D\
administrator at
2017 Feb 13
1
LDAP problem
Hello Rowland,
You shouldn't use 'ldaps' and ':636', in fact you shouldn't use ':636'
at all.
OK, mini-howto coming up ;-)
The DC is dc1.samdom.example.com
The AD domain DN is dc=samdom,dc=example,dc=com
There is this line in the DC smb.conf: tls certfile = tls/cert.pem
The reverse dns zone has been created and operational
The client is
2010 Oct 23
0
How to install and update a src rpm?
Hello,
is there please a way to install and later update a src rpm -
instead of locating and downloading that package manually?
I've run: "yum install rpm-build mock yum-utils" successfully.
But when I try to run "yumdownloader --source httpd",
I get the error listed at the bottom of my mail.
Do I maybe need to add a file to /etc/yum.repos.d/ ?
I'd like to have
2005 Aug 07
1
Question about SSL/TLS for ldap and samba
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I read in samba-howto-collection :
"To remedy the first security issue, the ldap ssl |smb.conf| parameter
defaults to require an encrypted session (ldap ssl = on) using the
default port of |636| when contacting the directory server. When using
an OpenLDAP server, it is possible to use the StartTLS LDAP extended
operation in the place of
2003 Jul 23
1
bind failure: can't contact ldap server
Hi list,
I have installed samba 2.2.8 on my linux rh 9. with Openldap rmps. I am
trying to setup a PDC server using Samba with ldap as the backend. The samba
server can not connect to the ldap server. I am getting the following error
when I run any smb commands:
LDAPS option set...!
ldap_connect_system: Binding to ldap server as ""
Bind failed: Can't contact ldap server
I
2012 Jul 27
0
[PATCH 3/3] nouveau: add vblank methods on newer cards
Allow the software channel to be created now, since methods
for vblanking have been implemented.
The instmem flush seems to be needed on fermi to prevent a
race, but I enabled it on earlier cards too since they seem
to be susceptible to the same race.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
---
drivers/gpu/drm/nouveau/nouveau_abi16.c | 9 ----
2004 Dec 30
3
PDC + LDAP group mappings
Alright now that samba can talk to LDAP I have a blank slate. I know I
need to setup group mappings, but I'm a little confused about this.
Since it's an ldap backend do the groups need to have unix counterparts?
Should I use the net groupmap command to add the mappings or should I
use an LDIF file?
David Sonenberg
Systems / Network Administrator
Stroz Friedberg, LLC
15 Maiden Lane, Suite
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
From: Hubertus Franke <frankeh@watson.ibm.com>
From: Himanshu Raj <rhim@cc.gatech.edu>
[patch 9/9] Guest page hinting: full s390 support.
s390 uses the milli-coded ESSA instruction to set the page state. The
page state is formed by four guest page states called block usage states
and three host page states called block content
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
From: Hubertus Franke <frankeh@watson.ibm.com>
From: Himanshu Raj <rhim@cc.gatech.edu>
[patch 9/9] Guest page hinting: full s390 support.
s390 uses the milli-coded ESSA instruction to set the page state. The
page state is formed by four guest page states called block usage states
and three host page states called block content
2007 Mar 15
1
Samba Authentication Using Novell eDirectory via LDAP
Hello,
We have a RHEL 4 Update 4 server that was configured to store its
Samba passwords in eDirectory via LDAP. This was accomplished by
adding the following three lines to the [Global] section of smb.conf:
ldap admin dn = cn=admin,o=budget
ldap suffix = o=budget
passdb backend = ldapsam:ldaps://SERVER_NAME:636
After adding the lines and saving the file the admin password is
stored using