[Fwd: Re: [LDAP-interop] Nfs and Openldap]

Buchan Milne <[email protected]> Thu, 26 May 2005 11:52:18 +0200
Newsgroups gmane.linux.mandrake.server
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For people who run autofs ... althoug I would prefer a better method (ie
LDAP filter for autofs to use) I wasn't aware autofs would expand
variables in an LDAP automount map:

- -------- Original Message --------
Subject: Re: [LDAP-interop] Nfs and Openldap
Date: Wed, 25 May 2005 16:36:55 +0100
From: Greg Matthews <[email protected]>
Reply-To: [email protected],   OpenLDAP interoperability list
<[email protected]>
Organization: iTSS
To: OpenLDAP interoperability list <[email protected]>
References: <[email protected]>

On Tue, 2005-05-24 at 18:39 +0000, Manel Euro wrote:
> Hello,
> 
> I have a single ldap database for all locations in my company.
> A server in Location A acts as Location-A's nfs server and a server in 
> Location B acts as Location-B's nfs server.
> 
> Users from LocationA should get their home directory from the local NFS 
> server and the same should happen with users from location B.
> 
> However, in my current test configuration I have created ou=auto.master 
> which holds the following entries:
> 
> dn: cn=/home2,ou=auto.master,dc=ex,dc=com
> objectClass: automount
> automountInformation: ldap:serverLocationB.ex.com:ou=auto.home2,dc=ex,dc=com
> cn: /home2
> 
> dn: cn=/home,ou=auto.master,dc=ex,dc=com
> objectClass: automount
> automountInformation: ldap:serverLocationA.ex.com:ou=auto.home,dc=ex,dc=com
> cn: /home

set automountInformation: ldap:server$LOCATION.ex.com:ou....

and set $LOCATION on the clients (hint: if using redhat set this
variable in /etc/sysconfig/autofs). We use a similar method to
differentiate mounts by architecture.

GREG

- --
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford

_______________________________________________
LDAP-interop mailing list
[email protected]
http://lists.fini.net/mailman/listinfo/ldap-interop

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng          RHCE (803004789010797),LPIC-1 (LPI000074592)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFClZxRrJK6UGDSBKcRAhiqAKDLIve8vHxCWrDjvndTJwuzG1nFwwCeP6rJ
7tbj85yDWRfmYqcMj4HMa5o=
=6YKV
-----END PGP SIGNATURE-----