-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.2.3
-
Component/s: mongoimport
-
None
I have a 3.0.9 Linux mongod with Kerberos connected to an AD server. I ran 3.2.3 mongoimport.exe in Windows and did not specify appropriate Kerberos credentials in the following:
.\mongoimport.exe --host <mongod> --authenticationDatabase $external --authenticationMechanism GSSAPI --db <db> --collection <collection> --file <json>
After it ran, it output:
imported <number> documents
However, the documents are (correctly) not imported and the server log (correctly) states:
Unauthorized not authorized on <db> to execute command
mongoimport.exe should instead state a security error. 3.0.9 mongoimport.exe states the error that appears in the server log. 3.2.3 should function as 3.0.9 does.
- duplicates
-
TOOLS-1199 Backport to v3.2
- Closed
-
TOOLS-1126 mongoimport ignores authentication errors, reports successful import
- Closed