Create Active Directory contact with Ansible - ansible

I'm trying to add an Active Directory contact with ansible but it seems it's not possible (https://docs.ansible.com/ansible/latest/collections/community/windows/win_domain_user_module.html), is there a solution ?
Just tried to use the win_domain_user_module

Related

windows permission on folder to let a specific user create modify and read file but nobody can delete any file (file shared via an ad)

I would like to set the permission on the folder C:\Share\Project\Project1 (and the previous one if needed) to let a specific user "Bob" create modify and read files but I don't want anybody to be able to delete files. Those folder are shared via an ad and Bob acces them following this path \WIN-SRV1\Share\Project\Project 1. I have all the permission on those deviceS both Bob and the hosting server are on windows.
I think i tried every advanced security permission settings for david and everyone etc, and advanced shared setting
Thank you in advance:)

How to use ovirt_role module of ansible to provide all permits to user

I'm using ovirt.ovirt.ovirt_role of ansible to create roles in RHV(Red hat Virtulization) environment. I need to create a role which will provide all permissions to user to perform operations. As per below example do I have to list all permissions or is there any keyword which will enable all permits? I have copied the example from below link. Thanks in advance.
link: https://docs.ansible.com/ansible/latest/collections/ovirt/ovirt/ovirt_role_module.html
- ovirt.ovirt.ovirt_role:
name: role
administrative: true
permits:
- manipulate_permissions
- create_instance
sorry but as far as I know you need to enable one by one.
For further issues please add them also to GitHub which I check more frequently http://github.com/ovirt/ovirt-ansible-collection

DocsList findFolder() issue

This is a google spreadsheet script question.
I have a GUI setup in order to search for "SouthWest" and then find a "test" sheet. This is the code I am using.
var file = DocsList.getFolder("SouthWest").find("test");
This works just fine when I run it under my account (as I have this folder and file setup correctly) but when another user is logged into google docs it will attempt to search for this folder/file under the new user instead of the owner of the document. Is there a way to have it just search the DocsList of the owner of the spreadsheet that is currently open? The error that I get under the new user is "Error encountered: Cannot find folder SouthWest." Thanks.
If you always want to access the same file, you can use the getFileById method and address it directly instead of searching every time:
https://developers.google.com/apps-script/class_docslist#getFileById
Of course, you should make sure that all users are allowed to access that file.

tf.exe get for different user

I use the following command to get the latest version of a branch for a specific user (not the one running the process):
tf get $/MyProject/Development /version:WmyPC;otherUser /login:otherUser,otherPassword
Bt I keep getting:
The operation cannot be completed because the user (otherUser) does
not have one or more required permissions (Use) for workspace...
Any ideas?
By default, when you create a workspace it is a 'Private Workspace' - this means that the person who created it is the only person who can "use" it (which is why you get that specific error message).
What you will want to do is change the workspace to a 'Public Workspace' - this updates the permissions and allows multiple people to use the same workspace, but using their own credentials.
For more information, see my blog post TFS2010: Public Workspaces.
You are trying to get the files on your local machine with the credentials of someone else. It is not executing the TF under other credentials.
In other words, you still use the workspace mapping of yourself.
You need to use the RUNAS command to fullfil your task: http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/20b6f678-4657-4b14-a114-5eeb232934e2/

How do i change my DNS host name using WIX

How do i set my dns hostname for a iis asp.net website i am installing using WIX?
everything installs fine but i have to go to path
http://localhost/EDSTR2F7
I want to be able to change it so i can get to the site by going
http://EDSTR2F7.myhostname.local
how do i do that using WIX?
is it part of the
iis:WebSite,
iis:WebAddress,
iis:WebVirtualDir,
iis:WebApplication, or
iis:WebDirProperties tags?
I would suggest to create new sub website using iis:WebSite and make sure to assign to it the correct host name you want to map in using iis:WebAddress

Resources