Linux PDC - How Do I give the Samba User Local Admin Rights on XP machine?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux PDC - How Do I give the Samba User Local Admin Rights on XP machine?
Hi everyone...
I have a strange situation...
I have a working PDC handling the logons etc and executing the logon scripts everything is working good there.
On the Local XP machine though I went to the local administrator account and logged in, and added the SAMBA user let's say (BOB) to the Local Administrator group and then rebooted.
When I log in to the Linux PDC as Bob on the domain it starts up but I don't have Administrator privilages on the local machine so I have some software that requires that and it starts to compain etc...
We have a current setup at work like this with NT server and it works alright so i'm trying to duplicate it, is linux different in adding the Linux User to the Local Admin account in some way?
This is for Admin rights on the XP machine only not to be confused with directory rights on the linux PDC shares etc.
sounds like it's on the windows side. always test the obvious, when you log in as the new samba account from the win box do you have administrator privilages?...
No I don't have Admin rights on the Windows XP box... That's the part I'm having trouble with.
These are the steps I did :
1. Setup the Machine name on the Linux PDC - Lets call it machine$
2. also added the machine name to the smbpasswd samba program
3. Setup the new user - Let's call it Bob
4. Added the new user to the smbpasswd program
5. on the LOCAL Windows XP box I went to Administrative Tools, Computer Management, Local Users and Groups, then Groups, and then Administrators... Opened that up and added \\Linux\bob and it was added ok without any trouble, (I had to use the Root and password to access the domain to add him so it talked to the PDC correctly etc.
6. Logged off the Local Administrator account
7. Logged back into the Domain with the following info :
User : Bob
Password : XXXX
Domain : Linux
8. Login and everything worked great, it executed the Login Script, Mapped Network drives etc etc
9. But the user doesn't have ADMIN rights like I would have expected. And have setup on a work system using XP and Windows NT. Should the user have admin rights just like on a windows domain in the same fasion? I wonder if any of my Local Group Policeys are balled up or something?
this is a linux help forum, so if there are any quams about posting win to lin help someone please let me know...
use computer managment, in administrative tools, or windoekey+r compmgmt.msc > computer management local > users and groups > users > the username in question Bob > and check the groups tab to be sure the user is supposed to be administrator.. otherwise, if your allowed to this see if your companies helpdesk (if they have one) has competent IT people to check it out.. (not likely)..
Go to controll pannel, user accounts and click add. Enter the user name like BOB und the domain of the Samba server.
Next, click on others to make him a member of local admin group,
Thats it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.