[Samba] password change failed, but actually worked
Walter Harms
walterharms at shaw.ca
Tue Apr 26 02:38:23 GMT 2005
I'm setting up an NT domain style PDC on a Mandrake 9.2 system running
Samba 2.28.
I'm able to do everything I need to do except to change password on a NT
box AND have
it indicate that it did change.
When I do an alt-ctrl-del and select change password, I get the
following error.
"The system cannot change your password now because the domain <domainname>
is not available"
However, if I log out and log back in again, my domain password did change!
My smb.conf file looks like this...
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/10/16 12:21:45
# Global parameters
[global]
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
# pam password change = yes
passwd chat debug = Yes
encrypt passwords = yes
# obey pam restrictions = yes
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
unix password sync = yes
passwd program = /usr/bin/passwd %u
#
server string = Samba Server %v
domain logons = Yes
printing = cups
logon script = logon.cmd
wins support = Yes
netbios name = YEW
logon home = \\%L\export\%u
domain master = Yes
security = user
printcap name = cups
map to guest = Bad User
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
workgroup = <hidden>
os level = 64
logon drive = H:
domain admin group = root
log file = /var/log/samba/log.%m
log level = 3
dns proxy = No
printer admin = @adm
logon path = \\%L\profiles\%u
username map = /etc/samba/user.map
debug level = 3
[netlogon]
public = yes
path = /usr/local/samba/lib/netlogon
browseable = no
write list = ntadmin
[profiles]
path = /usr/local/samba/ntprofile
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client
side printer drivers.
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = Yes
Any Suggestions?
Walter
More information about the samba
mailing list