W2k & sambas

Sergey Alexandrov serg at tv2.tomsk.su
Fri Nov 10 03:28:22 GMT 2000


Hi, All !

That's my story about joining to samba PDC.
I tested 3 sambas - samba-2.1, samba-2.2, samba-tng-2.6
OS - FreeBSD 3.2

My steps:
1. Install samba. (for example named it TV2)
2. Run it :))
3. Install W2k (named TEACHER)
4. Logon as LOCAL admin W2k
5. Join to WORKGROUP TV2
6. Do not reboot
7. telnet to samba box
8. samedit -S. -U root
9. createuser TEACHER$
10. From within W2k - change membership to domain TV2
11. See message "Wellcome to domain TV2"
12. Enjoy it !!!
14. That's all !!!

smb.conf attached.
Any questions ?

-- 
Best, Serg <serg at tv2.tomsk.su>


-------------- next part --------------
[global]
	workgroup = tv2
	netbios name = Samba
	server string = Samba Server
	encrypt passwords = yes
	password level = 20
#	domain admin group = @wheel

	domain logons = yes
	security = user
    	local master = yes
	domain master = yes
#	interfaces = 192.168.13.0/24
		
	logon script = logon.bat
	logon path = \\%L\%U\prof\%m
	logon drive = h:

#	local  group map = /usr/local/samba/lib/localgroup.map
	domain group map = /usr/local/samba/lib/domaingroup.map
	domain user  map = /usr/local/samba/lib/domainuser.map
	
	log file = /.1/Logs/samba/smb.%m
#	include = /usr/local/samba/lib/smb.conf.%m
	max log size = 300
#	debug level = 10
	wins proxy = no
	wins support = yes
	time server = True
	dns proxy = yes
	printing = bsd
	socket options = TCP_NODELAY 
	load printers = no
	client code page = 866
	
	case sensitive = no
	preserve case = yes
	short preserve case = no

	read raw = no

[homes]
	comment = %U Home Dir
	browseable = no
	create mode = 600
	writable = yes
	directory mode = 700

[netlogon]
	path = /usr/local/samba/netlogon

[printers]
       comment = All Printers
       path = /usr/spool/samba
       browseable = no
# Set public = yes to allow user 'guest account' to print
       guest ok = no
       writable = no
       printable = yes

[WWW]
	printable = no
	delete readonly = yes
	valid users = serg,andy
	comment = Our WWW
	browseable = no
	write list = serg, andy
	force create mode = 644
	force directory mode = 755
	create mode = 644
	writable = yes
	admin users = serg Administrator
	force group = wheel
	path = /.1/Data/www
	force user = root

[Usr]
	allow hosts = 192.168.13.60
	only user = yes
	delete readonly = yes
	valid users = serg
	comment = /usr
	browseable = no
	write list = serg
	writable = yes
	path = /usr
	force user = root
	user = serg

[var]
	delete readonly = yes
	valid users = serg
	comment = Var
	hide dot files = no
	browseable = no
	create mode = 750
	writable = yes
	path = /var
	force user = root


[vote]
	only user = yes
	delete readonly = yes
	browseable = no
	write list = lll,andy,anton,serg
	create mode = 666
	directory mode = 777
	wide links = no
	path = /.1/Data/vote/data
	user = lll,andy,anton,serg,q,utro

[Shared]
	create mode = 664
	directory mode = 775
	writable = yes
	comment = For all users (readonly)
	path = /.1/Data/Shared
	write list = @wheel

[garant]
	create mode = 644
	writable = yes
	path = /home/garant
	write list = garant

[BIG_MIKE]
	delete readonly = yes
	valid users = @Makers, at usrA
	locking = no
	create mode = 666
	force directory mode = 777
	directory mode = 777
	writable = yes
	oplocks = no
	force group = Makers
	path = /.1/Data/BIG_MIKE

[Hole]
	delete readonly = yes
	valid users = @Makers, at wheel
	create mode = 660
	force directory mode = 770
	writable = yes
	directory mode = 770
	path = /.1/Data/Hole

[veda]
	comment = Veda
	write list = garant, at wheel
	create mode = 664
	directory mode = 775
	writable = yes
	wide links = no
	path = /.1/Data/Veda


[Main_PR]
	delete readonly = yes
	valid users = mike
	create mode = 600
	force directory mode = 700
	writable = yes
	directory mode = 700
	path = /.1/Data/BIG_MIKE/MAIN_PR.XP

[forme]
	allow hosts = 192.168.13.15
	delete readonly = yes
	valid users = serg, at wheel
	comment = Users home dirs
	browseable = no
	write list = serg, at wheel
	locking = no
	force create mode = 600
	create mode = 600
	force directory mode = 700
	directory mode = 700
	force group = wheel
	path = /.1/HOME
	force user = root


[bat]
	delete readonly = yes
	valid users = batman
	browseable = no
	locking = no
	write list = batman
	create mode = 644
	wide links = no
	writable = yes
	path = /.1/Data/www/batman



More information about the samba-ntdom mailing list