I have a system that isn't an IPA client but would like to get it to
mount some of the NFS share that IPA clients are using. The problem
is, the IPA clients are using kerberos to access this NFS shares.
Since this system isn't in the REALM, that isn't possible.
So I am trying to dump the map and then use a script to mount these
directories without kerberos and this is where I am struggling with
the data format.
ldapsearch -Y GSSAPI -h ipa2.eng.example.com
"cn=automount,dc=eng,dc=example,dc=com" > `hostname`_autofs_maps.txt
When I however attempt to search though the resulting autofs dumped
maps, I have noticed that there are lines that break after the 78
automountInformation: -fstype=nfs4,sec=krb5,intr barium213.eng.example.com:/e
Is there a way of dumping the maps without the above line break? It
is problematic as I intend to process the file through a script.
Above is a sample of a line in the resulting dump.