Would we be better off without using smbldap altogether.<br>Our setup is one edubuntu ltsp server and one backupPC server also running a windows vm.<br>There are about five windows laptop users. Perhaps it will be easier to just add the laptop users as smb users manually.
<br>On the other hand it might not.<br>What is your advice?<br><br>Also we are changing from K12ltsp 6 to edubuntu. Would the home directories work ok with the config files (gnome, firefox etc...) or will weird things happen? Would we be better off just starting fresh with new home directories for users and providing a link to their old home directories.
<br>There are some shortcuts in firefox which would be nice to keep, but I could just do it for everyone using sabayon or something like that.<br><br>Thanks for your wisdom,<br>Krsnendu dasa<br><br><div><span class="gmail_quote">
On 26/09/2007, <b class="gmail_sendername">David Trask</b> <<a href="mailto:dtrask@vcsvikings.org">dtrask@vcsvikings.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is a great case for having "enforced" passwords....like I do  ;-)<br>(this way I always have the correct userlist with passwords)....<br>Anyway....you can easily change the permissions on the home directories
<br>with a script like this:<br><br><br>!#/bin/bash<br>for x in `ls /home`; do<br>echo "Doing ${x} ..."<br>cd /home/${x}<br>chown -R ${x}:Students /home/${x}/<br>echo "I have changed the permissions for ${x}"
<br>done<br><br><br>I've never run into UID issues.  I've moved users and home dirs all over<br>the place.  So long as the username is the same it all works.  The script<br>is simplistic, but you get the idea.  I recently had to redo my server due
<br>to a "fat fingers" mistake.  I tarred up the entire /home<br>directory....moved it to another server....reformatted and reloaded the<br>server....brought the tarred /home back over.....untarred it in<br>place.....added the users and then ran the script above.....everything is
<br>back to normal...no data lost.<br><br><br>"Support list for open source software in schools." <<a href="mailto:k12osn@redhat.com">k12osn@redhat.com</a>><br>writes:<br>>We are in the process of moving our users over from K12LTSP 6 to Edubuntu.
<br>>I have been using smbldap on the K12LTSP box and want to continue using<br>>it on Edubuntu.<br>>We installed smbldap on the new server fine, but made some of the choices<br>>differently. e.g. we gave a different domain name and password.
<br>>We were able to create a user with the bulk add script and that user<br>>could log in from the thin client.<br>>When we tried to import the users from the old box we came across<br>>problems.<br>>The users were not coming up when we did getent passwd.
<br>>We thought the change of domain name might have been the problem so we<br>>reran the smbldap configure script but when we ran it it failed every<br>>time without any meaningful message. We tried the old password, old
<br>>domain name etc but it wouldn't install.<br>><br>>Any clues what to do next?<br>><br>>If worst comes to worst we can reinstall the operating system, but what<br>>if the same problem occurs again? It will be best if we can import the
<br>>ldif user database from the other system.<br>>Alternatively we could run the bulk user add script using the list of<br>>users. Of course then we would also have to set up the groups again etc<br>>but this is not a big deal.
<br>>The thing that worries me is that the users will not be able to access<br>>there home directories if the uid does not match. If we use the same<br>>usernames does the uid matter? If it does, can it be set along with the
<br>>bulk add script?<br>><br>>Thanks for any tips.<br>><br>>Krsnendu dasa<br>>_______________________________________________<br>>K12OSN mailing list<br>><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com
</a><br>><a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br><br><br><br>
David N. Trask<br>Technology Teacher/Director<br>Vassalboro Community School<br><a href="mailto:dtrask@vcsvikings.org">dtrask@vcsvikings.org</a><br>(207)923-3100<br><br><br>_______________________________________________<br>
K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>For more info see <<a href="http://www.k12os.org">
http://www.k12os.org</a>><br></blockquote></div><br>