WD Community

WD My Cloud safepoint to Asus RT-AC87r merlin NAS

Hi everyone first post here hoping someone can help me out with what I think might be a samba (smb) issue between my WD My Cloud and my Merlin Asus RT-AC87R.

I have tried to play around with the with the smb.conf file on the Asus and the smb-global.conf on the My Cloud but can never get it to take the user credentials. I have turned the log level on the Asus to 10 and I can see errors which I have included in the text files. I am not sure if it is just because of the version of smbd, I am more of a network guy vs sysadmin so playing around with this has been a little bit of a pain lol.

The drive connected to my Asus is a Seagate Backup Plus 4TB. The safepoint works when I hitch it directly to the My Cloud but I want to get this bad boy working over the network.

WD My Cloud
Firmware - WDMyCloud v04.05.00-320 : Core F/W
smbd version - 4.3.11

Asus RT-AC87R
Firmeware - 380.69_2
smbd version - 3.6.25

Any help would be greatly appreciated.

thanks

Lance

By editing the smb-global.conf file on the My Cloud you may be asking for trouble since one generally creates, changes, deletes users on the My Cloud through the My Cloud Dashboard interface.

Because you indicated you are using a V4.x first gen single bay My Cloud one can use the local LAN option for Safepoint backups (if you are not using that option already).

As a troubleshooting step configure the ASUS router so the USB drive attached to that router is accessible by everyone on the local network (in other words not password protected) and see if you can perform a Safepoint backup to the drive. If successful then you can experiment with trying to configure the router hard drive access with a User name. Use the exact same user name on the router that you used on the My Cloud Dashboard.

Thanks for the reply I was going to upload my log files that shows the config for both and the debug but since I am a new user I guess you get penalized and can’t upload for a certain amount of time. I have hitched the USB drive up directly and was able to do a safepoint with no issue. I was able to also do a safepoint with no issue when I turned on guest access when the usb drive was hitched up to the asus router but I want it to work with security vs it being wide open.

While I don’t have an ASUS router, I just did a quick and dirty test with a router running TomatoUSB firmware. I enabled file sharing option which includes an option to enable authentication using one user name and password. I used the same user name and password as the administrator on the My Cloud in the TomatoUSB file serving settings. Then setup a new Safepoint by selecting the local lan and entering the same user name and password.

Then started the Safepoint backup. Currently running it at the moment to see how it works.

1 Like

Interesting I wonder if running the TomatoUSB firmware just has a different version of samba where the merlin version is not allowing it to sync up properly. Cool to see it working though for you over the network.

Have you tried using the default ASUS router mangagement interace to enable Samba Share and then create a user (again through the router management interface) and corrisponding password? One would need to provide read/write support to the USB drive or folder on the drive through the router management user interface. The ASUS RT-AC87R user manual explains the process of setting up Samba in Using Network Place (Samba) Share service around page 36 in the manual (English version). Could be like the My Cloud one has to use the web based management interface rather than edit the CONF files individually.

https://www.asus.com/us/supportonly/RT-AC87R/HelpDesk_Manual/

I have not but that is a great idea I will try and revert back to see if that makes difference and let the group know.

I reverted back up my software and still not having any luck. I created a new user test account on my Asus and was able to get it to start the backup safepoint but it failed again.
How long do you have to wait to upload files what kind of troubleshooting site is this talk about ridiculous â– â– â– â– !

Sadly, we are just a community site. We are just ordinary users of the product, same as you- we share what we have learned and tried with this hardware, hoping to help others.

WD provides the hosting, but the answers here mostly come from us.

Just about all of us, Including Bennor above, will gladly chip in about many grievances with how WD did the firmware on these devices-- so dont feel like you are alone here. We just insist that our grievances be appropriate and accurate-- Proper blame, where proper fault is proven.

In the case of failing safepoint backups over SMB… there is a LOT that can go wrong, Not all of which WD can be blamed for. Sadly, WD wants this to be a “consumer” device, so they dont give the proper options to adequately diagnose and respond to such circumstances. (things like being able to temporarily disable opportunistic locks, or disable some of the authentication or timeout features of the connection, etc. Hell, just good logging with something more useful than just “oh, it failed. Sorry” would be a major improvement, IMHO.)

Now, let’s look at this in perspective:

The device you are writing to is a router. It has a weaksauce SoC, which has a discount bargain basement USB chipset, on which you have placed a USB hard disk of unknown quality.

