[389-users] automount via LDAP/NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to automount via LDAP/NFS following
http://directory.fedoraproject.org/wiki/Howto:Automount

I'm able to login but not automount (i've already restarted autofs and nscd).

Message is:

!1004 $ ssh 192.168.0.46
jmancuso@xxxxxxxxxxxx's password:
Last login: Thu Nov 18 19:14:41 2010 from xxxxxx.net
Could not chdir to home directory /export/home/jmancuso: No such file
or directory

Why does it say "/export/home/jmancuso". In LDAP I specified
"/home/jmancuso"... unless it's the NFS:/export/home/jmancuso. strange

See below:

dn: ou=auto.master,dc=mycompany,dc=net
ou: auto.master
objectClass: top
objectClass: automountMap

dn: cn=/home,ou=auto.master,dc=mycompany,dc=net
objectClass: automount
cn: /home
automountInformation: ldap:ldap1.mycompany.net:ou=auto.home,dc=mycompany,dc=net

dn: ou=auto.home,dc=mycompany,dc=net
ou: auto.home
objectClass: top
objectClass: organizationalUnit
objectClass: automountmap

dn: cn=jmancuso,ou=auto.home,dc=mycompany,dc=net
cn: jmancuso
objectClass: automount
automountInformation: -fstype=nfs nfs.mycompany.net:/home/jmancuso


/etc/sysconfig/autofs:
MAP_OBJECT_CLASS="automountMap"
ENTRY_OBJECT_CLASS="automount"
MAP_ATTRIBUTE="ou"
ENTRY_ATTRIBUTE="cn"
VALUE_ATTRIBUTE="automountInformation"


