NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
CRPearce
May 25, 2016Aspirant
RN 2120 Active Directory "Import Error"
I have two office locations, each of which has a ReadyNAS 2120 set up for storing location-based backups as well as serving up home folders for users. Both devices have been live for over a year and...
kohdee
May 31, 2016NETGEAR Expert
I don't recommend leaving/rejoining the domain... You could just have something strange cached.
This might help from SSH -- use at your own risk.
# systemctl stop readynasd
# sqlite3 /var/readynasd/db.sq3 'delete from "$home_folder";'
# net cache flush
# systemctl start readynasd
SCP
Jun 01, 2016Guide
Hello, i have got the same problem of everybody here on the same version (6.5.0)..
I have got twice NAS 314, with the same configuration.
In one all is ok, and in the second, same problem, it could not connect...
It happen aftter the maj to the 6.5.0 all was ok before
If i try what you say, i have got an error from the sqlite commande:
"Error: no such table"
But in fact i have found a solution that work a time, but will not work if you refresh an other time the accout.
If i do that:
# systemctl stop readynasd
# cd /var/readynasd
# mv db.sq3 db.sq3.old
# systemctl start readynasd
From this time i get the list of all the account.
But if i reboot the nas, or if i make an update of account in the option ==> error and there is no account any more....
Does it help?
- witto17Jun 01, 2016Tutor
Our device still not working. I can't keep trying all this troubleshooting during the day since my users need the system - localUsers it is for the moment.
- SCPJun 01, 2016Guide
I found something that permit me to see the list of my account, but not to use it in partage...
BEFORE doing what follow:
in the account, enable the "do not cache ADS localy"
Then
From ssh:
# systemctl stop readynasd
# cd /var/readynasd
# mv db.sq3 db.sq3.old# net cache flush
# systemctl start readynasdReboot the nas.
Normally you should see the list of your account (it works for me).
But i could not use it for the partage... It does not give me some account in this list...
But perhaps it works for you?In fact it should be related to cache that is locked somewhere, but i don t know. Removing the table just permet to get the list with no cache, but i could not use it on the partage page. (writting name, will not propose account or group... )
And if i do not do that, the error is still the same:
[16-06-01 15:04:44] 2355 rndb_account.c:963 info: 394 domain user found
[16-06-01 15:04:44] 2355 rndb_account.c:989 info: 100/394 users imported so far
[16-06-01 15:04:44] 2355 rndb_account.c:989 info: 200/394 users imported so far
[16-06-01 15:04:44] 2355 rndb_account.c:989 info: 300/394 users imported so far
[16-06-01 15:04:44] 2355 rndb_account.c:1204 info: 394/394 users imported in 516ms.
[16-06-01 15:04:44] 2355 rndb_account.c:2262 error: Error. Fail to insert $home_folder/$user/$group/$group_has_user
[16-06-01 15:04:44] 2355 rndb_account.c:2405 error: rndb_ads_account_import() ==> 3 (1246ms)
[16-06-01 15:04:44] 2355 rndb_api.c:956 error: rndb_import_nolock() ==> 3 (1247ms)- SCPJun 01, 2016Guide
Hell i could had some more information, i have got a process that will work UNTIL the next reboot...
So1) configure to "local domaine" from the web interface (quit active directory so too local)
2) delete the db:
root@NAS-BACKUP_01:~# cd /var/readynasd
root@NAS-BACKUP_01:/var/readynasd# systemctl stop readynasd
root@NAS-BACKUP_01:/var/readynasd# rm db.sq3
root@NAS-BACKUP_01:/var/readynasd# net cache flush
root@NAS-BACKUP_01:/var/readynasd# systemctl start readynasd3) reboot the nas (from the web interface for me)
So the nas will boot into local.
4) enter in the domaine configuration, and put back your domaine and configuration ==> import is succesfull :
[16-06-01 15:23:45] 2342 rndb_account.c:963 info: 394 domain user found
[16-06-01 15:23:45] 2342 rndb_account.c:989 info: 100/394 users imported so far
[16-06-01 15:23:45] 2342 rndb_account.c:989 info: 200/394 users imported so far
[16-06-01 15:23:46] 2342 rndb_account.c:989 info: 300/394 users imported so far
[16-06-01 15:23:46] 2342 rndb_account.c:1204 info: 394/394 users imported in 728ms.
[16-06-01 15:23:46] 2342 rndb_ads_utils.c:635 info: ADS CMD::update domain sid (group-admin): wbinfo --sid-to-gid S-1-5-21-3121248323-3741028134-2611348885-512
[16-06-01 15:23:46] 2342 rndb_ads_utils.c:685 info: ADS CMD::update domain sid (user-admin): wbinfo --sid-to-uid S-1-5-21-3121248323-3741028134-2611348885-500But if i reboot the nas, then it will do the same then before, error when importing the user, and i have to do the same....
But if i do not turn off the nas, i have got a temporary solution...
- kohdeeJun 01, 2016NETGEAR Expert
Sorry, I fixed my script. Quotes matter :P
root@rn314:~# sqlite3 /var/readynasd/db.sq3 'delete from "$home_folder";'
root@rn314:~#Also, we don't recommend rebuilding db.sq3.
- SCPJun 02, 2016Guide
Hello, in fact, in the night the nas as update the account automatically and... lost all...
Does someone have any information from netgear for this problem???
If i reset the nas, does this solve the problem?
And if i reset does i lost the datas or just the settings?EDIT: i have tested your solution (from my original db.sq3 has i just move it and not delete it on the first time).
And i have got the same result.
If i do:# systemctl stop readynasd
# sqlite3 /var/readynasd/db.sq3 'delete from "$home_folder";'# net cache flush
# systemctl start readynasd==> i get the list of account immediatly, but if i reboot, or if i wait, i get the same result, it could not synchronise and there is no more account.
It only works one time in fact. After that it does not work.So it does not solve the problem.
- SCPJun 02, 2016Guide
And if i enable "do not cache ADS", i have got the same result. ==> I get the list, but i could not use it in the partage. When i search an account it return no result.
So i could not have something working on this nas for the moment...
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!