You are not logged in.

#1 2010-03-07 22:07:28

pevgeny
Member
Registered: 2010-03-07
Posts: 1

Problem with ldap + autofs + nfs

Hi, I have a slight problem with ldap + autofs + nfs. smile

Does not work automount /HOME on nfs through ldap server. Does not read from auto.master in ldap tree. Having edited /etc/autofs/auto.master, having specified mount — works.

/etc/auto.master (nsswitch.conf is automounter: files )

/home  ldap:hostname.domain.com:ou=auto.home,dc=mydom,dc=com

I Have installed following packages:
yaourt -S autofs-eyemzpatched nss_ldap pam_ldap nfs_utils openldap

Setting up the client:

/etc/nsswitch.conf and nsswitch.ldap add an entry for automount:

...
automount: files ldap
...

rc.conf

MODULES=(autofs4)

DAEMONS=(... network autofs nfs-common rpcbind netfs ...)

Openldap auto.master not work. neutral

Offline

#2 2010-10-27 19:33:08

Phifo
Member
Registered: 2009-02-03
Posts: 3

Re: Problem with ldap + autofs + nfs

I have the same problem. Nobody known how solve it? :-(

Offline

#3 2010-10-27 20:11:50

Saint
Member
From: Chile
Registered: 2008-10-23
Posts: 2
Website

Re: Problem with ldap + autofs + nfs

Same problem here.


Let's share the wisdom!

Offline

#4 2010-11-03 21:47:08

wazow
Member
From: Europe
Registered: 2008-11-11
Posts: 39

Re: Problem with ldap + autofs + nfs

This might be completely unrelated (or may be?).  After a recent upgrade, perhaps yesterday, my ldap server no longer starts. I use it independently of autofs and nfs, just as an address book.  So it appears to me that this is purely an openldap issue.

Offline

#5 2010-11-03 21:48:35

wazow
Member
From: Europe
Registered: 2008-11-11
Posts: 39

Re: Problem with ldap + autofs + nfs

A quick investigation points me to an incompatible upgrade of openldap:

bdb_db_open: database "o=wasowski.org": dbenv_open(/home/openldap/openldap-data).
bdb(o=wasowski.org): Program version 5.1 doesn't match environment version 4.8
bdb_db_open: database "o=wasowski.org" cannot be opened, err -30969. Restore from backup!
====> bdb_cache_release_all
bdb(o=wasowski.org): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_close: database "o=wasowski.org": txn_checkpoint failed: Invalid argument (22).
backend_startup_one (type=bdb, suffix="o=wasowski.org"): bi_db_open failed! (-30969)

So I am setting off to see how I can upgrade my database.

Offline

Board footer

Powered by FluxBB