From owner-freebsd-questions@FreeBSD.ORG Mon Jul 20 10:21:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF1711065672 for ; Mon, 20 Jul 2009 10:21:51 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 744AF8FC13 for ; Mon, 20 Jul 2009 10:21:51 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yxe11 with SMTP id 11so3459159yxe.3 for ; Mon, 20 Jul 2009 03:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=RwTCCCoAHtSGja7lxlKfh6FesqOR5l93VJCO1MW/hEU=; b=DEOXzM+GL2Z4Lx2rgRqktpODZEfAxLKT4SX3ctIlEP08fgBNmWOcN3nb3JZ0oCqanq eGB/EPNicKWCsw5KxeoxG9puXL/0CLoFMR/5mu7ldUfWLegaIz26s0M32n13qd10UaIz z6GZf3f+xcKXUyRfgl0uAaTb0/f10p07kDq50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IaEvZ+f4vIU7qThL4M6VgRsEVpPdAXNYfSLLaOGaJA3h1cXCzJafs6n0oxDHvTq84R 7FUH9ZPgnLf3jYTpcNsztZFUmM0uuyVT+kfR1bslOa8nWHA82YAV0MkP7oTMCvaNEQGI 3rli3pdrGUYOaAzVqXtDGppIwaqtqBjX2B1ME= MIME-Version: 1.0 Received: by 10.100.110.2 with SMTP id i2mr5733312anc.159.1248085310789; Mon, 20 Jul 2009 03:21:50 -0700 (PDT) In-Reply-To: <200907201017.n6KAHBmE003738@banyan.cs.ait.ac.th> References: <57200BF94E69E54880C9BB1AF714BBCB5DEA71@w2003s01.double-l.local> <200907200835.n6K8ZZ7D001753@banyan.cs.ait.ac.th> <20090720105553.a665479b.freebsd@edvax.de> <200907201017.n6KAHBmE003738@banyan.cs.ait.ac.th> Date: Mon, 20 Jul 2009 18:21:50 +0800 Message-ID: From: Ruel Luchavez To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Johan@double-l.nl, freebsd@edvax.de, freebsd-questions@freebsd.org Subject: Re: Samba PDC with LDAP backend X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 10:21:52 -0000 On Mon, Jul 20, 2009 at 6:17 PM, Olivier Nicole wrote: > > #smbldap-populate -u 10000 -g 10000 -r 10000 > > Populating LDAP directory for domain MYDOMAIN > > (S-1-5-21-2772587264-3389604304-3649373591) > > (using builtin directory structure) > > > > adding new entry: dc=mydomain,dc=local > > failed to add entry: modifications require authentication at > > In fact the script smbldap-populate hangs here, see, it mentions the > authentication error at the begining. > > I never used smbldap-populate, but I beleive that to have it wiork, > you must configure/edit that script and define a password somewhere. > > I beleive you would also have to configure the domain name, unless you > want to keep MYDOMAIN (see line number two). > > As I suggested few days ago, you should try to do a ldapsearch and get > a result from it first. > > Samba is not something simple to configure. LDAP neither, so you > better go step by step. > > Good luck, > > Olivier > Well Thanks for your insight Oliver! I think your right that Samba is not something simple to configure neither LDAP too.. Wheeewwwww.. I'll try my luck here because I started this already.. Anyway...Thanks.. -- rHueL FreeBSD user since 6.0 Happy BSD use... Country:Philippines Zip Code:8000