| Author |
Message |
andnaess
Joined: 10 Sep 2008 Posts: 1
|
Posted: Wed Sep 10, 2008 11:09 am Post subject: Users created even if I uncheck them |
|
|
Hi
I'm testing my SQL Packager trial on our development server. This server has login accounts for all the developers, and even though I uncheck the corresponding user objects when selecting what objects to include in the schema, the generated schema file contains CREATE LOGIN and CREATE USER statements for the users I've unchecked. Any ideas as to what I'm doing wrong? |
|
| Back to top |
|
 |
Michelle Taylor
Joined: 30 Oct 2006 Posts: 519 Location: Red Gate Software
|
Posted: Wed Sep 10, 2008 11:29 am Post subject: |
|
|
If you've got objects that depend on having those users in the database (e.g. the user has permissions on an object, the user owns an object or a schema) then the users will be brought along because otherwise the script wouldn't run.
You can normally shake most of them by enabling the option 'ignore users' permissions and role memberships', but obviously this will also not synchronize permissions and role memberships for other users that you might have wanted to include.
If you're sure the script will be fine afterwards you can uncheck 'Include dependencies' which will stop this happening, but that means you'll have to check manually that all of the relevant objects are in place in the target database. |
|
| Back to top |
|
 |
David Atkinson
Joined: 05 Dec 2005 Posts: 1079
|
Posted: Mon Sep 29, 2008 5:42 pm Post subject: |
|
|
Hi,
Were you able to try out Michelle's suggestions and exclude the users and logins in the end? We’ve just released a version of SQL Packager 6 that allows you to edit a script before packaging, which may help.
See http://www.red-gate.com/MessageBoard/viewtopic.php?t=7743
Kind regards,
David Atkinson
Product Manager
Red Gate Software |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group