Displaying 20 results from an estimated 10000 matches similar to: "Samba cannot contact LDAP server"
2005 Feb 03
1
samba nad ldap
Hi everyone!
I have (i think) a fully functional tls enabled samba ldap server. I
used the documenation on www.idealx.org. I can make users and computers
with smbldap-tools but i can't add Windows computers to the domain in
the client end.
smbldap-useradd -w w-eddie
ldapsearch -x generates among other things:
# w-eddie$, Computers, dbb.su.se
dn:
2005 Mar 18
5
idmap LDAP backend
I'm trying to use the LDAP backend for the idmap database but I just
can't seem to get it to work. There really is rather pathetic
documentation out there on how to implement this. I've basically got my
ldap server setup with an OU called smb and another OU under it called
idmap. Here is my smb.conf file:
[global]
workgroup = HQ
server string = Theo's Samba Server
2004 Jan 26
4
net: ../../../libraries/liblber/decode.c:644: ber_scanf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.
net groupmap modify ntgroup="Domain Admins" unixgroup=504
net: ../../../libraries/liblber/decode.c:644: ber_scanf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.
I was told this may be specific to ldap setup with samba 3.0.0, but is fixed in later versions of samba.
however, in 3.0.1, there is a far worse bug that makes machines only available some of the time(i was told
2004 Oct 25
1
LDAP: strange "net groupmap" behaviour
Dear Sirs,
I did the following command (against ldapsam backend):
net groupmap add rid=3002 unixgroup=wheel type=local ntgroup=Marketoids
comment=Mm -d 10
I just wanted to add new group. But instead of that I saw many-many-many
records:
lib/smbldap.c:smbldap_search(963)
passdb/pdb_ldap.c:ldapsam_getgroup(2008)
they all wanted to find group with gidNumber=4294967295, yes, sure,
there's
2007 Feb 16
3
pdbedit password policy - not updating ldapsam
I have Samba and LDAP up and running, but I'm having problems editing the
password policy using pdbedit.
(I'm running 3.0.22)
I've had a look at the man page for pdbedit but I don't really fully
understand what it does in relation to passwd backends. Does pdbedit update
just one backend and expect a user to export the updates to other backends?
I think I've set up ldap as
2016 Feb 19
3
Samba + ldap + cannot find domain
So this got me thinking that maybe a chunk of my problem is with LDAP itself on the server. Executing "slapcat" shows me what I believe to be the correct content, including what looks like appropriate content underneath the following:
dn: sambaDomainName=DRBHOME,dc=drbhome,dc=ca
That seems to answer the question about whether the domain info is actually there.
>> Can you also
2009 Oct 27
3
samba ldap
Hi,
I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
and ldap works perfectly fine.
I have issues with connecting to ldap from samba.
I get
[2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
Connection to LDAP server failed for the 9 try!
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
smbldap_open_connection: connection opened
2009 Apr 22
1
smbclient fails when LDAP server is down
Hi all,
I?m having some trouble setting up a samba failover scenario.
This is what I?ve done:
Subnet 192.168.1.0 -> Samba PDC e Samba BDC
Subnet 192.168.20.0 -> LDAP Master e LDAP Slave
If all servers are up I can login to domain. If I put the LDAP Master
service down I am still able to login from the Slave LDAP. But if the server
where the master LDAP is installed is down
2011 Feb 21
2
problem joining WinXP machine to samba PDC+LDAP environment
Hello,
I can't join a winxp box to my samba domain. I just have one samba
server, meant to act as a PDC for domain='CHI'.
Any ideas how to troubleshoot and/or remedy?
Thanks,
Jon
Context:
------------
samba v3.3.8 on CentOS v5.5, using ldapsam backend. Domainname ='CHI'.
smbldap-tools v0.9.6.
I 'populated' the ldap with 'smbldap-populate'.
I try to join
2004 Jul 13
2
Profile Problem with ldap backend
The Samba 3.0.5rc1 server is configured as a PDC.
[global]
# client code page = 866
# NetBIOS name of that comp
netbios name = TOLTEC
#Name of Domain
workgroup = liin
#Comment
server string = Samba PDC %v
#Interface where samba works
interfaces = 10.0.0.4/24 127.0.0.1/24
bind interfaces only = yes
hosts allow = 10.0.0.
name resolve
2010 Sep 24
1
trouble joining win xp machines to samba with ldap backend DC
Greetings,
I would like some help figuring this out. I really don't know what to do
anymore. whenever I try to join an XP machine to the domain it comes up
that username or password is not correct. However I know that the
credentials are correct, but when I check the logs of that specific
machine, this comes up:
[2010/09/24 11:42:38, 5] auth/auth_util.c:make_user_info_map(161)
2011 Jan 18
3
confusion and problem with Samba v3.3.8 as PDC with ldapsam backend
Hello,
I'm trying to use samba v3.3.8 on Centos 5.5 to act as a PDC, using ldap as
the backend for users, groups, and computers. The ldap I'm using is Centos
Directory Server v8.1.
The setting is a new, never used before, installation of samba and ldap.
There are no users other than what exists by default after a Centos
install. The smb.conf contains what is my best guess for the
2003 Dec 26
3
error in logs after upgrade to 3.0.1
This is probably pretty simple. The following error appears in my logs since
upgrading from version 2.2.8 to 3.0.1:
[2003/12/25 14:44:09, 0] rpc_server/srv_util.c:get_domain_user_groups(372)
get_domain_user_groups: primary gid of user [testuser] is not a Domain
group!
get_domain_user_groups: You should fix it, NT doesn't like that
I'm guessing that my user's primary group
2004 Nov 19
1
algorithmic rid base problem after upgrade to 3.0.9
LS.
After upgrading from samba 3.0.7 to samba-3.0.9
it appears that algorithmic rid base is now checked
to be larger then 1000 .
Because of this I get the follwoing error when trying to log in:
[2004/11/19 18:26:50, 2] lib/smbldap.c:smbldap_search_domain_info(1374)
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=<DOMAIN>))]
[2004/11/19 18:26:50, 2]
2006 Jan 26
1
Windows XP suddenly can't login to PDC
Hi,
I've got a Samba 3.0.2a PDC running for some time now (like more than a
year) with MS Windows XP clients. But suddenly on January 23 2006 none
of the clients where able to login anymore. The error on the client was
(translated from dutch):
Unable to connect to domain server.
The logfile on the samba side showed:
[2006/01/23 11:36:30, 2] lib/smbldap.c:smbldap_open_connection(722)
2017 Apr 18
1
Centos 7 Samba3 to Samba4 Migration "Trust Relation Failed"
Hi.
I'm testing my migration from my PDC running Centos 5.x Samba3+OpenLDAP.
to Centos7 Samba4 OpenLDAP 2.4.40
I had move all my settings and the server has all my users, in console I see
all my info.
Now, I connect a test machine that was on the same domain but I'm getting
the bad message went I try to login with a domain user:
'The trust relation between this workstation and the
2017 Sep 20
2
samba bad password count reset between logins (not loaded from login_cache.tdb)
I recently migrated our samba PDC to an LDAP backend on a test machine.
Testing my account policies, I found out that the password lockout did not
work.
When authentication fail, samba seems to call init_ldap_from_sam asking to
update the bad password count.
When I set the lockout threshold to 1, the account is locked after a failed
attempt and the badPasswordCount attribute is updated correctly
2016 May 17
1
Samba4 / Open LDAP init DB
Hi,
I have been able to successfully install Samba4 and OpenLDAP and connect
them via SSL. The file samba.schema is also loaded into OpenLDAP, but
when I start samba server it looks like it is expecting some basic
structure. My Question at this point is how to provide this the easisest
way? Currently the OpenLDAP DB is entirely empty (virgin) so Samba4
could create anything it needs.
cat
2003 Oct 29
1
net groupmap modify bug
Hi,
After a successful upgrade from samba3alpha19 to samba3.0.1pre1 I am now doing the group mapping stage.
The problem I am having is modifying a group in the LDAP directory. I am using net groupmap modify ntgroup=staff unixgroup=staff type=domain.
The error it is coming up with is
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1615)
ldapsam_search_one_group: searching
2005 Sep 29
7
ldapsam:trusted = yes kills smbd
Hi,
we want to use ldapsam:trusted=yes to improve performace as nss_ldap
is killing our ldap server doing enumeration.
once i enable it smbd dies silently...
this is the last part of a ./smbd -d 10 -i
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
smbldap_search: base =>
[ou=groups,ou=filestore,dc=sunderland,dc=ac,dc=uk], filt
er =>