Re: [Samba] Migrating to LDAP
Felipe Augusto van de Wiel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim Bates wrote, On 20-09-2007 20:46: Felipe Augusto van de Wiel wrote: [...] Check sambaldap-tools (smbldap-tools) from IdealX, it probably has what you want. :-) Already looked. Doesn't seem to. I always thought they did it aswell, but it seems they don't. Something is wrong, last time I used them, they did it. Yep. In this case it was the LDAP database. I gave it another go after deleting the database, and it worked fine. So the lesson is don't assume LDAP is doing the right thing just because it looks like it is :-) TB -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Migrating to LDAP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim Bates wrote, On 20-09-2007 20:46: > Felipe Augusto van de Wiel wrote: [...] >> Check sambaldap-tools (smbldap-tools) from IdealX, it >> probably has what you want. :-) > > Already looked. Doesn't seem to. I always thought they did it aswell, > but it seems they don't. Something is wrong, last time I used them, they did it. >> Ignaciou Coupeau tutorials are also nice (even if they are somewhat >> out-of-date). > > Seems more interested in starting from scratch or migrating from older > LDAP based installs. Nothing about going from another backend to LDAP. If you want to understand more about the LDAP process in Samba and how they evolve, that's a very good documentation, YMMV. >> And of course, the Samba By Example and Samba Official HOWTO are the >> best and official source of information about it. > > Same as above... Unfortunately. Yes, it seems unfortunately, even if I heard of quite a few people on this list talking about these tools and docs to migrate their bases. A pity. :-( Kind regards, - -- Felipe Augusto van de Wiel <[EMAIL PROTECTED]> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG8+idCj65ZxU4gPQRCJaBAJ9DS/HGt/pAvLSPZWPlaspUEOOCuACff7TQ dIj01mBbGcSjs21xtyfwTK0= =Bblc -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Migrating to LDAP
Felipe Augusto van de Wiel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim Bates wrote, On 19-09-2007 23:29: Can anyone point me to a guide on migrating Linux and Samba accounts to LDAP? I can only find part guides, and I can't figure out how to get the account data combined (without a lot of manual effort). I can get the Linux accounts over no problems. I then tried to do "pdbedit -i tdbsam -e ldapsame -s /path/to/modified/smb.conf", but it only manages to stuff things up by skipping the real accounts and creating the system accounts (which I don't want). I then tried clearing the LDAP data and doing the pdbedit thing first. But it still skips real users and just creates the systems accounts. It does say it created the real users, but they don't appear. I don't really want to have to reset all the passwords and rejoin all the PCs to the domain... So I need a method of doing this. Check sambaldap-tools (smbldap-tools) from IdealX, it probably has what you want. :-) Already looked. Doesn't seem to. I always thought they did it aswell, but it seems they don't. Ignaciou Coupeau tutorials are also nice (even if they are somewhat out-of-date). Seems more interested in starting from scratch or migrating from older LDAP based installs. Nothing about going from another backend to LDAP. And of course, the Samba By Example and Samba Official HOWTO are the best and official source of information about it. Same as above... Unfortunately. Tim B ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Migrating to LDAP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim Bates wrote, On 19-09-2007 23:29: > Can anyone point me to a guide on migrating Linux and Samba accounts to > LDAP? I can only find part guides, and I can't figure out how to get the > account data combined (without a lot of manual effort). > > I can get the Linux accounts over no problems. I then tried to do > "pdbedit -i tdbsam -e ldapsame -s /path/to/modified/smb.conf", but it > only manages to stuff things up by skipping the real accounts and > creating the system accounts (which I don't want). > I then tried clearing the LDAP data and doing the pdbedit thing first. > But it still skips real users and just creates the systems accounts. It > does say it created the real users, but they don't appear. > > I don't really want to have to reset all the passwords and rejoin all > the PCs to the domain... So I need a method of doing this. Check sambaldap-tools (smbldap-tools) from IdealX, it probably has what you want. :-) Ignaciou Coupeau tutorials are also nice (even if they are somewhat out-of-date). And of course, the Samba By Example and Samba Official HOWTO are the best and official source of information about it. Kind regards, - -- Felipe Augusto van de Wiel <[EMAIL PROTECTED]> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG8pj8Cj65ZxU4gPQRCAxHAKC2Dfrs23Jv8nnYNaO3WkRMRyF9oACg0LiB rd9Jd5//OtFLBYkkFKHmBjg= =CX5T -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Migrating to LDAP
Can anyone point me to a guide on migrating Linux and Samba accounts to LDAP? I can only find part guides, and I can't figure out how to get the account data combined (without a lot of manual effort). I can get the Linux accounts over no problems. I then tried to do "pdbedit -i tdbsam -e ldapsame -s /path/to/modified/smb.conf", but it only manages to stuff things up by skipping the real accounts and creating the system accounts (which I don't want). I then tried clearing the LDAP data and doing the pdbedit thing first. But it still skips real users and just creates the systems accounts. It does say it created the real users, but they don't appear. I don't really want to have to reset all the passwords and rejoin all the PCs to the domain... So I need a method of doing this. Tim B -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba