LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-22-2009, 04:57 AM   #1
avinash.rao
Member
 
Registered: Jun 2008
Posts: 197

Rep: Reputation: 30
Smile Script to Auto-add Domain Users to Workstation Power Users Group doesn't work


Hi all,

Ubuntu 8.04 Server 64-bit Edition
Samba 3.0.28a configured as PDC
WinXP - SP2 clients

I am following the instructions in http://www.samba.org/samba/docs/man/....html#magicnet logon to add domain users to the winxp clients Power Users group.

Code: autopoweruser.sh
#!/bin/bash

/usr/bin/net rpc group addmem "Power Users" "DOMAIN_NAME\$1" \
-UAdministrator%secret -S $2

exit 0

[netlogon]
comment = Netlogon Share
path = /export/samba/logon
root preexec = /etc/samba/scripts/autopoweruser.sh %U %m
read only = Yes
guest ok = Yes


But nothing happens when users login?

Can anybody help???
Avinash
 
  


Reply


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
Script to add a secondary group to all users except system default users Tekken Linux - Server 5 06-29-2009 04:02 PM
domain users only have 1 group !!! humbletech99 Linux - Server 3 06-29-2007 01:57 AM
add all users as audio group Kocil Linux - Security 1 07-27-2004 02:28 AM
Samba + Winbind + Domain Users group wheeliemonster Linux - Networking 0 01-27-2004 09:56 AM
add users to new group, non-GUI jules_fraser Linux - Newbie 3 01-22-2004 06:37 AM


All times are GMT -5. The time now is 06:03 AM.

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