)]}'
{"specs/keystone/newton/ldap-preprocessing.rst":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"05efbf546f20296b8e8b6df992c6bfafc58955d0","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Example Spec - The title of your blueprint"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"`bp example \u003chttps://blueprints.launchpad.net/keystone/+spec/example\u003e`_"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_f1e457ad","line":8,"range":{"start_line":8,"start_character":0,"end_line":8,"end_character":42},"updated":"2016-07-08 15:15:48.000000000","message":"update this","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"6ab7e30af6154bfbe246fcff9a039e1f77ed83e5","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Example Spec - The title of your blueprint"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"`bp example \u003chttps://blueprints.launchpad.net/keystone/+spec/example\u003e`_"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_e75139da","line":8,"range":{"start_line":8,"start_character":0,"end_line":8,"end_character":42},"in_reply_to":"1aa78d24_f1e457ad","updated":"2016-07-08 15:37:43.000000000","message":"Done","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"05efbf546f20296b8e8b6df992c6bfafc58955d0","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Example Spec - The title of your blueprint"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"`bp example \u003chttps://blueprints.launchpad.net/keystone/+spec/example\u003e`_"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Keystone can use LDAP as an identity backend. LDAP attributes probably are"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_71e7c7ac","line":11,"range":{"start_line":11,"start_character":1,"end_line":11,"end_character":68},"updated":"2016-07-08 15:15:48.000000000","message":"and this","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"6ab7e30af6154bfbe246fcff9a039e1f77ed83e5","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Example Spec - The title of your blueprint"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"`bp example \u003chttps://blueprints.launchpad.net/keystone/+spec/example\u003e`_"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Keystone can use LDAP as an identity backend. LDAP attributes probably are"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_475dadeb","line":11,"range":{"start_line":11,"start_character":1,"end_line":11,"end_character":68},"in_reply_to":"1aa78d24_71e7c7ac","updated":"2016-07-08 15:37:43.000000000","message":"Done","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"05efbf546f20296b8e8b6df992c6bfafc58955d0","unresolved":false,"context_lines":[{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Implement new command for `keystone-manage`: `prepare_ldap`. It will:"},{"line_number":69,"context_line":"1. Fetch all users from LDAP"},{"line_number":70,"context_line":"2. For all users create a mapping"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"The command will be executed by operators, when they know that LDAP has many"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_51028b70","line":69,"range":{"start_line":69,"start_character":3,"end_line":69,"end_character":28},"updated":"2016-07-08 15:15:48.000000000","message":"this would be bananas for large companies, yeah i know it\u0027s not required.\n\non a separate now, even if it\u0027s in the realm of 1000s of users... you\u0027ll need to page results which means you\u0027ll need admin-ish level privs to do that.","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"6ab7e30af6154bfbe246fcff9a039e1f77ed83e5","unresolved":false,"context_lines":[{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Implement new command for `keystone-manage`: `prepare_ldap`. It will:"},{"line_number":69,"context_line":"1. Fetch all users from LDAP"},{"line_number":70,"context_line":"2. For all users create a mapping"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"The command will be executed by operators, when they know that LDAP has many"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_cc25420b","line":69,"range":{"start_line":69,"start_character":3,"end_line":69,"end_character":28},"in_reply_to":"1aa78d24_51028b70","updated":"2016-07-08 15:37:43.000000000","message":"\u003e on a separate now, even if it\u0027s in the realm of 1000s of users... you\u0027ll need to page results which means you\u0027ll need admin-ish level privs to do that.\n\nProbably no. We don\u0027t care about performance at all here. And don\u0027t care if it takes 1, 5 or 10 minutes. For example, i definitely can fetch 40k users right now without admin privs.","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"fe3dfb5f43c7b61a5a4642f0d7ad0259540755c0","unresolved":false,"context_lines":[{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Implement new command for `keystone-manage`: `prepare_ldap`. It will:"},{"line_number":69,"context_line":"1. Fetch all users from LDAP"},{"line_number":70,"context_line":"2. For all users create a mapping"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"The command will be executed by operators, when they know that LDAP has many"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_4169188b","line":69,"range":{"start_line":69,"start_character":3,"end_line":69,"end_character":28},"in_reply_to":"1aa78d24_cc25420b","updated":"2016-07-08 16:20:40.000000000","message":"how long does it take with 40k users?","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"05efbf546f20296b8e8b6df992c6bfafc58955d0","unresolved":false,"context_lines":[{"line_number":102,"context_line":"The workaround with N queries it will decrease the number of SQL queries to"},{"line_number":103,"context_line":"constant number and will require O(N) additional memory."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"`keystone-manage prepare-ldap` command will be ran by operators. It will not"},{"line_number":106,"context_line":"be exposed to the users. It will speed-up the first call or the call after"},{"line_number":107,"context_line":"many new LDAP users were added."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_b1af6f2a","line":105,"range":{"start_line":105,"start_character":17,"end_line":105,"end_character":29},"updated":"2016-07-08 15:15:48.000000000","message":"prepare_ldap*","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"6ab7e30af6154bfbe246fcff9a039e1f77ed83e5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"The workaround with N queries it will decrease the number of SQL queries to"},{"line_number":103,"context_line":"constant number and will require O(N) additional memory."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"`keystone-manage prepare-ldap` command will be ran by operators. It will not"},{"line_number":106,"context_line":"be exposed to the users. It will speed-up the first call or the call after"},{"line_number":107,"context_line":"many new LDAP users were added."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1aa78d24_6739c941","line":105,"range":{"start_line":105,"start_character":17,"end_line":105,"end_character":29},"in_reply_to":"1aa78d24_b1af6f2a","updated":"2016-07-08 15:37:43.000000000","message":"Done","commit_id":"c85443fe34758b5b489b10b2c27d411587c131de"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"7ddb7b164811208e14671f0bf9f6a073aaa8959c","unresolved":false,"context_lines":[{"line_number":63,"context_line":"Proposed Change"},{"line_number":64,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Implement new command for `keystone-manage`: `prepare_ldap`. It will:"},{"line_number":67,"context_line":"1. Fetch all users from LDAP"},{"line_number":68,"context_line":"2. For all users create a mapping"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aa78d24_564b9459","line":66,"range":{"start_line":66,"start_character":46,"end_line":66,"end_character":58},"updated":"2016-07-08 18:20:23.000000000","message":"This would need a --domain argument I imagine","commit_id":"9b96447dfdd3c23874b0dce515353934044d1896"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"7ddb7b164811208e14671f0bf9f6a073aaa8959c","unresolved":false,"context_lines":[{"line_number":64,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Implement new command for `keystone-manage`: `prepare_ldap`. It will:"},{"line_number":67,"context_line":"1. Fetch all users from LDAP"},{"line_number":68,"context_line":"2. For all users create a mapping"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The command will be executed by operators, when they know that LDAP has many"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aa78d24_9625fcaf","line":67,"range":{"start_line":67,"start_character":3,"end_line":67,"end_character":28},"updated":"2016-07-08 18:20:23.000000000","message":"i\u0027m wondering if we want to extend this to accept a group filter as well, just a thought\n\n  $ keystone-manage prepare_ldap --group developers\n\nIt should be able to leverage the existing filters","commit_id":"9b96447dfdd3c23874b0dce515353934044d1896"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"7ddb7b164811208e14671f0bf9f6a073aaa8959c","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The command will be executed by operators, when they know that LDAP has many"},{"line_number":71,"context_line":"entries."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Running the command **is not required** for integrating LDAP. It will provide"},{"line_number":74,"context_line":"a better user and operator experience for cases when there are many entities"},{"line_number":75,"context_line":"in LDAP."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aa78d24_b65bd82d","line":72,"updated":"2016-07-08 18:20:23.000000000","message":"What happens if you run the command twice?","commit_id":"9b96447dfdd3c23874b0dce515353934044d1896"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"c343c4afa0fe8e005d42023f0e0ae5964810be36","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"The command will be executed by operators, when they know that LDAP has many"},{"line_number":71,"context_line":"entries."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Running the command **is not required** for integrating LDAP. It will provide"},{"line_number":74,"context_line":"a better user and operator experience for cases when there are many entities"},{"line_number":75,"context_line":"in LDAP."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aa78d24_0add6070","line":72,"in_reply_to":"1aa78d24_b65bd82d","updated":"2016-07-08 18:38:32.000000000","message":"With the same users in LDAP, nothing.\nIf new users were added, they will be added to the mapping table.","commit_id":"9b96447dfdd3c23874b0dce515353934044d1896"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"7ddb7b164811208e14671f0bf9f6a073aaa8959c","unresolved":false,"context_lines":[{"line_number":73,"context_line":"Running the command **is not required** for integrating LDAP. It will provide"},{"line_number":74,"context_line":"a better user and operator experience for cases when there are many entities"},{"line_number":75,"context_line":"in LDAP."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Alternatives"},{"line_number":78,"context_line":"------------"},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aa78d24_964cdc77","line":76,"updated":"2016-07-08 18:20:23.000000000","message":"We could also run this change if someone purged the mapping IDs too","commit_id":"9b96447dfdd3c23874b0dce515353934044d1896"}]}
