[00:05] <cliebow> anyone comment on openldap 2.4.11 in intrepid and syncrepl issues?
[00:13] <sommer> cliebow: do you have a specific error?
[00:15] <cliebow> just doesnt work..i had it runnnning Thursday..on reboot friday..stopped working...i see nothing in logs at 32767 to describe what is wrong
[00:16] <sommer> cliebow: you'll get errors if you start slapd in a terminal with: sudo slapd -F /etc/ldap/slapd.d -h ldap:/// -d -1
[00:17] <sommer> cliebow: there might also be errors in /var/log/syslog
[00:25] <cliebow> ive been watching syslog..a lot..ill try a manual start..
[00:25] <cliebow> agaoin
[00:36] <cliebow> * host: 169.244.3.137  port: 389  (default)
[00:36] <cliebow>   refcnt: 2  status: Connected
[00:37] <cliebow> i cant see anything suspicious..
[07:08] <kriel> Okay, so. I just made my very first software raid5 using mdadm. Woo. Now, what do I need to save so that if my OS drive happens to die; I can still recover this RAID?
[09:24] <decembre> hello
[09:24] <decembre> I have a problem with my small server and a run-parts task
[09:25] <decembre> can anybobdy help me ?
[10:34] <baldaris> hey can any one help me with implementing sasl using postfix..
[10:35] <baldaris> any one?
[10:39] <cemc> baldaris: http://www.postfix.org/SASL_README.html
[10:40] <cemc> you read that and still no luck ?
[10:40] <baldaris> yeah i have setupup postfix..and i am able to send mails from my server
[10:41] <baldaris> but when i am trying to send mail from outside server..it says relay access denied..
[10:41] <baldaris> the username and password i am using for authentication is working..
[10:41] <baldaris> i am not sure where i am messing it up..
[10:41] <cemc> can you post main.cf ?
[10:41] <baldaris> yeah sure..
[10:42] <cemc> in a pastebin... :)
[10:45] <baldaris>  http://www.pastebin.ca/1355734
[10:46] <baldaris> when i open telnet for mydomain name, i get 250 for all options..
[10:48] <cemc> and you sure the SASL authentication part is working?
[10:49] <baldaris> yeah i wrote the php script..to check for username and password and it it returned 250 okay
[10:49] <baldaris> is something worng..?
[10:51] <cemc> it should work as far as I can tell from the config, but what php exactly? how is SASL set up to lookup users/passwords?
[10:53] <baldaris> i am trying to send e-mail from remote host using my dedicated emial server..
[10:53] <baldaris> email server..
[10:54] <baldaris> for sending a suth request
[10:54] <baldaris> fputs($smtpConnect,"AUTH LOGIN" . $newLine);
[10:54] <baldaris>     $smtpResponse = fgets($smtpConnect, 515);
[10:54] <baldaris>      echo $smtpResponse."<br/>";
[10:54] <baldaris>     $logArray['authrequest'] = "$smtpResponse";
[10:54] <baldaris> similary i can send request for username and password and get the responce i am getting..
[10:56] <cemc> and how is that php script tied into postfix ?
[10:57] <baldaris> i am using SMTP to connect server, port, username,password
[10:57] <baldaris> do you want me to paste the code..
[11:01] <RoyK> hi all. I keep trying to backup this dvd, but it fails http://pastebin.com/m1dadd537
[11:02] <cemc> baldaris: I think I misunderstood. you have a remote server and you're trying to send mail with a php script through another mailserver with authentication
[11:02] <cemc> ?
[11:02] <baldaris> yeah right
[11:03] <baldaris> i have a dedicated mail server
[11:03] <baldaris> and i am trying to send a mail from another hosting account, and to use my email server,from outside i am using smtp
[11:04] <baldaris> check this paste..
[11:04] <baldaris> http://www.pastebin.ca/1355739
[11:08] <baldaris> ?
[11:08] <cemc> did you try sending from that remote with simply telnetting?
[11:08] <cemc> just to see if it works
[11:10] <baldaris> yeah i am able to send mail using telnet
[11:10] <baldaris> and i am able to send mail using this script which is uploaded in my server..
[11:10] <cemc> from the same machine ?
[11:10] <baldaris> yeah
[11:10] <cemc> I mean from the hosting machine?
[11:11] <baldaris> i can send mail via telnet from my dedicated server...
[11:11] <baldaris> from my laptop , remote hosting account i am able to send mail via telnet
[11:11] <baldaris> but when i use this php script to send mail , it gives me relay access denied..
[11:12] <cemc> and can you see the error message in the maillogs on the mailserver?
[11:12] <cemc> does it say it's authenticated?
[11:13] <baldaris> yeah wait let me check..
[11:13] <baldaris> i am checking mail log and auth log
[11:17] <baldaris> okay
[11:18] <baldaris> warning sasl authentication failed
[11:18] <baldaris>  warning: do not list domain mails.me.com in BOTH virtual_mailbox_domains and relay_domains
[11:20] <baldaris> reject: RCPT from unknown[ip]: 554 5.7.1 <me@live.in>: Relay access denied; from=<$rom=<me@mails.me.com> to=<me@live.in> proto=SMTP helo=<mails.me.com>
[11:20] <baldaris> so does that mean i am messing up with sasl authentication..
[11:21] <_ruben> and 'from=<$rom=<me@mails.me.com>' doenst look too sane either
[11:22] <cemc> ;)
[11:22] <cemc> not so much
[11:23] <cemc> keep an eye on the logfiles when trying stuff
[11:23] <baldaris> sorry i actually changed mail address before posting..
[11:23] <baldaris> i hope its okay with you..
[11:23] <baldaris> so any idea..where i am messing up, you said mail.cf file is okay
[11:24] <cemc> well it looks ok, but you just said the sasl auth is failing
[11:24] <cemc> that's where the problem is I suppose
[11:24] <baldaris> yeah thats what is says in log
[11:24] <baldaris> but if its failing, why i am able to send mails..
[11:24] <baldaris> it shouldnt send mails...right..
[11:24] <cemc> wait a minute
[11:25] <baldaris> k..
[11:25] <cemc> in the php file, you sending auth login first, then helo ?
[11:25] <cemc> not good
[11:26] <cemc> helo, auth login, mail from, rcpt to, it should be in this order
[11:26] <baldaris> k..
[11:26] <cemc> try putting the helo first, at least my postfix doesn't let me auth login before helo
[11:28] <baldaris> yeah i did it...
[11:29] <baldaris> yeah now i am getting Authentication failure in my acript too..
[11:29] <baldaris> so i guess there is something wrong in the settings..
[11:36] <baldaris> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
[11:36] <baldaris> in my  main.cf file this is missing..
[11:36] <baldaris> and relay host is empty
[11:38] <cemc> I'm not sure you need that smtp_sasl_password_maps
[11:40] <baldaris> okay and i am not having sasl_passwd file also..instead i see a sasl forlder a file named smptd.conf
[11:40] <baldaris> somethings in guide , are confisuing me
[11:41] <cemc> yeah, that's where you set sasl from there it should look up username and password
[11:43] <cemc> sasl is a framework for authentication. postfix uses sasl to get some user authenticated, but you have to set up sasl to get the usernames and passwords from somewhere
[11:43] <baldaris> ooh
[14:57] <mrwes> I have Ubuntu 8.04 Desktop running and I'd like to change that to 8.04 Server Edition, I a separate partition for /home formated ext3. Does the server edition use a /home partition too?
[14:58] <mrwes> I want to use it mainly for a home file and print server
[14:59] <mrwes> hrmm
[14:59] <racecar56> it is posible
[15:00] <racecar56> however remember: server additions are for SERVERS, not casual desktop PCs
[15:00] <racecar56> i mean server operating systems
[15:00] <mrwes> Yes I plan to run the server headless and use ssh to acces it
[15:01] <mrwes> I'm planning a 10GB / , a swap and the rest /data formated NTFS
[15:01] <mrwes> I have windows machines accessing it too
[15:02] <jtaji> that's no reason to use ntfs, use ext3, and samba for the windows machine to access
[15:02] <mrwes> ahh Ok -- I'd rather do that yes
[15:02] <racecar56> mrwes don't make a NTFS partition, samba can share them even on linux FS
[15:03] <mrwes> does the server edition use /home for the administrator account /home ?
[15:03] <mrwes> read and write ?
[15:03] <mrwes> from a Windows XP laptop?
[15:28] <Jubez> hi, i deleted a file by mistake
[15:28] <Jubez> how do i retrieve it?
[15:28] <Jubez> sorry, real newbie
[15:28] <racecar56> rm?
[15:28] <racecar56> if so then idk
[15:28] <racecar56> google should help
[15:28] <racecar56> gotta go bye, good luck
[15:28] <Jubez> i just highlighted it and pressed delete, heh
[15:29] <racecar56> ahhh its in the recycle bin
[15:29] <Jubez> i have the desktop installed on server version
[15:29] <racecar56> thats nuts
[15:29] <Jubez> where's my recycle bin?
[15:29] <Jubez> i was just testing it out
[15:29] <racecar56> i don't know but if you are using gnome then you should haave it on the bottom right
[15:29] <racecar56> i have to go now, good luck
[15:30] <Jubez> ah, my screen was sized wrong
[15:30] <Jubez> couldnt see that
[15:30] <Jubez> hehe, thanks much!
[15:40] <wesouler> hi all
[15:44] <Jubez> hello
[15:45] <wesouler> Did anybody install Ubuntu 8.10 amd64 server on to IBM X3650? After reboot  there is a blinking cursor in the upper left side of the screen ...what's happen?
[15:47] <roy_hobbs> I've been struggling with OpenLDAP for a while now and only just came across Fedora DS and Apache DS.  They both seem fairly robust, and both have nice GUIs to work with.  Why do people seem to favor OpenLDAP so much?  Am I missing something?  Am I at a distinct disadvantage by using apache or fedora?  (I'm leaning towards fedora because it's c/c++ as opposed to java)
[15:50] <domas> fedora DS is opensourced Sun stuff
[15:50] <domas> for a while it wasn't opensourced
[15:50] <domas> so, openldap existed ;-)
[15:51] <roy_hobbs> domas: i read that fedora and openldap both spawned from netscape
[15:51] <roy_hobbs> fedora ds i should say
[15:51] <domas> ghm, I remember using netscape ldap back in 1.0 times, and it wasn't similar to openldap ;-)
[15:51] <domas> maybe I remember it wrong? ;-)
[15:52] <domas> openldap started from umich clone
[15:52] <domas> haha, I remember running umich ldap though %)
[15:54] <roy_hobbs> http://directory.fedoraproject.org/wiki/FAQ#How_is_Fedora_Directory_Server_different_from_OpenLDAP.3F
[15:57] <roy_hobbs> What I'm really interested in though is if there are actually any major reasons to use openldap.  Fedora DS just seems so much more polished.
[16:15] <chrisadams> hi guys
[16:16] <chrisadams> I'm trying to set up an ubunut server to accept connections from an external host - is this the right way to do it? http://ubuntuforums.org/archive/index.php/t-247947.html
[16:43] <eagles0513875> hey guys i have my shoutcast server setup
[16:44] <eagles0513875> but for some reason when people try and connect with windows media player it complains about a missing codec what could i be missingf
[16:44] <jpds> Ogg?
[16:45] <eagles0513875> mp3
[16:45] <eagles0513875> i have lame ffmpeg installed
[16:59] <wesouler> Is Anybody install Ubuntu 8.10 amd64 server on IBM X3650 with Raid 1?
[17:00] <giovani> wesouler: haha ... unlikely you'd find someone with that exact setup
[17:03] <wesouler> giovani ,i installed sucessful,but after reboot ...there is a blinking cursor on the top.
[17:03] <cemc> eagles0513875: does it work if you connect with winamp?
[17:03] <wesouler> Is grub missing?
[17:03] <giovani> wesouler: hardware raid-1 I presume?
[17:03] <wesouler> yes
[17:03] <giovani> grub might be missing, or corrupted
[17:03] <wesouler> hd0 hd1->raid 1
[17:03] <eagles0513875> cemc: dont have anyone to test for me
[17:03] <giovani> you can either try a new install (verify the md5 of the iso before burning, verify the burn after burning, and then do a media check)
[17:04] <eagles0513875> this desktop doesnt have speakers cemc im streaming form my laptop
[17:04] <cemc> eagles0513875: what's the url ?
[17:04] <eagles0513875> cemc: http://ecs.is-a-geek.com:60100/listen.pls
[17:04] <wesouler> i think there is a bug with the Raid.
[17:04] <eagles0513875> the issue is with windows media player bitching about a codec thats missing
[17:04] <giovani> wesouler: if it's hardware raid, that's not likely
[17:05] <cemc> eagles0513875: not working for me either, I'm on linux, with xmms
[17:05] <wesouler> I google someone got same problem.
[17:05] <giovani> wesouler: then why come here? if there's a problem with the raid, it's not related to ubuntu
[17:05] <cemc> eagles0513875: unknown ASF streaming type, this is what mplayer says
[17:06] <eagles0513875> its an mp3 stream
[17:06] <cemc> you said it was mp3
[17:06] <eagles0513875> streaming through shoutcast
[17:06] <cemc> well, it doesn't seem to be mp3 :)
[17:06] <eagles0513875> O_o
[17:06] <wesouler> I doubt ubuntu 8.10 may not support IBM Xserials Raid control device....
[17:06] <cemc> if it's not working with mplayer, it's won't work with anything :-)
[17:06] <cemc> hehe
[17:06] <eagles0513875> cemc try vlc
[17:06] <eagles0513875> ull see it says mp3
[17:07] <giovani> wesouler: hardware raid doesn't require software drivers to function
[17:07] <cemc> I have a shoutcast server myself, I'm relaying a 128kbps mp3 stream, and it's working on all these players
[17:07] <eagles0513875> in another channel it said mplayer said the stream siad libmod
[17:07] <eagles0513875> wtf
[17:07] <eagles0513875> then maybe u can help me iron out the kinks
[17:07] <cemc> not sure, I'm only relaying what's coming in
[17:08] <eagles0513875> cemc: how did u manage to get it working with media player
[17:08] <eagles0513875> ur shoutcast server to work with media player
[17:08] <wesouler> giovani，Can i use rescue disk to fix the grub's  problem?
[17:08] <giovani> wesouler: you can ... if it isn in fact grub's problem
[17:09] <cemc> eagles0513875: never tried with media player, winamp, xmms, and mplayer
[17:09] <eagles0513875> are u on a windows machine by any chance cemc
[17:09] <eagles0513875> no im using vmware workstation on vista 64bit
[17:09] <eagles0513875> and server is 64bit
[17:09] <eagles0513875> ubuntu server
[17:10] <cemc> installed vlc, and not working with it either, it wants to connect to `http://ecs.is-a-geek.com:60100/'
[17:11] <eagles0513875> http://ecs.is-a-geek.com:60100/listen.pls that is the link
[17:11] <eagles0513875> its working in vlc and im on windows with the /listen.pls
[17:11] <eagles0513875> with out liste.pls its just the link to the stats site
[17:11] <giovani> eagles0513875: you must not know what a pls is
[17:11] <giovani> a pls is just a file that tells the player where the stream is
[17:11] <giovani> your pls points to http://ecs.is-a-geek.com:60100/
[17:11] <giovani> so that better be the server
[17:12] <wesouler> giovani: thanks ,I think i must find out what's happen, there is no error or warning, i
[17:12] <wesouler> It's too hard to a newbee
[17:12] <wesouler> :)
[17:13] <eagles0513875> giovani: playlist
[17:13] <eagles0513875> giovani: its for linux only
[17:13] <eagles0513875> ohhhhh shit
[17:13] <eagles0513875> nm
[17:13] <eagles0513875> lol
[17:13] <giovani> eagles0513875: first of all ... this is not related to #ubuntu-server as far as I can tell
[17:13] <giovani> so ... I suggest you take this to where it's appropriate
[17:14] <eagles0513875> giovani: im hosting it on ubuntu server just it digressed ill be good now
[17:14] <giovani> that doesn't mean it's related to ubuntu server
[17:14] <giovani> you run adobe acrobat on windows, but you don't go to microsoft for help when something goes wrong, right?
[17:15] <eagles0513875> ya
[17:15] <giovani> so unless this is an error with something ubuntu-specific (which I highly doubt it is) -- you either need to go to the support channel for the software you're running, or figure it out on your own
[17:25] <VolVE> hey all, I have 8.10 server running happily but I want to use some X apps, so I have Xming on my Windows box and it runs individual X apps from the server just fine, but is there any way to get a full desktop running via Xming?
[17:31] <giovani> VolVE: it should be capable of it, yes
[17:31] <giovani> but the specifics of how you do it are probably in its documentation
[17:32] <VolVE> to which "it" are you referring? that's the part I'm not sure of :)
[17:33] <VolVE> sorry perhaps I've confused the issue
[17:33] <VolVE> I am not clear what packages I should install on the server and then run to instantiate a desktop :)
[17:53] <roy_hobbs> Does anyone know why the LDAP+Kerberos section was removed from the latest Ubuntu Server Guide?
[17:53] <chrisadams> when you have a terminal responding really sluggishly, what's the best way to diagnose the problem?
[17:53] <chrisadams> via ssh
[17:54] <chrisadams> I'm ssh'ing into a virtual server, and it's slower than it normally is
[17:54] <chrisadams> cpu is barely being used
[17:54] <cemc> chrisadams: maybe network congestion ?
[17:55] <cemc> stuff being uploaded from the server
[17:55] <chrisadams> on a 128mb vm, I've got 8mb of free memory
[17:55] <cemc> it's slow when you're typing, or it's slow when running some command?
[17:56] <chrisadams> slow when typing
[17:57] <cemc> probably network problems
[17:57] <cemc> full bandwidth or something like that
[17:59] <giovani> chrisadams: how did you determine cpu usage?
[17:59] <giovani> run vmstat 5 5
[17:59] <giovani> and paste the output somewhere
[17:59] <giovani> but yes, could also be network congestion
[17:59] <JanC> or slow network virtualisation
[18:00] <chrisadams> giovani: voila - http://gist.github.com/75850
[18:01] <chrisadams> I'm afriad I don't fully undertstanf that output
[18:01] <giovani> alright
[18:01] <giovani> yep, either a virtualization issue, or a network congestion issue
[18:01] <giovani> who's your VPS provider?
[18:05] <chrisadams> memset
[18:05] <chrisadams> memset.com
[18:05] <chrisadams> they're based in the UK
[18:06] <chrisadams> i suspect it might be some torrenting on this local wifi network...
[18:06] <chrisadams> thanks for your help anyway
[18:06] <giovani> haha
[18:07] <shadowhand> hello
[18:07] <shadowhand> can anyone point me to a guide on how to compile my own PHP for Ubuntu?
[18:08] <baldaris> i am a newbi..create a new file , upload it in /var/www ie index.php
[18:08] <baldaris> and check it in browser if it works..
[18:09] <shadowhand> erm
[18:09] <shadowhand> i said "compile php"
[18:09] <shadowhand> not "use php"
[18:09] <shadowhand> i am perfectly aware of how LAMP works on Ubuntu, thanks
[18:09] <baldaris> ooh okay
[18:09] <chrisadams> shadowhand:  - this any good? http://articles.slicehost.com/2008/12/11/ubuntu-intrepid-installing-apache-and-php5
[18:10] <shadowhand> chrisadams: nope
[18:10] <shadowhand> i need to _compile_ PHP, not install it
[18:11] <shadowhand> i can certainly do the config/make/make install process, but i would rather compile a proper .deb file
[18:18] <JanC> ah, but packaging is not (only) compiling  ;)
[18:19] <domas> shadowhand: 'apt-get source php', then use debuild or whatever was the command
[18:19] <JanC> shadowhand: if you just want it to be easy to install & uninstall, you could use 'checkinstall' as the quick & dirty solution
[18:20] <shadowhand> thanks JanC, domas
[18:20] <shadowhand> btw, are you aware that PHP is broken when using custom session handlers?
[18:20] <shadowhand> kirkland: ping?
[18:20] <domas> "PHP is broken" should be enough
[18:21] <domas> shadowhand: though we're using custom session handlers ;-)
[18:21] <shadowhand> custom, at what level?
[18:22] <shadowhand> in particular, KohanaPHP sessions are 100% broken
[18:22] <domas> we provide our php code to handle sessions
[18:22] <shadowhand> what do you mean? and who is "we"?
[18:23] <domas> the site I and few other people run :)
[18:23] <shadowhand> well, i am not sure what the deal is
[18:23] <shadowhand> i just discovered the problem
[18:23] <shadowhand> but the session is being re-created every load
[18:24] <shadowhand> so nothing is being properly persistent
[18:24] <domas> shadowhand: is this what you're talking about: http://forum.kohanaphp.com/comments.php?DiscussionID=2176&Focus=15489#Comment_15489 ? :)
[18:25] <shadowhand> domas: 100% sure that is not it
[18:25] <shadowhand> i am using native sessions already
[18:25] <domas> ok :)
[18:25] <domas> just first glance
[18:25] <shadowhand> i think it is actually http://forum.kohanaphp.com/comments.php?DiscussionID=1933
[18:25] <shadowhand> but can't be sure
[18:26] <domas> simple race condition? :)
[18:26] <shadowhand> nah
[18:27] <shadowhand> even if i just do: $session = Session::instance(); and nothing else on the page, my session_id() changes every single page
[18:27] <shadowhand> and all session data disappears
[18:54] <JessicaParker> hi can anyone provide advice on the best method to send mails out please ?
[18:55] <JessicaParker> nearly there on the server set up but don't really know how to get emails sent out - i.e. should i install a mail server ?
[18:56] <giovani> JessicaParker: send mail from where? from mail clients not on the server, or from a website hosted on the server?
[18:57] <JessicaParker> website hosted on the server
[18:57] <JessicaParker> i was looking at using gmail but it looks like need to configure ssl
[18:57] <JessicaParker> are there any other options available ?
[18:57] <JessicaParker> drupal to be specific
[18:58] <giovani> you can either use an SMTP server from your ISP, or a provider, such as gmail, or you can run your own
[18:58] <giovani> running your own mail server isn't simple ... so I wouldn't advise it if you haven't done it before
[18:58] <JessicaParker> own isp wont allow it as it is a dedicated server that im getting
[18:58] <giovani> ok, well there are other mail providers
[18:58] <giovani> gmail isn't the only one
[18:58] <JessicaParker> gmail does not seem to allow it as it requires a secure connection
[18:59] <JessicaParker> do the other providers steal the email address and use them for spam ?
[18:59] <giovani> ... uh, what?
[18:59] <JessicaParker> i was looking at the commercial smtp services but was worried about security
[19:00] <giovani> you can't be that worried about security if you don't want to use an encrypted smtp connection
[19:01] <JessicaParker> so basically if i want it secure i need to ssl on the server
[19:05] <storrgie> quick question, I originally set up my database and was using it through an ssh tunnel 'ssh -p 4252 -X -L 3306:127.0.0.1:3306 user@server.net' however I think that I messed with the root account because now I cannot access the database using this method with mysql administrator
[19:06] <giovani> storrgie: ok? and?
[19:06] <storrgie> giovani: what should i check? to fix this thing
[19:06] <storrgie> i know you set up different locations for a user
[19:06] <storrgie> % is wildcard
[19:06] <giovani> storrgie: #mysql
[19:06] <storrgie> giovani: asked it there... not too many people are working in there now
[19:07] <giovani> fewer here
[19:07] <storrgie> giovani: well if u dont have an idea thats fine, i was just putting it out there
[19:07] <giovani> http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
[19:07] <giovani> it's all in the manual
[19:08] <storrgie> its not the password, its the login type i think
[19:08] <storrgie> i can ssh to the box and login through terminal access
[19:08] <giovani> what do you mean login type?
[19:08] <storrgie> um...
[19:08] <storrgie> you can specify where the user can login from
[19:08] <giovani> yes
[19:08] <giovani> so?
[19:08] <storrgie> like 127.0.0.1, or localhost
[19:08] <giovani> that's also in the manual
[19:08] <storrgie> i might have deleted 127.0.0.1
[19:09] <giovani> you can check the logs
[19:09] <giovani> to see that that's the problem, first
[19:09] <giovani> if it is
[19:09] <giovani> read the manual, it's addressed there
[19:16] <storrgie> giovani: i think its something else, the mysql.users table is intact
[19:16] <giovani> then #mysql is where you need to go to get support
[19:18] <storrgie> giovani: chill bud, the issue is regarding my hosts.allow file
[19:18] <storrgie> thats clearly a ubuntu-server question
[19:18] <giovani> what's in your hosts.allow file?
[19:19] <storrgie> well... mysqld was not in there
[19:19] <giovani> why would it need to be?
[19:19] <storrgie> this database should only be accessable by inside users,
[19:19] <storrgie> it would need to be because my hosts.deny is set to ALL:ALL
[19:20] <giovani> ok ... well then you need to allow mysql
[19:21] <storrgie> well my question is, does this mean the mysql server is accessable now from the outside world? none of the users can login from % so it should be ok... but i dont know what kind of other exploits exist for mysql
[19:22] <giovani> setting ALL:ALL denies access to all services on all systems
[19:22] <giovani> as the wording implies
[19:22] <giovani> so you'll need to explicitly allow access to those you want
[19:23] <storrgie> giovani: then maybe i should be reading about iptables instead of using the hosts file?
[19:23] <giovani> I'd think so ...
[19:30] <shadowhand> domas: fyi, found the error
[19:30] <shadowhand> it had nothing to do with Ubuntu, naturally
[19:30] <shadowhand> just a stupid configuration setting that was preventing cookies from being set
[22:05] <storrgie> when apache starts it says its going to use 127.0.0.1.... where do I specify my IP in here?
[22:06] <genii> storrgie: in /etc/apache2/ports.conf
[22:06] <genii> eg:  123.45.67.89:80       or so
[22:06] <hads> Or in virtual hosts
[22:07] <storrgie> i have the virtual hosts set up
[22:07] <storrgie> u mean the default one?
[22:41] <pjsturgeon> I have 4 shares all using the same global settings. 1 share is just a folder, 3 of the shares are symlinks to files on a second harddrive. the normal folder allows read/write fine BUT the symlinks will not allow write
[22:43] <pjsturgeon> nobody? the permissions are all the same, cant think what could cause an "access denied" message
[22:44] <pjsturgeon> i have made a new user called "samba" and added it to the smbusers text file. I gave it a password with smbpasswd -a. I can write to some shares, but not others
[22:46] <genii> Perhaps the files have different owners other than the user "samba"
[22:46] <pjsturgeon> the samba user is set on the admin list, so it should write as root. all files are set as root, both the ones currently there and the ones i add to the working share
[22:47] <pjsturgeon> my config http://pastie.org/411178
[22:49] <genii> If the samba user is an admin in the samba subsystem, it does not equivelate to being in the admin goup on the local box
[22:49] <pjsturgeon> samba is a user on my ubuntu box. it is set as an admin using only the smb.conf line "admin users = samba"
[22:50] <pjsturgeon> i am trying to access from my macbook using that login
[22:53] <genii> Perhaps set a specific write list for one of the problemmatic shares which has that username
[22:53] <pjsturgeon> the 4 shares are just comment and path
[22:56] <genii> pjsturgeon: Did you do: smbpasswd -e samba            to enable the name , after you added (-a) it?
[22:57] <pjsturgeon> i didnt :)
[22:58] <genii> pjsturgeon: So maybe it's falling back to the "bad name" account or so
[22:58] <pjsturgeon> hmm it didnt seem to help
[22:58] <genii> pjsturgeon: Did you restart samba after you added the user?
[22:58] <genii> (added/enabled)
[22:59] <pjsturgeon> i have just enabled the alreadt added users, restarted samba, disconnected my current session and reconnected again
[22:59] <pjsturgeon> same effect
[23:01] <pjsturgeon> do you not find it odd the symlinks wont work and the normal folder share works fine? Not sure what tests to run to find out the differences
[23:01] <pjsturgeon> run a few ls -lah and it all looks the same
[23:03] <genii> I had actually a similar issue before with samba/macos but cannot recal the fix right now :(
[23:04] <pjsturgeon> http://pastie.org/411191
[23:06] <genii> pjsturgeon: Hm. Who are the native owners of the dirs in /media/second-drive/music
[23:07] <genii> /media/second-drive/<wherever>    rather
[23:07] <pjsturgeon> it is all root
[23:07] <genii> (before symlinks)
[23:07] <pjsturgeon> ahh
[23:08] <pjsturgeon> hmm they are too root
[23:09] <pjsturgeon> ran ls -lah /media/second-drive and all is root drwxrwxrwx
[23:11] <genii> Since even system users require to use something like sudo or su before they can modify areas owned by root, I'm suspecting this is perhaps your issue.
[23:11] <genii> Bah, left already
[23:11] <pjsturgeon> i pointed samba straight at /media/second-drive/video and rebooted, no better
[23:12] <pjsturgeon> restarted samba i mean sorry
[23:12] <genii> Since even system users require to use something like sudo or su before they can modify areas owned by root, I'm suspecting this is perhaps your issue.
[23:12] <genii> If the areas were owned by admin for instance, no additional auth would be needed
[23:13] <pjsturgeon> should everything be set to user samba?
[23:13] <genii> pjsturgeon: That would be the simplest way
[23:13] <pjsturgeon> take admin list out and put in "force user = samba"?
[23:15] <genii> pjsturgeon: The files/dirs themselves... if feasible should be in a user/group which the samba login name can natively write to normally if you just logged onto the local box with that name.
[23:16] <genii> pjsturgeon: Otherwise, to map the samba user to whichever user does have proper rights there
[23:16] <pjsturgeon> ok. i set the files/folders within the symlinks but the symlinks themselves wont let me chown
[23:16] <genii> Thats normal
[23:16] <pjsturgeon> ok
[23:17] <pjsturgeon> will i need to change my config now to use force user/group?
[23:17] <pjsturgeon> i will only ever have this one login for samba
[23:17] <genii> You chowned to username "samba" ?
[23:17] <pjsturgeon> yes on all the files/folders within the symlinks
[23:18] <pjsturgeon> i guess no force user is needed if im logged in as that user
[23:18] <genii> Then no need to force
[23:18] <genii> Yes, exactly
[23:18] <pjsturgeon> bah! no changwe
[23:18] <pjsturgeon> restarted samba, still no write access
[23:19] <genii> pjsturgeon: The mac box may need to have it's network info refreshed also, it does cache the known states, etc
[23:19] <pjsturgeon> hmm, how to do that? dnsflush?
[23:20] <genii> Not sure on a mac, I don't work with them enough
[23:20] <pjsturgeon> will restart, brb
[23:22] <pjsturgeon> no luck
[23:22] <pjsturgeon> not sure where the logs are for this, or how to enable them. how to find out what the access denied is being caused by?
[23:23] <genii> The samba log should be somewhere like /var/log/samba    or so. Also if an auth issue check those
[23:24] <pjsturgeon> one thing, i am not 100% but i seem to remember this working earlier today (letting me write to the symlinked folders etc). I then faffed about by removing samba user and trying to add it again as a passwordless user on the ubuntu box. it then wasnt working so put it as a user with the same password
[23:24] <pjsturgeon> think any confusion could have been caused there? as i said i can write to some folders so think i got it back to original state ok
[23:25] <pjsturgeon> which log file? got a few and none have any useful content
[23:26] <pjsturgeon> tail -f ing the log.mylaptop file shows nothing when i attempt to write
[23:26] <genii> pjsturgeon: /var/log/auth.log  has samba/regular logins info etc
[23:28] <pjsturgeon> http://pastie.org/411223
[23:28] <pjsturgeon> nothing nticeable
[23:30] <genii> pjsturgeon: I'm outta immediate ideas. Other than maybe wipe the symlinks, login on the box as the user, make the symlinks new so they have that user as their owner
[23:30] <pjsturgeon> yea might be an idea
[23:31] <pjsturgeon> wouldnt i need to sudo to do that anyway? so they;d still be root
[23:32] <pjsturgeon> samba is not in the sudoers file.  This incident will be reported. :-/
[23:38] <pjsturgeon> aha! the files within the symlinks are not actually chowned
[23:38] <genii> You don't need sudo to make symlinks to dirs not owned by you...just that when you try to ls/write there etc no-go
[23:39] <pjsturgeon> i am trying sudo chown samba.samba -R . and it will not let me :S
[23:40] <pjsturgeon> if i can sudo the content then make  the symlinks as you suggest i bet it will work, but i cant change the ownership of these files
[23:42] <genii> should be samba:samba  and not samba.samba
[23:42] <pjsturgeon> still doesnt work (i have done it that way before)
[23:42] <pjsturgeon> i read this http://ubuntuforums.org/showthread.php?t=470355
[23:42] <pjsturgeon> perhaps my disk is mounted badly?
[23:43] <pjsturgeon> i use the line... /dev/sda1       /media/second-drive vfat user,fmask=0111,dmask=0000,iocharset=utf8 0 0
[23:44] <genii> unix permissions do not work on fat/vfat/ntfs
[23:44] <pjsturgeon> >.<
[23:44] <genii> So yes, I'd suggest to look at that
[23:45] <pjsturgeon> this is my problem? using FAT32 disk... i guess it no longer matters the format if i am using samba? I had to have the fat 32 before as it was plugged directly into my xbox. now content is streamed
[23:45] <pjsturgeon> ok, i will reformat the damn thing somehow
[23:45] <pjsturgeon> anyone know of an easy way to reformat vfat to a more samba friendly format without wiping content? :-(
[23:50] <genii> The simplest thing is just copy off all the files somewhere, format, copy back. But failing that, if less than 50% used, you can resize to 50/50 with one vfta, one ext then copy from the vfat to the ext, then expand the ext to entire drive
[23:51] <pjsturgeon> if only, its a 500gb hdd
[23:53] <pjsturgeon> never mind. cheers guys!