View previous topic :: View next topic |
Author |
Message |
Deyardly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Oct 2004 Posts: 6
|
Posted: Sun Oct 17, 2004 9:07 pm Post subject: smbmount a 2003 share |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Insanity5902 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/4683424045e25e50d50534.png)
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Deyardly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Oct 2004 Posts: 6
|
Posted: Mon Oct 18, 2004 7:38 pm Post subject: |
|
|
Hi tried this, and i still wont work, just gives me the same error as before... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Mon Oct 18, 2004 10:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
goulash n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Apr 2004 Posts: 47 Location: Perth, Western Australia
|
Posted: Tue Oct 19, 2004 12:50 am Post subject: |
|
|
try mount //Deyardly/e$ /mnt/Deyardly -t smbfs -o username=Administrator,password=<password> |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Insanity5902 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/4683424045e25e50d50534.png)
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Tue Oct 19, 2004 1:16 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Deyardly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Oct 2004 Posts: 6
|
Posted: Tue Oct 19, 2004 3:28 pm Post subject: |
|
|
Hi, i checked, double-checked and checked again
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 |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Tue Oct 19, 2004 5:09 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Insanity5902 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/4683424045e25e50d50534.png)
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Tue Oct 19, 2004 6:17 pm Post subject: |
|
|
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 )
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 |
|
![](templates/gentoo/images/spacer.gif) |
bedo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 May 2004 Posts: 56
|
Posted: Wed Oct 20, 2004 12:20 am Post subject: you need workgroup |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Deyardly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Oct 2004 Posts: 6
|
Posted: Mon Oct 25, 2004 9:41 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkahn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Quake3/quake3_tankjr.gif)
Joined: 27 May 2003 Posts: 12 Location: Sioux Falls, SD
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|