From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 15:01:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D69616A51C for ; Mon, 28 Feb 2005 15:01:50 +0000 (GMT) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1055A43D5C for ; Mon, 28 Feb 2005 15:01:45 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.13.1/8.13.1) with ESMTP id j1SF1dDq012383; Mon, 28 Feb 2005 16:01:39 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.13.1/8.13.1) with ESMTP id j1SF1Z2t012379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Feb 2005 16:01:35 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.13.1/8.13.1) with ESMTP id j1SF1YMc052305; Mon, 28 Feb 2005 16:01:34 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.13.1/8.13.1/Submit) id j1SF1YDc052304; Mon, 28 Feb 2005 16:01:34 +0100 (CET) (envelope-from jpulz) Date: Mon, 28 Feb 2005 16:01:32 +0100 (CET) From: Joerg Pulz To: Bob Hall In-Reply-To: <20050228142545.GA29039@kongemord.krig.net> Message-ID: <20050228155237.J14200@hades.admin.frm2> References: <20050228081224.Y14200@hades.admin.frm2> <20050228142545.GA29039@kongemord.krig.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: at mailhost.frm2.tum.de cc: freebsd-questions@freebsd.org Subject: Re: samba ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 15:01:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 28 Feb 2005, Bob Hall wrote: > On Mon, Feb 28, 2005 at 11:56:49AM +0100, Florian Hengstberger wrote: >> Disabled by default? Sorry, but I've never specified any >> ldap options in my smb.conf but the server always tries >> to authentificate the users with an ldap server. > > With or without LDAP compiled in, Samba shouldn't be asking for LDAP > unless you specified it in smb.conf. Look in smb.conf and post the > "passdb backend" setting. > > I played with LDAP for a while, so I have > ; passdb backend = ldapsam > The semicolon makes the line inactive. My installation uses tdbsam by > default. Hi, this is completely true for net/samba3. but as he's using net/samba which is currently samba-2.2.12 this is wrong. in the samba-2.2.xx series the ldapsam backend is a compile time option, so you can either have tdbsam OR smbpasswd OR ldapsam. this behavior was changed when switching over to samba-3.x where one can specify a different passdb backend in the smb.conf file if it was built. this offers the possibility to build a "passdb backend chain". anyway, please make sure that the /etc/make.conf ! not smb.conf file contains NO WITH_LDAP=yes line and recompile net/samba WITHOUT specifying WITH_LDAP=yes on the command line. the resulting smbd should not be linked against libldap or liblber. if it is still linked against these two lib's there must be something wrong in the port. regards Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCIzJOSPOsGF+KA+MRAsrHAKCg1l5J0840dWvvBvnRe+RDQjMwgwCeKUSa NyLHxI2FXw2hypJjKAs0EHc= =iIUf -----END PGP SIGNATURE-----