Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-16-2003, 09:30 PM   #1
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
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.

Thanks for your help!
Old 12-16-2003, 10:42 PM   #2
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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?...

Linux 101 "man man"
Old 12-17-2003, 07:47 AM   #3
Registered: Sep 2003
Posts: 48

Original Poster
Rep: Reputation: 15
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?

Old 12-17-2003, 10:26 PM   #4
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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)..

keep posting...
Old 12-18-2003, 02:54 AM   #5
LQ Newbie
Registered: Mar 2003
Location: Kiribati
Distribution: Mandrake 9.0 / SUSE 7.0
Posts: 13

Rep: Reputation: 0
Add a Admin User

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Give user rights to execute program max2004 Linux - Newbie 7 11-30-2005 07:17 PM
Samba domain: admin rights problem on XP hitotito Linux - Networking 2 04-26-2005 04:27 PM
how do I give a user access to join a samba PDC? rtg2001 Linux - Networking 1 08-04-2004 06:03 PM
Local Admin Rights with Samba Jagzseven Linux - Networking 3 12-16-2003 09:35 PM
Local Admin Rights on XP mankey Linux - Networking 4 08-25-2003 10:04 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration