=== Kalle [n=Kalle@157.230.95.91.static.ter-blg.siw.siwnet.net] has joined #Edubuntu === jack_wyt [n=jack@124.64.105.110] has joined #edubuntu === merriam [n=merriam@85-211-239-240.dyn.gotadsl.co.uk] has joined #edubuntu === effie_jayx [n=valles@ubuntu/member/effie-jayx] has joined #edubuntu === andrupal [n=chatzill@user-12ld7dv.cable.mindspring.com] has joined #edubuntu [03:14] anyone around who can provide some guidance through a fresh LDAP installation? I've been getting stuck and falling down rabbit holes in poorly written tutorials for the past week...I need a samba client authentication setup that will work with thin, thick and windows clients. [03:15] hello again [03:15] Howdy...perfect, it's you! [03:15] alright [03:16] I've got a clean server install, and have just done apt-get install slapd [03:17] ok [03:17] I began editing slapd.conf, changing the with the dc info [03:18] did debconf not ask you for basic information? [03:18] sudo dpkg-reconfigure slapd [03:18] try that [03:19] OK...I'm not omitting, Q1, correct? [03:19] q1? [03:19] It asks "Omit OpenLDAP server configuration?" I'm replying No [03:19] yes [03:20] no is the correct answer [03:20] geez, I need to setup this myself [03:20] it has been so long [03:21] it asks for DNS domain name and automatically fills in earthlink.net, my ISP...I assume I should change this to something else...in previous installs I've been using "example.net" since this is just a test server. [03:22] no, leave that [03:23] leave earthlink.net it says it will use this to construct the base DN of the LDAP directory. I want this called earthlink.net? [03:25] Hundreds of thousands of new yorkers have earthlink.net as their ISP...it seems odd to use this as my LDAP base DN... [03:29] no [03:29] let me run through the questions on my machine [03:30] It asks which database backend to use: BDB or HDB ...BDB is what I have done on previous installs. Ok I'll let you catch up. I recognize this is detailed stuff. [03:31] right, ok [03:31] so for the dns one, fill in example.net [03:31] for the org, fill in example [03:31] how can I go back? [03:32] I just ran dpkg again... [03:33] run it again [03:33] Do I want the database to be removed when purged? I'm saying yes, for now... [03:34] ALlow LDAPvs protocol. I've said no in previous installs... [03:34] say no [03:34] ldap v2 is dead [03:35] Unfortunately the first config process seems to have created a backup that prevents the old database from being moved...the process says "giving up" [03:35] Shall I delete the file that's getting in the way? [03:36] yep [03:38] you should now be up and running [03:38] rm -r removes a directory, no? [03:39] yes, but you should be very careful [03:39] might be better to purge slapd [03:39] how again? apt-get purge slapd [03:39] ? [03:40] --purge remove [03:43] same problem...old backup exists...process gives up === gnomefreak is now known as buttons [03:45] huh? [03:45] Ok I removed the directory that was giving the error and dpkg runs fine, with successful output [03:45] ok [03:45] slaptest succeeds [03:46] I've gotten this far before, however...we're not to the hard stuff yet. [03:46] well, now all you need to do is populate it [03:47] Ok how is this done? [03:47] ldap uses what is called an ldif file [03:47] https://help.ubuntu.com/community/OpenLDAPServer [03:47] I would just create one account via a text file as per that page and then slapadd it [03:48] I should use the dummy file provided? [03:50] OK I just used the dummy file and saved as init.ldif on my desktop === buttons is now known as gnomefreak [03:51] Shall I follow the instructions that follow the init.ldif file provided on the link you provided? [03:51] no, that is too much [03:51] just create a single user [03:52] So delete everything except one entry that has "ou=people" in it? [03:53] no, you need to add a single person [03:53] a person starts with the line: [03:53] dn: uid=lionel,ou=people,dc=example,dc=com [03:54] OK...so I'm deleting everything except this part of the ldif file. [03:54] sorry, have to run [03:54] look at how the ldif file is constructed and make a similar file [03:55] OK no problem...I'll continue with this tutorial...Thanks for your help! === jinty [n=jinty@25.Red-83-56-154.dynamicIP.rima-tde.net] has joined #edubuntu [03:56] don;t follow that wiki page exactly [03:56] after you have added somebody, try and setup a client to auth against the ldap server [03:57] The client needs configuration as well...no? Can you point to reliable documentation on this? [04:02] I'm getting an error using slapadd...value of naming attribute 'uid' is not present in entry. The init.ldif file has a uid, however... [04:09] ldapsearch returns ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) === superseth [n=smarinel@adsl-75-15-114-199.dsl.snlo01.sbcglobal.net] has joined #edubuntu [04:17] ldapsearch returns "ldap_bind: Can't contact LDAP server (-1)" error...help anyone [04:18] Big topic you need help with there. [04:19] How about you tell me a little about what you've got set up? [04:20] Just went through a clean server install, clean slapd install. Ran dpkg. Attempted to populate using an ldif file...can't search LDAP [04:21] slaptest succeeds [04:22] tutorials all say different things about how to approach setup...I was following Burgundavia's lead but he had to go... [04:22] what does your /etc/ldap/ldap.conf file look like? [04:23] Paste it to the pastebin [04:23] Where's the pastebin? [04:23] !pastebin [04:23] pastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic) === jack_wyt [n=jack@124.64.105.110] has joined #edubuntu [04:25] Ok see http://paste.ubuntu-nl.org/26960/ [04:26] that's the slapd.conf [04:26] woops. [04:27] It's ok, we'll need it too :) [04:28] Ok see http://paste.ubuntu-nl.org/26961/ [04:28] I'm now seeing that example.com is an error...this should be example.net to match slapd.conf, no? [04:29] Should be NEITHER example.com or example.net. [04:29] Should be YOUR domain name :) [04:29] Yes, in this case I'm running a test server, example.net [04:30] You're talking the rootdn? [04:30] I guess...I've been consistently using example.net throughout LDAP setup...the machine name is UBUNTU, however...that's not the issue though, right? [04:31] In your ldap.conf, what's your URI set to? [04:32] It was ldap://ldap.example.com ldap://ldap-master.example.com:666 [04:32] now com = net [04:32] That's going to try to contact the host ldap.example.com [04:32] so I should take our ldap [04:32] out [04:34] Where's the ldap server running, on the same machine? [04:34] Yes [04:34] If so, you'll probably want a URI like ldap://localhost [04:35] why are there two entries? [04:35] should I remove the 2nd, with port? [04:35] Failover. If you have multiple ldap servers for redundancy, it will try one, then the other. [04:36] yes [04:36] since you've only got one ldap server [04:37] Ok with changes I'm still getting ldap_bind: Can't contact server (-1) [04:38] you still haven't actually pasted your ldap.conf file to the pastebin. [04:39] Oh, wait [04:39] you did, missed it. [04:39] It's different now... [04:39] They still got the # in front of URI and BASE? [04:40] Snikes! [04:41] Ok removed # [04:41] That should help somewhat [04:41] ;) [04:43] still getting the error [04:43] does slapd.conf need my password? [04:43] Can't contact server means it isn't even getting connected [04:44] Is slapd running? [04:44] ps -ef | grep slapd [04:44] should have probably 4 of them === Knightlust [n=Dax@ubuntu/member/knightlust] has joined #edubuntu [04:45] it outputs root 12445 9398 0 22:44 pts/0 00:00:00 grep slapd [04:46] So, your slapd isn't running [04:47] Yet I get no errors when I start it? [04:47] how are you starting it? [04:47] sbalneav: so what did you do to fix nbd? [04:47] LaserJock: Turned out to be easier than I thought. [04:48] it's prolly a 4 line patch. [04:48] oh, nice [04:48] What's the BEST way to produce a patch to send to you? [04:48] sbalneav: debdiff is nice [04:49] Keeping in mind that I'm good at coding, but NOT good at packaging things, how would I go about doing that? [04:49] :) [04:49] heh [04:50] I'm sure my motu-and-main-friend can gimme a quick pointer :) [04:50] andrupal: How are you starting slapd? [04:51] using init.d [04:51] Try this: [04:51] invoke-rc.d slapd start [04:52] sbalneav: quick version: get source packge, make changes, add changelog entry with dch -i, then debuild -S to create new source package [04:52] ok [04:52] version should be 1:2.9.3-3ubuntu1 and gutsy the release in the changelog [04:52] I gotta run an errand [04:52] I'll be back in a little bit [04:53] sbalneav: tried it, no difference in grep results [04:54] LaserJock: ok [04:54] ping me [04:54] andrupal: ok, so, something's not kosher with your slapd setup. [04:54] First, go have a look in either /var/log/messages, or /var/log/daemon.log [04:55] if slapd's unhappy with something, it should be in there. [04:56] neither log shows anything recent... [04:58] should I purge and reinstall slapd? === effie_jayx [n=valles@ubuntu/member/effie-jayx] has joined #edubuntu [04:59] No [04:59] Hmm [04:59] take a look in /var/log/syslog [04:59] Ok there it is... [05:00] Hang on...I need to log into chat on the same machine... === andrew____ [n=chatzill@user-12ld7dv.cable.mindspring.com] has joined #edubuntu [05:02] Andrew is same as andrupal [05:03] Here's the log message: Jun 23 22:51:55 ubuntu slapd[12665] : @(#) $OpenLDAP: slapd 2.3.30 (Dec 13 2006 15:54:43) $ ^Ibuildd@palmer:/build/buildd/openldap2.3-2.3.30/debian/build/servers/slapd [05:03] Nothing else shows up relevant to ldap [05:06] anything in /var/lib/ldap? [05:07] it's a directory full of files [05:10] Did you do an initial slapadd? [05:10] Yes, using an ldiff file..I think some of them took, though there were errors... [05:12] ok [05:12] blow away everything in /var/lib/ldap [05:12] re-run the slapadd [05:12] and paste me the errors you get. [05:13] yay for ldap [05:16] #/etc/ldap/slapd.conf: line 102: rootdn is always granted unlimited privileges. [05:16] #/etc/ldap/slapd.conf: line 119: rootdn is always granted unlimited privileges. [05:16] #Error, entries missing! [05:16] # entry 1: dc=example,dc=net [05:18] Ok fixed slapd.conf [05:18] Hmmm, big thunderstorm going on here. [05:18] If I drop offline, that's what it is. [05:19] see http://paste.ubuntu-nl.org/26966/ for new errors [05:22] OK having deleted all from /var/lib/ldap, the only error I get is Error, entries missing! [05:22] entry 1: dc=example,dc=net [05:24] You have to re-blow away everything in /var/lib/ldap again [05:24] OK I got ldapadd to run without error...now an ldapsearch for one of these users yeilds same ldap_bind: Can't contact LDAP server [05:25] is slapd running? [05:25] No, grep gives same as before [05:26] Have you tried to re-start it? [05:26] just did [05:26] So, it's still not running. [05:26] until you get that fixed, ldap search is not going to work [05:27] no...but also no error upon restart [05:27] What's in /etc/default/slapd? [05:28] See http://paste.ubuntu-nl.org/26967/ [05:31] Do this: which slapd [05:32] returns # /usr/sbin/slapd [05:32] k [05:32] /usr/sbin/slapd [05:32] we'll run it directly from the command line [05:32] What does that do? [05:33] root 13972 1 0 23:33 ? 00:00:00 /usr/sbin/slapd [05:33] root 13977 9398 0 23:33 pts/0 00:00:00 grep slapd [05:33] ok [05:34] is what grep returns [05:34] so, now you got a running slapd [05:34] whew...what a grunt. [05:34] Lets leave the fact that there's something wrong with your init script [05:34] and see if your ldapsearch runs now [05:35] yippee...searching my name gives me back my info! [05:35] Well, we've still got the problem of why your slapd isn't working [05:35] properly [05:36] (aside: Is there something wrong only with MY init script, or is this a bug, perhaps...? ) [05:36] Now what? [05:36] I doubt it's a but [05:36] bug [05:36] probably a step that got missed somewhere [05:36] lets do this [05:36] pkill slapd [05:37] then edit /etc/default/slapd [05:37] edit the line that says: SLAPD_USER="openldap" [05:37] make it look like: [05:37] SLAPD_USER="" [05:37] then lets see if you can start it with invoke-rc.d slapd start [05:38] ok, done [05:38] grep gives [05:38] root 14126 1 0 23:38 ? 00:00:00 /usr/sbin/slapd -g openldap [05:38] root 14137 9398 0 23:38 pts/0 00:00:00 grep slapd [05:39] try your ldapsearch now [05:39] works [05:39] ok [05:39] congrats, you're working [05:39] !! [05:40] This is a huge help...as far as a roadmap for setting up samba, I've seen a few tutorials around...does Ubuntu have anything worth following? [05:41] Off the top of my head, I dont know [05:41] Google is your friend. [05:42] Yes...I thought so...but then I spent a week following tutorials that didn't work [05:42] There's lots of good info out there, but every ldap setup's slightly different. [05:43] There's no "do this and everything will work" tutorial out there, that I've ever seen. [05:43] Single sign-on's a big, complicated topic :() [05:43] Yes...it doesn't help that I'm totally new to Linux...a bit kamikaze...I'm fumbling around in the dark and learning quite a lot as I go...but not gracefully! [05:44] You're doing thin client as well? [05:44] That's the hope. I've had that working on its own...but I'll need to authenticate it against LDAP [05:45] So, lemme get this straight, you're new to linux, and decided to pick arguably the two most COMPLICATED end user tasks, thin client and ldap, to do first? :) [05:46] Dude, run it as a desktop for a few months, at least, get your feet wet :) [05:46] No rush, we'll still be here :) [05:46] That's what the job calls for...it's a school network and I've got to make some decisions about whether to really try going for Open Source or stick to the safety of Windows GUIs [05:48] This is a big test to see how feasible it all is...I'm taking the summer to backtrack and really learn what the hell I'm doing... [05:48] I converted my organization 7 years ago to Linux on the desktop. Trust me, it's feasible :) [05:49] We use ldap [05:49] Do you have Active Directory now? [05:49] ldap has a nasty learning curve [05:49] it does [05:49] No infrastructure at all...actually. We're just starting up. [05:50] where do you live? [05:50] Ah, well then, if you're just starting up, and don't have any windows boxen, then you won't need samba [05:50] How many desktops are you planning on supporting? [05:51] 45 thin clients, 15 laptops, 10 desktops [05:51] I'm inside the NYCDOE and the larger network is Windows centric...we can't even buy machines without it pre-installed! [05:52] Well, for thin clients, you won't need to buy new [05:52] Betcha the school division has a "used computer" reclaimation centre? [05:53] we've already got some great Optiplex G270s being donated by Columbia... [05:53] What are they, pentium II's? [05:53] Pentium 4! Is this a waste of a machine? [05:54] Um, yeah :) [05:54] I got 165 desktops that are 500mhz celeron-equiv [05:54] So we should run these as thick clients instead? [05:54] they're via edens. [05:55] Well, if that's what you got, they'll make great thin clients. The REAL savings with a thin client's in the lack of management. [05:55] But you can get away with a lot less. [05:55] Anything Pentium II 600 or better is going to do great. [05:56] Yes, that was the draw for me...that and the centralized desktop control in the classroom...being a teacher. [05:56] These puppies even have gigabit ethernet. [05:57] I guess what I'm saying is, if it's a case of getting 20 of the P4's or a 100 of a PII, go for the 100 :) [05:57] Right...I don't think we have those choices...but I love the idea of working with students to refurbish and recycle old machines. [05:57] LaserJock: back from your errand? [05:57] this is a math, science, and eng school. [05:58] Ah, lots of good stuff for you then. What the heck's the name of the OSS program that's like Mathematica? Hmmm. [05:58] There's also a GNU stats pack program [06:00] I'll keep poking around...I've been playing with much of the ed freeware, and thus far it seems kind of hit or miss...to be expected I guess. I'm interested in TI Labview but they make you pay gads for it, even the Linux version... [06:01] I need to go to bed, but I thank you profusely for your help...great to have this channel! Will definitely be back..hopefully I'll help another...far in the future. [06:02] No problem. [06:02] Cheers! [06:02] You'll find me here and in #ltsp [06:02] cheers === andrew____ [n=chatzill@user-12ld7dv.cable.mindspring.com] has left #edubuntu [] === sbalneav [n=sbalneav@S0106000b6a5631f9.wp.shawcable.net] has joined #edubuntu [06:37] sbalneav: I am for a sec [06:37] hey hey [06:38] were you able to get a debdiff [06:38] ok, I did the debbuild -uc -us -S [06:38] k [06:38] What next [06:39] debuild .dsc .dsc [06:39] sorry, debdiff [06:40] Puuurty [06:40] Mail that to you? [06:41] yep [06:41] addy? [06:41] mantha at ubuntu.com [06:41] brb [06:44] sent [06:52] http://education.zdnet.com/?p=1118 [07:00] Well, it's been a long day weeding the garden, and fixing nbd [07:00] night all [07:02] bah, just missed him [07:03] hmm, Userful finally turned off my email and remote access [07:04] Burgundavia: what do you make of that zdnet article? [07:04] somebody got sucked in to test stuff [07:04] nothing much === Knightlust [n=Dax@ubuntu/member/knightlust] has joined #edubuntu === jbrefort [n=jean@pot44-1-88-172-65-1.fbx.proxad.net] has joined #edubuntu === Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #edubuntu === jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #edubuntu === sc0tt_ [n=sc0tt@cpc1-stok5-0-0-cust150.bagu.cable.ntl.com] has joined #edubuntu === sc0tt_ is now known as sc0tt === jinty [n=jinty@25.Red-83-56-154.dynamicIP.rima-tde.net] has joined #edubuntu === Castigador [n=Alfredo@88.Red-80-38-9.staticIP.rima-tde.net] has joined #edubuntu === juliux [n=juliux@ubuntu/member/juliux] has joined #edubuntu === ludoRA [n=Ludovic@121.10.101-84.rev.gaoland.net] has joined #Edubuntu === bdoin [n=coudoin@home.gcompris.net] has joined #edubuntu === effie_jayx [n=valles@ubuntu/member/effie-jayx] has joined #edubuntu === effie_jayx [n=valles@ubuntu/member/effie-jayx] has joined #edubuntu === pauljw [n=paul@pool181.dial1-clec.newalb.win.net] has joined #edubuntu === pauljw [n=paul@pool181.dial1-clec.newalb.win.net] has joined #edubuntu === ogra_ smiles http://people.ubuntu.com/~ogra/ltspfs-hal-root.png === ogra_ is now known as ogra === sbalneav [n=sbalneav@S0106000b6a5631f9.wp.shawcable.net] has joined #edubuntu [04:54] Morning [04:54] ogra: ping [04:54] http://people.ubuntu.com/~ogra/ltspfs-hal-root.png [04:54] sbalneav, hey hey :) [04:54] any news on the nbd front ? [04:54] Fixed [04:55] really ?? o_O [04:55] woah [04:55] Sent off a debdiff to LaserJock last night === Mez [n=Mez@ubuntu/member/mez] has joined #edubuntu [04:55] But I forgot something [04:55] hmm, no upload [04:55] In nbdrootd [04:55] you need to change the nbd-server line to: [04:55] thats ltsp side [04:55] right [04:56] nbd-server 0 $1 -C /dev/null > /dev/null 2>&1 [04:56] the -C /dev/null is to give it an empty config file === happywithed [n=administ@210.81.218.130] has joined #edubuntu [04:57] the redirect to /dev/null's because then it barfs out a glib "WARNING: empty config file bla blah" [04:57] Hello there [04:58] since inetd just uses socket 0 (stdin) and internally, the program closes stdou, and stderr, you can just ignore the warings. [04:58] that fixes the problem. [04:58] And Wouter's off my christmas card list this year :) [04:59] Is it possible to connect an edubuntu desktop with the NFS and LDAP installed in the classroom server? [04:59] Yes [05:00] ogra: Cool on the hal! What'd you have to do for that? [05:00] sbalneav, well, if he adds it upstream you can add him back ;) [05:00] sbalneav, http://paste.ubuntu-nl.org/27019/ [05:00] I have a classroom setup with 15 light clients, but would like to connect an additional edubuntu desktop [05:00] sbalneav: how do I do that? [05:01] I am running Feisty Fawn on both the classroom server and the desktop [05:02] sbalneav, if hal wouldnt be so ugly to have on clients, we could just punt the output of lshal from the client through the tunnel into the servers hal ... and omit the /dev and sysfs entries, that way we have access to all info [05:02] happywithed: https://help.ubuntu.com/community/LDAPClientAuthentication should get you started [05:03] ogra: Yeah, we'll need to properly get HAL going on the clients eventually. [05:03] thats no prob [05:03] just install it :) [05:03] sbalneav: thanks, I'll check it out. How about the NFS? Any pointers there? [05:03] with the unionfs it will run like a charm [05:03] but its eating ram :/ [05:04] happywithed: Google is your friend. Add you /home dir to /etc/exports on the server, then an fstab entry on the "client" to mount it. [05:04] I'm pretty happy with the nbd thing. [05:04] its tempting to be able to just move all info 1:1 into the sessions hal... [05:05] yeah [05:05] sbalneav: thanks [05:06] Hopefully, we should be able to make tribe 2 [05:06] sbalneav, so why hasnt the debdiff been uploaded ? [05:07] Dunno, I sent it to LaserJock late last night [05:07] want me to send it to you now? [05:07] yeah [05:07] we need it fixed for the tribe cd [05:07] k [05:07] BTW, is it possible to completely take out the LDAP server from the Classroom client to place it in its own dedicated physical server? That way I can use the LDAP server for other classrooms. [05:07] gimme 2 seconds [05:08] freeze is ahead, i dont want to have endless discussions about the patch because i upload during a freeze... [05:08] happywithed: have a separate sever for ldap? Easy enough, but with only a few clients, ldap's not going to overload anything === sbalneav_ [n=sbalneav@S0106000b6a5631f9.wp.shawcable.net] has joined #edubuntu [05:10] ogra: when is the freeze ? Monday, Tuesday ? [05:10] sbalneav: Yes, you are right, but my server is not powerful enough to handle another classroom. So I am going to setup another server for the second classroom and would like both servers to share the same LDAP server. [05:10] Monday i think [05:10] Evil me [05:10] I also think so as henrik asked me to have a working tracker by Monday :) [05:10] we should see that we have the big chunk of chages in before .. [05:11] small changes to fix bugs we find are no problem during freezes [05:11] but adding 500 lines or so is a prob [05:11] Sorry, that line should be: [05:11] /bin/nbd-server 0 $1 -r -C /dev/null > /dev/null 2>&1 [05:11] yep [05:12] forgot the -r [05:12] i understand ... i already changed it locally while trying to get 2.9 running [05:12] indeed it didnt help :) [05:12] Check your mail there, ogra [05:13] sbalneav: Mind sending me a copy of the debdiff ? so I can play with it here :) [05:13] err [05:13] thats all ??? [05:13] I did have an email from LaserJock, saidhe got into a discussion and couldn't get it uploaded. Said the email should be changed so that I get credit for the fix. I couldn't care less about that, just do the fix as yourself ogra. [05:13] yeah [05:14] Turned out to be easier than I thought [05:14] lol [05:14] took me 3 hours of tracing to come up with that, though :) [05:14] 1h for every added line [05:14] One wonders WHY he took it out. [05:15] since it's SO F****** SIMPLE to leave in [05:15] stgraber: Sure, what's yer addy? [05:15] stgraber@ubuntu.com [05:15] 1 sec [05:16] sent [05:17] make sure you patch your nbdrootd in /usr/sbin as well with that line I pasted. === Mirrakor [n=michael@p57B2FA88.dip.t-dialin.net] has joined #edubuntu === stgraber loves that kind of patch :) [05:23] ogra: tried it yet? [05:24] building the package [05:28] perfect ! [05:29] uploaded [05:31] It work? === sbalneav crosses fingers === bluekuja [n=andrea@ubuntu/member/bluekuja] has joined #edubuntu [05:33] sure [05:33] you should have a reciept mail from launchpad for the upload [05:35] cool === sbalneav breathes sight of relief [05:35] https://launchpad.net/ubuntu/gutsy/+queue?queue_state=2&queue_text=nbd [05:35] there we go [05:36] glad we got THAT one sorted [05:36] yeah [05:36] 2.9.3-3ubuntu1 should be in the archive in about 2h [05:36] i'll fix nbdrootd alongside [05:40] ok [05:41] Well, kiddies want some breakfast. === Yagisan [n=Yagisan@doomsday/developer/Yagisan] has joined #edubuntu [05:41] I'll be on later tonight, get back to ldm :) [05:41] Laster all! [05:41] thx ogra [05:42] highvoltage, you here ? [05:47] Yagisan: indeed [05:47] great [05:48] was browsing through the wiki, and saw your name next too masochists interested in FullyAutomaticSwapServer [05:48] thats was speced for edgy - did that get implemented in feisty ? === Yagisan has come into a few boxes that really really need network swap [05:49] as in firefox freezes on them O_O [05:52] I've killed him! noooooo! === mpytasz [n=dduck@81.219.176.52] has joined #edubuntu [05:54] Yagisan: yes, it did === mpytasz [n=dduck@81.219.176.52] has joined #edubuntu [06:02] cool, nbd-server now works just fine, I just can't open a session (greater then black screen with waiting-cursor ...) [06:02] maybe a ssh problem somewhere [06:03] highvoltage, oh ? what magic incantation do I need to pass to ltsp-build-client [06:04] Yagisan: afaik, it should work out of the box [06:04] Yagisan: have you checked whether it made a swap file? [06:04] highvoltage, I'm not an out of the box guy - I have been taking stock ubuntu and addind the ltsp packages to them [06:06] Yagisan: eesh, I don't know then === Yagisan remembers a time when he would have known exactly where to find all this and not be the one sking for help === andrew____ [n=chatzill@user-12ld7dv.cable.mindspring.com] has joined #edubuntu [06:10] I have a client that I was trying to set up with LDAP authentication and I must have messed up the libnss-ldap.conf file (I think I forgot to make bind-policy soft) and now it hangs during boot. How can I bypass the desktop and go straight to command line to fix this? === Yagisan blows away the chroot and starts again [06:12] I should speecify...this is a thick client... === pitux [n=pitux@22-95-20-190.adsl.terra.cl] has joined #edubuntu [06:13] #ubuntu-cl === Mez [n=Mez@ubuntu/member/mez] has joined #edubuntu [06:14] hi andrew____ [06:15] howdy! back at it. [06:16] ok, I think you'll have the exact same problem using the shell as using gdm as it's probably the nss/pam that cause the problem [06:16] if switching to tty1 (ctrl+alt+f1) doesn't help, you may want to boot a livecd to fix the config files, then reboot [06:17] by livecd you mean a CD image of ubuntu-desktop? [06:18] yes [06:19] Should I use the "rescue a broken system" option? [06:20] this one is more for MBR issues, simply boot the CD [06:22] Having trouble getting it to simply boot from disk...may be a bad cd burn [06:26] Ok found a good copy...starting in "safe graphics mode" [06:30] got to go for a moment, once on the desktop, simply double-click your harddisk in a nautilus window, it'll mount it and let you see its content === andrupal [n=chatzill@user-12ld7dv.cable.mindspring.com] has joined #edubuntu [06:34] OK having some trouble editing the libnss-ldap.conf file in safe mode... [06:34] The file appears to to exist... [06:34] not to exist, rather [06:35] Am I missing something obvious here? [06:35] O_O error: LTSP client installation ended abnormally [06:44] andrupal: ok, open a terminal and become root (sudo -s) [06:45] andrupal: then mount your root partition : mount /dev/hda1 /mnt (assuming it's hda1, it can also be sda1) [06:46] I've already started a reinstall of desktop...perhaps hasty... [06:46] ok :) [06:47] Just a small tip, when you are editing the network auth stuff, always keep a root shell opened somewhere and don't reboot before you are sure everything is working :) [06:50] not entirely sure how to do this yet...how do you test boot authentication without rebooting? [06:53] you can use : login [06:53] from a root shell === ananas [n=Kai@xdslcs061.osnanet.de] has joined #edubuntu === n2diy [n=darryl@wlk-barre-208-103-148-187.dynamic-dialup.coretel.net] has joined #edubuntu [07:08] 9/win 11 === pauljw [n=paul@pool181.dial1-clec.newalb.win.net] has joined #edubuntu === mpytasz [n=dduck@staticline17096.toya.net.pl] has joined #edubuntu [08:23] ack...just had the same thing happen again while editing libnss-ldap.conf it seems I'm locked out of the client [08:25] I went to search getent group example and the shell froze up... [08:27] Now I'm running desktop from livecd...how do I get into the libnss-ldap.conf file to edit? === Amaranth [n=travis@ubuntu/member/Amaranth] has joined #edubuntu === sc0tt_ [n=sc0tt@cpc1-stok5-0-0-cust150.bagu.cable.ntl.com] has joined #edubuntu === sc0tt_ is now known as sc0tt [09:18] trying to add users in LDAP Administration Tool and it fails, saying "Strong Authentication Required" [09:18] any clue as to why? === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #edubuntu === Mirrakor [n=michael@p57B2DF5A.dip.t-dialin.net] has joined #edubuntu === pauljw [n=paul@pool123.dial1-clec.newalb.win.net] has joined #edubuntu === cliebow2 [n=cliebow2@c-68-38-0-92.hsd1.nj.comcast.net] has joined #edubuntu === ath [n=ath@c-68-62-50-110.hsd1.mi.comcast.net] has joined #edubuntu === sbalneav [n=sbalneav@mail.legalaid.mb.ca] has joined #edubuntu [10:20] Afternoon all [10:20] Howdy [10:20] Still slogging away at LDAP here [10:20] Got my own problems [10:21] Air con died in machine room sometime last night. [10:21] Got a call this Am, and came in. [10:21] Yikes [10:21] 96 degrees in the core room [10:21] I'm picking up the pieces now. [10:22] I can tell you how a compressor creates cold [10:23] That's ok, I know how refrigeration works. [10:23] About all I have to offer at this point;) [10:26] I'm getting stuck adding new users to slapd : database already in use errors... [10:27] how are you adding them? [10:28] tried a GUI "LDAP Administration Tool" to no avail (strong authentication required errors) now back using init.ldif [10:28] You're not using slapadd, are you? [10:28] yes [10:29] bzzt. [10:29] from the slapadd manpage: [10:29] "Your slapd server should not be running when performing slapadds" [10:29] use gq [10:29] apt-get install gq [10:30] It seems already to be installed [10:30] start it up then, [10:30] add your server [10:30] (localhost) [10:31] you got a book on LDAP? [10:32] Sort of...I've got some chapters in an O'Reilly Linux System Admin book....and a Samba book [10:32] O'Reilly has a couple of good ones. "LDAP systems administration" is highly recommended/ [10:32] do you get an LDAP if you install ltsp server? [10:32] LDAP is a huge, HUGE topic [10:32] ath: no [10:32] if you want, you can GET ldap going for users with LTSP [10:33] i.e. I should install ltsp? [10:33] because I am looking to set up a network for our small school and I am considering edubuntu but I don't want to use gnomw [10:33] gnome [10:34] gnome's got nothing to do with LDAP [10:34] LDAP's a Lightweight Directory Access Protocol [10:34] sbalneav: does gq add users or is it just a browser [10:34] I know but I need a graphical way of doing things [10:34] GQ can add [10:34] ath: so use GQ [10:35] what is GQ [10:35] A graphical interface to ldap [10:35] oh, neat === pauljw [n=paul@pool123.dial1-clec.newalb.win.net] has joined #edubuntu [10:36] So it try adding a user in gq and it says modifications require authentication [10:36] is LDAP better than using edubuntu because I don't really want all the programs that come with it [10:37] Again: stronger authentication required [10:37] andrupal: you need to bind to LDAP as the ldap owner ID [10:37] I see, so that means if "andrew" is the user, "andrew" also needs to be the ldap owner? [10:37] As part of setting up the database, you should have created a user, like ldapadmin, or admin, that has write access to the database [10:38] You need to bind to ldap as that user. [10:38] no [10:38] Do I need to create a user in Ubuntu called "admin" and then login as this user? [10:38] andrew would be a regular user [10:38] You need to bind as your ldap "root" user, so you have write access. [10:38] How can I get the desktop apps to bind as "admin" [10:39] You set that up in the binddn in gq [10:39] is edubuntu ldap then? [10:39] ath: no [10:40] ldap is a subsystem that can be installed and set up [10:40] Where's binddn in gq? [10:40] it's not there by default [10:40] I see [10:40] andrupal: in the server setup [10:41] my binddn's cn=ldapadmin,dc=legalaid,dc=mb,dc=ca [10:41] where ldapadmin's the userid that's the owner [10:41] I don't see a "server setup" ...is this in a config file or part of the GUI? [10:42] Oh... in the DN for example.net? [10:42] in your slapd.conf, you set the rootdn with the rootdn keyword, and it's password with the rootpw keyword [10:42] andrupal: I don't have gq runing right now. [10:43] So I can't tell you exactly where it is. [10:43] right...but then you're saying gq has a setting for this as well? [10:43] yes [10:43] it does [10:43] I know, because I use it. [10:44] I believe you...so far you have done me right! [10:45] what's the value of your "rootdn" and "rootpw" keywords in your slapd.conf? [10:46] admin and the rootw is an SSHA string [10:46] just "admin"? [10:46] yes [10:46] That's not right. [10:46] You'll need something like: [10:47] "cd=admin,dc=example,dc=net" [10:47] Oh yes,,,that's what it says. [10:47] I think I found the place in gq where this is set. [10:48] brb, gotta bring another piece of the puzzle back online. === pauljw [n=paul@pool123.dial1-clec.newalb.win.net] has joined #edubuntu === ogra [n=ogra@ubuntu/member/ogra] has joined #edubuntu [11:10] back [11:10] helluva time getting gq to authenticate the root user for LDAP...anyone know this beast (LDAP) well enought to tame it? [11:11] howdy sbalneav [11:11] Tried setting up the server settings in gq to no avail [11:12] under servers->localhost [11:12] ->edit I set the dn identical to that in slapd.conf [11:14] What authentication (bind type) am I using...simple, kerberos, or sasl? === cliebow2 [n=cliebow2@c-68-37-128-111.hsd1.nj.comcast.net] has joined #edubuntu [11:16] simple [11:16] complex [11:16] even if rootpw is SSHA string? [11:17] simple to you is..well.. [11:18] After all is submitted, I'm getting: server "localhost" not found, errors. [11:23] sbalneav: around? [11:24] LaserJock yep [11:24] andrupal: ok, lets try this [11:24] your base dn's dc=example,dc=com, right? [11:24] or is it net? [11:24] I can't remember [11:25] lets do this: [11:25] ldapsearch -h localhost -b "dc=example,dc=net [11:26] ldapsearch -h localhost -b "dc=example,dc=net" -x "(uid=*)" [11:26] sorry the second one [11:26] LaserJock: What's up? Saw your email, I sent it on to ollie [11:26] it's been uploaded \o/! [11:27] LaserJock: I'm in at work. Aircon died in the system room, I'm nursing 20+ servers back to life. [11:27] andrupal: did that command work? [11:27] OK a nice output with ldif-looking stuff, including all I added from init.ldif [11:28] ok [11:28] so, that was an anonymous bind [11:28] Now we'll try a bind as the ldap admin. [11:28] sbalneav: so did ollie upload it? [11:28] gimme a sec to test. [11:28] LaserJock: Yep! [11:28] Done like dinner. [11:29] ldapsearch -h localhost -b "dc=example,dc=net" -D -x "(uid=*)" [11:30] ldapsearch -h localhost -b "dc=example,dc=net" -D "cn=admin,dc=example,dc=net" -w XXYOURPASSWDXX -x "(uid=*)" [11:30] where XXYOURPASSWDXX is the password it asked you for when you installed ldap [11:30] sbalneav: awesome, great [11:31] I'm glad that was such an easy fix [11:31] LaserJock: it's a load off my mind, let me tell you." [11:31] It was 3 hours of digging into the source. [11:31] I've got to see if Wouter will accept it upstream [11:31] I'm hoping since it's so simple, he will. [11:32] sbalneav, the 2nd you gave returns similar output [11:33] the first gives invalid dn syntax error [11:34] that was a mistype [11:34] ok [11:34] ok, so that means that you can bind as the binddn, with the right password. [11:34] so it should work within gq [11:35] if not, you can use the command ldapadd [11:35] not slapadd, but ldapadd [11:35] that will actually do a bind to the database [11:36] slapadd just tries to write the database files directly [11:38] Oh how I would prefer a GUI for this type of thing, though... [11:39] Just to confirm...I'm setting up file->preferences->servers->localhost in gq [11:40] Dude, like I say, I don't have access to it at the moment. [11:40] OK...no prb [11:40] When in doubt, read the manual, and google. [11:43] brb, next server ready to online === Feldegast [n=feldegas@C-61-68-60-52.hay.connect.net.au] has joined #edubuntu [11:57] so strange...I can get gq to browse when it doesn't have any bind dn entered...but as soon as I include the bind dn and password in the server setup info, it just hangs up during the search... === etank [n=etank@ubuntu/member/etank] has joined #edubuntu [12:04] is there a mata package that can be used to install all of the educational apps that come by default with an edubuntu install? [12:08] but without installing gnome [12:09] i want to get all of the default apps for edubuntu loaded on a xubuntu box [12:09] the easiest way possible [12:12] hmm [12:12] you might just use the Edubuntu addon cd [12:13] we're going to get better metapackage sets for gutsy [12:14] no big deal [12:14] i just have to do it once [12:14] and then replicate it to the rest of the boxes that i have [12:15] which apps are you interested in? [12:15] all of the educational stuff [12:15] gcompris, tuxmath, etc [12:15] heh, that's kinda broad :-) === Knightlust [n=Dax@ubuntu/member/knightlust] has joined #edubuntu [12:16] https://wiki.ubuntu.com/KentuckyTeam/CharityProject/PackageList <---- that sums it up :) [12:16] back [12:16] of course that was taken from the edubuntu site though [12:18] any ideas why "dc=example,dc=net" would be giving an invalid dn syntax in LDAP administration tool? [12:19] andrupal: hold on, I've got enough back up to get x going, I'll head upstairs and get gq fire up