public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] AutoFS with LDAP
@ 2008-10-19 14:13 Mike
  2008-10-20  9:08 ` Fred Elno
  0 siblings, 1 reply; 4+ messages in thread
From: Mike @ 2008-10-19 14:13 UTC (permalink / raw
  To: gentoo-user

Folks,

Has anyone used AutoFS with the automounter information coming from
LDAP?

I have a LDAP server with the necessary maps setup.  I have a number of
LDAP clients on Debian successfully using this.  However, I cannot get
this to work with Gentoo.  When I try to start autofs I get a message
saying "failed".  I have also tried starting by handing using the
automount command that is running on my Debian box, however, it just
exits.  The /usr/lib/autofs/autofs-ldap-auto-master returns the correct
information.  However, automounter will not start.

Mike.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] AutoFS with LDAP
  2008-10-19 14:13 [gentoo-user] AutoFS with LDAP Mike
@ 2008-10-20  9:08 ` Fred Elno
  2008-10-20 12:31   ` Mike
  0 siblings, 1 reply; 4+ messages in thread
From: Fred Elno @ 2008-10-20  9:08 UTC (permalink / raw
  To: gentoo-user

Yes I also use autofs with openldap.
My setup is as this: the PDC is running on a gentoo box and provide system authentification with openldap to windows
client and also gentoo client, I also use samba for filesharing between client and server.
Because I don't want my users being able to see at other users home directory I use autofs which  mount only user
logged in home directory on the client.

I am not a specialist in Openldap so I don't know if I will be able to help you, but if it can help, I can give you
this link :  http://www.drakonix.fr/index.php?id=gentoo&tab=21&pid=26#t03

It point to my setup documentation and perhaps you will found usefull information.
You will also find some links to other wiki's and doc which talk about this subject.

Oh I forgot it is written in French but all the command used and file configuration are written
And excuse me for my poor English ;)

Hope it's help

Fred

> Folks,
>
> Has anyone used AutoFS with the automounter information coming from
> LDAP?
>
> I have a LDAP server with the necessary maps setup.  I have a number of
> LDAP clients on Debian successfully using this.  However, I cannot get
> this to work with Gentoo.  When I try to start autofs I get a message
> saying "failed".  I have also tried starting by handing using the
> automount command that is running on my Debian box, however, it just
> exits.  The /usr/lib/autofs/autofs-ldap-auto-master returns the correct
> information.  However, automounter will not start.
>
> Mike.
>
>


http://www.drakonix.fr




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] AutoFS with LDAP
  2008-10-20  9:08 ` Fred Elno
@ 2008-10-20 12:31   ` Mike
  2008-10-20 22:30     ` [gentoo-user] AutoFS with LDAP ***SOLVED*** Mike
  0 siblings, 1 reply; 4+ messages in thread
From: Mike @ 2008-10-20 12:31 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 20, 2008 at 11:08:42AM +0200, Fred Elno wrote:
> Yes I also use autofs with openldap.
> My setup is as this: the PDC is running on a gentoo box and provide system authentification with openldap to windows
> client and also gentoo client, I also use samba for filesharing between client and server.
> Because I don't want my users being able to see at other users home directory I use autofs which  mount only user
> logged in home directory on the client.
> 
> I am not a specialist in Openldap so I don't know if I will be able to help you, but if it can help, I can give you
> this link :  http://www.drakonix.fr/index.php?id=gentoo&tab=21&pid=26#t03
> 
> It point to my setup documentation and perhaps you will found usefull information.
> You will also find some links to other wiki's and doc which talk about this subject.
> 
> Oh I forgot it is written in French but all the command used and file configuration are written
> And excuse me for my poor English ;)
> 
> Hope it's help
> 
> Fred

Thanks Fred,

I think I found the answer here: "[bug on amd64 try this: $
CFLAGS="-DLDAP_DEPRECATED" emerge autofs]".  It's a 64bit system, so I
will try remerging it with LDAP_DEPRECATED and see what happenes.

Mike.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] AutoFS with LDAP ***SOLVED***
  2008-10-20 12:31   ` Mike
@ 2008-10-20 22:30     ` Mike
  0 siblings, 0 replies; 4+ messages in thread
From: Mike @ 2008-10-20 22:30 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 20, 2008 at 01:31:00PM +0100, Mike wrote:
> 
> Thanks Fred,
> 
> I think I found the answer here: "[bug on amd64 try this: $
> CFLAGS="-DLDAP_DEPRECATED" emerge autofs]".  It's a 64bit system, so I
> will try remerging it with LDAP_DEPRECATED and see what happenes.
> 
> Mike.

Thanks again Fred.  I'd tried in the past with the ldap USE flag.  This
time I tried "CFLAGS="-DLDAP_DEPRECATED" emerge autofs" and it compiled
and worked!

Thanks again,
Mike.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-20 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-19 14:13 [gentoo-user] AutoFS with LDAP Mike
2008-10-20  9:08 ` Fred Elno
2008-10-20 12:31   ` Mike
2008-10-20 22:30     ` [gentoo-user] AutoFS with LDAP ***SOLVED*** Mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox