juanfranblanco / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

File etc/smb.conf is not editable! #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set "USB application" -> "Network Neighborhood Share" -> "Share with 
account". Add several users with different share rules (it's OK).
2. Edit etc/smb.conf under Putty(mc). Exchange line "map to guest = Bad user" 
to line "map to guest = Never".
3. Reboot device.
4. File etc/smb.conf is the same with "map to guest = Bad user"!

The expected output - is to make login menu approved in Windows7 after applying 
drive letter to \\RT-N56U\AiDisk_a1\ (the same is for \\192.168.1.1\AiDisk_a1\).

Unfortunately, login and mapping are terminated with error:
0x80070035 (network directory is not found)
User and password are not approved in Windows7.

And samba config is not editable yet...

Original issue reported on code.google.com by skurydi...@gmail.com on 6 Mar 2012 at 8:42

GoogleCodeExporter commented 8 years ago
Hi! Try to do the following:

# cp /etc/smb.conf /etc/storage

edit and save /etc/storage/smb.conf

add the following line to /etc/storage/start_script.sh:

mount -o bind /etc/storage/smb.conf /etc/smb.conf

# mtd_storage.sh save

Now, the config will be read from /etc/storage

Original comment by d...@soulblader.com on 6 Mar 2012 at 11:00