Hi Samba Folks,
When I comment out the following line
unix password sync = yes
from my smb.conf. I get the following error:
Error: the 'passwd program' (/usr/bin/passwd %u) requires a '%u'
parameter.
When I comment the above line, I get no error, although
passwd program /usr/bin/passwd %u
exists in the smb.conf.
My smb.conf is as follows:
#/etc/samba/smb.conf
#Samba configurstion file als PDC
[global]
workgroup = office-santomis
security = user
netbios name = simpson
server string = Samba PDC running %v
;PDC Master and Browser setting
passdb backend = smbpasswd
os level = 64
prefered master = yes
local master = yes
domain master = yes
;security and logging settings
security = user
username map = /etc/samba/smbusers
domain logons = yes
log file = /var/log/samba %m
log level = 2
max log size = 50
;user profiles and home directory
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
#logon script = netlogon.bat
wins support = yes
smb passwd file = /var/lib/samba/private/smbpasswd
;sync unix passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*passwd* %n\n *Enter*
new*UNIX*passwd* %n\n *Retype*new*UNIX*passwd* %n\n *passwd*successfully*cha
nged*
strict locking = yes
time server = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
interfaces = lo eth0
#bind interfaces only = yes
#host allowed = 127.0.0.1 192.168.178.?
;Add user script for new machnies
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -
M %u
[netlogon]
comment = Domain login service
path = /home/samba/netlogon
public = no
readonly = yes
browsable = no
[home]
comment = Hove Directories
path = %H
browsable = no
writeable = yes
[profiles]
path=/home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201