We've tried to use Samba 2.2.2 with LDAP and unfortunetly it doesn't work. At first we've configured Samba with LDAPSAM then we've compiled it. Everything seemed working, we've run the command smbclient -U% -L localhost and we've had this message : - session setup failed: code 0 consulting logs (log.smbd) it appears a fatal error below thanks a lot for helping best regard eric and pascal france my smb.conf # Global parameters [global] workgroup = CPTEST netbios name = CPPLACEBO log level = 10 domain logons = Yes domain master = True wins support = Yes ldap server = 10.75.1.22 ldap suffix = o=gouv,c=fr ldap filter (&(uid=%U,ou=personnes,ou=dgcp,ou=mefi,o=gouv,c=fr)(objectclass=posixaccount)) ldap admin dn = uid=samba,o=gouv,c=fr [DGCP] comment = Partage DGCP path = /home/siauve guest ok = Yes [home] comment = Home directory path = /home/%U read only = No browseable = No my log.smb switch message SMBsesssetupX (pid 9579) [2001/10/31 11:16:16, 3] smbd/sec_ctx.c:set_sec_ctx(320) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2001/10/31 11:16:16, 5] smbd/uid.c:unbecome_user(215) unbecome_user now uid=(0,0) gid=(0,0) [2001/10/31 11:16:16, 3] smbd/reply.c:reply_sesssetup_and_X(855) Domain=[] NativeOS=[BERCY] NativeLanMan=[Windows 4.0] [2001/10/31 11:16:16, 3] smbd/reply.c:reply_sesssetup_and_X(866) sesssetupX:name=[] [2001/10/31 11:16:16, 6] param/loadparm.c:lp_file_list_changed(2203) lp_file_list_changed() file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Fri Oct 26 13:23:09 2001 [2001/10/31 11:16:16, 0] lib/fault.c:fault_report(40) ==============================================================[2001/10/31 11:16:16, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 9579 (2.2.2) Please read the file BUGS.txt in the distribution [2001/10/31 11:16:16, 0] lib/fault.c:fault_report(43) ==============================================================[2001/10/31 11:16:16, 0] lib/util.c:smb_panic(1055) PANIC: internal error
Are there any known issues with 2.2.3a and LDAP support? I had problems with Windows 2000 SP2 computers logging into a Samba PDC with LDAP support. The login process would take about 1 1/2 minutes to complete (it would be successful immediately if Samba was stopped during this time!??). However, with Samba 2.2.2 and LDAP, the logins would succeed very rapidly, just like they should. I was just wondering if anyone else had this problem with 2.2.3a. Thanks, Kevin Pate RHCE / MCSE / CCNA Pate Consulting kevin@pateconsulting.com www.pateconsulting.com voice 832.237.5920 -------------- next part -------------- HTML attachment scrubbed and removed
Does anyone know if the binaries provided by the Samba team are compiled with LDAP support? I've tried 2.2.8a and 3.0.0 for Debian, but both complain that the ldap parameters (like ldap server) for unknown. Rob
> Does anyone know if the binaries provided by the Samba team are compiled > with LDAP support? I've tried 2.2.8a and 3.0.0 for Debian, but both > complain that the ldap parameters (like ldap server) for unknown.Just "ldd /usr/sbin/smbd". Is libldap in the list? If not, than the smbd isn't linked against it. Most (all?) distributed binaries I've met don't include things like ACL, LDAP, etc... support for obvious reasons (least common denominator).
On Tue, 2003-10-21 at 00:24, Robert Rati wrote:> Does anyone know if the binaries provided by the Samba team are compiled > with LDAP support? I've tried 2.2.8a and 3.0.0 for Debian, but both > complain that the ldap parameters (like ldap server) for unknown.Samba 2.2 did not allow LDAP support to be used at the same time as smbpasswd, so pre-compiled binaries did not support it. Samba 3.0 does not use 'ldap server' - instead see 'passdb backend' in your smb.conf manpage. There is a large section in the Samba 3.0 HOWTO that explains how to use Samba's LDAP support. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20031021/32effc6c/attachment.bin