Hey all, according to the whitepaper http://technet.microsoft.com/en-us/library/cc736591%28v=ws.10%29.aspx I would like to a windows shortcut on the desktop that allows me to open and run the "Group Policy Editor" *for my samba4/AD domain*. The shortcut command should be: "gpedit.msc /gpobject:"LDAP://CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=mydom, DC=example,DC=com" I certainly need the correct ID og the object, but how do I find it out? I need to replace the string {31B2F340-016D-11D2-945F-00C04FB984F9} shown on that example with the correct one of my samba4/AD domain. Any clues how to find out that string? Mirco.
I just open the GPO editor of Windows RATS and not gpedit.msc its not the same. Its called : Group Policy Management and this is the app setting : %SystemRoot%\system32\mmc.exe %SystemRoot%\system32\gpmc.msc but install RATS and get that GPO managment editor. Louis>-----Oorspronkelijk bericht----- >Van: micromegas at mail333.com >[mailto:samba-bounces at lists.samba.org] Namens ?icro MEGAS >Verzonden: donderdag 30 oktober 2014 9:34 >Aan: samba at lists.samba.org >Onderwerp: [Samba] windows shortcut for "Group Policy Editor" > >Hey all, > >according to the whitepaper >http://technet.microsoft.com/en-us/library/cc736591%28v=ws.10%29.aspx >I would like to a windows shortcut on the desktop that allows >me to open and run the "Group Policy Editor" >*for my samba4/AD domain*. > >The shortcut command should be: > >"gpedit.msc >/gpobject:"LDAP://CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN>Policies,CN=mydom, >DC=example,DC=com" > >I certainly need the correct ID og the object, but how do I >find it out? I need to replace the string >{31B2F340-016D-11D2-945F-00C04FB984F9} shown on that example >with the correct one of my samba4/AD domain. > >Any clues how to find out that string? > >Mirco. >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
On 30/10/14 08:34, ?icro MEGAS wrote:> Hey all, > > according to the whitepaper http://technet.microsoft.com/en-us/library/cc736591%28v=ws.10%29.aspx > I would like to a windows shortcut on the desktop that allows me to open and run the "Group Policy Editor" > *for my samba4/AD domain*. > > The shortcut command should be: > > "gpedit.msc /gpobject:"LDAP://CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=mydom, > DC=example,DC=com" > > I certainly need the correct ID og the object, but how do I find it out? I need to replace the string > {31B2F340-016D-11D2-945F-00C04FB984F9} shown on that example with the correct one of my samba4/AD domain. > > Any clues how to find out that string? > > Mirco.If you really want to know, try this command on the server: ldbsearch -H /var/lib/samba/private/sam.ldb -b 'CN=Policies,CN=System,CN=mydom,DC=example,DC=com' dn It should print out the info you require. Rowland
> Rowland wrote... > If you really want to know, try this command on the server: > ldbsearch -H /var/lib/samba/private/sam.ldb -b > 'CN=Policies,CN=System,CN=mydom,DC=example,DC=com' dnunfortunately I didn't get the expected result with that command. I got: search error - No such Base DN: CN=Policies,CN=System,CN=mydom,DC=example,DC=com and yes, of course I replaced the string "mydom" and "example" to my needs. But never mind, thanks however ...> Louis wrote... > Its called : Group Policy Management > and this is the app setting : %SystemRoot%\system32\mmc.exe %SystemRoot%\system32\gpmc.mscThat really helped me. By running "gpmc.msc" on the "Run..." field I can start the Group Policy Management from the desktop. Thank you.