tag:blogger.com,1999:blog-1479824033506250875.post6102852293835756591..comments2022-04-04T02:04:07.405-07:00Comments on What I Know About Linux That You May Not Know: How to configure autofs maps in LDAP using different schemas?Sadique Puthenhttp://www.blogger.com/profile/15174000939443129488noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-1479824033506250875.post-32676574375283930122021-08-11T22:04:42.321-07:002021-08-11T22:04:42.321-07:00Hi,
I used Schema-3 which is by default available...Hi,<br /><br />I used Schema-3 which is by default available in Oracle unified Directory.<br /><br />It is mentioned in the post, "The only thing needed locally is the below entry in /etc/auto.master which is there in all RHEL5 systems by default..<br /><br />+auto.master<br /><br /><br /><br />I am using SSSD, login is working and home directory is mounted only if we mention mountpoint in auto.master.<br /><br /><br />Automounts maps are not getting pulled from LDAP. Can help on this.<br /><br /><br /><br /><br />AGRhttps://www.blogger.com/profile/01538752519134651269noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-86125500369032148872014-04-16T15:46:19.603-07:002014-04-16T15:46:19.603-07:00This may be the solution I was looking for to conv...This may be the solution I was looking for to convert my rfc2307 schema to rfv2307bis to make it "smell" more like AD to vendor products that think AD IS LDAP.Jeffhttps://www.blogger.com/profile/14504615411534962862noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-90294512576557300642014-04-02T12:55:55.702-07:002014-04-02T12:55:55.702-07:00Sadique,
Hello, do you have anything that works w...Sadique,<br /><br />Hello, do you have anything that works with CentOS-6.5? I assume that 389-ds might be a slight difference, but it appears that implementing autofs configurations through LDAP on CentOS-6.5 is updated in syntax.<br /><br />I can't find the updated syntax yet.<br /><br />With CentOS-6.5 and attempting the steps in these instructions, the ldapadd complains about <b><i>missing attribute "ou" required by object class "automountMap"</i></b>.<br /><br />I don't know if that is a CentOS-6 or a 389-ds difference from your RHES-5.3 and OpenLDAP setup.Anonymoushttps://www.blogger.com/profile/17009001304416013692noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-13688498156099960122014-04-02T12:55:04.211-07:002014-04-02T12:55:04.211-07:00Hello, do you have anything that works with CentOS...Hello, do you have anything that works with CentOS-6.5? I assume that 389-ds might be a slight difference, but it appears that implementing autofs configurations through LDAP on CentOS-6.5 is updated in syntax.<br /><br />I can't find the updated syntax yet.<br /><br />With CentOS-6.5 and attempting the steps in these instructions, the ldapadd complains about <b><i>missing attribute "ou" required by object class "automountMap"</i></b>.<br /><br />I don't know if that is a CentOS-6 or a 389-ds difference from your RHES-5.3 and OpenLDAP setup.Anonymoushttps://www.blogger.com/profile/17009001304416013692noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-33199610252919302452012-03-29T23:24:22.057-07:002012-03-29T23:24:22.057-07:00Not trivial. You should have to use direct mount v...Not trivial. You should have to use direct mount via autofs to /home/userid instead of indirect mount. AFAIK, it's not possible to override via indirect mount since adding /home as indirect mount will hide the underlying local filesystem.Sadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-81749129620972352682012-03-29T18:49:09.984-07:002012-03-29T18:49:09.984-07:00Great post!
I wonder how could I override autofs t...Great post!<br />I wonder how could I override autofs to coexist with local homes that are on same /home/ path. I need local and LDAP users to be able to have /home/userid as path for they homes.zensuitehttps://www.blogger.com/profile/06537761407201129363noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-47696155317387196952010-08-22T09:19:26.994-07:002010-08-22T09:19:26.994-07:00Excellent information Sadique. Must thank you! as ...Excellent information Sadique. Must thank you! as it is very useful. <br />Good job, God bless.upenhttps://www.blogger.com/profile/17627947403082893037noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-90906117063707704652010-03-07T23:50:39.322-08:002010-03-07T23:50:39.322-08:00James,
Yes.James,<br /><br />Yes.Sadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-14449996454679926322010-03-07T21:48:55.522-08:002010-03-07T21:48:55.522-08:00Very nice info Sadique.
Will the version 3 schema ...Very nice info Sadique.<br />Will the version 3 schema allow for SUN Sol10 clients to use these maps?<br /><br />Thanks<br />JimmyUnknownhttps://www.blogger.com/profile/08838967327022837934noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-19706518398631512512009-12-08T10:14:44.019-08:002009-12-08T10:14:44.019-08:00I had two mistakes
the line
/- ldap:10.10.5...I had two mistakes<br />the line <br /><br />/- ldap:10.10.53.248:ou=auto.master,dc=dms,dc=local,dc=cc<br />in auto.master<br />and checking with df<br /><br />thank youUnknownhttps://www.blogger.com/profile/02181239236862837162noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-16347833793758288562009-12-08T09:30:24.315-08:002009-12-08T09:30:24.315-08:00What is the version of autofs? What error message ...What is the version of autofs? What error message is getting while you turn on debugging?<br /><br />Note that you have to have the equivalent of the below ldap entry first in auto.master map.<br /><br />dn: cn=/-,ou=auto.master,dc=example,dc=com<br />objectClass: top<br />objectClass: automount<br />cn: /-<br />automountInformation: auto.directSadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-29837448626683227122009-12-08T08:49:55.018-08:002009-12-08T08:49:55.018-08:00Hi
I am able to have working the home directory bu...Hi<br />I am able to have working the home directory but not the auto.direct<br />dn: <br /><br />ou=auto.direct,dc=dms,dc=local,dc=cc<br />objectClass: top<br />objectClass: automountMap<br />ou: auto.direct<br /><br />dn: cn=/direct-mnt,ou=auto.direct,dc=dms,dc=local,dc=cc<br />objectClass: top<br />objectClass: automount<br />cn: /direct-mnt<br />automountInformation: -fstype=nfs,rw 10.10.53.101:/usr/local/F8<br /><br />What I am doing wrong?Unknownhttps://www.blogger.com/profile/02181239236862837162noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-20111179781657682842009-12-04T08:16:13.085-08:002009-12-04T08:16:13.085-08:00autofs2.schema and autofs3.schema may not coexist....autofs2.schema and autofs3.schema may not coexist. Please remove the first one!Sadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-27945364681443484262009-12-04T07:07:09.021-08:002009-12-04T07:07:09.021-08:00Thanks much for your post. However, I am confused...Thanks much for your post. However, I am confused as to when to use schema 3 and why.<br /><br />If I use your schema 3 file, it fails to start on my openldap server running on RHES V5.3 as follows:<br /><br />Checking configuration files for slapd: /etc/openldap/schema/autofs3.schema: line 21: Inconsistent duplicate attributeType: "automountInformation"<br />slaptest: bad configuration file!<br /><br />I have been working with schema 2 but have yet to get autofs v4 to accept the home maps despite the fact that I see them downloading from the ldap server. <br /><br />Can you suggest a futher debugging method ?<br /><br />Thanks,<br />Alalicausehttps://www.blogger.com/profile/01732892601882921574noreply@blogger.com