/var/log/messages:
Nov 18 19:10:59 SandBox1 automount[31848]: Starting automounter
version 5.0.1-0.rc2.131.el5_4.1, master map auto.master
Nov 18 19:10:59 SandBox1 automount[31848]: using kernel protocol version 5.00
Nov 18 19:10:59 SandBox1 automount[31848]: lookup_nss_read_master:
reading master files auto.master
Nov 18 19:10:59 SandBox1 automount[31848]: parse_init: parse(sun):
init gathered global options: (null)
Nov 18 19:10:59 SandBox1 automount[31848]: lookup_read_master:
lookup(file): read entry /misc
Nov 18 19:10:59 SandBox1 automount[31848]: lookup_read_master:
lookup(file): read entry /net
Nov 18 19:10:59 SandBox1 automount[31848]: lookup_read_master:
lookup(file): read entry +auto.master
Nov 18 19:10:59 SandBox1 automount[31848]: lookup_nss_read_master:
reading master files auto.master
Nov 18 19:10:59 SandBox1 automount[31848]: parse_init: parse(sun):
init gathered global options: (null)
Nov 18 19:10:59 SandBox1 automount[31848]: lookup_nss_read_master:
reading master ldap auto.master
Nov 18 19:10:59 SandBox1 automount[31848]: parse_server_string:
lookup(ldap): Attempting to parse LDAP information from string
"auto.master".
Nov 18 19:10:59 SandBox1 automount[31848]: parse_server_string:
lookup(ldap): mapname auto.master
Nov 18 19:10:59 SandBox1 automount[31848]: parse_ldap_config:
lookup(ldap): ldap authentication configured with the following
options:
Nov 18 19:10:59 SandBox1 automount[31848]: parse_ldap_config:
lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1,
sasl_mech: (null)
Nov 18 19:10:59 SandBox1 automount[31848]: parse_ldap_config:
lookup(ldap): user: (null), secret: unspecified, client principal:
(null) credential cache: (null)
Nov 18 19:10:59 SandBox1 automount[31848]: do_bind: lookup(ldap):
auth_required: 1, sasl_mech (null)
Nov 18 19:11:00 SandBox1 automount[31848]: do_bind: lookup(ldap): ldap
anonymous bind returned 0
Nov 18 19:11:00 SandBox1 automount[31848]: get_query_dn: lookup(ldap):
found query dn ou=auto.master,dc=mycompany,dc=net
Nov 18 19:11:00 SandBox1 automount[31848]: parse_init: parse(sun):
init gathered global options: (null)
Nov 18 19:11:00 SandBox1 automount[31848]: do_bind: lookup(ldap):
auth_required: 1, sasl_mech (null)
Nov 18 19:11:00 SandBox1 automount[31848]: do_bind: lookup(ldap): ldap
anonymous bind returned 0
Nov 18 19:11:00 SandBox1 automount[31848]: lookup_read_master:
lookup(ldap): searching for "(objectclass=automount)" under
"ou=auto.master,dc=mycompany,dc=net"
Nov 18 19:11:00 SandBox1 automount[31848]: lookup_read_master:
lookup(ldap): examining entries
Nov 18 19:11:00 SandBox1 automount[31848]: master_do_mount: mounting /misc
Nov 18 19:11:00 SandBox1 automount[31848]: automount_path_to_fifo:
fifo name /var/run/autofs.fifo-misc
Nov 18 19:11:00 SandBox1 automount[31848]: lookup_nss_read_map:
reading map file /etc/auto.misc
Nov 18 19:11:00 SandBox1 automount[31848]: parse_init: parse(sun):
init gathered global options: (null)
Nov 18 19:11:00 SandBox1 automount[31848]: mounted indirect on /misc
with timeout 300, freq 75 seconds
Nov 18 19:11:00 SandBox1 automount[31848]: st_ready: st_ready(): state
= 0 path /misc
Nov 18 19:11:00 SandBox1 automount[31848]: master_do_mount: mounting /net
Nov 18 19:11:00 SandBox1 automount[31848]: automount_path_to_fifo:
fifo name /var/run/autofs.fifo-net
Nov 18 19:11:00 SandBox1 automount[31848]: lookup_nss_read_map:
reading map hosts (null)
Nov 18 19:11:00 SandBox1 automount[31848]: parse_init: parse(sun):
init gathered global options: (null)
Nov 18 19:11:00 SandBox1 automount[31848]: mounted indirect on /net
with timeout 300, freq 75 seconds
Nov 18 19:11:00 SandBox1 automount[31848]: st_ready: st_ready(): state
= 0 path /net
Nov 18 19:11:00 SandBox1 automount[31848]: master_do_mount: mounting /home
Nov 18 19:11:00 SandBox1 automount[31848]: automount_path_to_fifo:
fifo name /var/run/autofs.fifo-home
Nov 18 19:11:00 SandBox1 automount[31848]: lookup_nss_read_map:
reading map ldap
ldap:ldap1.mycompany.net:ou=auto.home,dc=mycompany,dc=net
Nov 18 19:11:00 SandBox1 automount[31848]: parse_server_string:
lookup(ldap): Attempting to parse LDAP information from string
"ldap:ldap1.mycompany.net:ou=auto.home,dc=mycompany,dc=net".
Nov 18 19:11:00 SandBox1 automount[31848]: parse_server_string:
lookup(ldap): server "ldap://ldap1.mycompany.net/";, base dn
"ou=auto.home,dc=mycompany,dc=net"
Nov 18 19:11:00 SandBox1 automount[31848]: parse_ldap_config:
lookup(ldap): ldap authentication configured with the following
options:
Nov 18 19:11:00 SandBox1 automount[31848]: parse_ldap_config:
lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1,
sasl_mech: (null)
Nov 18 19:11:00 SandBox1 automount[31848]: parse_ldap_config:
lookup(ldap): user: (null), secret: unspecified, client principal:
(null) credential cache: (null)
Nov 18 19:11:00 SandBox1 automount[31848]: do_bind: lookup(ldap):
auth_required: 1, sasl_mech (null)
Nov 18 19:11:00 SandBox1 automount[31848]: do_bind: lookup(ldap): ldap
anonymous bind returned 0
Nov 18 19:11:00 SandBox1 automount[31848]: get_query_dn: lookup(ldap):
found query dn ou=auto.home,dc=mycompany,dc=net
Nov 18 19:11:00 SandBox1 automount[31848]: parse_init: parse(sun):
init gathered global options: (null)
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux