Joining a Windows 2000 workstation into the Domain

Hazen Valliant-Saunders hazen at potentia.ca
Thu Dec 21 16:18:55 GMT 2000


Ok:
	Here's How I did it,
	1. Map all usernames and accounts properly
		a.) Make sure to have a root entry in smb.conf this can be accomplished by
doing a smbpasswd -a root

	2. Use the Latest CVS, Ie; newer than last wednesday. (J.F. added some code
to get rid of that nasty rpc error)

	3. Install from scratch if possible, <- you must know all (the files you
modified by hand and those that are modified 		when accounts are added both
machine and user.
		a.) backup your existing config by copying all pertinent files
(/usr/local/samba/private,
			 /usr/local/samba/netlogon, /etc/smbpasswd,
/usr/local/samba/lib/smbpasswd ; smb.conf et-cetra ad-nosium.)
		b.) Optional removal of the previous installation (rm -vrf
/usr/local/samba)
			You don't have to do the above but it does keep things very clean.

	4. Install your new CVS source (./configure ; make ; make install w/wo
options like winbind)
		a.) Restore the Backups of all your config files (except smb.conf rename
it to smb.conf.old just for test 				purposes)
		b.) Use the Default smb.conf offered in the 2.2 PDC-Howto
			http://bioserve.latrobe.edu.au/samba/samba-pdc-howto.html#AEN66
			copy to smb.conf in /usr/local/samba/lib and symlink to /etc/ so various
programs don't complain.
			*****Remember to use an ODD domain name (Ie; 1, 3, 5,7,9,11 characters
not even like 2,4,6,8,10)

	5. Test your root account
		smbclient -L hostname -Uroot%smbrootpasswd
		(should work if not troubleshoot.)

	6. Test a Domain Logon From a w2k client
		a.) Control Pannel, System , Network ID-> Properties, Opt to domain, You
should get a long period of inactivaty, 			about two or three minutes up to
five. Followed by a msg box appering saying Welcome to 'Domain' Domain.
		b.) If it works with the default add various lines or completly replace
the smb.conf file with your old one.  If 		you add to the file and test line
by line, only if it does not function the first time. While operating with a
high debug level on both sides (W2k Reg debug settings set to 100 and Samba
debug level set to 4 or 5) This way 		you can be meticulus about examining
the code and log files and look for rpc failures as well as any other
inherent bugs.
Tshooting
	If it does not work, sacrifice a chicken in the name of the unix gods
offering it's feeble peon of a brain for 		consumption.
	Wait until sagitarious is in the 3rd house during a full moon and put the
box on a pantagram.
	Then mail us again.
Hope it Helps
Hazen Valliant-Saunders.


-----Original Message-----
From: samba-ntdom-admin at us5.samba.org
[mailto:samba-ntdom-admin at us5.samba.org]On Behalf Of Armand Welsh
Sent: Thursday, December 21, 2000 3:43 AM
To: Mats Nylen; samba-ntdom at us5.samba.org
Subject: Re: Joining a Windows 2000 workstation into the Domain


*This message was transferred with a trial version of CommuniGate(tm) Pro*
get the latest CVS tree.  Alpha1 does not work.

----- Original Message -----
From: "Mats Nylen" <Mats.Nylen at tp.umu.se>
To: <samba-ntdom at lists.samba.org>
Sent: Tuesday, December 19, 2000 1:27 AM
Subject: Joining a Windows 2000 workstation into the Domain


> *This message was transferred with a trial version of CommuniGate(tm) Pro*
>
> Hello all,
>   I can't seem to enter a W2K ws int my domain. When tryin to do so I
>   get the message "rpc call failed" (or something). The log file from
>   Samba sometimes show an internal error:
>
> [2000/12/19 08:57:20, 0] lib/fault.c:fault_report(41)
>   INTERNAL ERROR: Signal 11 in pid 3407 (2.2.0-alpha1)
>   Please read the file BUGS.txt in the distribution
> [2000/12/19 08:57:20, 0] lib/fault.c:fault_report(43)
>   ===============================================================
> [2000/12/19 08:57:20, 0] lib/util.c:smb_panic(1139)
>   PANIC: internal error
>
> When increasing the loglevel to 100 this went away. I am using
> SAMBA_2_2 fetched with CVS about two hours ago.
>
> Everyting else seems to work OK, including joining NT machines.
>
> Any ideas ?
>
> /Mats
>
> Here is my smb.conf
> ----------
> # Global parameters
> [global]
> workgroup = PHYSICS
> netbios name = SERVER-PHYSICS
> interfaces = x.x.x.x/255.255.255.128 y.y.y.y/255.255.255.128
127.0.0.1/255.0.0.0
> encrypt passwords = Yes
> null passwords = Yes
> password level = 4
> username level = 4
> log file = /usr/local/samba/var/log.%m
> domain admin group = @ntadm
> domain admin users = root
> add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
> logon script = scripts\%U.bat
> logon path = \\%L\%U\profile.%U
> domain logons = Yes
> os level = 65
> preferred master = True
> domain master = True
> include = /usr/local/samba/lib/smb.conf.%m
>
> [homes]
> comment = Home Directories
> read only = No
> create mask = 0755
> browseable = No
>
> [printers]
> comment = All Printers
> path = /tmp
> create mask = 0700
> printable = Yes
> browseable = No
>
> [profiles]
> path = /ntstuff/profiles
> read only = No
> guest ok = Yes
>
> [netlogon]
> comment = PDC netlogon share
> path = /ntstuff/netlogon/
>
>







More information about the samba-ntdom mailing list