The SoC itself has USB storage as a secondary feature. It is not really intended for heavy write IOs; It is designed to accept and route packets quickly. the system will bog down trying to handle the requests, and that can lead to stalls where it is unable to respond to the mycloud with a suitable ACK message in time, causing connection timeouts. (Again, good diagnostic procedure would be to change the characteristics of the SMB session so that timeout windows are extended, to see if this is the issue… but WD does not provide this functionality on single bay units, because “consumer device.”) If you have SSH access to the router, try running top on it, and observing what happens to the system when you start the backup from the mycloud. I would bet money that the system bogs down hard under the load of queued up write IO requests. (If you could get it on the router, iotop would give you an even clearer view.)

then you have issues that might happen from the bargain basement USB chipset/stack. Again, the router is a device designed to route network packets, first and foremost. USB function is an additional feature, that is mostly meant as frosting on the cake. Pricepoint is a big factor on these kinds of devices, and you usually get what you pay for in terms of hardware. The USB implementation on the router could very well have anomalous behavior when under lots of load, such as having electronic noise related issues that cause anomalous behavior on connected devices, and worse. This can lead to the production of sense errors, chain resets in mid-stream, and other issues that can greatly exacerbate the prior situation. (System is bogged down under lots of write IOs—> USB chipset freaks the ■■■■ out because it cant handle that much signalling, that fast-- has to reset itself— system already behind on write IOs says “Screw this, I give up.” and closes the connection/aborts the write operation.) Getting dmesg from the router after a failed backup would be revealing there, as the USB stack would report such problems in the system log.

Then there is the potential issue of cheesy USB media, or media that does not play well with certain configurations-- that might add even further causes of failure.

Basically, it is not right to directly attribute the cause of the failures to the WD MyCloud without doing a lot of investigation and troubleshooting first. The low hanging fruit is the router not being designed to function as a NAS, and having issues when used as one.

