Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
smbmount a 2003 share
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Deyardly
n00b
n00b


Joined: 11 Oct 2004
Posts: 6

PostPosted: Sun Oct 17, 2004 9:07 pm    Post subject: smbmount a 2003 share Reply with quote

Hi, new to linux, and very new to Gentoo, friend hooked me up.

So, i have a 2003 server, and basically need to share some mp3's and stuff, so i want it to appear in my /mnt/ folder. So i have tried mount: mount //Deyardly/e$ /mnt/Deyardly -t smbfs -o username=Administrator, and also smbmount: smbmount //Deyardly/e$ /mnt/Deyardly/

And both ask for my password, so i know that the connection is there, but when i then enter my password, i get this error:

7456: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

Any ideas would be greatly appreciated
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Mon Oct 18, 2004 4:44 pm    Post subject: Reply with quote

make sure you smb server is started
Code:
/etc/init.d/samba start

_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Deyardly
n00b
n00b


Joined: 11 Oct 2004
Posts: 6

PostPosted: Mon Oct 18, 2004 7:38 pm    Post subject: Reply with quote

Hi tried this, and i still wont work, just gives me the same error as before...
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Mon Oct 18, 2004 10:34 pm    Post subject: Reply with quote

you might need to enable smb signing in your smb.conf can't remember the exact setting check the docs for details
Back to top
View user's profile Send private message
goulash
n00b
n00b


Joined: 23 Apr 2004
Posts: 47
Location: Perth, Western Australia

PostPosted: Tue Oct 19, 2004 12:50 am    Post subject: Reply with quote

try mount //Deyardly/e$ /mnt/Deyardly -t smbfs -o username=Administrator,password=<password>
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Tue Oct 19, 2004 1:16 am    Post subject: Reply with quote

Make sure you are spelling Administrator correclty, it looks like you but then again you might not.

Make sure Administrator is really an administrator. Also make sure you ahve file and print sharing turned on. By default this is turned off in 2003. YOu can goto 'configure my server' and turn it into a file and print server.

Make sure you 2003 box and smb.conf list the same workgroup / domain name.

Double check the Administrator passwords.


You can also greate a normal share and try connecting to it i.e
Code:
mount -t smbfs -o username=Administrator //192.168.0.100/sharename /mnt/samba/sharename

_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Deyardly
n00b
n00b


Joined: 11 Oct 2004
Posts: 6

PostPosted: Tue Oct 19, 2004 3:28 pm    Post subject: Reply with quote

Hi, i checked, double-checked and checked again :D

Its not the spelling of Administrator, and not my password i seem to be doing wrond. I am the owner of both systems, so i know for sure that Administrator is in fact an Administrator, and yes, it is configured to be file and printer sharing, since i can connect to it with my Xp, on the laptop.

I have also tried to do a different share than the e$ but this didnt help, just gives me the same error, i tried to nano my smb.conf, but it was blank, i then tried to read the docs, but they didnt really provide me with much help, being the newbie i am, i dont really know what to write where :(

So if anyone has a .conf on hand i would greatly appreciate it, i think this is the problem?
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Tue Oct 19, 2004 5:09 pm    Post subject: Reply with quote

Is the 2003 server you are trying to communicate with part of a domain?

In your smb.conf you should have at least
Code:
[global]
workgroup = <windows workgroup or netbios domain name>

You can try adding
client use spnego = no
as the spnego support is currently broken and is enabled by default.

Another good option to add if you are on a domain is the address of a wins server. If you are on a domain you may want to try joining the domain with the samba server.
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Tue Oct 19, 2004 6:17 pm    Post subject: Reply with quote

there should be a /etc/samba/smb.conf.example just copy/rename that to smb.conf and then edit it for you needs, main the workgroup= part.

The conf is pretty well commented so you shouldn't have a problem doing this. Though if you have any question you can `man smb.conf` and `man samaba` , if you can't figure it out there then try searching to forums for you question. If still no help then feel free to ask

(I am not trying to be an ass here, to trying to instill some good pratices by researhcing your problem first and then ask for help, otherwise you will never learn :P )

Hope editing this file helps, if you just wnat to test it tou you could try
Code:
echo "workgroup=<workgroupname>" >> /etc/samba/smb.conf
and see if that gets it working, then you can edit the full smb.conf in your spare time.

Keep us updated
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
bedo
n00b
n00b


Joined: 11 May 2004
Posts: 56

PostPosted: Wed Oct 20, 2004 12:20 am    Post subject: you need workgroup Reply with quote

you don't need samba running on your linux box

make sure you add workgroup when you mount
Code:

mount -t smbfs -o username=yourname,workgroup=yourgroup //server/share /mnt/share


good luck
Back to top
View user's profile Send private message
Deyardly
n00b
n00b


Joined: 11 Oct 2004
Posts: 6

PostPosted: Mon Oct 25, 2004 9:41 pm    Post subject: Reply with quote

Hi, i tried what bedo, and some of you others have tried after a re-install, and recievied some answer from the server. But now it says:

Code:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255


Which is odd, because the laptop also has a NTFS-drive, and i managed to mount that, so i know that my kernel is compiled to work with NTFS, and the server-filesystem is NTFS.

The arguments i used was:

Code:
mount -t smbfs -o username=yourname,password=(password),workgroup=yourgroup //server/share /mnt/share


But it still wont work
Back to top
View user's profile Send private message
arkahn
n00b
n00b


Joined: 27 May 2003
Posts: 12
Location: Sioux Falls, SD

PostPosted: Mon Oct 25, 2004 9:52 pm    Post subject: Reply with quote

I googled this one and came up with info from the link below.

Looks like you need to make sure you have 'smbfs-support' compiled as a kernel option (I'm sure as a module would be fine).

ref:
http://www.redhat.com/archives/fedora-test-list/2004-February/msg01290.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum