/srv/irclogs.ubuntu.com/2010/02/19/#edubuntu.txt

joerghi00:48
sbalneavEveving all01:14
joergsbalneav, found an answer? :D01:20
joergI am not even sure if I remember correctly what I asked you ^^01:21
sbalneavEurhg, sitting in a cafe after a full day of "Team Training" at work, waiting for my sons piano lesson to end.01:25
sbalneavhold on...01:25
sbalneavYeah, the mail thing.  Well, at then end of the day, a mail sever's gotta have a drop box to deliver to.01:27
sbalneavusually, that can be handled by procmail01:27
sbalneavand procmail can call external programs01:27
sbalneavso01:27
sbalneavit wouldnt be to hard to set up a "school-newspaper" alias that delivers to a pipe01:28
sbalneavthe pipe's a program that looks up your group mappings in ldap via your custom schema01:29
sbalneavand outputs a list of actual dropboxes to deliver to01:29
sbalneavor, if it's a web only group01:29
sbalneavcould post the message via inserting into whatever your backend is.  Postgresql for ex.01:30
sbalneavso I think that one could be worked around.01:30
joergyeah, it is postgres of course :)01:30
joergok, that sounds great01:30
joerghaven't really looked at procmail and stuff yet01:30
sbalneavI mean, what you're wanting to do isn't MUCH different from a mailing list.01:30
joergI just wonder: do I need users? :)01:30
sbalneavall that differes is the back end.01:31
joergI mean real posixAccounts?01:31
sbalneavNo01:31
joergif the school does not use LTSP?01:31
sbalneavnot so long as you provide a custom back end delivery program01:31
joergbut the mailserver needs accounts, doesn't it?01:31
sbalneavwhich is pretty easy01:31
sbalneavWell, the mailserver can get it's accounts from ldap01:31
joerghmm01:31
joergyeah, and that don't need to be posixAccoutns?01:32
sbalneavNo, you can usually specify whatever you want your filter to be.01:32
joergand how does auth work? the user doesn't have a shadowPassword attribute then?!01:32
joergfor the password as well?01:33
sbalneavSo long as you're not logging into unix itself, no.01:33
sbalneavshadowPassword et al. are needed by pam01:33
joergyeah01:33
sbalneavif you're not doing pam logins, you can "roll your own"01:33
sbalneavI know with postfix, which is what we use, you can set up completely arbitrary user lookup mechanisms01:34
sbalneavvia the filters01:34
joergcool01:34
joergbut maybe posix account is not that bad?!01:34
joergI mean, if people have their accounts already that will be posixAccounts I guess01:35
sbalneavright01:35
joergso if I build it on top of possixAccount to be compatible with existing stuff....01:35
joergand tell them not to use pam_ldap if they don't need it...01:35
sbalneavyeah, that would give you the widest dispesion01:35
joergthat should be fine, shouldn't it?01:35
sbalneavdispersion01:36
sbalneavyeah, that would work fine01:36
joergyeah. I just remember what you said ages ago01:36
joergwhen we were discussing about creating users in a webbased frontend.01:36
joergwhich is absolutely needed for our setup.01:36
sbalneavright, you want to make it as easy as you can for th widest audience.01:36
joergbecause 199 of 200 schools don't have the know how and resources to run ltsp or learn how to do that via ssh01:36
joergand if I do it like this: web based user management for posixAccounts which can be turned off01:37
joergand is not recommended if you have "real users" with pam_ldap / nss?01:37
joergbecause 499 of 500 schools will only want to use the web based stuff01:38
joergand the mailserver maybe01:38
joergto fetch their mail01:38
joergno, not even that01:39
joergbut the webmail app will need to talk to a mailserver on behalf of the user01:39
joergthat's our experience01:39
joergthe current configuration (which is highly insecure, I know) has: webbased access, ftp access to home and group dirs, imap(s) to mailserver, samba to home and group dirs01:40
joergand maybe 5 out of thousand uses all these services.01:40
sbalneavI know samba for sure's pretty dependent upon the posixAcccount model01:43
sbalneavimap's dependent upon the model.01:43
joergsbalneav, hmm....but samba needs real users I think.02:24
joergsbalneav, I mean for filesystem access for example.02:24
joergthat would be my next question02:25
joerghow can a user that is not a unix user access the filesystem?02:25
joergthe webapp can store it in the DB - what files belong to what user02:26
joergand what permissions are set02:26
Ahmuck-Srhrm, i've forgotten what i needed to make a folder under home writeable by all03:31
Ahmuck-Srnm, i just chmod the directory03:32
=== ubott2 is now known as ubottu
mgariepygood morning all12:27
=== etyack1 is now known as etyack_scale
reynoldscan anyone tell me how to give my students read write permission to a shared folder on their desktop? right now whenever on user creates a file its locked to other users.22:25
sbalneavYou'll need a group to which all the students belong to, i.e. "students"22:26
sbalneavThen create the directory owned root, with group ownership students22:26
sbalneavthen, set the setgid bit on the dir with chmod 2770 dir22:27
reynoldsok ill try that. thanks22:27
sbalneavthen when they create files in the directory, they'll be owned by the group.22:27
sbalneavHeading home for the day, back on later tonight.22:27
lightnin1hey highvoltage23:56
lightnin1nixternal?23:58
highvoltagehey lightnin123:58
lightnin1Hey - I'm sitting here with Mako. We just uploaded a fixes for scratch.  Any chance of making it in? http://revu.ubuntuwire.com/p/scratch23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!