delegated credentials on samba4

Amin Azez azez at ufomechanic.net
Mon Sep 24 11:30:05 GMT 2007


* Andrew Bartlett wrote, On 24/09/07 12:00:
>
> If you do an 'make installmisc' you can get around the error, and at
> lest get the new provision template files. 
>
>   

This patch also needed, I think:

===================================================================
--- source/scripting/libjs/provision.js (revision 25303)
+++ source/scripting/libjs/provision.js (working copy)
@@ -585,12 +585,12 @@
        var st = sys.stat(paths.smbconf);
        if (st == undefined) {
                var smbconfsuffix;
-               if (subobj.ROLE == "domain controller") {
+               if (subobj.SERVERROLE == "domain controller") {
                        smbconfsuffix = "dc";
-               } else if (subobj.ROLE == "member server") {
+               } else if (subobj.SERVERROLE == "member server") {
                        smbconfsuffix = "member";
                } else {
-                       smbconfsuffix = subobj.ROLE;
+                       smbconfsuffix = subobj.SERVERROLE;
                }
                message("Setting up " + paths.smbconf +"\n");
                setup_file("provision.smb.conf." + smbconfsuffix,
info.message, paths.smbconf, subobj);


Do I pass the test...?

Sam



More information about the samba-technical mailing list