[Samba] Samba 4.1.8 Importing automountmap ldif entries from existing OpenLDAP setup or ?

Rowland Penny rowlandpenny at googlemail.com
Fri Jun 27 12:18:53 MDT 2014


On 27/06/14 19:04, Jefferson Davis wrote:
> Thanks Rowland, I very much appreciate your quick replies.

No problem, except, well, can you please keep all messages on the samba list

>
> I'll give that a go.  Probably going off on a tangent here, but the 
> NIS stuff appears to be in AD, but for some reason on my groups the 
> unix attributes give me a "unwilling to perform" message before then 
> displaying the contents.

I get that from ADUC, but everything works, so I just ignore it ;-)

> I will take a look at the link (which I'd already skimmed, but knowing 
> me, "skimmed" is the operative word and I probably missed something 
> crucial).
>

Read and understand the link before you do anything, it works, but like 
anything to do with extending the AD schema, you must do it correctly.

Rowland
> Cheers,
>
> -Jeff
>
> ------------------------------------------------------------------------
> *From: *"Rowland Penny" <rowlandpenny at googlemail.com>
> *To: *samba at lists.samba.org
> *Sent: *Friday, June 27, 2014 10:43:58 AM
> *Subject: *Re: [Samba] Samba 4.1.8 Importing automountmap ldif entries 
> from existing OpenLDAP setup or ?
>
> On 27/06/14 18:34, Jefferson Davis wrote:
> > So, I have a test domain set up with rfc2307 = yes .
> >
> > Now I'm trying to figure out if a) my nfs automount data came over 
> from OpenLDAP, and b) if not, how to get it into samba 4's ldap, or 
> something else??? Do I need to rethink my approach?
> a) I doubt very much if the classicupgrade transferred the automount info.
> b) you need to extend the AD schema, see here:
> http://linuxcostablanca.blogspot.co.uk/2013_09_01_archive.html
>
> Rowland
>
> >
> > Mount locations are pretty consistent based on primary group/userid
> >
> > Needs to work on Linux.
> >
> > Existing entries look like this...
> >
> > # /u, auto.master, standard.k12.ca.us
> > dn: cn=/u,ou=auto.master,dc=standard,dc=k12,dc=ca,dc=us
> > objectClass: top
> > objectClass: automount
> > cn: /u
> > automountInformation: ldap:ou=auto_data,dc=standard,dc=k12,dc=ca,dc=us
> > description: use this if you want (useful for irix but thats another 
> story)
> >
> > # /net, auto.master, standard.k12.ca.us
> > dn: cn=/net,ou=auto.master,dc=standard,dc=k12,dc=ca,dc=us
> > objectClass: top
> > objectClass: automount
> > cn: /net
> > description: auto.master
> > automountInformation: file:/etc/auto.net
> >
> >
> > # jdavis, auto_data, standard.k12.ca.us
> > dn: cn=jdavis,ou=auto_data,dc=standard,dc=k12,dc=ca,dc=us
> > objectClass: automount
> > cn: jdavis
> > automountInformation: 
> -fstype=nfs,hard,intr,nodev,nosuid,nolock,noatime,rsize=
> > 32768,wsize=32768 scale.standard.k12.ca.us:/fs0/shares/Staff/jdavis
> >
> >
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
>
>
> -- 
>
> Jefferson K Davis
> Technology and Information Systems Manager
> Standard School District
> 1200 North Chester Ave
> Bakersfield, CA 93308
> 661.392.2110 ext 120 (office)
> http://district.standard.k12.ca.us <http://district.standard.k12.ca.us%20>
>
> District Users: Click here to report technology issues 
> <https://support.standard.k12.ca.us/otrs/customer.pl>
>
>



More information about the samba mailing list