Displaying 20 results from an estimated 674 matches for "pdb_ldap".
2004 Dec 14
2
compiling problem with ldap support
hi,
I'm trying to compile samba with ldap support, which is supposed to be a
default in the 3.0.9 package, but i got an error msessage when i tried make,
something like this :
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling passdb/pdb_interface.c
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:295: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1699: warning: assignment makes pointer from integer
without a cast
pa...
2003 Dec 09
1
samba - sql server authentication
...omain accoutn and password no problem
Any ideas? Thanks
Chris
SAMBA LOG:
[2003/12/09 14:02:51, 6] param/loadparm.c:lp_file_list_changed(2302)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Tue Dec 9 13:52:49 2003
[2003/12/09 14:02:51, 5] passdb/pdb_ldap.c:ldap_open_connection(122)
ldap_open_connection: starting...
[2003/12/09 14:02:51, 10] passdb/pdb_ldap.c:ldap_open_connection(148)
Initializing connection to ldap.prupref.com on port 389
[2003/12/09 14:02:51, 2] passdb/pdb_ldap.c:ldap_open_connection(186)
StartTLS issued: using a TLS connect...
2005 Nov 29
1
passdb/pdb_ldap.c LBER_USE_DER undeclared
...LAGS = -L/usr/local/krb5-1.4.3/lib -R/usr/local/krb5-1.4.3/lib
-L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/openldap/lib
-R/usr/local/openldap/lib -lthread
PIE_CFLAGS =
PIE_LDFLAGS =
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling passdb/pdb_interface.c
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:281: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `init_sam_from_ldap':
passdb/pdb_ldap.c:702: warning: assignment makes pointer from integer
without a cast
passdb/pd...
2004 Jun 25
1
I can't compile samba 3.0.4 with LDAP
...-I/home/rootk/samba-3.0.4/source/smbwrapper -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/rootk/samba-3.0.4/source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared
LDFLAGS =
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling passdb/pdb_interface.c
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:276: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1480: warning: assignment makes pointer from integer
without a cast...
2002 Jun 27
1
Patch for 2.2.5 (start_tls with OpenLDAP 2.0.x) is not working ...
Hi,
i was the one who had problems with the
start_tls function.
I applied the patch yesterday.
But now the compiling doesn't work anymore.
This is what happens :
--------snipp----------
[Lots of compiling output cut away]
Linking bin/smbd
passdb/pdb_ldap.o: In function `pdb_setsampwent':
passdb/pdb_ldap.o(.text+0x1730): multiple definition of
`pdb_setsampwent'
passdb/pdb_tdb.o(.text+0xd70): first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol
`pdb_setsampwent' changed f
rom 237 to 493 in passdb/pdb_ldap.o
passdb/pdb_l...
2003 May 28
0
login (W2K) takes very long
...eq
index memberUid eq
in the log.smbd i get:
[2003/05/28 16:06:00, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=ZION name2=NOMICRO
[2003/05/28 16:06:00, 2] smbd/reply.c:reply_special(111)
netbios connect: local=zion remote=nomicro
[2003/05/28 16:06:00, 2] passdb/pdb_ldap.c:ldap_open_connection(226)
ldap_open_connection: connection opened
[2003/05/28 16:06:00, 2] passdb/pdb_ldap.c:ldap_connect_system(260)
ldap_connect_system: succesful connection to the LDAP server
[2003/05/28 16:06:00, 2] passdb/pdb_ldap.c:ldap_search_one_user(272)
ldap_search_one_user: searc...
2003 May 23
1
Workstation xxxx$: no account in domain
...o$
loginShell: /bin/false
logoffTime: 2147483647
gidNumber: 503
kickoffTime: 2147483647
pwdLastSet: 1053686926
rid: 3000
description: Computer
homeDirectory: /dev/null
pwdCanChange: 0
pwdMustChange: 2147483647
ntPassword: 4DA811CEF46834C8201960E47D39C07D
samba log:
[2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:ldap_search_one_user(272)
ldap_search_one_user: searching
for:[(&(uid=nomicro$)(objectclass=sambaAccount))]
[2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
get_single_attribute: [uid] = [nomicro$]
[2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:init_sam_from_ldap(505)
En...
2005 Jul 08
0
passdb/pdb_ldap.c compile fails, samba-3.0.9
...crypto/krb5/include -D_LARGEFILE_SOURCE -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -I/u/manos/sun/samba-3.0.9/source
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
LDSHFLAGS = -G -L/pkgs/crypto/krb5/lib -lthread
LDFLAGS = -L/pkgs/crypto/krb5/lib -lthread
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:295: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_modify_entry':
passdb/pdb_ldap.c:1547: error: `LBER_USE_DER' undeclared (first use in this
function)
pa...
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
2005 Jan 18
3
Problem adding user to Administrator list
...e user that is being refused.
This is the logging from Samba : (for the failing user edockx)
[2005/01/18 15:37:00, 2]
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2482)
Returning domain sid for domain PEOPLEWARE ->
S-1-5-21-2146849782-3868185098-1
958755654
[2005/01/18 15:37:00, 2] passdb/pdb_ldap.c:init_sam_from_ldap(511)
init_sam_from_ldap: Entry found for user: edockx
[2005/01/18 15:37:00, 2]
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2482)
Returning domain sid for domain PEOPLEWARE ->
S-1-5-21-2146849782-3868185098-1
958755654
[2005/01/18 15:37:00, 2] passdb/pdb_ldap.c:init_sa...
2004 Aug 11
0
passdb/pdb_ldap.c:2651 compilation error SOLVED!!!
Hi,
I had a compilation error of the "passdb/pdb_ldap.c" file with
samba-3.0.5.
I did not found the source of the problem.
But samba-3.0.6rc2 compiles fine.
So if someone had the same problem than me, try the 3.0.6rc2
version of samba. It worked for me.
++
Marc
------------------------------------------
Subject:
[Samba] passdb/pdb_ldap.c:2651...
2004 Jan 22
2
RPC: Problem Deleting LDAP-Entries in pdb_ldap.c
...er gives "Access Denied"
some extracts from the log
---------------------------------------------------------------------------
smbldap_search_suffix: searching
for:[(&(&(objectclass=sambaSamAccount)(uid=test))(objectclass=sambaSamAccount))]
[2004/01/22 13:46:16, 10] passdb/pdb_ldap.c:ldapsam_delete_entry(303)
ldapsam_delete_entry: deleting attribute objectClass
[2004/01/22 13:46:16, 10] passdb/pdb_ldap.c:ldapsam_delete_entry(303)
ldapsam_delete_entry: deleting attribute cn
[2004/01/22 13:46:16, 10] passdb/pdb_ldap.c:ldapsam_delete_entry(303)
ldapsam_delete_entry: del...
2005 Mar 17
0
Samba 3.0.11 compile issue on AIX5.1 - pdb_ldap.c
...un into a compile problem with Samba 3.0.11 and have searched the
web, lists, and bugzilla for assistance, but was unable to find anything
that helped with these errors. I have been able to successfully build
this release without ldap/ads support, however with the ldap/ads support
it fails to build pdb_ldap.c. I am using AIX 5.1 using the gcc compiler.
I have also ensured that OpenLdap 2.2.24 is installed and working, I
also have Kerberos installed. I have listed my configure settings and
the error from the make below. Thanks in advance!.
export LDFLAGS=-L/usr/local/lib -L/opt/freeware/lib -L/usr/...
2003 Dec 11
2
samba3/ldap/net groupmap fails
...ldap_open_connection: connection opened
[2003/12/11 13:47:26, 3] lib/smbldap.c:smbldap_connect_system(786)
ldap_connect_system: succesful connection to the LDAP server
[2003/12/11 13:47:26, 4] lib/smbldap.c:smbldap_open(837)
The LDAP server is succesful connected
[2003/12/11 13:47:26, 2]
passdb/pdb_ldap.c:ldapsam_search_one_group(1624)
ldapsam_search_one_group: searching
for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2003/12/11 13:47:26, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1769)
ldapsam_getgroup: Did not find group
[2003/12/11 13:47:26, 2]
passdb/pdb_ldap.c:ldapsam_searc...
2004 Aug 04
0
passdb/pdb_ldap.c:2651 compilation error !!!
...-lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared
-L/users/mjaeg001/updateOXO/samba3/openldap-2.2.15_compiled/lib
-L/users/mjaeg001/krb5-1.3.4_compiled/lib
LDFLAGS =
-L/users/mjaeg001/updateOXO/samba3/openldap-2.2.15_compiled/lib
-L/users/mjaeg001/krb5-1.3.4_compiled/lib
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:276: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1480: warning: assignment makes pointer from
integer without a cast
pa...
2004 Nov 12
0
pdb_ldap.c Compilation Errors during "make"
...sr/local/src/samba-3.0.7/source/ubiqx
-I/usr/local/src/samba-3.0.7/source/smbwrapper -I.
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/local/src/samba-3.0.7/source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Wl,-Bsymbolic
LDFLAGS =
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:274: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1590: warning: assignment makes pointer from integer
without a cast
pa...
2006 Jun 04
2
samba BDC + LDAP slave Referral errors
We use sambaPDC + LDAP
On our BDC we have a replicated ldap slave.
Everything seems to work fine.
Hower, in the smbd log file we have the following messages (only on the
BDC's)
[2006/05/31 15:25:08, 1] passdb/pdb_ldap.c:ldapsam_modify_entry(1495)
ldapsam_modify_entry: Failed to modify user dn=
uid=pc01233$,ou=Machines,dc=brrc,dc=be with: Referral
[2006/05/31 15:25:08, 0] passdb/pdb_ldap.c:ldapsam_update_sam_account(1720)
ldapsam_update_sam_account: failed to modify user with uid = pc01233$,
error: (Succes...
2003 Nov 26
1
WinXP error when launch "Network Identification Panel"
...w VC == 0, if NT4.x compatible we would close
all old resources.
[2003/11/26 09:37:39, 2] lib/smbldap.c:smbldap_search_suffix(1067)
smbldap_search_suffix: searching
for:[(&(sambaSID=S-1-5-21-3967911966-3537913209-3658253730-501)(objectclass=sambaSamAccount))]
[2003/11/26 09:37:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1624)
ldapsam_search_one_group: searching
for:[(&(objectClass=sambaGroupMapping)(gidNumber=65533))]
[2003/11/26 09:37:39, 2] passdb/pdb_ldap.c:init_group_from_ldap(1668)
init_group_from_ldap: Entry found for group: 65533
[2003/11/26 09:37:39, 2] passdb/pdb_ldap.c...
2007 Apr 24
2
BLOATED LDAP Traffic from Samba
...affic my ldapserver(iplanet) and is
causing the ldap server load to peak consitently over a ridiculous 91%.
Logons come to a crawl because the ldap load is so high. I don't not have
roaming profiles enabled.
Here is an excerpt from a logfile (log level=2):
[2007/04/24 17:23:56, 2] passdb/pdb_ldap.c:init_sam_from_ldap(640)
init_sam_from_ldap: Entry found for user: tua19847
[2007/04/24 17:23:56, 2] passdb/pdb_ldap.c:init_sam_from_ldap(640)
init_sam_from_ldap: Entry found for user: tua05996
[2007/04/24 17:23:56, 2] passdb/pdb_ldap.c:init_sam_from_ldap(640)
init_sam_from_ldap: Entry found...
2004 Jan 27
0
problems with group mappings with ldap
...t (guest)<br>[2004/01/26 16:40:21, 5] passdb/pdb_interface.c:make_pdb_methods_name(452)<br> Found pdb backend guest<br>[2004/01/26 16:40:21, 5] passdb/pdb_interface.c:make_pdb_methods_name(455)<br> pdb backend guest has a valid init<br>[2004/01/26 16:40:21, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)<br> ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]<br>[2004/01/26 16:40:21, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)<br> ldapsam_getgroup: Did not find group<br>[2004/01/26 16:40:21...