Re: [Samba] Script to Auto-add Domain Users to Workstation Power Users Group doesn't work

2009-08-30 Thread Avinash Rao
On Sun, Aug 30, 2009 at 2:54 AM, Mark Nienberg gm...@tippingmar.com wrote: Avinash Rao wrote: 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/...#magicnetlogon to add domain users

[Samba] Password Sync not letting users to change password.

2009-08-29 Thread Avinash Rao
Dear all, Ubuntu 8.04 Server Samba 3.0.28a configured as PDC. I want to give options to samba users to change their own passwords and sync it with the unix passwords whenever they change it. I have used the following in my smb.conf file unix password sync = yes passwd program = /usr/bin/passwd

Re: [Samba] monitor domain logons

2009-08-28 Thread Avinash Rao
On Fri, Aug 28, 2009 at 2:36 AM, Alex Crowac...@integrafin.co.uk wrote: Alex, I have been trying to use root preexec to add domain users to Power users group on the local workstation, it never works..

[Samba] net rpc group addmem gives NT_STATUS_ACCESS_DENIED

2009-08-28 Thread Avinash Rao
On Fri, Aug 28, 2009 at 1:41 PM, Avinash Rao avinash@gmail.com wrote: On Fri, Aug 28, 2009 at 2:36 AM, Alex Crowac...@integrafin.co.uk wrote: Alex, I have been trying to use root preexec to add domain users to Power users group on the local workstation, it never works.. http

Re: [Samba] monitor domain logons

2009-08-27 Thread Avinash Rao
On Thu, Aug 27, 2009 at 2:29 PM, Alex Crowac...@integrafin.co.uk wrote: Martin I use root preexec in the netlogon share to run a script which: a) Update DNS with the fqdn username.domain b) Update a MySQL db with the username, logon time, machine name and server name in combination with

[Samba] Users created by smbpasswd not a member of any ntgroup

2009-08-25 Thread Avinash Rao
Hi Guys, Ubuntu 8.04 Server 64-bit Edition Samba 3.0.28a I have configured samba as a PDC with winbind. I DO NOT have a windows NT server on the network, but i need winbind for squid and other purposes. r...@sunbox:/usr/lib/squid# net rpc group list Password: Domain Users Domain Admins

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-22 Thread Avinash Rao
On Thu, Aug 20, 2009 at 5:29 AM, Michael Heydonmicha...@jaswin.com.au wrote: Avinash Rao wrote: Sorry if the question is a bit unclear. What i meant is the net rpc commands are meant to manage trusts between a samba domain and Window NT domain or ADS. But in my case, I have only one samba

Re: [Samba] netlogon.bat issues

2009-08-21 Thread Avinash Rao
Hi Guys, I have similar problem. I am following the instructions in http://www.samba.org/samba/docs/man/...#magicnetlogon 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 \

[Samba] Script to Auto-add Domain Users to Workstation Power Users Group doesn't work

2009-08-20 Thread Avinash Rao
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/...#magicnetlogon to add domain users to the winxp clients Power Users group. Code: autopoweruser.sh #!/bin/bash /usr/bin/net rpc group

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-19 Thread Avinash Rao
text editor. See example Dale Avinash Rao wrote: Dear all, I am using Ubuntu 8.04 Server 64-bit edition and I am trying to enforce Local profile for all users and below is my smb.conf file. According to the samba documentation, leaving the logon home and logon path values to empty

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-19 Thread Avinash Rao
to the Power Users group on the local workstation, but it didn't work, i dont see it executing only. On Wed, Aug 19, 2009 at 12:20 PM, Michael Heydonmicha...@jaswin.com.au wrote: Avinash Rao wrote: Also, is there a way i can control the file permission on the clients local harddrive from

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-19 Thread Avinash Rao
workstation, but it didn't work, i dont see it executing only. On Wed, Aug 19, 2009 at 12:20 PM, Michael Heydonmicha...@jaswin.com.au wrote: Avinash Rao wrote: Also, is there a way i can control the file permission on the clients local harddrive from samba. For example, If a user A logs

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-19 Thread Avinash Rao
On Wed, Aug 19, 2009 at 12:40 PM, Michael Heydonmicha...@jaswin.com.au wrote: **Avinash Rao wrote: Am sorry i forgot to mention that i am not able to list #net rpc group list -Uroot%not24get Could not connect to server 127.0.0.1 Connection failed: NT_STATUS_CONNECTION_REFUSED I'm

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-19 Thread Avinash Rao
have used samba but not so much in depth. I am learning these options as the users in the network are increasing. Thanks Avinash On Wed, Aug 19, 2009 at 1:06 PM, Michael Heydonmicha...@jaswin.com.au wrote: Avinash Rao wrote: You mean in smb.conf file? i have added host allow = 127. Allowing

Re: [Samba] Fwd: Not able to display domain users using wbinfo

2009-08-19 Thread Avinash Rao
Why i need winbind.. coz, i have a requirement to control samba users accessing the internet through squid. I checked the squid ACL's and i can restrict/allow samba users from accessing the internet but there are too many users. The other option is to use src IP Address option in squid, but i have

[Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Avinash Rao
Dear all, I am using Ubuntu 8.04 Server 64-bit edition and I am trying to enforce Local profile for all users and below is my smb.conf file. According to the samba documentation, leaving the logon home and logon path values to empty will enforce local profiles, it worked. But, my main requirement

Re: [Samba] Enforcing local profile doesn't let Home Directory mapping

2009-08-18 Thread Avinash Rao
as a PDC and users have local profiles. -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Avinash Rao Sent: Tuesday, August 18, 2009 5:06 AM To: samba@lists.samba.org Subject: [Samba] Enforcing local profile doesn't let Home

Re: [Samba] Not able to display domain users using wbinfo

2009-08-17 Thread Avinash Rao
(0xc233) Can anyone help Avinash On Mon, Aug 17, 2009 at 11:07 AM, Avinash Rao avinash@gmail.com wrote: Hi, I am using Ubuntu 8.04 Server 64-bit Edition and i have installed samba as a PDC. Samba version is 3.0.28a and all the required OS updates are installed. smb.conf [global

Re: [Samba] Not able to display domain users using wbinfo

2009-08-17 Thread Avinash Rao
winbind use default domain = yes Restarted Samba and i checked wbinfo. wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc233) Can anyone help Avinash On Mon, Aug 17, 2009 at 11:07 AM, Avinash Rao avinash@gmail.com

[Samba] Fwd: Not able to display domain users using wbinfo

2009-08-17 Thread Avinash Rao
Sorry for the missing text.. what i meant was verify that the workstation trust  account  created  when  the  Samba server is added to the Windows NT domain is working. I don't have a windows NT domain, I have a samba server running on Ubuntu 8.04 Server and WinXP clients! And I am trying to get

[Samba] Not able to display domain users using wbinfo

2009-08-16 Thread Avinash Rao
Hi, I am using Ubuntu 8.04 Server 64-bit Edition and i have installed samba as a PDC. Samba version is 3.0.28a and all the required OS updates are installed. smb.conf [global] workgroup = abc server string = Samba for abc log level = 1 interfaces = eth0 bind interfaces only