From owner-freebsd-questions@FreeBSD.ORG Thu Sep 27 10:56:29 2007 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 5020F16A418 for ; Thu, 27 Sep 2007 10:56:29 +0000 (UTC) (envelope-from celso.vianna@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 353A613C448 for ; Thu, 27 Sep 2007 10:56:29 +0000 (UTC) (envelope-from celso.vianna@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2058343rvb for ; Thu, 27 Sep 2007 03:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=HONQDjGvf8nEVgU8WALyQicArWFnOBsPyH6sHc0+be0=; b=Y2y3/OVsi9loFuh43mQLJWGC7vYWMqAp1IGnbi1XUO1J58JOL6qplQxMVunqO1qh7LsJMZLImTtGAxz8IsS8eDixZyBegtZSYpGHcgnJT6NUQgXxUqabuKt83xBKtAAlMSijZ6vjJgpXQHs77DEsurWRw7NmN1xojU1T5S+78m8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=im2qNIIFbniTKsU6pctT9OgtBLMCSEScm9AhXkSsPsdySp33tCcGlCLVEqjeQb2dHiupK6/ucEv+4jjsjfKZiQDny8oG4zm0HZWo0scHLWsoGqCtpO7QptGIQNI+5Y83hY10y1+x8F+wErOlQ90W5XvFCsAa/bU1aOYyZYcTts8= Received: by 10.141.99.4 with SMTP id b4mr710745rvm.1190889135971; Thu, 27 Sep 2007 03:32:15 -0700 (PDT) Received: by 10.142.81.6 with HTTP; Thu, 27 Sep 2007 03:32:15 -0700 (PDT) Message-ID: <2b6bd2cc0709270332r25690394o7d0ad4e1ff0a95e1@mail.gmail.com> Date: Thu, 27 Sep 2007 07:32:15 -0300 From: "Celso Viana" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: master.passwd - convert ldap 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: Thu, 27 Sep 2007 10:56:29 -0000 Hi All, Somebody already modified scripts "migrationtools" (http://www.padl.com/OSS/MigrationTools.html) to convert "master.passwd" for ldap? Using scripts original (migrate_passwd.pl) the conversion is wrong, as below dn: uid=test,ou=People,dc=padl,dc=com uid: test cn: User by test objectClass: account objectClass: posixAccount objectClass: top objectClass: shadowAccount userPassword: {crypt}$1$QLrRpB8e$2doc9Ks9GkOdyc2xAvEYi1 shadowLastChange: 1002 shadowMin: 1002 shadowExpire: User by test shadowFlag: /home/test loginShell: /bin/csh uidNumber: 1002 gidNumber: 1002 homeDirectory: /home/test gecos: User by test The objects had below received values wrong shadowLastChange: 1002 -> uid shadowMin: 1002 -> gid shadowExpire: User by test -> gecos shadowFlag: /home/test -> directory home of the user Thanks -- Celso Vianna BSD User: 51318 http://www.bsdcounter.org 63 8404-8559 Palmas/TO