![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Dark Roasted Ubuntu
![]() Join Date: Nov 2005
Location: New York, USA
Beans: 1,106
Ubuntu 9.10 Karmic Koala
|
Re: 1 Samba share, 2 different user privileges
You're welcome.
Is user "xbox" able to work with any shares on your server? Try setting up a new folder that is only shared by xbox and see if he can access it. If so, look closely at smb.conf for a clue as to why xbox can see one folder, but not another. If you can't get any shares working for xbox, it's probably a system wide permissions thing, perhaps, xbox not being in the right groups. I only wish I could figure out what your problem is. Beyond this, I'm stumped. If I think of something else, I will post back here. If you do figure it out, please post here so I can see the solution also.
__________________
Using Ubuntu since Warty Warthog (4.10) 32 bit Ubuntu upgraded from 5.04>5.10>6.06>6.10>7.04>7.10>8.04>8.10>9.04>9.10 Starting over with a clean install of 64 bit 9.10 |
|
|
|
|
|
#12 |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: 1 Samba share, 2 different user privileges
Just an update:
I've renamed the /Media/ directory to /media/ (thinking the cap "M" might have been the culprit), nope still broken I've "sudo chown 777" my folder that is being shared, didn't fix it I created a completely new folder and setup a new share (named "Xbox"), and still Broken I also have been reviewing my /var/log/samba folder and I've narrowed down the exact error message: Code:
[2008/12/08 23:58:24, 0] smbd/service.c:make_connection_snum(1152) '/media/RAID-storage/media' does not exist or permission denied when connecting to [Xbox] Error was Permission denied I'll post back when I learn more. Thanks Again Edit, another Update: I learned how to login to smb shares via the command line (so I am not using Nautilus any more to try and access them, to rule out Nautilus as the culprit) here are the results: Code:
basskozz@Unicorn-NAS:/var/log/samba$ smbclient //Unicorn-NAS/RAID-Storage_Media/ Enter basskozz's password: Domain=[UNICORN-NAS] OS=[Unix] Server=[Samba 3.2.3] smb: \> ls . D 0 Sun Dec 7 16:23:43 2008 .. D 0 Mon Dec 8 23:47:50 2008 Test A 0 Sun Dec 7 16:20:12 2008 14 - I Wish You Well.mp3 A 11021582 Sun Dec 7 16:23:44 2008 58682 blocks of size 8388608. 55674 blocks available smb: \> exit basskozz@Unicorn-NAS:/var/log/samba$ smbclient //Unicorn-NAS/Xbox/ Enter basskozz's password: Domain=[UNICORN-NAS] OS=[Unix] Server=[Samba 3.2.3] tree connect failed: NT_STATUS_ACCESS_DENIED basskozz@Unicorn-NAS:/var/log/samba$ smbclient //Unicorn-NAS/Xbox/ -U xbox Enter xbox's password: Domain=[UNICORN-NAS] OS=[Unix] Server=[Samba 3.2.3] tree connect failed: NT_STATUS_BAD_NETWORK_NAME basskozz@Unicorn-NAS:/var/log/samba$ On the second login I tried to login to the 'xbox' share using my main login account which didn't work ***AS EXPECTED*** because 'basskozz' is not a valid user for that share On the third login I tried to login to the "Xbox" share using user 'xbox', still not working but now I have a new error to look into: NT_STATUS_BAD_NETWORK_NAME
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS Last edited by BassKozz; December 9th, 2008 at 09:57 AM.. |
|
|
|
|
|
#13 | |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: 1 Samba share, 2 different user privileges
SOLUTION FOUND !!!
![]() FINALLY !!! ![]() I must give credit to this post: http://www.linuxquestions.org/questi...92#post3189392 Quote:
![]() I am up and running now, THANK GOD that's over. ![]() I am so excited right now, Thanks for all the help mgmiller ![]()
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS Last edited by BassKozz; December 9th, 2008 at 01:48 AM.. |
|
|
|
|
|
|
#14 |
|
Dark Roasted Ubuntu
![]() Join Date: Nov 2005
Location: New York, USA
Beans: 1,106
Ubuntu 9.10 Karmic Koala
|
Re: [SOLVED] 1 Samba share, 2 different user privileges
Hooray! The solution actually makes sense.
This is a valuable lesson, the whole path has to have the correct permissions, not just the target folder. Glad it's finally working..... ![]()
__________________
Using Ubuntu since Warty Warthog (4.10) 32 bit Ubuntu upgraded from 5.04>5.10>6.06>6.10>7.04>7.10>8.04>8.10>9.04>9.10 Starting over with a clean install of 64 bit 9.10 |
|
|
|
| Bookmarks |
| Tags |
| privilages, samba, samba users, users |
| Thread Tools | |
| Display Modes | |
|
|