From owner-freebsd-questions@FreeBSD.ORG Mon Jul 20 10:17:46 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 5B4AB1065672 for ; Mon, 20 Jul 2009 10:17:46 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id C73D48FC20 for ; Mon, 20 Jul 2009 10:17:45 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n6KAGssP006237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2009 17:16:54 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n6KAHBmE003738; Mon, 20 Jul 2009 17:17:11 +0700 (ICT) (envelope-from on) Date: Mon, 20 Jul 2009 17:17:11 +0700 (ICT) Message-Id: <200907201017.n6KAHBmE003738@banyan.cs.ait.ac.th> From: Olivier Nicole To: ruel.freebsd@gmail.com In-reply-to: (message from Ruel Luchavez on Mon, 20 Jul 2009 17:34:34 +0800) References: <20090719112802.GA77843@ei.bzerk.org> <57200BF94E69E54880C9BB1AF714BBCB5DEA71@w2003s01.double-l.local> <200907200835.n6K8ZZ7D001753@banyan.cs.ait.ac.th> <20090720105553.a665479b.freebsd@edvax.de> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) 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:17:46 -0000 > #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