From owner-freebsd-ports@FreeBSD.ORG Wed Jun 6 20:17:40 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 172C016A421 for ; Wed, 6 Jun 2007 20:17:40 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: from web54305.mail.re2.yahoo.com (web54305.mail.re2.yahoo.com [206.190.49.115]) by mx1.freebsd.org (Postfix) with SMTP id D47FB13C46E for ; Wed, 6 Jun 2007 20:17:39 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: (qmail 58166 invoked by uid 60001); 6 Jun 2007 20:17:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ceyQHpT4uf6Sz+5PaZYkEEG0cLMbKe7RlDAD8DH5BnJHRQZcRfJTA+uvpa6nXdrwf7W07bAu9stzK7WmDjqYBAe9+RBKJU+KWdfgiba/SDn5Jitw/rthf1M/7Z3tW4zbzfDaeNkp5e11BZ+BWU/LychJAl59aWiuT2bnBrkM9ps=; X-YMail-OSG: qwkt.pgVM1mRxa8NGULP5bj6.bkzYRBiuIYr5lC4FPbIzJh6WQ25kRMuopEz4_s9UkKp713d5G5x8r2f5eu4lGc2YLGeD4FSjfzJnoqmIiHDgaBy34g- Received: from [61.15.61.52] by web54305.mail.re2.yahoo.com via HTTP; Wed, 06 Jun 2007 13:17:38 PDT Date: Wed, 6 Jun 2007 13:17:38 -0700 (PDT) From: Patrick Dung To: Cardon Denis MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <42572.58057.qm@web54305.mail.re2.yahoo.com> Cc: samba@lists.samba.org, freebsd-ports@freebsd.org Subject: Re: [Samba] Problem about samba3 on freebsd, with smbldap-tools [solved] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 20:17:40 -0000 Hi I have figured out what went wrong. I have previously complied samba without ldap support. There are tdb files in /var/db/samba. I have just uninstall samba and remove all tdb files (this instruction was given when run make deinstall in the samba3 ports, but I didn't follow it before). I did a fresh recompile with ldap support and now the problem is gone. Thanks Patrick --- Patrick Dung wrote: > My domain name is WORKGROUP > > 1. smbldap-usershow WORKGROUP\$ or smbldap-usershow DOMAIN\$ > shows user "XXX" doesn't exist in both FreeBSD/Linux > > 2. I have used smbldap-populate and I have verified the items is > added > into the ldap server: > > dn: dc=localdomain > dn: ou=people,dc=localdomain > dn: ou=group,dc=localdomain > dn: ou=computers,dc=localdomain > dn: ou=Idmap,dc=localdomain > dn: uid=root,ou=people,dc=localdomain > dn: uid=nobody,ou=people,dc=localdomain > dn: cn=Domain Admins,ou=group,dc=localdomain > dn: cn=Domain Users,ou=group,dc=localdomain > dn: cn=Domain Guests,ou=group,dc=localdomain > dn: cn=Domain Computers,ou=group,dc=localdomain > dn: cn=Administrators,ou=group,dc=localdomain > dn: cn=Account Operators,ou=group,dc=localdomain > dn: cn=Print Operators,ou=group,dc=localdomain > dn: cn=Backup Operators,ou=group,dc=localdomain > dn: cn=Replicators,ou=group,dc=localdomain > dn: sambaDomainName=WORKGROUP,dc=localdomain > dn: uid=w2000srv$,ou=computers,dc=localdomain > dn: uid=server$,ou=computers,dc=localdomain > > 3. I have used slapcat and found no special problem. > BTW, I have found this in my samba log: > > [2007/06/05 18:00:40, 0] auth/auth_util.c:create_builtin_users(758) > create_builtin_users: Failed to create Users > > 4. I am using the same setup (eg. ldap access list, smb.conf) for > both > FreeBSD and Linux. > > Only FreeBSD have the problem. > > Regards > Patrick > > --- Cardon Denis wrote: > > > Patrick Dung a écrit : > > > Hi > > > > > > I have tried to setup freebsd (with samba3 ports), backend is > > openldap > > > with smbldap-tools. > > > > > > After a windows client joined the domain, I tried to right click > a > > > folder to set Security/permission. > > > > > > The windows client has a popup windows which display: > > > > > > The program cannot open the required dialog box > > > because it cannot determine whether the computer named "DOMAIN" > is > > > joined to a domain > > > > > > I have also tried to do same setup with Debian/Linux with the > same > > > settings in samba/openldap but it did not have this problem. > > > > Have you check that the entry is correctly created into the ldap > tree > > (type smbldap-usershow DOMAIN\$ if DOMAIN is really your computer > > name...). You should also check that the group id/SID of your > > computers > > does exist in your ldap. When the windows box is joined to a > domain, > > you > > should get a log of the complete smbldap-useradd line used for > adding > > the computer in your smb.log file. If it failed, you can replay it > on > > the command line to see what is the error code. Perhaps there is a > > missing perl library. > > > > Hope this helps, > > > > Denis > > > > > > > > > > > BTW seems HPUX with the CIFS also get this problem: > > > http://docs.hp.com/en/B8725-90119/ar01s05.html > > > > > > Any ideas? > > > > > > Thanks > > > Patrick > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > Building a website is a piece of cake. Yahoo! Small Business > gives > > you all the tools to get online. > > > http://smallbusiness.yahoo.com/webhosting > > > > > > -- > > Denis Cardon > > Tranquil IT Systems > > 10 rue du Docteur Bouchard > > 49400 Saumur > > tel : +33 (0) 2.41.67.56.99 > > http://www.tranquil-it-systems.fr > > > > > > > > > ____________________________________________________________________________________ > Never miss an email again! > Yahoo! Toolbar alerts you the instant new Mail arrives. > http://tools.search.yahoo.com/toolbar/features/mail/ > ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7