[00:15] <cribbageSTARSHIP> hey everyone. does anyone know of a program or website that will create a samba .conf file?
[00:20] <Patrickdk> yes, vi
[00:25] <cribbageSTARSHIP> Patrickdk: ahaha. I prefer nano. Anyhow, it has been over a year since I touched samba. My old server nuked and I cant remember how I set up my samba before. My wife just had major surgery so Im taking care of her and cant really concentrate. I guess I was just hoping to tke a shortcut
[00:25] <Patrickdk> don't know of any
[00:35] <sarnold> cribbageSTARSHIP: back in the day, suse's yast did a good job creating those configs
[00:35] <sarnold> cribbageSTARSHIP: and back in the day, samba distributed SWAT, which did a poor job creating those configs, but it did it, hehe
[00:36] <cribbageSTARSHIP> sarnold: so is there anything?
[00:36] <sarnold> under no circumstance should SWAT be left enabled on a system that's publicly accessible but for a quick reconfigure...
[00:36] <sarnold> cribbageSTARSHIP: suse's yast feels like your best bet.
[00:37] <sarnold> .. you coul probably throw it in a VM and use it real quick like..
[00:37] <sarnold> .. and copy the configuration over, once it is generated. I'd bet it would mostly work.
[00:37] <sarnold> but it might take longer than reading the docs and doing the config by hand
[00:38] <cribbageSTARSHIP> sarnold: ya probably. Thanks anyhow
[00:43] <tsukasa_> is something screwy going on with apt right now?
[00:43] <tsukasa_> hash mismatch
[00:45] <sarnold> tsukasa_: a few thoughts, first, are you using apt-cacher-ng? I've had hash mismatches with it before ..
[00:45] <tsukasa_> sarnold: it's the linode mirror, was just wondering if it's an upstream issue or not
[00:46] <sarnold> tsukasa_: with the 15.04 release today, perhaps the mirror you were using was in the middle of an update and had out-of-sync data; if it doesn't go away in five or ten minutes, please do report in #ubuntu-mirrors
[00:46] <sarnold> .. they can sometimes re-poke specific mirrors to resync
[00:49] <tsukas___> sarnold: sorry internet dropped. yeah i'll do that. it's been this way for the last 2.5 hours
[00:50] <sarnold> tsukas___: ugh yeah that's too long; another option if it is under linode control is to ask in #linode on irc.oftc.net
[00:51] <tsukas___> i'll check that out
[03:05] <cribbageSTARSHIP> Can someone please help me with my samba config file? I've created it and can see my shares, but for some reason cannot edit anything, create anything, or delete anything. http://pastebin.com/KAvTE3DL
[03:07] <sarnold> cribbageSTARSHIP: do you have any errors in the log file?
[03:08] <sarnold> cribbageSTARSHIP: can the user running samba write to the selected log file?
[03:08] <cribbageSTARSHIP> sarnold: nothing came up in testparm
[03:08] <sarnold> cribbageSTARSHIP: the cranky old guy in me wonders about the space and ' characters in the share names..
[03:09] <cribbageSTARSHIP> sarnold: ok ill stop the service change it and try again
[03:11] <cribbageSTARSHIP> sarnold: i changed them to [will] [amy] [guest]. no dice i still cannot create edit or delete
[03:12] <sarnold> cribbageSTARSHIP: dang.
[03:12] <sarnold> cribbageSTARSHIP: sorry, if there's nothing in the logs i'm out of ideas
[03:12] <cribbageSTARSHIP> sarnold: do i have to give samba permission itself?
[03:12] <sarnold> cribbageSTARSHIP: I can't recall, it's been ages since I've touched it
[03:15] <cribbageSTARSHIP> sarnold: how much damage would I do if I "sudo chmod 0777 -R /home" and "sudo chmod 0777 -R /media"?
[03:15] <sarnold> cribbageSTARSHIP: too much :)
[03:16] <sarnold> cribbageSTARSHIP: sorry, gotta run, good luck
[03:16] <cribbageSTARSHIP> sarnold: thaks!
[08:09] <xperia> hi all. i am trying to compile bind9 dns server from sources. after downloading the sources using apt-get sources and instaaling the new bind9 package however i can not start it. can anybody tell me the needed steps to recreate bind9 on a ubuntu server? i could no where find any helpfull infos related to this on the internet.
[08:11] <faust> xperia: 1) why you need to build it from sources? 2) what does it mean that it does not start? 3) how did you build it?
[08:13] <xperia> faust: after installing it i tried "sudo service bind9 start" but got the error message "bind9: unrecognized service"
[08:13] <xperia> i need to patch bind9 to have more functionality like GeoDNS and such stuff!
[08:14] <faust> xperia: I guess that the file "/etc/init.d/bind9" does not exists
[08:14] <faust> how did you built/installed it?
[08:18] <xperia> faust: well i did use the ubuntu provided way with "apt-get sources bind9" "apt-get build-dep bind9" "./configure" "make" "sudo checkinstall" "sudo dpkg -i *.deb"
[08:18] <xperia> as you wrote however this does not install the /etc/intit.d files realted to this package. asking me now  how this can be achieved
[08:20] <faust> ./configure+make is not "debian-way" really
[08:21] <lordievader> Good morning.
[08:22] <faust> xperia: you should use "fakeroot debian/rules binary"
[08:23] <faust> I mena
[08:23] <xperia> faust: ahhh this does the magic then okey will try it.
[08:23] <OpenTokix> xperia: Or you can use a modern dns-server like powerdns
[08:23] <faust> apt-get source bind9; apt-get build-dep bind9; cd bind9-.../; fakeroot debian/rules binary; cd ../; dpkg -i ...
[08:27] <xperia> OpenTokix: Thanks a lot for the Tip. Will look into it additional now too. I do agree that the People developing Bind are a little stubborn in my Opinion. Asked them to add some new Feature for a much more reliable and optimized Web Hosting Service that are needed but they refuse to improve it.
[08:40] <OpenTokix> xperia: the thing is that bind is _very_ _very_ fast, and if you have very heavy dns-load, there isnt much of an option. - But if your load is less - you can do more in each request.
[08:41] <OpenTokix> xperia: heavy dns-load is, requests in the 100k+/minute rates
[08:43] <faust> or much less requests on small/cheap resources
[08:44] <xperia> OpenTokix: hmm okey i understand that Load handling is a issues for a DNS Server but in my Opinion with such a load you will need to have a total different Server Topic Architecture. Handling such Loads with only one DNS Server in one Location i will never do or recommend.
[08:44] <xperia> and exactly here actually bind9 fails.
[08:47] <OpenTokix> xperia: If you are handling millions, 100k/s/server is not unresonable
[08:48] <OpenTokix> s/s/m/
[08:48] <faust> unless you want to buy hundreds of servers just to use them as DNS...I cannot imagine how many server you will need to run apache
[08:49] <faust> :P
[08:49] <OpenTokix> I ran a shop with 12k/req/min/dns - Ran it on two old machines - handling it just fine with bind9
[08:49] <OpenTokix> That was for 3 billion requests/day
[08:49] <OpenTokix> for the web-appliction
[08:51] <xperia> OpenTokix: wooow congrats on this stats. i just maked the experience that per recently you need to have several DNS Servers around the Globe Running. So having just one DNS Server in one Location is no Option for me even if it handle requests much more efficient.
[08:52] <OpenTokix> xperia: There is a huge difference between what you read on stackoverflow and webscale node.js-idiots - and real actual experience.
[08:53] <faust> xperia: that is just amazon trying to sell more servers
[08:53] <OpenTokix> xperia: What are you building? DNS-servers for yoru site or are you actually buillding a multicast resolver, like googles 8.8.8.8/8.8.4.4 ?
[08:53] <OpenTokix> or like opendns?
[08:54] <OpenTokix> That is two different problems all together
[08:54] <faust> inb4: I'm sysadmin of A-ROOT
[08:54] <faust> :P
[08:54] <OpenTokix> =)
[08:55] <faust> (just to be clear: it was a joke)
[08:55] <OpenTokix> What I am saying is, if you build it for yoru site - don't overcomplicate things.
[08:55] <xperia> hmmm not sure about this. look if you want customers from all around the world visiting your Server as a example from Asia while you are in Europe then having a dns server including web hosting running there is beneficiary
[08:55] <xperia> its just my experience
[08:55] <OpenTokix> xperia: yes, but your clients will very seldom hit your dns-server
[08:55] <OpenTokix> but their own isp-resolver that have your named cached
[08:56] <OpenTokix> Like my site
[08:56] <OpenTokix> ~3 billion requests/day - I had a 5 minute ttl (lowest alloweD) - and STILL I got only 24k/hits/minute
[08:56] <OpenTokix> Thats 1/75th of the actual hits on my site
[08:57] <OpenTokix> With a 5 minute ttl, - And I assume you will run a lot higher ttl than 5 minutes.
[08:57] <xperia> wooowww impresive. i do have also a 5TTL
[08:57] <OpenTokix> So I would say again: Do not overcomplicate things
[08:58] <OpenTokix> And if you are seeing the dns-resolvation of your site is the problem - Look into a DNS-provider, that has built it (They are expensive over one million/req/month) - but it is still cheaper than building your own global dns-infrastructure with multicast
[08:58] <OpenTokix> xperia: I would start by increasing that to atleast 30 minutes
[08:58] <OpenTokix> unless you use the DNS for primary/backup-site failover?
[09:00] <xperia> OpenTokix: well okey i see that one dns can do the job but at least you will want to have a second dns server at least for emergency and load balancing or not ? yes here it beginns also. with such a load i will get very nervous about primary/backup site Failover. even with 5TTL the dns will still serve the dead IP. I just dont like imperfect solutions architecture.
[09:01] <OpenTokix> xperia: yes, you need two dns-servers
[09:02] <OpenTokix> xperia: you do not load balance two servers behind a ip, you have one dns-server on one ip  and another on a another ip - your clients handle the "load balancing" themselfs
[09:02] <OpenTokix> ie. if server1 dont anawer, they will talk to server1
[09:02] <OpenTokix> ie. if server1 dont anawer, they will talk to server2
[09:05] <xperia> OpenTokix: ahh yeah i also thinked about this solution but the problem here is that at the end you will have Visitors from Asia landing on Webservers located in Europe and Visitors in Europe landing on Webservers in Asia. My Actual Situation at the moment. Very Bad.
[09:05] <xperia> You will want to send the Visitors from Europe to WebServers in Europe and Asian Visitors to Asian Weservers all this Functionallity is missing in Bind9. No GeoDNS no FailOver ... Realy Bad.
[09:06] <OpenTokix> xperia: yes, that is super easy to do in powerdns
[09:06] <OpenTokix> xperia: and a hassle in bind9 =)
[09:06] <OpenTokix> I did that in powerdns
[09:06] <OpenTokix> How much traffic do you have?
[09:09] <xperia> OpenTokix: good that we agree :-) i will just patch now bind9 with geodns functionallity code from here http://www.caraytech.com/geodns/ with the howto steps from faust. it compiled fine actually.
[09:09] <OpenTokix> good luck
[09:09] <faust> that is not a really "clean" build
[09:09] <faust> but it will work
[09:09] <faust> you should probably update versions and dep
[09:10] <faust> but if you are not going to redistribute it you may not worry
[09:10] <xperia> OpenTokix: i dont have such a big traffic like you but i have around 100'000 Hits per Day from all around the World.
[10:07] <xperia> OpenTokix: faust: ohh woow i just studied the BIND9 Sources and was very surprised to see that BIND9 has allready GEO IP Code in it. Did you know that no Patching actually is needed anymore to have GEO IP in BIND9, i mysefl was not aware of it.
[10:07] <xperia> see this link here => https://kb.isc.org/article/AA-01149/0/Using-the-GeoIP-Features-in-BIND-9.10.html
[10:11] <xperia> i do think however that the provided ubuntu packages are build without geoip functionallity as this need to be enabled explicit. joining #bind9
[10:12] <xperia> mean #bind
[10:46] <xperia> the installed BIND9 Package on the Ubuntu Server from the default Package Repo has by default enabled GEO IP. I am saved he he he. Well Done People. No need for Recompile for me just reconfiguting of Bind is needed. mmmmhh feels great !
[10:54] <OpenTokix> xperia: amazing - I dont run any dns:es anymore - but thanks for info
[11:54] <Tsterxer> Hi
[11:54] <Tsterxer> I struggle install ubuntu server..
[11:55] <Tsterxer> Is it correct to first setup and then intall?
[11:55] <Tsterxer> install*
[14:40] <Atlas1337> I need help forwarding a port
[14:41] <OpenTokix> Fwd: Port of Amsterdam.pdf
[14:42] <Atlas1337> forwarding a port with iptables
[15:04] <pmatulis> OpenTokix: have you done any research yet?
[15:05] <pmatulis> woops, meant for Atlas1337
[15:06] <Atlas1337> I uninstalled ubuntu
[15:35] <Guest36029> can anyone ... help me how to set permission for apache
[15:41] <pmatulis> Guest36029: have you done any research yet?
[17:45] <darius93> do anyone know why i get an error when trying to use a kickstart file? It says it cant be downloaded but the url works, and the error is blank
[18:49] <cubb> Why is cd not working? http://d.pr/i/17xJ1
[18:51] <sarnold> it did
[18:51] <sarnold> it didn't print any error messages
[18:51] <sarnold> run 'pwd' to see your current working directory
[18:53] <cubb> oh yeah, it did change directory
[18:53] <cubb> fuck me, I'm an idiot
[18:53] <lordievader> A shell which displays the pwd is nice ;)
[18:59] <rberg> yeah I kind of sounds like your .bashrc is missing PS1
[19:00] <sarnold> .. or someone got tired of the directory names and set PS1 to '\$ ' to get the old simple prompt back :) heh
[20:02] <cubb> http://d.pr/i/dT3q but http://d.pr/i/1ipgm
[20:02] <cubb> when I run start_dst.sh
[20:03] <cubb> which contains: screen -S "DST Server" dontstarve_dedicated_server_nullrenderer
[21:56] <halvors> Hi. IPv6 is somehow not working on Ubuntu 14.04.2 LTS. I'm trying to lease a IPv6 address with "dhclient -6 -v" and getting this error: "Can't set SO_REUSEPORT option on dhcp socket: Protocol not available"
[21:57] <sarnold> halvors: interesting.. https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1184099
[21:58] <halvors> sarnold: I've seen that. But nothing about how to fix this issue...
[21:58] <halvors> sarnold: Sounds to me like IPv6 is non existing on my system somehow :(
[22:00] <sarnold> much more informative https://bugzilla.redhat.com/show_bug.cgi?id=1005814
[22:07] <halvors> Nobody knows how to correct this issue?
[22:08] <sarnold> halvors: you may have some success ifyou can restrict it to binding to a specific interface
[22:13] <halvors> sarnold: Tried "dhclient -6 eth0" doesn't help :(