[Samba] smbpasswd !!?!
Alexander Varga
AlexanderVarga at usske.sk
Tue Jun 29 00:05:33 GMT 2004
please help me.
Why I cannot create a user with smbpasswd without having this username in /etc/passwd???
###################
bash-2.05# smbpasswd -a testaccount
New SMB password:
Retype new SMB password:
Failed to initialise SAM_ACCOUNT for user testaccount.
Failed to modify password entry for user testaccount
bash-2.05#
##############
my global in smb.conf
[global]
workgroup = J9_C
server string = %h server (Samba %v)
dns proxy = no
log file = /usr/local/samba/var/log.%m
passdb backend = tdbsam smbpasswd
invalid users = root
passwd program = /bin/passwd %u
socket options = TCP_NODELAY
I compilled my samba using
./configure --prefix=/usr/local/samba --with-pam --with-pam_smbpass --with-acl-support
and made a solaris package.
More information about the samba
mailing list