Date: Wed, 13 Oct 2010 16:23:17 -0400 From: Tim Dunphy <bluethundr@gmail.com> To: Maciej Milewski <milu@dat.pl> Cc: freebsd-questions@freebsd.org Subject: Re: migrating to openldap Message-ID: <AANLkTint-Ey2d_vebs_=aaR9DUj2=eOG2YHMyq%2BO498p@mail.gmail.com> In-Reply-To: <201010132213.55683.milu@dat.pl> References: <AANLkTi=6xnQi8u-xeVQZpMOdnV4jYwEfD40-LOoK2Cw0@mail.gmail.com> <201010131737.09756.milu@dat.pl> <AANLkTi=P3Kjuh-Phwx2PxkdMK940d7fQxqfNLxO1hHcc@mail.gmail.com> <201010132213.55683.milu@dat.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually, I was trying this as root on FBSD.. so therefore I was using csh.. but that's 6 of one half dozen of the other. At any rate, your suggestion WORKED!! THANK YOU a ton man, this really helped!! :))) LBSD2# setenv LDAP_BASEDN "dc=summitnjhome,dc=com" You have new mail. LBSD2# echo $LDAP_BASEDN dc=summitnjhome,dc=com LBSD2# rm /home/bluethundr/txt/ldif/base.ldif LBSD2# ./migrate_base.pl > /home/bluethundr/txt/ldif/base.ldif LBSD2# less /home/bluethundr/txt/ldif/base.ldif dn: dc=summitnjhome,dc=com dc: summitnjhome objectClass: top objectClass: domain dn: ou=Hosts,dc=summitnjhome,dc=com ou: Hosts objectClass: top objectClass: organizationalUnit dn: ou=Rpc,dc=summitnjhome,dc=com ou: Rpc objectClass: top objectClass: organizationalUnit dn: ou=Services,dc=summitnjhome,dc=com ou: Services objectClass: top objectClass: organizationalUnit dn: nisMapName=netgroup.byuser,dc=summitnjhome,dc=com nismapname: netgroup.byuser objectClass: top objectClass: nisMap On Wed, Oct 13, 2010 at 4:13 PM, Maciej Milewski <milu@dat.pl> wrote: > On Wednesday 13 October 2010 21:36:16, Tim Dunphy wrote: > >> Maciej, thanks for the suggestion! I did give it a try but the result > >> did not change.. Here is a copy-paste of what I tried: > >> > >> LBSD2# echo $LDAP_BASE > >> dc=summitnjhome,dc=com > > Not LDAP_BASE but LDAP_BASEDN. It works with stock migrationtools from > padl.com. > >> I mean I guess worse comes to worse I can break out some command line > >> perl and replace dc=padl with dc=summitnjhome but it would be cleaner > >> /faster I think to see if I can get the environment variable to be > >> read by the various scripts. I would appreciate any thoughts on the > >> matter... > >> > >> thanks again! > > You don't have to, look into these migrate_*.pl files they all should > include the same file where you can change these defaults with needed ones. > > -- > > Maciej Milewski -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTint-Ey2d_vebs_=aaR9DUj2=eOG2YHMyq%2BO498p>