All, Currently we are running Samba 3.0.7 on Solaris 8 and we are experiencing a problem that the user system are not being added automatically with the add machine script: /usr/sbin/useradd -g machines -d /dev/null -s /bin/false %m If we run it manually it works. Any ideas? Thanks, Randy Corral Information Systems Brooks Automation Phoenix, Arizona 602-861-9395 ext. 228 Fax: 602-861-1442
Hi! Last week all windows workstations changed the clock thinking that the daylight time had started but it will start nov, 2. I know this is a windows problem so I went to technet.microsoft.com and found this article: http://support.microsoft.com/default.aspx?scid=kb;en-us;317211 with this article I got the registry key of my workstation corrected. Now I want to replicate this configuration to all other workstations. I have a samba 3.0.5 PDC and I'm using windows policy to control access and configure the workstations so I started to create a .adm file to export this registry information. When I was reading about the best way to change the value of this registry, I found in the book "Windows System Policy Editor" from O'Reilly that "Since this registry key has a hex value (REG_BINARY), it is not possible to change it using a policy template". Ok! I can't replicate it with policy but I still can make a reg file and change the values within the logon script. Here comes another problem... normal users don't have permission to change the value of this registry so I have to find a way to change permission to the registry. I know I can use regini.exe but it must be running in a windows computer and the workstation must be online. I hope someone call me fool and say I'm complicating everything. It really should be easier. any help, sugestion, idea? thanks! Bruno Gimenes Pereti.
Can you send that peace of smb.conf which contains that: Corral, Randy wrote:>All, > >Currently we are running Samba 3.0.7 on Solaris 8 and we are experiencing a >problem that the user system are not being added automatically with the add >machine script: > >/usr/sbin/useradd -g machines -d /dev/null -s /bin/false %m > >If we run it manually it works. > >Any ideas? > >Thanks, > >Randy Corral >Information Systems >Brooks Automation >Phoenix, Arizona >602-861-9395 ext. 228 >Fax: 602-861-1442 > > >
Over here I'm using: add machine script = /usr/sbin/useradd -c Machine -d /dev/null \ -g machines -s /bin/false %u It works for me, though currently still using local UNIX & Samba databases. Don't know why you have to use %u seeing as %m is the NetBIOS machine name but it works. Adrian Hicks On 30 October 2004 am 01:07, Corral, Randy wrote:> All, > > Currently we are running Samba 3.0.7 on Solaris 8 and we are > experiencing a problem that the user system are not being added > automatically with the add machine script: > > /usr/sbin/useradd -g machines -d /dev/null -s /bin/false %m > > If we run it manually it works. > > Any ideas? > > Thanks, > > Randy Corral > Information Systems > Brooks Automation > Phoenix, Arizona > 602-861-9395 ext. 228 > Fax: 602-861-1442