[Samba] Migrate Samba 3.0x tdb to Samba-3.0.2a ldapsam
Clint Sharp
clint at typhoon.org
Mon Apr 19 21:33:32 GMT 2004
On Mon, 2004-04-19 at 01:37, David Wilson wrote:
> Hi guys/girls,
>
> How are you ?
>
> I'm looking at migrating my Samba-3.0.1 server which has the standard tdb
> backend to Samba-3.0.2a with an LDAP backend.
> I plan to use nss_ldap too.
>
> What would be the best way of doing this ? Any assistance would be greatly
> appreciated.
>
> Kindest regards
> David Wilson
>
> D c D a t a
> Tel +27 33 342 7003
> Fax +27 33 345 4155
> Cell +27 83 267 7500
> http://www.dcdata.co.za
> support at dcdata.co.za
> sales at dcdata.co.za
> KZN's first and only pure Linux solution provider
> ____________________________________________________
> LinuxBox S.A.: Africa's shell provider.
> Powered by Linux and DcData - driven by passion !
> http://www.linuxbox.co.za
Make sure you have migrated the UNIX users to your LDAP backend. PADL's
migration scripts come in very handy here. Then, you should be able to
do something like:
pdbedit -i tdbsam:<pathtotdb> -e ldapsam:ldap://<ldaphost>
You should already have ldapsam in your passdb backend and have test
accounts created and tested. I think pdbedit might create posixAccount
structures for the users if they're not there, but it's probably best to
use the PADL scripts (http://www.padl.com/OSS/MigrationTools.html) to do
it.
Clint
More information about the samba
mailing list