/srv/irclogs.ubuntu.com/2009/03/08/#ubuntu-server.txt

cliebowanyone comment on openldap 2.4.11 in intrepid and syncrepl issues?00:05
sommercliebow: do you have a specific error?00:13
cliebowjust doesnt work..i had it runnnning Thursday..on reboot friday..stopped working...i see nothing in logs at 32767 to describe what is wrong00:15
sommercliebow: you'll get errors if you start slapd in a terminal with: sudo slapd -F /etc/ldap/slapd.d -h ldap:/// -d -100:16
sommercliebow: there might also be errors in /var/log/syslog00:17
cliebowive been watching syslog..a lot..ill try a manual start..00:25
cliebowagaoin00:25
cliebow* host: 169.244.3.137  port: 389  (default)00:36
cliebow  refcnt: 2  status: Connected00:36
cliebowi cant see anything suspicious..00:37
krielOkay, 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?07:08
decembrehello09:24
decembreI have a problem with my small server and a run-parts task09:24
decembrecan anybobdy help me ?09:25
baldarishey can any one help me with implementing sasl using postfix..10:34
baldarisany one?10:35
cemcbaldaris: http://www.postfix.org/SASL_README.html10:39
cemcyou read that and still no luck ?10:40
baldarisyeah i have setupup postfix..and i am able to send mails from my server10:40
baldarisbut when i am trying to send mail from outside server..it says relay access denied..10:41
baldaristhe username and password i am using for authentication is working..10:41
baldarisi am not sure where i am messing it up..10:41
cemccan you post main.cf ?10:41
baldarisyeah sure..10:41
cemcin a pastebin... :)10:42
baldaris http://www.pastebin.ca/135573410:45
baldariswhen i open telnet for mydomain name, i get 250 for all options..10:46
cemcand you sure the SASL authentication part is working?10:48
baldarisyeah i wrote the php script..to check for username and password and it it returned 250 okay10:49
baldarisis something worng..?10:49
cemcit 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:51
baldarisi am trying to send e-mail from remote host using my dedicated emial server..10:53
baldarisemail server..10:53
baldarisfor sending a suth request10:54
baldarisfputs($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
baldarissimilary i can send request for username and password and get the responce i am getting..10:54
cemcand how is that php script tied into postfix ?10:56
baldarisi am using SMTP to connect server, port, username,password10:57
baldarisdo you want me to paste the code..10:57
RoyKhi all. I keep trying to backup this dvd, but it fails http://pastebin.com/m1dadd53711:01
cemcbaldaris: I think I misunderstood. you have a remote server and you're trying to send mail with a php script through another mailserver with authentication11:02
cemc?11:02
baldarisyeah right11:02
baldarisi have a dedicated mail server11:03
baldarisand i am trying to send a mail from another hosting account, and to use my email server,from outside i am using smtp11:03
baldarischeck this paste..11:04
baldarishttp://www.pastebin.ca/135573911:04
baldaris?11:08
cemcdid you try sending from that remote with simply telnetting?11:08
cemcjust to see if it works11:08
baldarisyeah i am able to send mail using telnet11:10
baldarisand i am able to send mail using this script which is uploaded in my server..11:10
cemcfrom the same machine ?11:10
baldarisyeah11:10
cemcI mean from the hosting machine?11:10
baldarisi can send mail via telnet from my dedicated server...11:11
baldarisfrom my laptop , remote hosting account i am able to send mail via telnet11:11
baldarisbut when i use this php script to send mail , it gives me relay access denied..11:11
cemcand can you see the error message in the maillogs on the mailserver?11:12
cemcdoes it say it's authenticated?11:12
baldarisyeah wait let me check..11:13
baldarisi am checking mail log and auth log11:13
baldarisokay11:17
baldariswarning sasl authentication failed11:18
baldaris warning: do not list domain mails.me.com in BOTH virtual_mailbox_domains and relay_domains11:18
baldarisreject: 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
baldarisso does that mean i am messing up with sasl authentication..11:20
_rubenand 'from=<$rom=<me@mails.me.com>' doenst look too sane either11:21
cemc;)11:22
cemcnot so much11:22
cemckeep an eye on the logfiles when trying stuff11:23
baldarissorry i actually changed mail address before posting..11:23
baldarisi hope its okay with you..11:23
baldarisso any idea..where i am messing up, you said mail.cf file is okay11:23
cemcwell it looks ok, but you just said the sasl auth is failing11:24
cemcthat's where the problem is I suppose11:24
baldarisyeah thats what is says in log11:24
baldarisbut if its failing, why i am able to send mails..11:24
baldarisit shouldnt send mails...right..11:24
cemcwait a minute11:24
baldarisk..11:25
cemcin the php file, you sending auth login first, then helo ?11:25
cemcnot good11:25
cemchelo, auth login, mail from, rcpt to, it should be in this order11:26
baldarisk..11:26
cemctry putting the helo first, at least my postfix doesn't let me auth login before helo11:26
baldarisyeah i did it...11:28
baldarisyeah now i am getting Authentication failure in my acript too..11:29
baldarisso i guess there is something wrong in the settings..11:29
baldarissmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd11:36
baldarisin my  main.cf file this is missing..11:36
baldarisand relay host is empty11:36
cemcI'm not sure you need that smtp_sasl_password_maps11:38
baldarisokay and i am not having sasl_passwd file also..instead i see a sasl forlder a file named smptd.conf11:40
baldarissomethings in guide , are confisuing me11:40
cemcyeah, that's where you set sasl from there it should look up username and password11:41
cemcsasl 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 somewhere11:43
baldarisooh11:43
mrwesI 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:57
mrwesI want to use it mainly for a home file and print server14:58
mrweshrmm14:59
racecar56it is posible14:59
racecar56however remember: server additions are for SERVERS, not casual desktop PCs15:00
racecar56i mean server operating systems15:00
mrwesYes I plan to run the server headless and use ssh to acces it15:00
mrwesI'm planning a 10GB / , a swap and the rest /data formated NTFS15:01
mrwesI have windows machines accessing it too15:01
jtajithat's no reason to use ntfs, use ext3, and samba for the windows machine to access15:02
mrwesahh Ok -- I'd rather do that yes15:02
racecar56mrwes don't make a NTFS partition, samba can share them even on linux FS15:02
mrwesdoes the server edition use /home for the administrator account /home ?15:03
mrwesread and write ?15:03
mrwesfrom a Windows XP laptop?15:03
Jubezhi, i deleted a file by mistake15:28
Jubezhow do i retrieve it?15:28
Jubezsorry, real newbie15:28
racecar56rm?15:28
racecar56if so then idk15:28
racecar56google should help15:28
racecar56gotta go bye, good luck15:28
Jubezi just highlighted it and pressed delete, heh15:28
racecar56ahhh its in the recycle bin15:29
Jubezi have the desktop installed on server version15:29
racecar56thats nuts15:29
Jubezwhere's my recycle bin?15:29
Jubezi was just testing it out15:29
racecar56i don't know but if you are using gnome then you should haave it on the bottom right15:29
racecar56i have to go now, good luck15:29
Jubezah, my screen was sized wrong15:30
Jubezcouldnt see that15:30
Jubezhehe, thanks much!15:30
wesoulerhi all15:40
Jubezhello15:44
wesoulerDid 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:45
roy_hobbsI'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:47
domasfedora DS is opensourced Sun stuff15:50
domasfor a while it wasn't opensourced15:50
domasso, openldap existed ;-)15:50
roy_hobbsdomas: i read that fedora and openldap both spawned from netscape15:51
roy_hobbsfedora ds i should say15:51
domasghm, I remember using netscape ldap back in 1.0 times, and it wasn't similar to openldap ;-)15:51
domasmaybe I remember it wrong? ;-)15:51
domasopenldap started from umich clone15:52
domashaha, I remember running umich ldap though %)15:52
=== penguim is now known as penguin_away
=== penguin_away is now known as penguim_away
roy_hobbshttp://directory.fedoraproject.org/wiki/FAQ#How_is_Fedora_Directory_Server_different_from_OpenLDAP.3F15:54
roy_hobbsWhat 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.15:57
chrisadamshi guys16:15
chrisadamsI'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.html16:16
eagles0513875hey guys i have my shoutcast server setup16:43
eagles0513875but for some reason when people try and connect with windows media player it complains about a missing codec what could i be missingf16:44
jpdsOgg?16:44
eagles0513875mp316:45
eagles0513875i have lame ffmpeg installed16:45
wesoulerIs Anybody install Ubuntu 8.10 amd64 server on IBM X3650 with Raid 1?16:59
giovaniwesouler: haha ... unlikely you'd find someone with that exact setup17:00
wesoulergiovani ,i installed sucessful,but after reboot ...there is a blinking cursor on the top.17:03
cemceagles0513875: does it work if you connect with winamp?17:03
wesoulerIs grub missing?17:03
giovaniwesouler: hardware raid-1 I presume?17:03
wesouleryes17:03
giovanigrub might be missing, or corrupted17:03
wesoulerhd0 hd1->raid 117:03
eagles0513875cemc: dont have anyone to test for me17:03
giovaniyou 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:03
eagles0513875this desktop doesnt have speakers cemc im streaming form my laptop17:04
cemceagles0513875: what's the url ?17:04
eagles0513875cemc: http://ecs.is-a-geek.com:60100/listen.pls17:04
wesouleri think there is a bug with the Raid.17:04
eagles0513875the issue is with windows media player bitching about a codec thats missing17:04
giovaniwesouler: if it's hardware raid, that's not likely17:04
cemceagles0513875: not working for me either, I'm on linux, with xmms17:05
wesoulerI google someone got same problem.17:05
giovaniwesouler: then why come here? if there's a problem with the raid, it's not related to ubuntu17:05
cemceagles0513875: unknown ASF streaming type, this is what mplayer says17:05
eagles0513875its an mp3 stream17:06
cemcyou said it was mp317:06
eagles0513875streaming through shoutcast17:06
cemcwell, it doesn't seem to be mp3 :)17:06
eagles0513875O_o17:06
wesoulerI doubt ubuntu 8.10 may not support IBM Xserials Raid control device....17:06
cemcif it's not working with mplayer, it's won't work with anything :-)17:06
cemchehe17:06
eagles0513875cemc try vlc17:06
eagles0513875ull see it says mp317:06
giovaniwesouler: hardware raid doesn't require software drivers to function17:07
cemcI have a shoutcast server myself, I'm relaying a 128kbps mp3 stream, and it's working on all these players17:07
eagles0513875in another channel it said mplayer said the stream siad libmod17:07
eagles0513875wtf17:07
eagles0513875then maybe u can help me iron out the kinks17:07
cemcnot sure, I'm only relaying what's coming in17:07
eagles0513875cemc: how did u manage to get it working with media player17:08
eagles0513875ur shoutcast server to work with media player17:08
wesoulergiovaniļ¼ŒCan i use rescue disk to fix the grub's  problem?17:08
giovaniwesouler: you can ... if it isn in fact grub's problem17:08
cemceagles0513875: never tried with media player, winamp, xmms, and mplayer17:09
eagles0513875are u on a windows machine by any chance cemc17:09
eagles0513875no im using vmware workstation on vista 64bit17:09
eagles0513875and server is 64bit17:09
eagles0513875ubuntu server17:09
cemcinstalled vlc, and not working with it either, it wants to connect to `http://ecs.is-a-geek.com:60100/'17:10
eagles0513875http://ecs.is-a-geek.com:60100/listen.pls that is the link17:11
eagles0513875its working in vlc and im on windows with the /listen.pls17:11
eagles0513875with out liste.pls its just the link to the stats site17:11
giovanieagles0513875: you must not know what a pls is17:11
giovania pls is just a file that tells the player where the stream is17:11
giovaniyour pls points to http://ecs.is-a-geek.com:60100/17:11
giovaniso that better be the server17:11
wesoulergiovani: thanks ,I think i must find out what's happen, there is no error or warning, i17:12
wesoulerIt's too hard to a newbee17:12
wesouler:)17:12
eagles0513875giovani: playlist17:13
eagles0513875giovani: its for linux only17:13
eagles0513875ohhhhh shit17:13
eagles0513875nm17:13
eagles0513875lol17:13
giovanieagles0513875: first of all ... this is not related to #ubuntu-server as far as I can tell17:13
giovaniso ... I suggest you take this to where it's appropriate17:13
eagles0513875giovani: im hosting it on ubuntu server just it digressed ill be good now17:14
giovanithat doesn't mean it's related to ubuntu server17:14
giovaniyou run adobe acrobat on windows, but you don't go to microsoft for help when something goes wrong, right?17:14
eagles0513875ya17:15
giovaniso 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 own17:15
VolVEhey 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:25
giovaniVolVE: it should be capable of it, yes17:31
giovanibut the specifics of how you do it are probably in its documentation17:31
VolVEto which "it" are you referring? that's the part I'm not sure of :)17:32
VolVEsorry perhaps I've confused the issue17:33
VolVEI am not clear what packages I should install on the server and then run to instantiate a desktop :)17:33
roy_hobbsDoes anyone know why the LDAP+Kerberos section was removed from the latest Ubuntu Server Guide?17:53
chrisadamswhen you have a terminal responding really sluggishly, what's the best way to diagnose the problem?17:53
chrisadamsvia ssh17:53
chrisadamsI'm ssh'ing into a virtual server, and it's slower than it normally is17:54
chrisadamscpu is barely being used17:54
cemcchrisadams: maybe network congestion ?17:54
cemcstuff being uploaded from the server17:55
chrisadamson a 128mb vm, I've got 8mb of free memory17:55
cemcit's slow when you're typing, or it's slow when running some command?17:55
chrisadamsslow when typing17:56
cemcprobably network problems17:57
cemcfull bandwidth or something like that17:57
giovanichrisadams: how did you determine cpu usage?17:59
giovanirun vmstat 5 517:59
giovaniand paste the output somewhere17:59
giovanibut yes, could also be network congestion17:59
JanCor slow network virtualisation17:59
chrisadamsgiovani: voila - http://gist.github.com/7585018:00
chrisadamsI'm afriad I don't fully undertstanf that output18:01
giovanialright18:01
giovaniyep, either a virtualization issue, or a network congestion issue18:01
giovaniwho's your VPS provider?18:01
chrisadamsmemset18:05
chrisadamsmemset.com18:05
chrisadamsthey're based in the UK18:05
chrisadamsi suspect it might be some torrenting on this local wifi network...18:06
chrisadamsthanks for your help anyway18:06
giovanihaha18:06
shadowhandhello18:07
shadowhandcan anyone point me to a guide on how to compile my own PHP for Ubuntu?18:07
baldarisi am a newbi..create a new file , upload it in /var/www ie index.php18:08
baldarisand check it in browser if it works..18:08
shadowhanderm18:09
shadowhandi said "compile php"18:09
shadowhandnot "use php"18:09
shadowhandi am perfectly aware of how LAMP works on Ubuntu, thanks18:09
baldarisooh okay18:09
chrisadamsshadowhand:  - this any good? http://articles.slicehost.com/2008/12/11/ubuntu-intrepid-installing-apache-and-php518:09
shadowhandchrisadams: nope18:10
shadowhandi need to _compile_ PHP, not install it18:10
shadowhandi can certainly do the config/make/make install process, but i would rather compile a proper .deb file18:11
JanCah, but packaging is not (only) compiling  ;)18:18
domasshadowhand: 'apt-get source php', then use debuild or whatever was the command18:19
JanCshadowhand: if you just want it to be easy to install & uninstall, you could use 'checkinstall' as the quick & dirty solution18:19
shadowhandthanks JanC, domas18:20
shadowhandbtw, are you aware that PHP is broken when using custom session handlers?18:20
shadowhandkirkland: ping?18:20
domas"PHP is broken" should be enough18:20
domasshadowhand: though we're using custom session handlers ;-)18:21
shadowhandcustom, at what level?18:21
shadowhandin particular, KohanaPHP sessions are 100% broken18:22
domaswe provide our php code to handle sessions18:22
shadowhandwhat do you mean? and who is "we"?18:22
domasthe site I and few other people run :)18:23
shadowhandwell, i am not sure what the deal is18:23
shadowhandi just discovered the problem18:23
shadowhandbut the session is being re-created every load18:23
shadowhandso nothing is being properly persistent18:24
domasshadowhand: is this what you're talking about: http://forum.kohanaphp.com/comments.php?DiscussionID=2176&Focus=15489#Comment_15489 ? :)18:24
shadowhanddomas: 100% sure that is not it18:25
shadowhandi am using native sessions already18:25
domasok :)18:25
domasjust first glance18:25
shadowhandi think it is actually http://forum.kohanaphp.com/comments.php?DiscussionID=193318:25
shadowhandbut can't be sure18:25
domassimple race condition? :)18:26
shadowhandnah18:26
shadowhandeven if i just do: $session = Session::instance(); and nothing else on the page, my session_id() changes every single page18:27
shadowhandand all session data disappears18:27
JessicaParkerhi can anyone provide advice on the best method to send mails out please ?18:54
JessicaParkernearly 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:55
giovaniJessicaParker: send mail from where? from mail clients not on the server, or from a website hosted on the server?18:56
JessicaParkerwebsite hosted on the server18:57
JessicaParkeri was looking at using gmail but it looks like need to configure ssl18:57
JessicaParkerare there any other options available ?18:57
JessicaParkerdrupal to be specific18:57
giovaniyou can either use an SMTP server from your ISP, or a provider, such as gmail, or you can run your own18:58
giovanirunning your own mail server isn't simple ... so I wouldn't advise it if you haven't done it before18:58
JessicaParkerown isp wont allow it as it is a dedicated server that im getting18:58
giovaniok, well there are other mail providers18:58
giovanigmail isn't the only one18:58
JessicaParkergmail does not seem to allow it as it requires a secure connection18:58
JessicaParkerdo the other providers steal the email address and use them for spam ?18:59
giovani... uh, what?18:59
JessicaParkeri was looking at the commercial smtp services but was worried about security18:59
giovaniyou can't be that worried about security if you don't want to use an encrypted smtp connection19:00
JessicaParkerso basically if i want it secure i need to ssl on the server19:01
storrgiequick 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 administrator19:05
giovanistorrgie: ok? and?19:06
storrgiegiovani: what should i check? to fix this thing19:06
storrgiei know you set up different locations for a user19:06
storrgie% is wildcard19:06
giovanistorrgie: #mysql19:06
storrgiegiovani: asked it there... not too many people are working in there now19:06
giovanifewer here19:07
storrgiegiovani: well if u dont have an idea thats fine, i was just putting it out there19:07
giovanihttp://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html19:07
giovaniit's all in the manual19:07
storrgieits not the password, its the login type i think19:08
storrgiei can ssh to the box and login through terminal access19:08
giovaniwhat do you mean login type?19:08
storrgieum...19:08
storrgieyou can specify where the user can login from19:08
giovaniyes19:08
giovaniso?19:08
storrgielike 127.0.0.1, or localhost19:08
giovanithat's also in the manual19:08
storrgiei might have deleted 127.0.0.119:08
giovaniyou can check the logs19:09
giovanito see that that's the problem, first19:09
giovaniif it is19:09
giovaniread the manual, it's addressed there19:09
storrgiegiovani: i think its something else, the mysql.users table is intact19:16
giovanithen #mysql is where you need to go to get support19:16
storrgiegiovani: chill bud, the issue is regarding my hosts.allow file19:18
storrgiethats clearly a ubuntu-server question19:18
giovaniwhat's in your hosts.allow file?19:18
storrgiewell... mysqld was not in there19:19
giovaniwhy would it need to be?19:19
storrgiethis database should only be accessable by inside users,19:19
storrgieit would need to be because my hosts.deny is set to ALL:ALL19:19
giovaniok ... well then you need to allow mysql19:20
storrgiewell 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 mysql19:21
giovanisetting ALL:ALL denies access to all services on all systems19:22
giovanias the wording implies19:22
giovaniso you'll need to explicitly allow access to those you want19:22
storrgiegiovani: then maybe i should be reading about iptables instead of using the hosts file?19:23
giovaniI'd think so ...19:23
shadowhanddomas: fyi, found the error19:30
shadowhandit had nothing to do with Ubuntu, naturally19:30
shadowhandjust a stupid configuration setting that was preventing cookies from being set19:30
=== genii_ is now known as genii
storrgiewhen apache starts it says its going to use 127.0.0.1.... where do I specify my IP in here?22:05
geniistorrgie: in /etc/apache2/ports.conf22:06
geniieg:  123.45.67.89:80       or so22:06
hadsOr in virtual hosts22:06
storrgiei have the virtual hosts set up22:07
storrgieu mean the default one?22:07
pjsturgeonI 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 write22:41
pjsturgeonnobody? the permissions are all the same, cant think what could cause an "access denied" message22:43
pjsturgeoni 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 others22:44
geniiPerhaps the files have different owners other than the user "samba"22:46
pjsturgeonthe 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 share22:46
pjsturgeonmy config http://pastie.org/41117822:47
geniiIf the samba user is an admin in the samba subsystem, it does not equivelate to being in the admin goup on the local box22:49
pjsturgeonsamba is a user on my ubuntu box. it is set as an admin using only the smb.conf line "admin users = samba"22:49
pjsturgeoni am trying to access from my macbook using that login22:50
geniiPerhaps set a specific write list for one of the problemmatic shares which has that username22:53
pjsturgeonthe 4 shares are just comment and path22:53
geniipjsturgeon: Did you do: smbpasswd -e samba            to enable the name , after you added (-a) it?22:56
pjsturgeoni didnt :)22:57
geniipjsturgeon: So maybe it's falling back to the "bad name" account or so22:58
pjsturgeonhmm it didnt seem to help22:58
geniipjsturgeon: Did you restart samba after you added the user?22:58
genii(added/enabled)22:58
pjsturgeoni have just enabled the alreadt added users, restarted samba, disconnected my current session and reconnected again22:59
pjsturgeonsame effect22:59
pjsturgeondo 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 differences23:01
pjsturgeonrun a few ls -lah and it all looks the same23:01
geniiI had actually a similar issue before with samba/macos but cannot recal the fix right now :(23:03
pjsturgeonhttp://pastie.org/41119123:04
geniipjsturgeon: Hm. Who are the native owners of the dirs in /media/second-drive/music23:06
genii/media/second-drive/<wherever>    rather23:07
pjsturgeonit is all root23:07
genii(before symlinks)23:07
pjsturgeonahh23:07
pjsturgeonhmm they are too root23:08
pjsturgeonran ls -lah /media/second-drive and all is root drwxrwxrwx23:09
geniiSince 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
geniiBah, left already23:11
pjsturgeoni pointed samba straight at /media/second-drive/video and rebooted, no better23:11
pjsturgeonrestarted samba i mean sorry23:12
geniiSince 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
geniiIf the areas were owned by admin for instance, no additional auth would be needed23:12
pjsturgeonshould everything be set to user samba?23:13
geniipjsturgeon: That would be the simplest way23:13
pjsturgeontake admin list out and put in "force user = samba"?23:13
=== timburke|laptop is now known as timburke
geniipjsturgeon: 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:15
geniipjsturgeon: Otherwise, to map the samba user to whichever user does have proper rights there23:16
pjsturgeonok. i set the files/folders within the symlinks but the symlinks themselves wont let me chown23:16
geniiThats normal23:16
pjsturgeonok23:16
pjsturgeonwill i need to change my config now to use force user/group?23:17
pjsturgeoni will only ever have this one login for samba23:17
geniiYou chowned to username "samba" ?23:17
pjsturgeonyes on all the files/folders within the symlinks23:17
pjsturgeoni guess no force user is needed if im logged in as that user23:18
geniiThen no need to force23:18
geniiYes, exactly23:18
pjsturgeonbah! no changwe23:18
pjsturgeonrestarted samba, still no write access23:18
geniipjsturgeon: The mac box may need to have it's network info refreshed also, it does cache the known states, etc23:19
pjsturgeonhmm, how to do that? dnsflush?23:19
geniiNot sure on a mac, I don't work with them enough23:20
pjsturgeonwill restart, brb23:20
pjsturgeonno luck23:22
pjsturgeonnot 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:22
geniiThe samba log should be somewhere like /var/log/samba    or so. Also if an auth issue check those23:23
pjsturgeonone 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 password23:24
pjsturgeonthink 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 ok23:24
pjsturgeonwhich log file? got a few and none have any useful content23:25
pjsturgeontail -f ing the log.mylaptop file shows nothing when i attempt to write23:26
geniipjsturgeon: /var/log/auth.log  has samba/regular logins info etc23:26
pjsturgeonhttp://pastie.org/41122323:28
pjsturgeonnothing nticeable23:28
geniipjsturgeon: 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 owner23:30
pjsturgeonyea might be an idea23:30
pjsturgeonwouldnt i need to sudo to do that anyway? so they;d still be root23:31
pjsturgeonsamba is not in the sudoers file.  This incident will be reported. :-/23:32
pjsturgeonaha! the files within the symlinks are not actually chowned23:38
geniiYou don't need sudo to make symlinks to dirs not owned by you...just that when you try to ls/write there etc no-go23:38
pjsturgeoni am trying sudo chown samba.samba -R . and it will not let me :S23:39
pjsturgeonif 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 files23:40
geniishould be samba:samba  and not samba.samba23:42
pjsturgeonstill doesnt work (i have done it that way before)23:42
pjsturgeoni read this http://ubuntuforums.org/showthread.php?t=47035523:42
pjsturgeonperhaps my disk is mounted badly?23:42
pjsturgeoni use the line... /dev/sda1       /media/second-drive vfat user,fmask=0111,dmask=0000,iocharset=utf8 0 023:43
geniiunix permissions do not work on fat/vfat/ntfs23:44
pjsturgeon>.<23:44
geniiSo yes, I'd suggest to look at that23:44
pjsturgeonthis 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 streamed23:45
pjsturgeonok, i will reformat the damn thing somehow23:45
pjsturgeonanyone know of an easy way to reformat vfat to a more samba friendly format without wiping content? :-(23:45
geniiThe 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 drive23:50
pjsturgeonif only, its a 500gb hdd23:51
pjsturgeonnever mind. cheers guys!23:53

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