/srv/irclogs.ubuntu.com/2006/06/13/#ubuntu-server.txt

edneymatiasbye!12:47
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== chumpalump [n=dhjr@24-196-76-158.static.mdsn.wi.charter.com] has joined #ubuntu-server
=== chumpalump [n=dhjr@24-196-76-158.static.mdsn.wi.charter.com] has left #ubuntu-server []
=== nitestar1 [n=knightst@cpe-24-24-102-34.midsouth.res.rr.com] has joined #ubuntu-server
=== mystamax [n=mystamax@c-24-98-118-36.hsd1.ga.comcast.net] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== mooseman447 [n=mooseman@24.229.155.24.res-cmts.sm.ptd.net] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== mpathy [n=mpathy@stgt-d9bea14b.pool.mediaWays.net] has joined #ubuntu-server
=== TrioTorus [n=TrioToru@213.219.153.107.adslpower.by.edpnet.be] has joined #ubuntu-server
TrioTorusguys and gals, I want to install phpldapadmin but it depends on apache1 and php4. Does somebody have it running with apache2 and php5 or is that too adventurous? Just trying this on a home network for now.01:08
ajmitchTrioTorus: you should be able to install it with apache2 & php501:09
TrioTorusany doc/pointers on this?01:10
ajmitchjust install the package :)01:11
TrioTorushow do I overwrite dependency check?01:11
ajmitchapt-get install phpldapadmin libapache2-mod-php501:11
ajmitchyou don't need to01:11
TrioTorusah ok01:12
TrioTorusI started editing the ldapserver wiki page, but it lacks a lot of info right now. I'll try to update it with my findings soon. Anyone wants to cross-check?01:13
lionelpTrioTorus: I ma the original author of the page, so yes, I am volonteer to cross-check :)01:15
TrioToruslionelp: ah ok, thanks, lovely to meet you01:15
lionelp:)01:16
lionelpWhat kind of info was missing for you (just for my personal info to write beter doc next time :-))01:17
TrioToruslionelp: I would like a wiki guide that helps to set up a basic but very usable ldap server for somebody who has never set up such a thing before01:17
TrioToruslionelp: like what gui are u using for it?01:17
lionelpMaybe that can be the topic of a second page01:18
lionelpmore directive01:18
TrioToruslionelp: I agree01:18
lionelp"LDAPServerForDummies"01:18
lionelpA page where we propose a basic configuration without to many explanations for those who are in a hurry01:18
TrioToruslionelp: like that would contain me to be honest01:19
=== dnel [n=dave@82-70-195-206.dsl.in-addr.zen.co.uk] has joined #ubuntu-server
TrioToruslionelp: yes01:19
lionelpTrioTorus: I am using gq and a lot a command line01:19
=== dnel [n=dave@82-70-195-206.dsl.in-addr.zen.co.uk] has left #ubuntu-server []
TrioToruslionelp: but gq is just a ldap browser, right?01:19
lionelpyes, it can edit entries too01:20
lionelpYou wantes a GUi for setting the LDAP directory ?01:20
=== dnel [n=dave@82-70-195-206.dsl.in-addr.zen.co.uk] has joined #ubuntu-server
TrioToruslionelp: "how to set up ldap, user admin, group admin, bookmarks, adressbook, dnsldap for dummies" something like that.01:21
TrioToruslionelp: well, there is a directive for edgy eft to include network authentication over ldap in an easy manner. I would just like to make a start.01:22
lionelpthe problem is to find the good granularity01:22
lionelpyes01:22
lionelpajmitch will do it for us :)01:22
TrioToruswell, now that I know you guys hang around in here, I'll report back.01:23
TrioTorusLike for a start, wouldn't you agree that phpldapadmin is a good tool for administering?01:23
lionelpYou're welcome01:23
lionelpIt a tool, like another :)01:24
lionelpI had problem with it last time i tried it (not on a dapper)01:24
lionelpbut yest, that is a good option01:24
TrioToruslionelp: it is, but I want the ldap-noob tool01:24
lionelpyou can give it a try01:24
TrioTorusok01:25
=== edney_brasil [n=edney@prognus.com.br] has joined #ubuntu-server
edney_brasilmorning all!01:42
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
TrioTorusphpldapadmin still depends on libapache-mod-php4 even when installing libapache2-mod-php5 with it. See http://paste.ubuntu-nl.org/1565102:11
TrioTorushow can I make it not install the php4 module?02:11
=== dnel [n=dave@82-70-195-206.dsl.in-addr.zen.co.uk] has joined #ubuntu-server
lionelpTrioTorus: apt-get install php5-ldap phpldapadmin02:40
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
TrioToruslionelp: great, thanks, that worked.02:41
TrioToruslionelp: how did you figure this out? Can I see dependancy tree easily with apt-get (gentoo convert)02:42
lionelpCheck package Depends information with apt-cache show phpldapadmin02:43
lionelpYou can see the tree with apt-cache depends phpldapadmin02:43
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== Smartmob89 [n=smartmob@host228-228.pool8711.interbusiness.it] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
TrioToruslionelp: would it be wise to only include users with uid>1000 ubuntu LDAP server?05:45
=== zenrox [n=zenrox@71.115.198.118] has joined #ubuntu-server
lionelpyes !05:47
TrioTorusso, for ubuntu non-system users and non-system-groups > 1000? I was reading somewhere that some distro's consider everything >100 as non-system05:48
lionelpDebian policy say that non system users are users > 100005:50
lionelp(same for group)05:50
TrioTorusk, what about if you authenticate against LDAP, but you need to be a member of the video group (gid: 44), will I be able to assign gid 44 to that user, even though this group will not have an entry in the LDAP tree?05:52
lionelpsure05:53
TrioTorusthe reason I'm asking is: I also want to use the ldap server with a mac client, the system groups might all have different numbers.05:57
lionelpTrioTorus: ok, that's not a problem05:58
lionelpfor example, my user on my workstation is on my company LDAP05:58
lionelpbut I ma the member of some local groups (audio, video, etc.)05:59
TrioTorusbut that means on the ldap server, those gid's are assigned to you, right? Or is there a more dynamic system?06:00
lionelpno, I added my LDAP user to local group06:00
lionelpin /etc/group file06:00
lionelpmy LDAP server ignore all of my local groups06:00
TrioTorusbut that means you have to maintain your /etc/group file on every client.06:01
TrioToruswhich surpassed the aim of setting up an ldap server.06:02
lionelpDepends on how your clients are the same06:05
lionelpIn the case they are all the same, you can move group in LDAP06:05
lionelpor change groups for acceding audio/video06:05
lionelpOn another network I administer, audio and video devices are associated to the group of which all users are member of06:06
lionelpSo, everybody can access it06:06
TrioTorusthat's what I would be aiming for. Say you name the audio group 'audio' with gid '1010' this would mean I have to change the gid on the client machine to 1010 for all files that need to acces 1010. This seems like at least the same amount of work. I'm just fishing for a more elegant technique here, but i might be way off.06:09
lionelpThere is not really one way to do that06:10
lionelp(now I understand what you wanted in howto)06:11
TrioTorus:-) yeah, these are the questions a noob would want to see huh?06:11
lionelp:)06:12
TrioTorusbut I'm glad to be able to chat about it06:12
TrioTorusso, what would you say the choice for a beginner should be: just use id's > 1000 and keep maintaining your /etc/groups file?06:12
lionelpI personnaly find this is the easier way to acheive06:14
lionelpYou will have to modify all clients (or by hand,  or a framework) for LDAP configuration06:15
lionelpso...06:15
lionelpThat's only one more line to add06:15
lionelpOn your network, does all your users have to connect to all the workstations ?06:15
lionelpdo you have numerous users ?06:15
TrioTorusgood point, no, I only have a 5 users, but they should be able to acces all machines. And I'm only setting this up as proof of concept.06:16
lionelpOk06:17
lionelpI will add a wiki page with some notes I have on another wiki about configuration on workstations06:17
TrioToruswonderfull06:18
TrioTorusLet me maybe paint the bigger picture: I'm leading a small special fx company that uses linux for the creation of 3D graphics. Unfortunately, for compositing and editing, the mac is unbeatable on this field for now. So transparancy between os x and linux would be wonderfull (it's so close already). This is specific to my shop, but I'm sure others would vastly benefit from transparent os x and linux accounts.06:21
lionelpIt can be integrated06:22
lionelpbut I do not owned a Mac myself06:22
thefishTrioTorus: have a look here, i think thats everything you need: http://times.usefulinc.com/2005/09/25-ldap06:39
TrioToruslionelp: thanks for the link. I'll read it. I just thought of this though: a solution would be to make group a member of a group then I could have in /etc/group this for example: audio:x:29:ldapusers where ldapusers is a group in itself06:41
thefishTrioTorus: why not just keep the groups in ldap as well06:46
TrioTorusthefish: because I was reading a directive on debian wiki to only include non-system uid and gid's. Moreover, if I combine with local groups on a completely different system (like os x in my case), the results are unpredictable.06:48
TrioTorusthefish: mind you, this is a thinking exercise06:48
thefishkay06:49
thefishi am guessing you want groups for file access permissions?06:49
thefishif so, you could make custom groups for those06:49
TrioTorusthefish: on os x, some local groups involve: admin, lpadmin,mail, dialer and so on, and they map to other gid's.06:50
thefishye06:50
thefishso you could make a group called fileaccess in ldap06:50
TrioTorusthefish: yes I could, but that means on I have to change groups on the client machine to the new gid.06:50
thefishwhy?06:50
thefishif its an ldap group, just change permissions on the files06:51
thefishthose groups will come from ldap, not from local machines06:51
TrioTorusthefish: that's right, but isn't that a dangerous thing to do? All files that have plugdev need changing to the plugdev_ldap group.06:52
TrioTorusWhat if I plug in a usb device? Will it automatically have plugdev_ldap assigned?06:53
thefishor you could use acls, and just add the groups as well as whatever existing groups06:53
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
lionelpthefish: it is more complicated than just changing files permissions06:56
lionelpyou have to change udev permissions in dynamic devices creation06:57
thefishi see for usb disks etc ye06:57
lionelpchange some groupe of some executables that are setuid06:57
lionelpthefish: absolutely06:57
thefishbut for nfs or samba it would be fine06:57
lionelpyes06:57
thefishive never tried with usb stuff, sounds fun06:57
lionelpbut the original question of TrioTorus concern audio & video group06:57
lionelpFor 5 users, that's why I advised him to alter local group06:58
TrioToruswell, as I said, I was thinking out loud.06:58
lionelpThat was to my mind the easiest quand quickest solution to setup06:58
TrioTorusI want to set it up so that as many people can benefit from this easy setup.06:58
TrioToruslionelp: yes, so id>1000 only for now then :-)06:59
lionelpI'll start writing a more complete page on the wiki later this night06:59
TrioToruslionelp: ok, that is already nice. I'll be here tomorrow too.07:00
TrioTorusone last thought: there should be a mechanism to map gid to other gid and save that in ldap07:01
TrioTorusIf openldap wants to be this big overall authentication tool, man that would be wonderfull07:02
TrioTorus(if the machine that is connecting is os x, then use this mapping)07:03
=== Mussi [n=Mussi@unaffiliated/mussi] has joined #ubuntu-server
=== aurelboiss [n=aurel@APoitiers-155-1-176-238.w83-193.abo.wanadoo.fr] has joined #ubuntu-server
edney_ToTheHEXAsee ya!07:46
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== superjolly [n=lello@host253-180.pool8250.interbusiness.it] has joined #ubuntu-server
=== dwight [n=dwight@adsl-070-147-074-086.sip.sdf.bellsouth.net] has joined #ubuntu-server
dwightneed help getting amavis to scan emails08:34
=== usual [n=usual@cpe-72-231-137-206.nycap.res.rr.com] has joined #ubuntu-server
usualneuralis: I think I figured out my problem witht he HP DL140G2 server. If you remember. I had a problem with the broadcom nic's08:36
usualneuralis: I havn't tried it yet because the driver download from broadcom is down, but it seems due to GPL violations the tg3 driver in debian is not complete. I have to use their driver. I hope it works08:37
usualneuralis: I don't know if ubuntu shares that issue or not08:38
=== gpd [n=gpd@www.grahamdavies.net] has left #ubuntu-server []
usualI'm going to build the non-free driver with module assistant08:47
=== usual [n=usual@cpe-72-231-137-206.nycap.res.rr.com] has left #ubuntu-server []
=== dwight [n=dwight@adsl-070-147-074-086.sip.sdf.bellsouth.net] has left #ubuntu-server ["Leaving"]
=== dwight [n=dwight@adsl-070-147-074-086.sip.sdf.bellsouth.net] has joined #ubuntu-server
dwightCan anyonr tell me why amavisd no longer use the amavis.conf file? Yes the conf.d directory is easier to work with, but it does not work. WTF?08:51
=== allee [n=ach@allee.exgal.mpe.mpg.de] has joined #ubuntu-server
=== CarlFK [n=carl@c-67-163-39-124.hsd1.il.comcast.net] has joined #ubuntu-server
=== superjolly [n=lello@host253-180.pool8250.interbusiness.it] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== allee [n=ach@allee.exgal.mpe.mpg.de] has joined #ubuntu-server
=== nikola-ppp [n=nikola@cmung3923.cmu.carnet.hr] has joined #ubuntu-server
=== nikola-ppp [n=nikola@cmung3923.cmu.carnet.hr] has left #ubuntu-server []

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