**** BEGIN LOGGING AT Wed Aug 13 02:59:57 2008 Aug 13 17:55:52 anyone here who can assist with a very basic (I'm sure) samba problem? I'm running slugos le and installed samba, swat, etc. I have created a subdirectory off of /home called repos and have set up a samba share for it. However when I go to browse it from my windows machine it prompts me for user name and pw and my root credentials don't work Aug 13 17:56:38 btw i have set up root as a samba user because it accepts my root credentials to view my slug's shares Aug 13 17:56:52 but will not accept the same credentials to go into that share Aug 13 17:57:17 so it's got to be permissions... but seems like root should already have full permissions on everything? Aug 13 17:57:37 did you use smbpasswd? Aug 13 17:57:46 yes Aug 13 17:58:04 root@SVNSVR:/$ smbpasswd -a root Aug 13 17:58:04 New SMB password: Aug 13 17:58:04 Retype new SMB password: Aug 13 17:58:04 Added user root. Aug 13 17:58:26 like i said i can use those credentials to get to \\svnsvr Aug 13 17:58:37 but they do not work for the share itself Aug 13 17:59:11 slugos samba or optware samba? Aug 13 17:59:26 slugos Aug 13 17:59:58 anything in the log? Aug 13 18:00:18 oh maybe this is it, i dont have root listed in the valid users field (viewing the share config from swat). I have it listed in admin users (figuring that to be a superset of valid users) Aug 13 18:02:35 hmm that didnt seem to fix it Aug 13 18:02:52 now its not even prompting me for new credentials its just saying i dont have permission Aug 13 18:03:15 where is the samba log located? Aug 13 18:03:39 /var/log/log.?mbd Aug 13 18:05:48 nope nothing relevant in the log Aug 13 18:06:01 well i will paste it anyway Aug 13 18:06:27 [2008/08/18 19:30:30, 0] nmbd/nmbd.c:main(699) Aug 13 18:06:27 Netbios nameserver version 3.0.23c started. Aug 13 18:06:27 Copyright Andrew Tridgell and the Samba Team 1992-2006 Aug 13 18:06:27 [2008/08/18 19:30:31, 0] nmbd/nmbd.c:main(718) Aug 13 18:06:27 standard input is not a socket, assuming -D option Aug 13 18:06:28 [2008/08/18 19:30:31, 0] lib/pidfile.c:pidfile_create(93) Aug 13 18:06:30 ERROR: nmbd is already running. File /var/run/nmbd.pid exists and process id 1376 is running. Aug 13 18:06:32 [2008/08/18 20:20:17, 0] nmbd/nmbd.c:terminate(58) Aug 13 18:06:34 Got SIGTERM: going down... Aug 13 18:06:36 [2008/08/18 20:20:18, 0] nmbd/nmbd.c:main(699) Aug 13 18:06:51 yeah time and date is off Aug 13 22:31:49 ok heh anyone know what might cause me to be unable to see the root directory on my slug? I've been messing around with samba and svn and stuff, and rebooted for the first time today. When I logged back in I could not cd /etc or to any of the other directories. ls give no results... but I can cat/etc/fstab and the file comes up... so I'm not sure what is going on Aug 13 22:33:18 i am logged in as root via ssh btw Aug 13 22:33:26 and on slugos/le Aug 13 23:08:00 ok once i do a cd / i can see everything Aug 13 23:08:20 so why can I not when in /home/root? Aug 13 23:39:38 ok i think what happened is my /home/root dir got wiped out and recreated... so it's not behaving "normally" Aug 14 00:26:38 my /home/root is empty... an ls -l returns nothing Aug 14 00:28:22 luv2chill: try ls -al Aug 14 00:29:35 at least you may have some .lessrc, .ssh, .bash_history Aug 14 00:29:42 or some files like that. Aug 14 00:29:52 root@SVNSVR:/home/root$ ls -al Aug 14 00:29:52 drwxr-xr-x 2 root root 4096 Aug 14 00:29 . Aug 14 00:29:52 drwxr-xr-x 3 root root 4096 Aug 14 00:29 .. Aug 14 00:29:52 root@SVNSVR:/home/root$ Aug 14 00:30:09 luv2chill: what firmware? slugosbe writes a /root rather than a /home/root Aug 14 00:30:56 slugos/le Aug 14 00:31:10 and this happened i think due to the fact that I had a raid array mounted as /home Aug 14 00:31:16 and decided to mount it as something else Aug 14 00:31:35 so I recreated /home on the root fs and recreated the home/root subdir Aug 14 00:31:41 but its obviously messed up Aug 14 00:33:08 are those symlinks that are supposed to be in /home/root aka /root? Aug 14 00:33:46 i'm just not sure what I can do... its' not like i can deluser root and re-add it Aug 14 00:33:51 i don't know. i'm not running raid or lvm etc Aug 14 00:34:21 well the raid thing doesnt even matter... if the volume containing the /home dir goes missing, what is the OS supposed to do? Aug 14 00:35:05 luv2chill: it should look at the mountpoint /home, i guess Aug 14 00:35:31 should there be something mounted as /home in fstab? Aug 14 00:35:37 because there isn't Aug 14 00:36:00 there is /dev/sdc1 mounted as / Aug 14 00:36:07 and the swap partition, but that'sit Aug 14 00:39:56 i don't know if trying to do a turnup again might fix this or if it's hosed to the point where i would need to reflash Aug 14 01:43:12 anyone know if there's a way to recreate /root? Aug 14 02:20:12 ok can someone tell me if /root and /home/root are supposed to both exist and be the same? Aug 14 02:33:20 no there should be no /home/root Aug 14 02:33:24 just /root Aug 14 02:49:17 and if I am in /root and do an ls is there anything I am supposed to see? Aug 14 02:52:07 ls -la Aug 14 02:52:16 depends I guess Aug 14 02:57:07 heres the deal... i could swear that it used to be when i logged in as root I could immediately do an ls and see all contents of / (/etc, /dev, /bin blah blah). Now I have to do a cd / first (or an ls /) Aug 14 02:57:15 Did i just imagine that? Aug 14 02:57:51 when i log in as root, I am placed in my home directory /root, which is empty Aug 14 02:58:28 i thought it used to be when i was in /root and did an ls I would see / but maybe I'm mis-remembering **** ENDING LOGGING AT Thu Aug 14 02:59:57 2008