Hi all,
I am getting this error when I start winbindd and I don't know how to fix it. I set the private dir = /usr/local/samba/private in my smb.conf. I don't know if it can't find the secrets.tdb or what...
Any help is much appreciated! Here is the output I get when I run winbindd -d 3 i, and below it is my smb.conf
winbindd version 3.0.0beta2 started.
Copyright The Samba Team 2000-2003
lp_load: refreshing parameters
Initialising global parameters
params.c
m_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[global]"
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
adding IPC service
adding IPC service
added interface ip=xx.xx.xx.xx bcast=xx.xx.xx.xx nmask=xx.xx.xx.xx
added interface ip=xx.xx.xx.xx bcast=xx.xx.xx.xx nmask=xx.xx.xx.xx
smbldap_open_connection: connection opened
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
LDAP search failed: Invalid credentials
Query was: , (objectclass=sambaGroupMapping)
Unable to open passdb
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
scanning trusted domain list
----------------------SMB.CONF--------------------------------
[global]
# separate domain and username with '+', like DOMAIN+username
winbind separator = +
# use uids from 10000 to 20000 for domain users
idmap uid = 10000-20000
# use gids from 10000 to 20000 for domain groups
idmap gid = 10000-20000
# allow enumeration of winbind users and groups
winbind enum users = yes
winbind enum groups = yes
# give winbind users a real shell
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
netbios name = mycomputer
workgroup = MYDOMAIN
os level = 2
security = domain
password server = *
time server = yes
unix extensions = yes
encrypt passwords = yes
log level = 1
syslog = 0
printing = CUPS
printcap name = CUPS
private dir = /usr/local/samba/private
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = no
wins server = xx.xx.xx.xx;xx.xx.xx.xx
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[homes]
comment = Home Directories
valid users = %S
browseable = no
writeable = yes
create mask = 0640
directory mask = 0750
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775