Koozali.org: home of the SME Server

PDC

Greg Zartman

Re: PDC
« Reply #15 on: October 26, 2001, 02:13:22 AM »
Sorry, I messed up step 5.  Should read:

5. Expand the template fragements: /sbin/e-smith/expand-template smb.conf

Greg

glc

Re: PDC
« Reply #16 on: October 26, 2001, 02:18:03 AM »
Greg Zartman wrote:
>
> Sorry, I messed up step 5.  Should read:
>
> 5. Expand the template fragements:
> /sbin/e-smith/expand-template smb.conf
>
> Greg
With the correction, no. 5 returns:

No templates were found for /smb.conf

Greg Zartman

Re: PDC
« Reply #17 on: October 26, 2001, 02:20:33 AM »
It's been a long day.  LOL

Expand template:  /sbin/e-smith/expand-template /etc/smb.conf

glc

Re: PDC
« Reply #18 on: October 26, 2001, 02:30:47 AM »
dammit, still get the error

glc

Re: PDC
« Reply #19 on: October 26, 2001, 02:37:05 AM »
Should I start from scratch and try a different guide, such as this one I found a couple days ago?:
http://de.samba.org/samba/ftp/docs/htmldocs/Samba-PDC-HOWTO.html

Greg Zartman

Re: PDC
« Reply #20 on: October 26, 2001, 02:45:25 AM »
No, I wouldn't use a different howto as it won't apply to the e-smith structure and then you'll really have a mess.

Send my your smb.conf file.  I'll have a look and see if I can spot the error.

greg@leiinc.com

Kelvin

Re: PDC
« Reply #21 on: October 26, 2001, 02:50:51 AM »
Hi glc,

I had exactly the same problems some time back (search forums for the fory details).

While the W2K PC had no problems joining "real" NT4 and W2K Server domains, it refuses to join the SME domain, no matter what I did. In the end, a clean reload of W2K solved the problem immediately. Since then any new W2K PC I had had no problem joining the domain.

Kelvin

glc

Re: PDC
« Reply #22 on: October 26, 2001, 02:55:21 AM »
Kelvin wrote:
>
> Hi glc,
>
> I had exactly the same problems some time back (search forums
> for the fory details).
>
> While the W2K PC had no problems joining "real" NT4 and W2K
> Server domains, it refuses to join the SME domain, no matter
> what I did. In the end, a clean reload of W2K solved the
> problem immediately. Since then any new W2K PC I had had no
> problem joining the domain.
>
> Kelvin

LOL, why is it that formatting is the no. 1 solver of MS OS issues?

Rather than bombarding the consumer's desktop w/ MSN and other shortcuts, they should place an automatic and instantaneous format shortcut.:)

I was considering a reinstall anyway b/c of a few misc. issues I've had for the last couple of months (not related to SME; just typical MS OS b.s.:)).

Kelvin

Re: PDC
« Reply #23 on: October 26, 2001, 02:58:44 AM »
Ho ! Ho !

I supposed we could always wish for an option to automatically re-image the drive from a "clean" image as and when the MS OS goes to la - la land !  :)

Kelvin

Greg Zartman

Re: PDC
« Reply #24 on: October 26, 2001, 02:59:38 AM »
I can't see how reinstalling windows would do anything especially since you can't join any workstation to your domain.  This line of thinking is impling that Win2k somehow infects Samba (not true).  

If you've tried to join multiply machines to the domain without sucess, reinstalling windows on one of them won't change a thing.

This has to have something to do with Samba's configuration and/or some type of network name resolution issue.

Greg

glc

Re: PDC
« Reply #25 on: October 26, 2001, 03:09:59 AM »
Kelvin wrote:
>
> Ho ! Ho !
>
> I supposed we could always wish for an option to
> automatically re-image the drive from a "clean" image as and
> when the MS OS goes to la - la land !  :)
>
> Kelvin

that's what I use Norton Ghost for.  have for a couple of years now.


Greg Zartman wrote:
>
> I can't see how reinstalling windows would do anything
> especially since you can't join any workstation to your
> domain.  This line of thinking is impling that Win2k somehow
> infects Samba (not true).
>
> If you've tried to join multiply machines to the domain
> without sucess, reinstalling windows on one of them won't
> change a thing.
>
> This has to have something to do with Samba's configuration
> and/or some type of network name resolution issue.
>
> Greg

Got a copy of smb.conf; emailing to you right now...

thanks....

Patrick Basile

Re: PDC
« Reply #26 on: October 26, 2001, 03:21:17 AM »
glc,

Have you tried joining the client using the following 'yourdomain\root', instead of just 'root'?  Also, did you check to make sure the registry has these settings:

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
"requirestrongkey"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
"requirestrongkey"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
"requirestrongkey"=dword:00000000

Let us know, good luck.

Regards,
Patrick

glc

Re: PDC
« Reply #27 on: October 26, 2001, 03:32:20 AM »
Patrick Basile wrote:
>
> glc,
>
> Have you tried joining the client using the following
> 'yourdomain\root', instead of just 'root'?  
yes

Also, did you
> check to make sure the registry has these settings:
>
> [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Netlogon\Parameters]
> "requiresignorseal"=dword:00000000
> "requirestrongkey"=dword:00000000
>
> [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Netlogon\Parameters]
> "requiresignorseal"=dword:00000000
> "requirestrongkey"=dword:00000000
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
> "requiresignorseal"=dword:00000000
> "requirestrongkey"=dword:00000000
those strings are present

Greg Zartman

Re: PDC
« Reply #28 on: October 26, 2001, 03:34:00 AM »
OK, I found the problem with your smb.conf file.  It's that add user script.  It doesn't appear to me that you installed Darrel's "fragments" RPM.  Download the following RPM and install it on your server

http://www.myezserver.com/downloads/mitel/dmc-mitel-samba-2.2.2-0.noarch.rpm

1.To install:  rpm -Uvh --nodeps dmc-mitel-samba-2.2.2.noarch.rpm

2. Expand fragments:  /sbin/e-smith/expand-template /etc/smb.conf

3. Restart Samba:  /etc/rc.d/init.d/smb restart


There is an very very small chance that the add user script still might not work (I highly doubt it as Darrel's RPM has been tested by many people).  If this is the case, edit the 12adduser fragment as follows:

pico /etc/e-smith/templates-custom/etc/smb.conf/12adduser

Delete all lines in the file using CTRL-K

Input the following:

#Create Machine Account Script
add user script = /usr/sbin/adduser -d /dev/null -g 100 -s/bin/false -M %u

Save the file, re-expand the fragments and restart Samba.  

I highly doubt you will need to modify Darrel's fragments, but I included this just in case.

Greg

glc

Re: PDC
« Reply #29 on: October 26, 2001, 11:14:52 PM »
problem solved, thanks all