[Samba] Idmap back compatible issue

Gerald (Jerry) Carter jerry at samba.org
Sun Apr 22 09:59:21 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ying,

> Here is a patch for this. Could somebody look at it?

btw...please send patches as attachments next time.  Thanks.


> 
> # diff -U 3 idmap.c idmap.c_my
> --- idmap.c     2007-04-12 11:52:07.000000000 -0700
> +++ idmap.c_my  2007-04-12 11:51:49.000000000 -0700
> @@ -321,6 +321,14 @@
>                         *p = '\0';
>                         compat_params = p + 1;
>                 }
> +       } else {
> +               /* Back compatible: without idmap domains and explicit
> idmap backend
> +                * Taking default idmap backend: tdb
> +                */
> +               DEBUG(3, ("idmap_init: No idmap domains, No idmap
> backend dom_list=%s\n", *dom_list));
> +               compat = 1;
> +               compat_backend = talloc_strdup( idmap_ctx, "tdb");
> +               compat_params = compat_backend;
>         }
> 
>         if ( ! dom_list) {
> 
> Thanks.
> -Ying




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKzH5IR7qMdg1EfYRAiLkAJ9BQCgqtxZ32hLvucEjloRmgKgkwACg228F
SSjghFgT+nPlfdbh0kIktLY=
=R3im
-----END PGP SIGNATURE-----


More information about the samba mailing list