Thanks for the detailed response I definitely appreciate it. I ran the top command but it barely even touched the CPU on the router it was at 3-4% and the WD was never over 20%. I am going to copy some of the log.samba from my router below.
[2018/02/15 11:07:49, 5] auth/auth_util.c:make_user_info_map(161)
make_user_info_map: Mapping user [ASUS][newelll] from workstation [172.16.2.156]
[2018/02/15 11:07:49, 5] auth/auth_util.c:make_user_info(75)
attempting to make a user_info for newelll (newelll)
[2018/02/15 11:07:49, 5] auth/auth_util.c:make_user_info(85)
making strings for newelll’s user_info struct
[2018/02/15 11:07:49, 5] auth/auth_util.c:make_user_info(117)
making blobs for newelll’s user_info struct
[2018/02/15 11:07:49, 10] auth/auth_util.c:make_user_info(135)
made an encrypted user_info for newelll (newelll)
[2018/02/15 11:07:49, 3] auth/auth.c:check_ntlm_password(221)
check_ntlm_password: Checking password for unmapped user [ASUS][newelll]@[172.16.2.156] with the new password interface
[2018/02/15 11:07:49, 3] auth/auth.c:check_ntlm_password(224)
check_ntlm_password: mapped user is: [ASUS][newelll]@[172.16.2.156]
[2018/02/15 11:07:49, 10] auth/auth.c:check_ntlm_password(233)
check_ntlm_password: auth_context challenge created by random
[2018/02/15 11:07:49, 10] auth/auth.c:check_ntlm_password(235)
challenge is:
[2018/02/15 11:07:49, 5] lib/util.c:dump_data(2286)
[000] E2 A0 26 73 4B 69 16 A0 …&sKi…
[2018/02/15 11:07:49, 10] auth/auth.c:check_ntlm_password(261)
check_ntlm_password: guest had nothing to say
[2018/02/15 11:07:49, 8] lib/util.c:is_myname(2098)
is_myname(“ASUS”) returns 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1363)
getsampwnam (smbpasswd): search by name: newelll
[2018/02/15 11:07:49, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(230)
startsmbfilepwent_internal: opening file /etc/samba/smbpasswd
[2018/02/15 11:07:49, 10] passdb/pdb_smbpasswd.c:getsmbfilepwent(508)
getsmbfilepwent: LM password for user nobody invalidated
[2018/02/15 11:07:49, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(534)
getsmbfilepwent: returning passwd entry for user nobody, uid 65534
[2018/02/15 11:07:49, 10] passdb/pdb_smbpasswd.c:getsmbfilepwent(508)
getsmbfilepwent: LM password for user newelll invalidated
[2018/02/15 11:07:49, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(534)
getsmbfilepwent: returning passwd entry for user newelll, uid 0
[2018/02/15 11:07:49, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(347)
endsmbfilepwent_internal: closed password file.
[2018/02/15 11:07:49, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1385)
getsampwnam (smbpasswd): found by name: newelll
[2018/02/15 11:07:49, 5] lib/username.c:Get_Pwnam_alloc(131)
Finding user newelll
[2018/02/15 11:07:49, 5] lib/username.c:Get_Pwnam_internals(75)
Trying _Get_Pwnam(), username as lowercase is newelll
[2018/02/15 11:07:49, 5] lib/username.c:Get_Pwnam_internals(108)
Get_Pwnam_internals did find user [newelll]!
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_username(581)
pdb_set_username: setting username newelll, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_fullname(650)
pdb_set_full_name: setting full name newelll, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_domain(604)
pdb_set_domain: setting domain ASUS, was
[2018/02/15 11:07:49, 4] lib/substitute.c:automount_server(407)
Home server: asus
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_profile_path(696)
pdb_set_profile_path: setting profile path \asus\newelll\profile, was
[2018/02/15 11:07:49, 4] lib/substitute.c:automount_server(407)
Home server: asus
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_homedir(743)
pdb_set_homedir: setting home dir \asus\newelll, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(719)
pdb_set_dir_drive: setting dir drive , was NULL
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_logon_script(673)
pdb_set_logon_script: setting logon script , was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_user_sid(510)
pdb_set_user_sid: setting user sid S-1-5-21-2799348481-1555998055-92585500-1000
[2018/02/15 11:07:49, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-2799348481-1555998055-92585500-1000 from rid 1000
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 10] lib/account_pol.c:account_policy_get(294)
account_policy_get: name: maximum password age, val: -1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 10] lib/account_pol.c:account_policy_get(294)
account_policy_get: name: password history, val: 0
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_username(581)
pdb_set_username: setting username newelll, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_domain(604)
pdb_set_domain: setting domain ASUS, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_nt_username(627)
pdb_set_nt_username: setting nt username , was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_fullname(650)
pdb_set_full_name: setting full name newelll, was
[2018/02/15 11:07:49, 4] lib/substitute.c:automount_server(407)
Home server: asus
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_homedir(743)
pdb_set_homedir: setting home dir \asus\newelll, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(719)
pdb_set_dir_drive: setting dir drive , was NULL
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_logon_script(673)
pdb_set_logon_script: setting logon script , was
[2018/02/15 11:07:49, 4] lib/substitute.c:automount_server(407)
Home server: asus
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_profile_path(696)
pdb_set_profile_path: setting profile path \asus\newelll\profile, was
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_workstations(786)
pdb_set_workstations: setting workstations , was
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 10] lib/account_pol.c:account_policy_get(294)
account_policy_get: name: password history, val: 0
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 10] passdb/pdb_get_set.c:pdb_set_user_sid(510)
pdb_set_user_sid: setting user sid S-1-5-21-2799348481-1555998055-92585500-1000
[2018/02/15 11:07:49, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-2799348481-1555998055-92585500-1000 from rid 1000
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 9] passdb/passdb.c:pdb_update_autolock_flag(1418)
pdb_update_autolock_flag: Account newelll not autolocked, no check needed
[2018/02/15 11:07:49, 4] libsmb/ntlm_check.c:ntlm_password_check(288)
ntlm_password_check: Checking NTLMv2 password with domain [ASUS]
[2018/02/15 11:07:49, 4] libsmb/ntlm_check.c:ntlm_password_check(298)
ntlm_password_check: Checking NTLMv2 password with uppercased version of domain [ASUS]
[2018/02/15 11:07:49, 4] libsmb/ntlm_check.c:ntlm_password_check(308)
ntlm_password_check: Checking NTLMv2 password without a domain
[2018/02/15 11:07:49, 3] libsmb/ntlm_check.c:ntlm_password_check(317)
ntlm_password_check: NTLMv2 password check failed
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 10] lib/account_pol.c:account_policy_get(294)
account_policy_get: name: bad lockout attempt, val: 0
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 9] passdb/passdb.c:pdb_increment_bad_password_count(1483)
No lockout policy, don’t track bad passwords
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 10] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(761)
mod_smbfilepwd_entry: opening file /etc/samba/smbpasswd
[2018/02/15 11:07:49, 6] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(875)
mod_smbfilepwd_entry: entry exists for user newelll
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 5] auth/auth.c:check_ntlm_password(273)
check_ntlm_password: sam authentication for user [newelll] FAILED with error NT_STATUS_WRONG_PASSWORD
[2018/02/15 11:07:49, 2] auth/auth.c:check_ntlm_password(319)
check_ntlm_password: Authentication for user [newelll] → [newelll] FAILED with error NT_STATUS_WRONG_PASSWORD
[2018/02/15 11:07:49, 5] auth/auth_util.c:free_user_info(2108)
attempting to free (and zero) a user_info structure
[2018/02/15 11:07:49, 10] auth/auth_util.c:free_user_info(2112)
structure was created for newelll
[2018/02/15 11:07:49, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/sesssetup.c(1501) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2018/02/15 11:07:49, 5] lib/util.c:show_msg(506)
[2018/02/15 11:07:49, 5] lib/util.c:show_msg(516)
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=65535
smb_pid=27406
smb_uid=0
smb_mid=2
smt_wct=0
smb_bcc=0
[2018/02/15 11:07:49, 10] lib/util_sock.c:read_data(531)
read_data: read of 4 returned 0. Error = Success
[2018/02/15 11:07:49, 0] lib/util_sock.c:receive_smb_raw_recvfile(784)
receive_smb_raw: length < 0!
[2018/02/15 11:07:49, 0] lib/util_sock.c:receive_smb_recvfile(872)
receive_smb_recvfile: failed
[2018/02/15 11:07:49, 3] smbd/process.c:timeout_processing(1429)
timeout_processing: End of file from client (client has disconnected).
[2018/02/15 11:07:49, 5] lib/gencache.c:gencache_shutdown(94)
Closing cache file
[2018/02/15 11:07:49, 5] libsmb/namecache.c:namecache_shutdown(79)
namecache_shutdown: netbios namecache closed successfully.
[2018/02/15 11:07:49, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:07:49, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:07:49, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/15 11:07:49, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2018/02/15 11:07:49, 3] smbd/server.c:exit_server_common(782)
Server exit (normal exit)
[2018/02/15 11:08:05, 0] lib/util_sock.c:read_data(540)
read_data: read failure for 4 bytes to client 172.16.2.156. Error = Connection timed out
[2018/02/15 11:08:05, 0] lib/util_sock.c:receive_smb_raw_recvfile(784)
receive_smb_raw: length < 0!
[2018/02/15 11:08:05, 0] lib/util_sock.c:receive_smb_recvfile(872)
receive_smb_recvfile: failed
[2018/02/15 11:08:05, 3] smbd/process.c:timeout_processing(1435)
timeout_processing: receive_smb error (Connection timed out) Exiting
[2018/02/15 11:08:05, 5] lib/gencache.c:gencache_shutdown(94)
Closing cache file
[2018/02/15 11:08:05, 5] libsmb/namecache.c:namecache_shutdown(79)
namecache_shutdown: netbios namecache closed successfully.
[2018/02/15 11:08:05, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/15 11:08:05, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2018/02/15 11:08:05, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/15 11:08:05, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/15 11:08:05, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2018/02/15 11:08:05, 3] smbd/server.c:exit_server_common(782)
Server exit (normal exit)

