Sorry for not getting back earlier – I was busy.

Yes, please do, I am wondering myself what was wrong.

Ondrej

 

From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Fabien CARRE
Sent: 28 September 2015 11:06
To: End-user discussions about the System Security Services Daemon <sssd-users@lists.fedorahosted.org>
Subject: Re: [SSSD-users] Make autofs work with Active Drectory

 

Just to let you know I deleted the maps and recreated them and now it works.

I don't quite understand why, I'll compare the ldb files later.

Thank you for your help

 

 

On 28 September 2015 at 10:28, Fabien CARRE <carre.fabien@gmail.com> wrote:

Hi,

I have noticed in the sssd cache (/var/lib/sss/db/cache_ad.mikdom.org.ldb) only this entry is present regarding autofs.

 

# record 1

dn: name=/homes\ ldap:cn\3Dauto.home\,ou\3Dautofs\,dc\3Dad\,mikdom\,dc\3Dorg,name=auto.master,cn=autofsmaps,cn=custom,cn=ad.mikdom.org,cn=sysdb

automountKey: /homes

name: /homes ldap:cn=auto.home,ou=autofs,dc=ad,mikdom,dc=org

objectClass: automount

automountInformation: ldap:cn=auto.home,ou=autofs,dc=ad,mikdom,dc=org

distinguishedName: name=/homes\ ldap:cn\3Dauto.home\,ou\3Dautofs\,dc\3Dad\,mik

 dom\,dc\3Dorg,name=auto.master,cn=autofsmaps,cn=custom,cn=ad.mikdom.org,cn=sy

 sdb

 

 

Is this normal according to you ? Also where does cn=autofsmaps,cn=custom come from ?

 

 

 

On 25 September 2015 at 16:01, Fabien CARRE <carre.fabien@gmail.com> wrote:

ldapsearch -xLLL -b 'ou=autofs,dc=ad,dc=mikdom,dc=org' -D 'cn=Administrator,cn=users,dc=ad,dc=mikdom,dc=org' -H ldap://192.168.200.245 -W

The output is attached.

 

On 25 September 2015 at 15:53, Ondrej Valousek <Ondrej.Valousek@s3group.com> wrote:

Hmm, very strange. Should work.

Could you paste output of ‘ldapsearch –h <your_dc> –b <autofs_search_base_here> (objectclass=*)’ – might need to add few params to get the ldif output.

O.

 

From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Fabien CARRE
Sent: Friday, September 25, 2015 2:47 PM


To: End-user discussions about the System Security Services Daemon <sssd-users@lists.fedorahosted.org>
Subject: Re: [SSSD-users] Make autofs work with Active Drectory

 

#

# /etc/nsswitch.conf

#

 

passwd:     files sss

shadow:     files sss

group:      files sss

#initgroups: files

#hosts:     db files nisplus nis dns

hosts:      files mdns4_minimal [NOTFOUND=return] dns

bootparams: nisplus [NOTFOUND=return] files

ethers:     files

netmasks:   files

networks:   files

protocols:  files

rpc:        files

services:   files sss

netgroup:   files sss

publickey:  nisplus

automount:  files sss

aliases:    files nisplus

 

 

#

#/etc/auto.master

#

 

+auto.master

 

On 25 September 2015 at 15:44, Ondrej Valousek <Ondrej.Valousek@s3group.com> wrote:

Ok, pls attach /etc/nsswitch.conf  and /etc/auto.master, too.

O.

 

From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Fabien CARRE
Sent: Friday, September 25, 2015 2:38 PM


To: End-user discussions about the System Security Services Daemon <sssd-users@lists.fedorahosted.org>
Subject: Re: [SSSD-users] Make autofs work with Active Drectory

 

Also 

systemctl status autofs

autofs.service - Automounts filesystems on demand

   Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)

   Active: active (running) since Fri 2015-09-25 15:35:43 CEST; 16s ago

  Process: 2633 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)

 Main PID: 2635 (automount)

   CGroup: /system.slice/autofs.service

           └─2635 /usr/sbin/automount --pid-file /run/autofs.pid

 

Sep 25 15:35:43 fedora-client2 automount[2635]: syntax error in map near [ mikdom ]

Sep 25 15:35:43 fedora-client2 systemd[1]: Started Automounts filesystems on demand.

 

On 25 September 2015 at 15:34, Fabien CARRE <carre.fabien@gmail.com> wrote:

automount -m 

 

autofs dump map information

===========================

 

global options: none configured

no master map entries found

 

 

On 25 September 2015 at 15:00, Ondrej Valousek <Ondrej.Valousek@s3group.com> wrote:

To me, it works just fine. Detects auto.master and even auto.home.

What does “automount –m” say?

O.

 

From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Fabien CARRE
Sent: Friday, September 25, 2015 1:39 PM
To: End-user discussions about the System Security Services Daemon <sssd-users@lists.fedorahosted.org>
Subject: Re: [SSSD-users] Make autofs work with Active Drectory

 

Hi,

Yes I will.

Sorry, I realised that afterwards.

 

On 25 September 2015 at 13:16, Jakub Hrozek <jhrozek@redhat.com> wrote:

On Fri, Sep 25, 2015 at 11:39:36AM +0200, Fabien CARRE wrote:
> Here is the log files

Hi,

thanks for sending the logs, but please consider compressing them next
time, they are getting pretty big (hundreds of kilobytes).

_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users

 

-----
 
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited (S3 Group). Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18.


_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users

 

 

-----
 
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited (S3 Group). Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18.


_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users

 

-----
 
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited (S3 Group). Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18.


_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users

 

 

 

-----

The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited (S3 Group). Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18.