I assume you are using LDAP as your password server for Samba ?

If you do, use LDAP Account Manager(LAM) from,

http://lam.sourceforge.net

to maintain Samba Accounts. I use  LAM to enter
accounts and modify them; and I use PhpLdapAdmin
to view these accounts because it has tools to display
the details of accounts. My Samba works well with
openLDAP using LAM.

I've used PhpLdapAdmin to maintain Samba Accounts
before, but the fields do not correspond accordingly. And
I have similar problems as you do, ldapsearch freezes. I
did not bother to investigate why. I do not have much
time, I suppose.

I use openldap-2.1.xx.  I also have problems similar to
what you have describe when using openldap-2.2.xx.
List on [EMAIL PROTECTED] suggested
to recompile all my other software related to or
interacting with openldap-2.2.xx. Did not have time to test.

Alexander Samad wrote:

On Wed, Aug 25, 2004 at 08:34:09PM +1000, O Plameras wrote:


I'd do two things to check:

1. Check that your LDAP programs or systems are OK,
by doing:

ldapwhoami -x


anonymous



2. Check the permissions on you LDAP DB directory.

What change did you do ?


I was changing the email attribute on a record


the permissions look okay, strange it gets some way through and then stops!

Alex



Alexander Samad wrote:



Hi

I seem to have run into a bit of ldap problem, I was trying to do a
change to my ldap database and it froze the command did not seem to
complete. I was using phpldapadmin to modify a record

Since then I have had problems doing anything against the ldap db.

eg ldapsearch -x - stop 1/3 of the way through in the same spot!
slapcat - stop and freezes in the same spot

slapindex gets stuck as well


when I have done a strace agains these processes (slapindex, slapcat), they seem to be pumping out schd_yeild and ps has then up s R

I have am wondering what tools there are to look at the bdbm database
files, I had a quick look at the db4_xxxx files but they haven't been
much help.

Currently looking for a backup of the data, I have a replicated site
(fingers crossed), but I used to backup the raw files, but it seems like
I have a backup of dud files !

Alex











-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to