Hey Everyone,

Is there a way to change a users password from the command line in OES?
I tried passwd but receive the following error...

test@myhost users/test> passwd
Changing password for test.
ldapssl_init: Bad file descriptor
passwd: Error in service module
test@myhost users/test>

I also receive the error in /var/log/messages

Jun 28 14:37:14 myhost passwd[479]: user FDN got : cn=test,o=mytree
Jun 28 14:37:14 myhost passwd[479]: user FDN got : cn=test,o=mytree
Jun 28 14:37:14 myhost passwd[479]: pam_ldap_init(): ldap handle is NULL
from ldapssl_init
Jun 28 14:37:14 myhost passwd[479]: PAM_NAM: _nds_ldap_init() failed to
get LDAP handle, error 3.
Jun 28 14:37:14 myhost passwd[479]: pam_sm_chauthtok():ldap_init failed
Jun 28 14:37:14 myhost passwd[479]: User test: Error in service module

I thought that the pam module "passwd" should forward the request to
eDir but apparently it cannot... Here is my /etc/pam.d/passwd file

auth sufficient /lib/security/pam_nam.so
account sufficient /lib/security/pam_nam.so
password sufficient /lib/security/pam_nam.so
session optional /lib/security/pam_nam.so
#%PAM-1.0
auth required pam_unix2.so nullok
account required pam_unix2.so
password required pam_pwcheck.so nullok
password required pam_unix2.so nullok use_first_pass use_authtok
#password required pam_make.so /var/yp
session required pam_unix2.so
~

Anyone know how to change a users password from the command line?

Thanks!

-scz