Displaying 20 results from an estimated 56 matches for "smbldap_search".
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 no such group. I didn't mean to find that group, I just meant to
add new one. What's wrong ?
I attached debug output.
Cheers,
Ilia Chipitsine
-------------- nex...
2004 Aug 19
0
net groupmap -> gidNumber=4294967295
..."cn=Manager,dc=agrl,dc=ethz"
ldap group suffix = ou=groups
ldap user suffix = ou=people
ldap machine suffix =
ldap suffix = dc=agrl,dc=ethz
debuginfo:
./net groupmap add -d 5 ntgroup="Domain Admins" unixgroup=domadm \
type=d rid=512
....
[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
smbldap_search: base => [dc=agrl,dc=ethz], filter =>
[(&(objectClass=sambaIdma
pEntry)(gidNumber=4294967295))], scope => [2]
[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
smbldap_search: base => [ou=groups,dc=agrl,dc=ethz], filter =>
[(&(objectClass...
2005 Sep 29
7
ldapsam:trusted = yes kills smbd
...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 => [(&(objectClass=posixGroup)(|(memberUid=nobody)
(gidNumber=65533)))], scope
=> [2]
primary group of [nobody] not found
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_user_groups_from_local_sam failed
attempting t...
2005 Jan 30
1
ldap smbpasswd
..._compat:ldap://localhost/ (ldapsam_compat)
Found pdb backend ldapsam_compat
pdb backend ldapsam_compat:ldap://localhost/ has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
New SMB password:
Retype new SMB password:
smbldap_search: base => [dc=company,dc=com], filter =>
[(&(uid=username)(objectclass=sambaAccount))], scope =>
[2]smbldap_open_connection: ldap://localhost/
smbldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server ldap://localhost/ as
"cn=Manager,dc=company,dc=co...
2006 Jun 27
2
multiple domains/ ldap /smbldap_search function/pdbedit/
...user suffix = ou=People
ldap group suffix = ou=Group
ldap idmap suffix = ou=Idmap
Into my ldap tree i've got 3 domains samba defined
some uid exists into 2 of 3 domains
(toto01 exists twice but into two differents domains)
If i use pdbedit -L -v -d 10 toto01 i've got the following thing:
smbldap_search_ext: base => [dc=univ,dc=fr], filter =>
[(&(uid=toto01)(objectclass=sambaSamAccount))], scope => [2]
ldapsam_getsampwnam: Duplicate entries for this user [toto01] Failing.
count=2
Why the smbldap_search_ext doesn't search uid only in the
ou=People,dc=univ,dc=fr branch
the filter...
2004 Feb 06
0
having problems with samba 3.0 with net groupmap access ldap
...o_parameter(3150)
Ignoring unknown parameter "ldap port"
[2004/02/06 04:39:26, 0] lib/smbldap.c:smbldap_connect_system(777)
failed to bind to server with dn= cn=Manager,dc=nijacol,dc=net Error: Can't contact LDAP server
(unknown)
[2004/02/06 04:39:44, 0] lib/smbldap.c:smbldap_search(924)
smbldap_search: LDAP server is down!
[2004/02/06 04:39:44, 0] lib/smbldap.c:smbldap_search_suffix(1075)
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Can't contact LDAP server)
[2004/02/06 04:40:14, 0] lib/smbldap.c:smbldap_search(924)
smbldap_search: LDAP se...
2003 Sep 30
1
3.0.0 rc4 /LDAP problem
Hi all-
I've configured samba (3.0.0 rc4) with ldap (openldap 2.0.27-8) (and
when testing using 'net groupmap list' I'm getting the following errors:
Failed to bind to server with dn= cn=Manager,dc=my-domain,dc=org Error
Can't contact LDAP server (unknown)
Lib/smbldap.c:smbldap_search(924) smbldap_search: LDAP server is down!
Passdb/pdb_ldap.c: ldapsam_setsamgrent(2048) ldapsam_setsamgrent: LDAP
search failed: Can't contact LDAP server
Etc., etc.
Slapd is running, and I'm able to add entries to the ldap server using
both ldapadd and smbldap-useradd.pl, I can als...
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
2005 Jan 31
0
ldap smbpasswd UH???
...kend ldapsam_compat
>>pdb backend ldapsam_compat:ldap://localhost/ has a valid init
>>Attempting to find an passdb backend to match guest (guest)
>>Found pdb backend guest
>>pdb backend guest has a valid init
>>New SMB password:
>>Retype new SMB password:
>>smbldap_search: base => [dc=company,dc=com], filter =>
>>[(&(uid=username)(objectclass=sambaAccount))], scope =>
>>[2]smbldap_open_connection: ldap://localhost/
>>smbldap_open_connection: connection opened
>>ldap_connect_system: Binding to ldap server ldap://localhost/ as
&...
2005 Jul 26
0
User/Machine RID generation error?
...ewbox -d100 -----------------------------------------------------------------------
pdb_set_user_sid: setting user sid S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxx-3136
element 18 -> now SET
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxx-3136 from rid 3136
smbldap_search: base => [ou=Groups,dc=somedomain,dc=com], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=1068))], scope => [2]
smbldap_open: already connected to the LDAP server
ldapsam_getgroup: Did not find group
pdb_set_group_sid: setting group sid S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxx-3...
2005 Jul 26
2
Samba cannot contact LDAP server
...rver NEVER contacts the ldap server despite having
the correct URI (I can see it in the smbd.log file)
Here is the error I'm getting in the logfile...
[2005/07/25 21:44:51, 5] passdb/pdb_interface.c:make_pdb_methods_name(726)
Found pdb backend ldapsam
[2005/07/25 21:44:51, 2] lib/smbldap.c:smbldap_search_domain_info(1394)
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=neverland))]
[2005/07/25 21:44:51, 5] lib/smbldap.c:smbldap_search(1038)
smbldap_search: base => [dc=neverland,dc=com], filter =>
[(&(objectClass=sambaDo
main)(sambaDomainName=neverland))], scope => [...
2004 Aug 24
0
LDAP with Netscape 4 & Solaris 8
...#39;
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match
ldapsam:ldap://tgabrielho.ssd.loral.com:389 (ldapsam)
Found pdb backend ldapsam
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=SPIKEMAN))]
smbldap_search: base => [o=Loral SpaceCom Corp,c=US], filter =>
[(&(objectClass=sambaDomain)(sambaDomainName=SPIKEMAN))], scope => [2]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesful connected
pdb backend ldapsam:lda...
2004 Jul 13
2
Profile Problem with ldap backend
...all works fine when i back to ldap backend things go wrong
OS RH8
OPENLDAP 2.2.14
Samba tested 3.0.4-3.0.5rc1
Problem n2:
Problem With Winbind(or not?)
[2004/07/14 01:59:55, 3] sam/idmap.c:idmap_init(131)
idmap_init: using 'ldap' as remote backend
[2004/07/14 01:59:55, 5] lib/smbldap.c:smbldap_search(931)
smbldap_search: base => [ou=Idmap,dc=liin,dc=org], filter => [(objectclass=sambaUnixIdPool)], scope => [2]
[2004/07/14 01:59:55, 10] lib/smbldap.c:smbldap_open_connection(543)
smbldap_open_connection: ldap//localhost
[2004/07/14 01:59:55, 0] lib/smbldap.c:smbldap_open_connection(5...
2004 Jul 21
2
strange DOS-Error 58
...004/07/20 09:45:55, 5] passdb/pdb_interface.c:make_pdb_methods_name(648)
Attempting to find an passdb backend to match
ldapsam:ldap://dir-server (ldapsam)
[2004/07/20 09:45:55, 5] passdb/pdb_interface.c:make_pdb_methods_name(669)
Found pdb backend ldapsam
[2004/07/20 09:45:55, 2] lib/smbldap.c:smbldap_search_domain_info(1343)
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MYDOMAIN))]
[2004/07/20 09:45:55, 5] lib/smbldap.c:smbldap_search(931)
smbldap_search: base => [ou=department,o=company,c=DE], filter =>
[(&(objectClass=sambaDomain)(sambaDomainName=MYDOMAIN))], scope =&...
2004 Aug 11
1
URGENT : NT4 Standalone server in a Samba-LDAP PDC
...to a Samba-LDAP PDC ??
I am trying to do that but keep getting the same error when trying to change
an NT4 standalone server to the Samba-LDAP PDC.
Error message : The machine account for this computer either does not exist
or is inaccessible.
log.smbd :
[2004/08/10 22:29:03, 5] lib/smbldap.c:smbldap_search(932)
smbldap_search: base => [dc=prod,dc=blc,dc=com], filter =>
[(&(uid=NC1981WTX03$)(objectclass=sambaSamAccount))], scope => [2]
[2004/08/10 22:29:03, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1157)
ldapsam_getsampwnam: Unable to locate user [NC1981WTX03$] count=0
It creates a c...
2004 Sep 03
0
Winbindd - ADS errors
...LDAP Server failed for the 6 try!
[2004/09/03 10:50:25, 1] lib/smbldap.c:smbldap_retry_open(909)
Connection to LDAP Server failed for the 7 try!
[2004/09/03 10:50:29, 1] lib/smbldap.c:smbldap_retry_open(909)
Connection to LDAP Server failed for the 8 try!
[2004/09/03 10:50:29, 0] lib/smbldap.c:smbldap_search(971)
smbldap_search: LDAP server is down!
[2004/09/03 10:50:29, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2239)
ldapsam_setsamgrent: LDAP search failed: Can't contact LDAP server
[2004/09/03 10:50:29, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2304)
ldapsam_enum_group_mapping: Unable...
2004 Aug 11
0
Can't join Samba-LDAP PDC
I am trying to join a windows server (Nt4 or 2K) to a Samba-LDAP PDC.
Error message on Windows : The machine account for this computer either does
not exist or is inaccessible.
log.smbd :
[2004/08/10 22:29:03, 5] lib/smbldap.c:smbldap_search(932)
smbldap_search: base => [dc=prod,dc=blc,dc=com], filter =>
[(&(uid=NC1981WTX03$)(objectclass=sambaSamAccount))], scope => [2]
[2004/08/10 22:29:03, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1157)
ldapsam_getsampwnam: Unable to locate user [NC1981WTX03$] count=0
It creates a c...
2004 Jun 09
0
Problem IDMAP Domain Member -> PDC
...[11062]: request location of privileged pipe
[2004/06/09 19:22:06, 5] nsswitch/winbindd.c:winbind_client_read(465)
read failed on sock 19, pid 11062: EOF
[2004/06/09 19:22:06, 3] nsswitch/winbindd_sid.c:winbindd_uid_to_sid(303)
[11062]: uid to sid 667
[2004/06/09 19:22:06, 5] lib/smbldap.c:smbldap_search(932)
smbldap_search: base => [ou=idmap,dc=eva,dc=mpg,dc=de], filter =>
[(&(objectClass=sambaIdmapEntry)(uidNumber=667))], scope =
> [2]
[2004/06/09 19:22:06, 0] sam/idmap_ldap.c:ldap_get_sid_from_id(525)
ldap_get_sid_from_id: mapping not found for uidNumber: 667
[2004/06/09 19:...
2004 Nov 23
1
Samba 3.0.9 not authenticating completely
I'm relatively new to samba I have been experimenting for a week or so,
though I have setup several 2000/NT domains and have been using Linux
for a couple of years.
I'm using Red Hat 9, updated completely via apt.
Samba 3.0.9 installed from apt and i am using the stock ldap server that
installed with red hat as my back end.
I followed the samba.idealx.org guide to get to where I am
2004 Aug 18
0
Adding new users with smbpasswd and ldapsam
...sdb backend 'tdbsam'
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match ldapsam:ldap://localhost
(ldapsam)
Found pdb backend ldapsam
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=BGL))]
smbldap_search: base => [o=bgl,c=de], filter =>
[(&(objectClass=sambaDomain)(sambaDomainName=BGL))], scope => [2]
smbldap_open_connection: ldap://localhost
smbldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server ldap://localhost as
"cn=admin,o=bgl,c=de"
ldap_c...