Bluehost.com Web Hosting $6.95

Re: [Samba] how a domain user can become a local administrator ?

This is a discussion on Re: [Samba] how a domain user can become a local administrator ? within the Samba forums, part of the Networking and Network Related category; Hi again, Hmmm, well, I have some news about my problem. Here is what I want : I want some Domain ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-02-2005
Valéry Roché
 
Posts: n/a
Default Re: [Samba] how a domain user can become a local administrator ?

Hi again,

Hmmm, well, I have some news about my problem.
Here is what I want : I want some Domain Groups to be local
Administrators on the workstation they're logged in.
By default, all my users are in the Domain Users group. Some of them are
in a second group. These groups are defined in an LDAP directory.

I'm trying to use CPAU to do this. Here how it should work :

1- on a workstation, I log in as a Domain Admin
2- I create a job file with CPAU like this :
cpau -u domain\my_admin_account -p password -ex "net localgroup
\"Administrators\" \"domain\group_I_want_to_be_local_admin\" /add" -file
job_file.job -enc
3- the file job_file.job is copied on a network share
4- in the logonscript of the users I want to be local admins, I add
these lines :
net use z: \\server\job
cpau -dec -file z:\job_file.job -profile

After succesfull login of a user of this group, I can see its group is
member of the Local Admins on the workstation. But the user as no Admins
rights !!! If I loggof this user, and loggin again, this user have admin
rights.

But if I execute cpau by hand, as a domain users, but by providing a
Domain Admin account and password, there is no need to logg in again.

What am I doing wrong ?

Sincerely,
Valéry Roché
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0