Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 21:59:54 -0500
From:      "JustinL. Boss" <jlboss@yahoo.com>
To:        fozekizer <fozekizer@attbi.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: samba
Message-ID:  <3CBB93AA.9090405@yahoo.com>
References:  <002401c1e4ec$2fb9e010$32040101@socrates>

next in thread | previous in thread | raw e-mail | index | archive | help
This is my smb.conf. this will allow you to join a domain as well. Works for me good samba 2.2.3a


# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/04/11 12:37:38

# Global parameters
[global]
	workgroup = PSVCS
	server string = %h Server (Samba %v)
	interfaces = fxp0
	encrypt passwords = Yes
	unix password sync = Yes
	log file = /var/log/smb.%U.log
	time server = Yes
	domain admin group = @staff
	add user script = pw useradd -n %m$ -g staff -s /sbin/nologin -c %m -d /
	delete user script = /usr/sbin/rmuser -y %u
	logon script = netlogon.bat
	logon path = \\%N\profiles\%U
	logon drive = H:
	logon home = \\%N\%U\home
	domain logons = Yes
	os level = 65
	preferred master = True
	domain master = True
	wins support = Yes
	printer admin = @staff

[profiles]
	comment = Win NT Profiles Service
	path = /home/profiles
	valid users = @staff
	admin users = admin
	read list = @staff
	write list = @staff
	read only = No
	create mask = 0600
	directory mask = 0700

[netlogon]
	comment = Net Logon Service
	path = /home/netlogon
	read list = @staff
	write list = justin
	force group = staff
	create mask = 0755

[homes]
	comment = Home Directories
	read only = No
	create mask = 0700
	browseable = No

[print$]
	comment = Print Drivers Service
	path = /home/printers
	write list = @wheel
	guest ok = Yes

[printers]
	comment = All Printers
	path = /var/spool/samba
	guest ok = Yes
	printable = Yes
	browseable = No

[share]
	comment = Share Drive for CPAAA
	path = /home/share
	force group = staff
	read only = No
	create mask = 0770
	directory mask = 0770
	guest ok = Yes

[install]
	comment = Installation Programs
	path = /home/install
	force group = staff
	read only = No
	create mask = 0770



fozekizer wrote:

>sorry,
>been real busy of late. here's my smb.conf. someone please tell me if
>there's settings that are incorrect as far as setting samba up as a domain
>controller...i am still unable to log into samba via my win2k machine even
>though i've enabled plain text passwords. as i said before, i'm still new to
>the whole idea of samba so i'm not terribly sure what's correct.
># Samba config file created using SWAT
># from 1.1.4.50 (1.1.4.50)
># Date: 2002/04/10 13:13:53
>
># Global parameters
>[global]
>        workgroup = CHARLIEBSD
>        netbios name = KIZERBSD
>        server string = Samba Server
>        interfaces = dc0
>        encrypt passwords = No
>        log file = /var/log/samba/log.%m
>        max log size = 50
>        domain admin group = wheel
>        logon path = \\%N\homes\%U\profile
>        logon home = \\%N\homes\%U
>        domain logons = Yes
>        os level = 64
>        dns proxy = No
>        guest account =
>        hosts allow = 1.1.4.  12.239.166.99
>[ftp]
>        comment = ftp server file area
>        path = /var/spool/ftp/pub
>        read only = No
>
>[homes]
>        comment = Home Directories
>        path = /usr/home
>        read only = No
>
>[printers]
>        comment = All Printers
>        path = /var/spool/samba
>        printable = Yes
>        browseable = No
>
>[netlogon]
>        path = /var/log/samba/netlogon
>
>--charlie pelletier
>--litmus(mp3.com/litmus)
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CBB93AA.9090405>