Skip to main content

Posts

Showing posts from November, 2007

The easiest way to install Samba 3 with ldap as a domain controller

Acting like a wizard, the Samba/Ldap Installer found in http://www.majen.net/smbldap/ can install and configure Samba as a PDC with openLDAP backend. After finding useless most of the tutorials out there (including the official samba PDC howto) I found this little piece of magic that installed the Samba PDC in the edubuntu server at work. After running the script you need to install BIND9 (a dns server) and webmin (a linux administration web console) to set up a dns to point to your domain server. I still can only log in from windows as root tho; but I will work on solving that problem next week. Another thing I will take a look at is the NTX-grp out-of-the-box solution for open-exchange, which also includes Samba as a PDC with ldap and the dns server.
Want to migrate your rails database to a specific version? Use: rake db:migrate VERSION=# where # is 1 or 2 or 3 .... Want to migrate your production database? Use export RAILS_ENV=production Change production to any other environment you want.