Hello all First i would like to say great work to all the ones that have made tutorials, they have given me a good start intro to Linux. Im totally new to all this linux mumble. But hope you understand me question but this one i just cant seem to get working http://howtoforge.com/ubuntu-home-fileserver I have made a VMware setup for this one. I have followed the guide, but something is wrong, IE i cant get access to the share from windows or ubuntu 7.10 Desktop live cd version. Wen i try to Explore the share i get this error in windows xp sp2 Im getting the pop up for username and password, i have tried to unix accounts but with no luck. But if i understand it correct i should not be asked here ? But in the end windows turn up this error \\server is not accessible. You might not have permission to this network resource.. etc etc. The group name could not be found Here are some files that you probely is going to need the information about /etc/hosts some fdisk info: fdisk -l The sdb1 is made into NTFS with Gparted /etc/fstab /etc/samba/smb.conf I have made one user adduser share and smbpasswd -a share The server has been restarted and samba is running: If i boot the server with the ubuntu live cd 7.10 i can access the ntfs partition and create files / folders there. I have searched all kind of guides, sites etc. etc. But i just cant find the answer any ware. Im pretty sure its some little thing. if you need more info just name the place and i list it here Yours Zaxo
Hi zaxo, add Code: guest ok = yes to the smb.conf . There's also a typo in your configuration - change Code: force group = no group to Code: force group = nogroup Afterwards restart SAMBA - hope this works for you. Btw: Sometimes, when a smb-user has been added via smbpasswd -a %username% the account won't be enabled - you can do it manually via smbpasswd -e %username%. Best regards, Olli
Permission problems I have excactly the same problem. It didn't solved it with changing smb.conf as zaxo did :'( My problem start appear directly when I try connecting to my server with user and password box. After I created a user called 'home' I succed to login and see the share but I can't acces the share. Here is my setup /etc/hosts HTML: 127.0.0.1 localhost 192.168.0.5 nas # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts some fdisk info: fdisk -l HTML: Disk /dev/sda: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x56feed17 Device Boot Start End Blocks Id System /dev/sda1 * 1 1314 10554673+ 83 Linux /dev/sda2 18699 18959 2096482+ 82 Linux swap / Solaris /dev/sda3 1315 18698 139636980 7 HPFS/NTFS /etc/fstab HTML: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda1 UUID=01a300d6-5fb4-4317-bd21-2ee487696d75 / ext3 defaults,erro$ # /dev/sda3 UUID=40A7110C2E8F18E1 /media/sda3 ntfs defaults,umask=007,gid=46 0 $ # /dev/sda2 UUID=9ab70b63-4b4c-4657-aede-acf9d1c0f7b8 none swap sw $ /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0 /dev/sda3 /media/store ntfs defaults 0 0 /etc/samba/smb.conf HTML: [media] comment = Public folder path = /media/store public = yes writeable = yes create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup guest ok = yes The last picture is the permission failed message. It's on Swedish so it's pretty useless here maybe Any tips for me to get it work? Really appreciate answers. Cheers zeezam
Here is the output. Code: administrator@nas:~$ ls -la /media/store total 8 drwxrwx--- 1 root plugdev 4096 2008-07-24 03:21 . drwxr-xr-x 5 root root 4096 2008-07-24 11:23 .. administrator@nas:~$ Which logs? I'm pretty new with Linux so I don't now where to to look.
I did Code: root@nas:/home/administrator# chmod 755 /media/store root@nas:/home/administrator# ls -la /media/store total 8 drwxrwx--- 1 root plugdev 4096 2008-07-26 03:27 . drwxr-xr-x 5 root root 4096 2008-07-24 11:23 .. drwxrwx--- 1 root plugdev 0 2008-07-26 03:27 test Still got the login screen when I try connect to the server from a XP machine. I read somewhere that you need to mount the ntfs partition as r&w. Maybe that's the problem? I did make a NTFS partition on the same disk (/media/store) as Ubuntu server and mounted with ntfs-3g. Maybe I must put some permission in the fstab? /dev/sda3 /media/store ntfs-3g defaults 0 0 Here is the log (the XP machine trying to connect to Ubuntu server) Code: [2008/07/24 14:43:52, 0] smbd/service.c:make_connection(1191) amd64 (192.168.0.2) couldn't find service hda public hard dis [2008/07/24 14:43:52, 0] smbd/service.c:make_connection(1191) amd64 (192.168.0.2) couldn't find service hda public hard dis [2008/07/24 14:43:52, 0] smbd/service.c:make_connection(1191) amd64 (192.168.0.2) couldn't find service hda public hard dis [2008/07/24 14:43:52, 0] smbd/service.c:make_connection(1191) amd64 (192.168.0.2) couldn't find service hda public hard dis [2008/07/24 14:46:53, 0] printing/pcap.c:pcap_cache_reload(159) Unable to open printcap file /etc/printcap for read! [2008/07/24 14:46:53, 0] printing/pcap.c:pcap_cache_reload(159) Unable to open printcap file /etc/printcap for read! [2008/07/24 14:59:53, 0] printing/pcap.c:pcap_cache_reload(159) Unable to open printcap file /etc/printcap for read! [2008/07/24 14:59:53, 0] printing/pcap.c:pcap_cache_reload(159) Unable to open printcap file /etc/printcap for read! [2008/07/24 15:04:36, 0] smbd/service.c:make_connection(1191) amd64 (192.168.0.2) couldn't find service hda public hard dis [2008/07/24 15:04:36, 0] smbd/service.c:make_connection(1191) Thanks!
I too was pulling my hair out trying to access my drives from XP. What solved the problem for me was changing from path = /media/store to path = media/store (this is the way the tutorial actually says to do it) and changing force group = no group to force group = nogroup Suddenly, everything works!
Works with XP, not with Linux I see there is a lot of people who are having a hard time connecting to their server with XP, but I'm having problems connecting to it with my Linux machine. Can any help me?