As a troubleshooting step have you tried using a computer to backup a large amount of files to the router’s USB drive? If you get the same problem as you are getting on the My Cloud that would narrow the problem down to the router.

Generally I suspect that router based USB ports are intended for limited use when it comes to USB hard drive access. The router’s processor.firmware is not only performing/processing the USB operation but ALL OTHER router operations at the same time. Sustained USB activity may be taxing the router hardware. Perhaps additional troubleshooting can help narrow down the issue. One could try using FTP to move a large amount of data to the router USB drive to see if the issue persists.

From his attached samba log, it looks like there was an authentication error.

[2018/02/15 11:07:49, 5] auth/auth.c:check_ntlm_password(273)
check_ntlm_password: sam authentication for user [newelll] FAILED with error NT_STATUS_WRONG_PASSWORD
[2018/02/15 11:07:49, 2] auth/auth.c:check_ntlm_password(319)
check_ntlm_password: Authentication for user [newelll] -> [newelll] FAILED with error NT_STATUS_WRONG_PASSWORD

I would focus there. Is there a typo in the username? (newelll vs newell) Is the password correct for this user name on the logon info in the mycloud’s safepoint manager?

That looks like the low hanging fruit at the moment.

Yes I can backup from my phone, tablet, and computer no issues.

I wish it was an easy thing like that I have double checked and it will not work anyway when you type in the username and password when you retrieve the share on the safepoint screen if you misstype the username or password it will not work it will also not work if you create a folder on the asus router usb and give it no access so everything is setup correctly it just is not negotiating for some reason. I have even tried creating different folders and different usernames with no avail.
One weird thing it looks like it is creating the safepoint though when I check the usb on my mac I can see it started copying because it has the folders and copied 3.9G but than stoped.

So it is currently working I created a new username & password and a new folder from my Asus in the USB application section. It is definitely not fast over the network not sure if there are some setting to play around with it there. My USB is connected via 3.0 to the router and the WDCloud is connected to a Asus 8 port switch which all should be gig interfaces not sure if it is more limited in the software transfer vs the network.

SMB protocol has some 30% overhead for protocol traffic. (eg, at top speed, it will be about 30% less than the theoretical max speed of the medium, or at least, that has been my subjective experience.)

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.