Displaying 20 results from an estimated 8000 matches similar to: "Ldapsearch against Samba 4"
2016 Apr 19
2
Ldapsearch against Samba 4
Hi Andrew,
I don't understand why 2 systems running the exact same version of Samba
have different behaviour. Is this an option I can disable?
regards,
John
On 19/04/16 11:29, Andrew Bartlett wrote:
> On Tue, 2016-04-19 at 10:29 +1000, John Gardeniers wrote:
>> I'm setting up a test domain in order to try out Sudoers LDAP and
>> have
>> run into a problem that has
2016 Apr 19
0
Ldapsearch against Samba 4
On 19/04/16 01:29, John Gardeniers wrote:
> I'm setting up a test domain in order to try out Sudoers LDAP and have
> run into a problem that has my puzzled. On our production domain I can
> run a query such as:
>
> ldapsearch -LLL -p389 -h DC -u me at ourdomain.com.au -W -X -LLL -b
> "dc=ourdomain,dc=com,dc=au" -s sub
>
Try using ldbsearch instead:
2015 Oct 15
2
ldapsearch against Samba4 AD questions
Hi all,
I'd like to perform some ldapsearch against my AD domain.
And I'd like to be able to perform these ldapsearch using GSSAPI to avoid
usage of password in scripts.
DC are using default configuration file:
----------------------------------------
# Global parameters
[global]
workgroup = SAMBA.DOMAIN
realm = SAMBA.DOMAIN.TLD
netbios name = M707
server
2016 Apr 19
0
Ldapsearch against Samba 4
Hi,
testparm -v | grep 'ldap serve'
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[netlogon]"
Processing section "[sysvol]"
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC
Press enter to see a dump of your service definitions
ldap server require
2016 Apr 19
0
Ldapsearch against Samba 4
On Tue, 2016-04-19 at 10:29 +1000, John Gardeniers wrote:
> I'm setting up a test domain in order to try out Sudoers LDAP and
> have
> run into a problem that has my puzzled. On our production domain I
> can
> run a query such as:
>
> ldapsearch -LLL -p389 -h DC -u me at ourdomain.com.au -W -X -LLL -b
> "dc=ourdomain,dc=com,dc=au" -s sub
>
>
2017 Jan 11
4
SSL Certificate
Hello!
Taking advantage of the email, I tried to make an ldap query with tls
and I had an error ..
Version Samba 4.4.4
samba-tool testparm -v --suppress-prompt|grep tls
ldap ssl = start tls
tls cafile = tls/ca.pem
tls certfile = tls/cert.pem
tls crlfile =
tls dh params file =
tls enabled = Yes
tls keyfile = tls/key.pem
tls
2019 Apr 06
2
"00002020: Operation unavailable without authentication" using python-ldap
Hello,
I'm writing in regards to this issue I opened on GitHub:
https://github.com/python-ldap/python-ldap/issues/275
I am able to successfully use ldapsearch to query my Samba 4.9.4-Debian DC:
ldapsearch -LLL -Y GSSAPI -H ldap://samba-dc.ad.example.com -b
"dc=ad,dc=example,dc=com" "(objectClass=user)" "sAMAccountName"
However, when I try to use python-ldap I
2016 Jun 17
5
can't connect ldapsearch with samba 4
Hi,
I'm trying to migrate samba 3 NT domain to samba 4 AD, we have migrated
data and it seems correct, but now we need to connect with ldapsearch but
always receive errors like
ldap_bind: Strong(er) authentication required (8)
additional info: BindSimple: Transport encryption required.
command used is
/usr/bin/ldapsearch -H ldap://server -x -LLL -z 0 -D
2011 Apr 23
1
ldapsearch with samba4
Hi,
I've got ldapsearch mostly working:
root at morannon:/usr/local/samba/private/tls# ldapsearch
'(sAMAccountName=dumaresq)'
SASL/GSSAPI authentication started
SASL username: administrator at XXX
SASL SSF: 56
SASL data security layer installed.
# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: (sAMAccountName=dumaresq)
# requesting: ALL
#
results in
2016 Jun 20
1
can't connect ldapsearch with samba 4
Hi,
solved only making this changes :
in /etc/ldap/ldap.conf
add
TLS_CACERT /etc/ldap/ca.pem.crt
sample query with ldaps
# ldapsearch -H ldaps://server -x -LLL -z 0 -D
"CN=user,CN=Users,DC=domain,DC=com" -w "p" -b "CN=Users,DC=domain,DC=com"
Solved!
Thanks
2016-06-19 18:55 GMT+02:00 Trenta sis <trenta.sis at gmail.com>:
> Hi,
>
> First of all
2016 Jun 07
2
ldapsearch & GSSAPI => Server not found in Kerberos database
Hi all,
I've got on AD DC using Samba 4.4.3 on Centos7 which accept Kerberos
connections (kinit is working), which accept ldapsearch with credentials
but which refuse ldapsearch with GSSAPI.
The issue does not seem to be coming from the client as I discovered this
issue writing a script to test all 22 DC, and all 21 others DC are working
well from that client.
The error:
SASL/GSSAPI
2015 Jul 07
3
SASL DIGEST-MD5 NT_STATUS_INVALID_PARAMETER
I've googled and I believe that SASL method DIGEST-MD5 is supported and
I see it in the samba startup, but it doesn't work.
ldapsearch -Y DIGEST-MD5 -h dc03.mediture.dom
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Operations error (1)
additional info: SASL:[DIGEST-MD5]: Failed to start authentication backend: NT_STATUS_INVALID_PARAMETER
[root at dc03 ~]# samba
2014 Jul 02
1
sssd_sudo search results different from command line ldapsearch
Hi all! I'm attempting to configure sudo rights from Samba ldap. Alas,
libsssd_samba receives 0 rules and config doesn't work. I think I have
the problem identified here but I don't understand why. The way
sssd_sudo searches for sudoers leave all important attributes out and
of course filtering then fails. Can you help me to understand why
following search results are so different (and
2016 Jun 15
1
ldapsearch & GSSAPI => Server not found in Kerberos database
Solved : )
Reminder of the issue:
Every services (CIFS, Kerberos, LDAP, DNS, RPC) on one DC were working well
and ldapsearch using DN and password were also working.
The only thing which was not working was ldapsearch using GSSAPI
authentication with the following error:
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic
2015 Oct 15
0
ldapsearch against Samba4 AD questions
Things goes further. To use GSSAPI and so the Kerberos ticket obtained with
kinit I was missing "-Y GSSAPI".
It seems GSSAPI and TLS are meant to be used together:
----------------------------------------
ldapsearch -Y GSSAPI -LLL -H ldaps://SAMBA.DOMAIN.TLD
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Server is unwilling to perform (53)
additional info:
2015 Oct 15
2
ldapsearch against Samba4 AD questions
ERRATUM:
It seems GSSAPI and TLS are *NOT* meant to be used together:
2015-10-15 16:20 GMT+02:00 mathias dufresne <infractory at gmail.com>:
> Things goes further. To use GSSAPI and so the Kerberos ticket obtained
> with kinit I was missing "-Y GSSAPI".
>
> It seems GSSAPI and TLS are meant to be used together:
> ----------------------------------------
>
2016 Apr 20
9
Samba 4 sudoers
Has anyone here managed to get sudo working with Samba 4 AD users, using
either ldap or sssd, with sssd preferred? If so, can you please point me
in the direction of whatever instructions you used? It seems like there
are a bunch of tutorials on the subject, each with different, and
sometimes conflicting, information but none of those I've tried work for me.
regards,
John
2017 Jan 11
2
SSL Certificate
I'm using a Samba4 ADDC and just noticed that the SSL that was created
at install time is about to expire. Is there something Samba specific to
create a new certificate, or should I manually create a new one using
openssl?
Thanks!
2015 Apr 17
3
LDAPS on DC
I'm trying to confirm that LDAP traffic is encrypted on my Samba 4 DC. I
have read and followed https://wiki.samba.org/index.php/Setup_LDAPS_on_a_DC
but when I attempt to connect to the DC on port 636 or via ldaps:// or both
via ldapsearch (linux) and ldp (windows) I cannot connect.
Failed tests:
*ldapsearch -I -H ldaps://dc*
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
2005 Mar 09
0
strange Samba3 / sudo / ldapsearch problem
Hi,
I recently triied to set up a special PDF creation service for a customer. The
Samba3 server is a AD2003 member server. Since the created PDF files
need to be sent via e-mail to the creators, I need to issue an LDAP
query against the AD, like
ldapsearch -h 10.243.50.22 -Y GSSAPI -b "ou=user,ou=... ..." \
-LLL '(cn=lastname firstname*)' mail
As long as I run this command