samba 3.0 / idmap in ADS ?
Leandro Ariel Gomez Chavarria
lgomez at cencosud.com.ar
Tue Oct 28 00:46:48 GMT 2003
Thanks for your response Luke!
with a couple of minutes of difference with your response I solve the
compilation problem (look that I post another message).
Now what I need to decide (regarding your info) is if I prefer to
assign Posix Uid/Gid manually and use ADS or install open ldap just to
store de idmap database and dynamically acquire the ids.
Anyway, thanks again.
>>> Luke Howard <lukeh at PADL.COM> 10/27/03 09:20PM >>>
>In file included from /usr/include/sys/types.h:133,
> from samba-3.0.0/source/include/includes.h:86,
> from xad_oss_plugins-22/idmap_ad/idmap_ad.c:12:
>/usr/include/linux/time.h:10: parse error before "time_t"
>/usr/include/linux/time.h:12: parse error before '}' token
>/usr/include/linux/time.h:18: parse error before "time_t"
>/usr/include/linux/time.h:44: field `it_interval' has incomplete type
>/usr/include/linux/time.h:45: field `it_value' has incomplete type
>/usr/include/linux/time.h:46: confused by earlier errors, bailing out
Did you build SAMBA first? idmap_ad.c just #includes "includes.h",
which I would expect to work without including any additional system
But you could try adding
to the top of idmap_ad.c.
>2nd Q: I'd like to know if I need to do something else although
>implementing these library and changing my smb.conf to use: idmap
>backend = ad:ldap://myadserver/ ;
>I mean something like change a structure in the ADS, install
>else or whatever.
That should work - the idea is that you use your existing Active
with the Microsoft Services for UNIX v2 or RFC 2307 schema installed.
that, unlike the other idmap backends, idmap_ad does not (yet) create
dynamic identity mappings: you will need to have provisioned POSIX UID
GID numbers in your directory a priori.
Let me know if you have any questions!
More information about the samba-technical