[00:02] <MavKen> is it possible to create a php registration form that would work with openldap?
[00:17] <sarnold> MavKen: looks like there's some kind of openldap integration with php...
[00:17] <sarnold> http://php.net/manual/en/function.ldap-connect.php
[00:19] <MavKen> ive seen that... i see that it is possible for a login system to connect to ldap... i am just not finding a way to create a registration form.  this is for a niche social media site.... im wondering if it would be best just to use php/mysql login system
[00:21] <sarnold> MavKen: how about this? http://www.php.net/manual/en/function.ldap-add.php
[00:22] <sarnold> MavKen: traditional databases might be easier, but beware of the risk of copy-and-pasting together something horrible. A lot of php-mysql applications are security disasters and the 'easier to read' ones are quite often the worst examples to learn from.
[00:24] <MavKen> thanks, i will need to read that a few times.  i was thinking about purchasing  http://codecanyon.net/item/php-login-user-management/49008?WT.ac=category_item&WT.seg_1=category_item&WT.z_author=jigowatt
[00:25] <MavKen> i have never used openldap, so i would need to get it installed
[00:25] <MavKen> before i start learning either way, just want to know which method would be best to use
[03:23] <gdos> according to dwww man page - http://manpages.ubuntu.com/manpages/hardy/man8/dwww.8.html - there is supposed to be a 'apache2.conf' file in '/etc/dwww' and symbolically linked from /etc/apache*/conf.d/dwww but there is neither a file or a symbolically linked file in /etc/dwww NOR /etc/apache2/conf.d - HELP?
[03:37] <gdos> ... forgot to mention that '/var/lib/dwww' appears empty.
[06:44] <AtuM> Hello. I've been using openvswitch and virsh/virt-manager on 13.04. Now that openvswitch-brcompat is dumped, i am forced to configure the network by hand using "virsh edit" or something along this path.. is there a way to get brcompat back to life on 13.10 ?
[06:45] <AtuM> or is there a better way of doing this that I'm not aware of?
[06:49] <viper2k> hi
[06:49] <AtuM> viper2k, hi
[06:50] <sgran> AtuM: don't you want to just define a network using the openvswitch bridge?
[06:52] <AtuM> sgran, I have done so... I wish i could define it within the libvirt, so I can use virt-manager to create virtual machines and have it recognize that I use ovs bridge..
[06:52] <sgran> no, that's what I mean
[06:52] <sgran> http://libvirt.org/formatnetwork.html
[06:54] <AtuM> sgran, I'm afraid libvirt only uses brctl to manage the bridge.. as I use ovs, it cannot connect the virtual machine to that kind of bridge. it knows nothing about ovs switch
[06:55] <AtuM> with openvswitch-brcompat, there was a compatibility layer so that libvirt could configure ovs bridge using brctl command.. now this is gone
[06:56] <sgran> even with virtualporttype = openvswitch?
[06:56] <AtuM> sgran, this is the only sollution type I know of.. but I have to configure each virtual machine by hand: http://www.siliconloons.com/?p=277
[06:58] <AtuM> I would expect I can define ovs as the default bridge to be used in libvirt.. perhaps I don't know how to do it
[06:59] <sgran> https://www.redhat.com/archives/libvirt-users/2013-April/msg00057.html
[07:00] <sgran> it seems others are having trouble, but that might get you closer
[07:00] <sgran> it seems you can define a network of type openvswitch, at least
[07:02] <AtuM> sgran, I will look into it. I should have no problems since i only use real bridge.. hopefully it works and I can then post the config on my blog
[07:03] <sgran> http://www.siliconloons.com/?p=305
[07:04] <sgran> that looks like it should do it
[07:06] <AtuM> sgran, I've seen this already.. but it includes vlan config.. I will try to filter that out
[07:06] <sgran> just don't use <vlan trunk='yes'> at a guess
[07:08] <AtuM> and I don't need the portgroup either..
[07:11] <AtuM> sgran, thanks for helping me set this up.. it works perfectly
[07:11] <AtuM> no need for brcompat anymore.. great stuff
[07:11] <sgran> great
[07:33] <buscon> hi
[07:34] <buscon> I installed samba4 on ubuntu-server 10.13, removed bind but it looks like not working
[07:34] <buscon> when i install samba i get a lot of
[07:34] <buscon> Error loading module '/usr/lib/i386-linux-gnu/samba//vfs/acl_xattr.so'
[07:38] <Ben64> there is no 10.13
[07:38] <buscon> ups, sorry, 13.10 i meant :)
[07:45] <buscon> when i try to start samba4 with
[07:45] <buscon> service samba4 start
[07:45] <buscon> i get a
[07:45] <buscon> samba4 stop/waiting
[09:02] <AtuM> buscon, from what I remember, one needs to configure samba4 first.. it won't just run.. but I've done this on fedora a year ago from source..  look at the manual from samba's web page.. their step-by-step how-to's are great
[09:09] <buscon> AtuM: ok, now I got it running, but i cannot log in with a user
[09:09] <buscon> i've used a lot samba in the past, samba4 looks like wierdier
[09:11] <AtuM> buscon, samba4 is a more complex solution.. it actually builds its own AD, it creates its own DNS zone and so on.. it's pretty straight forward to set up and later administer with windows's administrative tools.. it's a lot harder job doing so in command line
[09:11] <buscon> anyway, i created a user (samba) and i cannot log in
[09:11] <buscon> ah, that's why
[09:12] <AtuM> as I've said.. it's a different approach.. it uses domain logons and sets up its own AD
[09:13] <AtuM> with samba3 you either set up domain or not.. with samba4 AD is set up by default.. the only other option is to join it to an existing domain
[09:13] <AtuM> more on that in #samba
[09:14] <buscon> ok, i'll try to look for samba4 tutorial for users
[09:19] <buscon> https://wiki.samba.org/index.php/Adding_users_with_samba_tool
[09:19] <buscon> thx :)
[09:22] <AtuM> honestly, I see this for the first time.. I have only tested the thing some time ago.. i have no practical use for it yet.. it's very unlikely that it will ever catch up with win2012
[11:39] <vila> stgraber: ping, issue with lxc when trying to create a trusty container on a trusty host, didrocks reverted lxc to  1.0.0~alpha1-0ubuntu11 but the issue remains
[12:17] <pii3> Hi i have 160GB LVM partition on ubuntu 12.04, i need to add another 100GB , How can i increase diskspace without lossing data ?
[12:18] <patdk-wk> lvresize
[13:36] <stgraber> vila: can you share some more details?
[13:39] <vila> stgraber: on a trusty host, with lxc-1.0.0~alpha1-0ubuntu11 (see didrocks for another failure that caused the downgrade from 1.0.0~alpha2-0ubuntu3), otto creates its usual setup and then do an lxc-start (to boot from an iso), lxc-start returns 255 almost immediately
[13:40] <vila> stgraber: it's on qa-intel-4000 if you want a closer look
[13:40] <vila> errr, did these lists of names really go there ?
[13:41]  * vila sacrifices a goat just in case
[13:44] <vila> stgraber: did you get my answer (wondering after that weird behavior...)
[13:48] <thejoecarroll> how would one go about creating a restricted user for vulnerability scan purposes that only meets the following minimum requirements: able to execute uname and dpkg read /etc/debian_version (but nothing more)?
[13:49] <gdos> anyone here use dhelp and or dwww? (online, browser-based help systems for viewing man pages)  - according to dwww man page - http://manpages.ubuntu.com/manpages/hardy/man8/dwww.8.html - there is supposed to be a 'apache2.conf' file in '/etc/dwww' and symbolically linked from /etc/apache*/conf.d/dwww but there is neither a file or a symbolically linked file in /etc/dwww NOR /etc/apache2/conf.d and /var/lib/dwww appears empty. suggest
[13:49] <gdos> ions?
[13:50] <stgraber> vila: yep, will look in a bit
[13:51] <vila> stgraber: ack, waiting for your ping somewhere. #distro ?
[14:51] <gdos> anyone here use dhelp and or dwww? (online, browser-based help systems for viewing man pages)  - according to dwww man page - http://manpages.ubuntu.com/manpages/hardy/man8/dwww.8.html - there is supposed to be a 'apache2.conf' file in '/etc/dwww' and symbolically linked from /etc/apache*/conf.d/dwww but there is neither a file or a symbolically linked file in /etc/dwww NOR /etc/apache2/conf.d and /v
[14:51] <gdos> ar/lib/dwww appears empty. HELP?
[14:59] <thegoat> ok, so i am thinking about spinning up an ubuntu server, and it says 13.10 is supported for 9 months, what happens after that 9 months
[15:00] <genii> thegoat: After End of Life, the distribution is no longer available for download, it's repositories are frozen and archived, and no support is given.
[15:03] <thegoat> genii: do they eventually roll those features, pkg version, etc into an LTS?
[15:04] <genii> thegoat: LTS versions are every two years and supported for 5. So 10.04, 12.04 are LTS and so will be 14.04 ( in 6 months). The changes made on the interim releases ( the ones between LTS) are usually incorporated into the next LTS
[15:05] <thegoat> i see...i will probably go with LTS then.  just wanted to see what the real benefits of the non LTS where.  long term support is more important to me
[15:06] <genii> thegoat: With server versions, most upgrade from LTS directly to next LTS
[15:09] <thegoat> genii: cool, thanks for the input
[15:11] <genii> thegoat: You're welcome!
[15:15] <genii> gdos: Conceivably the application is in some half-state where it was installed then deinstalled, and /var/lib/status says "Status: deinstall ok config-files" meaning if it gets reinstalled that it's config files are already there and not to install them. This usually happens when you uninstall a package then manually remove it's config files, but it can also happen in other ways. The best method to rectify is to uninstall it, then edit the status
[15:15] <genii>  file with admin rights and remove the entire stanza pertaining to it. Then reinstall it.
[15:58] <gdos> genii anything that pertains to dwww / dhelp ?
[15:58] <gdos> genii: is there a way to use locate to purge any files associated with dhelp and or dwww ?
[16:00] <gdos> genii: where would the status file be located?
[16:02] <genii> gdos: The status file has "stanzas" , which is basically a paragraph with information about a package that is on the system, or has been on the system. It's located in /var/lib/dpkg/ directory and called status. You need to remove the entire stanza ( or section, paragraph, etc) pertaining to the status of dwww package.
[16:02] <gdos> genii: ok looking now.
[16:04] <gdos> genii: in /var/lib/dpkg i have status and status-old & statoverride and statoverride-old
[16:07] <gdos> genii: there is no paragraph or stanza pertaining to dwww or dhelp
[16:07] <genii> gdos: Then odds are it's not installed.
[16:07] <genii> gdos: What says result of: apt-cache policy dwww
[16:08] <gdos> when i ran 'sudo apt-get purge dwww' i get the following message: W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages)
[16:08] <genii> gdos: That means you have the same line twice in your sources.list file
[16:09] <genii> Work requires me, back in 12-15 minutes
[16:09] <gdos> the results of 'apt-cache policy dwww' are dwww: Installed: (none) Candidate: 1.12.0 Version table: 1.12.0 0 500 http://us.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
[16:15] <genii> gdos: So there is no entry in the status file because you have not installed it yet :)
[16:15] <gdos> genii: sorry, thats after purge.
[16:16] <genii> gdos: What says result of: grep -n dwww /var/lib/dpkg/status
[16:20] <gdos> 32415:Suggests: dhelp | dwww | doc-central | yelp | khelpcenter4, rarian-compat 32421: other packages such as dwww, dhelp, doc-central, and rarian-compat 42165:Replaces: dwww (<= 1.6.10) 50907:Suggests: dwww, menu, deborphan, apt-xapian-index, tasksel, software-properties-gtk 50921:  * Browse all available documentation related to a package (dwww is required)
[16:21] <gdos> genii: i am thinking there might be a bug in dwww version 1.12.0 (i previously had 1.11.8 installed)
[16:22] <genii> gdos: From here seems like some deeper issue you're having in dpkg not updating files.
[16:22] <genii> gdos: You should probably find and remove the duplicate sources.list file, and do a sudo apt-get update
[16:24] <genii> gdos: Can you pastebin the contents of your /etc/apt/sources.list please
[16:27] <gdos> genii: http://pastebin.ubuntu.com/6289888/
[16:28] <genii> gdos: Remove line 44
[16:30] <gdos> done.
[16:31] <gdos> genii: file (sources.list) is closed but i when i run 'sudo apt-get update' i get this error: E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/
[16:32] <genii> gdos: I would now: sudo rm /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages   &&  sudo apt-get update
[16:32] <genii> gdos: Perhaps give it a minute first, then try again.
[16:33] <gdos> *BRB* gonna reboot.
[16:34] <genii>  It makes it somewhat more difficult to assist when users decide to improvise instructions ....
[16:40] <gdos> genii: ok rebooted and 'sudo apt-get update' worked fine. now running 'sudo rm /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages   &&  sudo apt-get update'
[16:42] <genii> gdos: Should be able after that to install dwww and have the conf files where they're supposed to be.
[16:42] <gdos> genii: will try it now.
[16:46] <gdos> genii: dwww is indexing now.
[16:46] <genii> Good.
[16:49] <sgran>       
[16:50] <Angelita> hi!
[16:50] <Angelita> i have problem with ubuntu server
[16:51] <Angelita> i want to install asterisk for my server ubuntu 12.04
[16:51] <Angelita> please help me with this
[16:53] <gdos> genii: i'm still getting the following errors when browsing dwww:  The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server.   The requested URL /cgi-bin/info2www was not found on this server. (etc)
[16:55] <genii> gdos: About dwww I don't know anything specifically since I've never used it. You'd have to find someone to help you more specifically with it's config.
[16:56] <genii> !info asteirsk
[16:56] <genii> !info asterisk
[16:56] <gdos> !info dwww
[16:56] <genii> !info asterisk precise
[16:56] <Angelita> genii:  fine! do you speak spanish o only english=?
[16:57] <genii> Angelita: English, some German and French
[16:57] <genii> No Spanish
[16:58] <gdos> genii: is it possible to install an older version of dwww (or anyother package)?
[16:58] <Angelita> genii: Deutsch
[16:58] <Angelita> jejej no!
[16:58] <Angelita> english
[16:58] <Angelita> i have 1 server dell but i want install asterisk
[16:58] <Angelita> the server is ubuntu 12.04  64 bits
[16:59] <Angelita> yesterday I can install asterisk but  failed the test
[16:59] <Angelita> so I to need reinstall all the server dell
[17:00] <Angelita> now I want to install asterisk but of form correct and good
[17:04] <genii> gdos: syntax is: sudo apt-get install packagename=versionnumber
[17:04] <genii> Angelita: Unfortunately I do not have enough time right now to assist properly with your issue, apologies.
[17:04] <gdos> so 'sudo apt-get install dwww=1.11.8' ?
[17:05] <genii> gdos: Yep.
[17:06] <genii> Angelita: You can try to seek support also in the channel #asterisk
[17:09] <Angelita> ok thanks
[17:17] <gdos> genii: says not available. how do i report a bug? after reading man page for dwww there supposedly is supposed to be a file ' /etc/dwww/apache.conf' but its not there.
[17:18] <genii> gdos: ubuntu-bug dwww
[17:19] <TheLordOfTime> genii: what said "not available"
[17:19] <TheLordOfTime> apt?
[17:19] <TheLordOfTime> erm
[17:19] <genii> thegoat: a previous version of dwww
[17:19] <TheLordOfTime> gdos: ^
[17:20] <TheLordOfTime> genii: but what triggered that warning, apt-get?
[17:20] <thegoat> ?
[17:20] <TheLordOfTime> or was it some other error?  (i came in late)
[17:20] <TheLordOfTime> thegoat: mishighlight i think
[17:20] <genii> thegoat: tab fail, apologies
[17:20] <TheLordOfTime> you and i both have names that start with "the" so tabcomplete broke
[17:21] <genii> TheLordOfTime: dwww package for them does not have conf files. apt-get reports no earlier version when specified with apt-get install dwww=1.11.8 ( the prior one). So the bug is not apt-get but with dwww for missing conf files
[17:21] <TheLordOfTime> genii: indeed, they need to file the bug against dwww.  But it may already hage a bug on it, lemme scan the bugs...
[17:22] <TheLordOfTime> genii: is he using Saucy or one of the other releases
[17:22] <TheLordOfTime> because bugs can be filtered accordingly :P
[17:22] <TheLordOfTime> !info dwww
[17:22] <TheLordOfTime> there's the source name...
[17:22]  * TheLordOfTime digs around on Launchpad
[17:23] <TheLordOfTime> yep there's no bugs about it, he should file one, although it'd probably end up upstreamed to Debian too...
[17:48] <gdos> oh hey TheLordOfTime
[17:49] <gdos> just got done filing a bug report.
[17:49] <gdos> looks like its affecting dhelp and doc-central as well (both which are similar to dwww)
[17:50] <gdos> TheLordOfTime: yes, I am using saucy.
[17:51] <gdos> genii:bug report filed against dwww. but am now wondering if its an apache2 issue? i can't even get doc-central or dhelp to work (which are similar to dwww)
[17:53] <gdos> dhelp views the index.html file directly in '/usr/share/doc/HTML' but won't call it / load it though i can view that file manually if i type 'file:///usr/share/doc/HTML/index.html'
[17:54] <gdos> this is the URL that dhelp loads: http://localhost/doc/HTML/index.html
[19:22] <SpamapS> Ng: ugh, terminator is doing this dimming/brightening thing in 13.10 ... make it stop.
[19:24] <Ng> SpamapS: a) not the maintainer anymore, b) in inactive terms? there should be a preference for that
[19:24] <SpamapS> ah probably something I didn't use before that changed defaults
[19:25] <SpamapS> "Unfocused terminal font brightness"
[19:25] <SpamapS> global setting
[19:25]  * SpamapS obliterates the new default of 0.8
[19:26] <Ng> SpamapS: possibly. There's also a hilarious bug where the slider used to set a value between 0.0 and 1.0 used to be able to return a value outside that range if you dragged the mouse pointer further (wtf gtk), but the latest version should fix that and clamp pre-existing values, instead of wrapping them and producing super weird results ;/
[19:27] <SpamapS> GTK: making WTF since 1998
[19:28] <mdeslaur> hehe
[19:32] <Dry_Lips> Hi, I ran <netstat -anltp | grep "LISTEN"> and I wonder what port 53, and 953 might be used for... http://pastebin.com/Py1mZpa6
[19:36] <shauno> Dry_Lips: most likely bind (named), but if you elevate netstat with sudo, the -p option you're using should resolve pid+name, which will give you a solid answer
[19:43] <Dry_Lips> shauno: Ok, thanks, I ran sudo, but I simply get "named" as the name of the service... Bind isn't installed, but could it be that it keeps listening on port 53 even if I removed it? http://pastebin.com/ZfbdUdgg
[19:45] <Dry_Lips> I checked, and there is a bind directory under /etc
[19:46] <shauno> what do you get if you cat /proc/348/cmdline  ?  (348 being the pid that shows up in your paste as 348/named)
[19:48] <shauno> eg, mine comes back with /usr/sbin/named-ubind  which is a pretty conclusive hint.  but you may have another nameserver, I'm not sure which others use the rdnc control port (953)
[19:50] <Dry_Lips> Yeah, I also get /usr/sbin/named-ubind ...
[19:52] <shauno> that's almost certainly what's running then.  how did you remove it?
[19:52] <Dry_Lips> probably apt-get remove
[19:52] <Dry_Lips> or purge
[19:53] <shauno> it was mostly the package name I was wondering; whether you got something that's related to bind, but didn't remove bind itself
[19:54] <Dry_Lips> when I run <dpkg -s bind>, I get "Package `bind' is not installed and no info is available."
[19:54] <shauno> how about bind9  ?
[19:55] <Dry_Lips> ouch,
[19:55] <Dry_Lips> I thought I had removed it, bind9 is here
[19:55] <Dry_Lips> :-/
[19:56] <Dry_Lips> But anyways, thanks shauno, I guess that solves it... lol
[19:57] <Dry_Lips> Yep, only port 80 and my ssh open now
[19:57] <shauno> dpkg -S is handy one to keep up your sleeve too; dpkg -S /usr/sbin/named will tell you which package it came from, rather than guessing the name
[19:59] <Dry_Lips> yeah, that's what I should have done... :D But basically the problem was that that I forgot that it was called bind9, lol
[20:07] <justizin> anyone else have tons of recurrant instances of mounting /dev/shm ? I find that this line is added to /etc/fstab no matter how many times I remove it: tmpfs /dev/shm tmpfs defaults,ro,noexec,nosuid 0 0
[20:07] <justizin> afaict you can mount /dev/shm as tmpfs over and over and over and over, and this is happening on all of my 12.04 LTS boxen
[20:09] <justizin> er, it actually shows up as mounted at /run/shm, which /dev/shm is simply a symlink to
[20:40] <hallyn> stgraber: aaah.  i see.  i wasn't crazy.  package updates are slow on btrfs bc of fsync - my host is 3.2, 3.5 supposedlys speeds it up.
[20:40] <hallyn> darn
[20:46] <rampageRipper> hi world,have anyone saved this page: books4electricians.blogspot.com?
[20:48] <Pici> rampageRipper: What does that have to do with Ubuntu?
[20:48]  * hallyn gets to know eatmydata
[20:48] <Pici> rampageRipper: Please stop pasting your site in our channels for no reason.
[20:48] <rampageRipper> just asking
[20:49] <rampageRipper> it's not my site
[23:16] <tinman> what options are available if i want to monitor network traffic? (KB usage.) my network consists of linux/windows PCs and android devices.
[23:17] <tinman> and 2 routers
[23:19] <jrwren> ntop
[23:22] <tinman> thanx
[23:26] <sarnold> tinman: 'ifconfig' shows rx and tx bytes on different interfaces, if you can run 'ifconfig' on your routers, that might give you easier access to the data you want.