chat script under FreeBSD

Richard Furda rfurda at best.ca
Mon Sep 13 08:57:44 GMT 1999


	Hello,

I am running FreeBSD 4.0 and Samba version 2.0.4b. I am trying
get my smbpasswd+samba password to synchronize. At this point
when I run smbpasswd <user> as root it will change the samba password
and update the UNIX password as well. Problem is, that a user running
smbpasswd at his shell prompt or using Passwords (from Control Panel)
will not change the smbpassword and not update the UNIX password.
My smb.conf is as follows:

[global]
interfaces = 10.254.254.1/255.255.255.0
hosts allow = 127.0.0.1 10.254.254.0/255.255.255.0
remote announce = 10.254.254.255/BEST

os level = 65
server string = Powered by FreeBSD

workgroup = BEST
netbios name = DAEMON
wins support = yes
browseable = Yes
browse list = Yes
domain master = Yes
preferred master = Yes
local master = Yes
domain logons = yes
logon script = logon.bat

socket options = TCP_NODELAY
getwd cache = yes
read raw = yes
max xmit = 32768
read size = 65536
oplocks = True
read prediction = True
locking = true

password level = 16
security = user
encrypt passwords = yes
smb passwd file  =  /usr/local/samba/private/smbpasswd
unix password sync = True
passwd program = /usr/bin/passwd -l %u
passwd chat = *\n*ew\spassword* %n\n *ew\spassword* 
%n\n*updating\sthe\sdatabase...\npasswd:\sdone\n
passwd chat debug = True

debug level = 3
log file = /var/log/samba.log

case sensitive = no
default case = lower
mangle case = no
preserve case = yes
short preserve case = yes
hide dot files = yes
hide files = '.*'

[homes]
browseable = no
comment = %u's home
create mode = 0755
force create mode = 0755
path = %H
public = no
writeable = yes
hide dot files = yes

[netlogon]
comment = Samba Network Logon Service
path = /usr/local/samba/netlogon
browseable = no
guest ok = no
locking = no
case sensitive = no
share modes = no


Thanks,
Richard <rfurda at best.ca>



More information about the samba mailing list