Joined: 11 Sep 2007 Posts: 135 Location: 64.233.167.99 :-) not really! Santa Fe, Argentina
Posted: Thu Feb 07, 2008 19:11 Post subject: Cannot mount CIFS
Hello nice people!
I have a problem with the CIFS Automount.
It doenst work for me.
I have a windows 2003 server. I shared a folder with the name myshare.
In the cifs parameters I add:
Common Internet File System: Enable
Share: //windows2003/myshare
User Name: administrator
Password: xxx
Startscript:
And it says:
Total / Free Size(Not mounted)
First, you should create a limited user account on Windows and give this account access to the share. Using the admin account is insecure, because the router stores the password in clear text.
Make sure the local security policy in Windows 2003 allows NTLM v2 access to the share.
Joined: 11 Sep 2007 Posts: 135 Location: 64.233.167.99 :-) not really! Santa Fe, Argentina
Posted: Fri Feb 08, 2008 11:54 Post subject:
Soulstace:
Im using the administrator account for testing purposes because it has all permissions granted. After It works I change the user.
The shared folder witch I'm trying to reach has write/read, etc permissions for everyone.
I'd checked the NTMV2 response and it's OK as in your picture, the same is suggested in the wiki.
Witch those settings it should work from the GUI? May be my firmware version is bugged… I read somewhere that above CIFS Automount should appear Samba in the Management menu and it doesn’t…
Witch version are you using?
Thanks for the reply! _________________ WRT54G v1.0 - DD-WRT v24 (05/20/0 std
Joined: 11 Sep 2007 Posts: 135 Location: 64.233.167.99 :-) not really! Santa Fe, Argentina
Posted: Fri Feb 08, 2008 17:45 Post subject:
OK, I installed the las RC7 from EKOs... should work too...
I reconfigured the CIFs in the router with the same parameters and still doen't appear as mounted.
In the events manager log from windows 2003 it says in the last line when the router boots (translated from spanish to english):
Logon Failure:
Reason: Unknown user name or bad password
User Name: user
Domain:
Logon Type: 3
Logon Process: NtLmSsp
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Workstation Name: \\192.168.1.1
Is your server a member of a DOMAIN, or a WORKGROUP?
If domain, you need to enter the domain into the username DOMAIN\Administrator
Joined: 11 Sep 2007 Posts: 135 Location: 64.233.167.99 :-) not really! Santa Fe, Argentina
Posted: Sat Feb 09, 2008 16:39 Post subject:
OK, no logs of that kind...
Let me tell u everething i did so u tell me if im doing OK:
Steps:
1- Went to gpedit, set the local security policy to allows NTLM v2 access to the share (it was already that way so i didnt change it).
2- Create a new folder in win2k3, set it to shared and apply the permissions to everyone (read,modify,full control). I added the same permissions to my user too to be extra secure that it wasnt a permission fault.
3- Went to the router GUI, (the cifs option was off). Turned On, completed machine, user, etc, etc. Didnt use Domain as u said because im in a workgroup. The script set it in blank becouse i dont have any.
Saved, applied...
Results:
No logs in the events manager of windows and the router still says not mounted.
Also tried:
mount.cifs //192.168.1.2/routerfolder /tmp/servermount/ -o username=mauxiliar,password=****
witch resulted in:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs( manual page (e.g.man mount.cifs)
Some people did it with that command or with the:
mount -t cifs
but with that im not getting any error messages and when ls to the mounting folder there is nothing inside... (in the server i have a couple of files)
Do I have to install something else to the win2k3 or the router for this to function?
I tried with XP too and didnt work either but i read that with xp this doenst work.
Any other tips??
Thanks for your time... _________________ WRT54G v1.0 - DD-WRT v24 (05/20/0 std
Can you access the share from another Windows machine?
BTW, it does work on Windows XP. That is what I am using atm. You probably just need to disable Simple File Sharing and allow file sharing ports through the Windows firewall.
Joined: 11 Sep 2007 Posts: 135 Location: 64.233.167.99 :-) not really! Santa Fe, Argentina
Posted: Sat Feb 09, 2008 18:33 Post subject:
I imported the .reg in the win2k3, restarted, and nothing happened after disabling/enabling the cifs...
Im running out of pacience and luck... and my router is tired of being restored to defaults when changing firmwares!!
I'd even tested with a brand new installation of windows xp in a VMWare without firewall/av, etc and didnt worked, as expected! I imported the .reg to the VMWare too... :(
Do u have any other ideas? what is happening to my router????
Should I have any other config enabled? like jffs2 or something?
Do u know how to mount it from a command line?
Thanks again for all of your replies. _________________ WRT54G v1.0 - DD-WRT v24 (05/20/0 std
a) Your computer still isn't allowing incoming NetBIOS traffic. A default installation in VMWare might have file sharing blocked by default. In this case you should run the Network Setup Wizard from the Windows Control Panel and make sure File Sharing is enabled. Note, the VM might be using a different IP address than the host.
b) Your firmware is bugged. Try Eko's 8790 nokaid because I can confirm CIFS works on it.
Joined: 11 Sep 2007 Posts: 135 Location: 64.233.167.99 :-) not really! Santa Fe, Argentina
Posted: Sat Feb 09, 2008 19:02 Post subject:
Responses:
a) the VMWare machine with XP is reachable by \\192.168.1.6\share or by its name: \\vmwarexp\share from my others computers.
I'd configured a static IP. It has no firewall nor AV. Its like gods demands!!! jeje.
It has 1 username with password.
If I ping it from the telnet terminal from the router it replyes.
b) Im using Firmware: DD-WRT v24 RC-6 (01/18/0 std as u told me...
but id tried all the others!
My router is a Linksys WRT54G v1.0