delegated credentials on samba4

Andrew Bartlett abartlet at samba.org
Mon Sep 24 11:00:59 GMT 2007


On Mon, 2007-09-24 at 11:34 +0100, Amin Azez wrote:
> * Andrew Bartlett wrote, On 23/09/07 01:08:
> >
> > I've changed the provision script - the default is now for a standalone
> > server, with a new option --server-role= to provision to change this.
> >
> > For example, if you want to provision as a member server, run 
> >
> > ./setup/provision --realm=home.ufomechanic.net --domain=UFO
> > --adminpass=XXX --server-role='member server'.
> >
> > It will do the 'right thing' internally. 
> >   
> Thanks very much for this and your other helpful notes
> 
> Even with a fresh svn checkout I get
> 
> make: *** No rule to make target `libcli/util/nterr.h', needed by
> `headers'.  Stop.
> and later
> make: *** No rule to make target `libcli/util/nt_status.h', needed by
> `headers'.  Stop.

Yeah, I'm waiting for someone to fix that up myself...

> I touched both of these files to get by and later stuck on
> Unable to map libcli/util/nterr.h at ./script/installheader.pl line 78.
> make: *** [installheader] Error 255
> 
> I guess I don't need those, but some of the template files also get
> omitted, resulting in (because str is absent)
> 
> The provision line failed with:
> smbscript: ejsEvalScript(): split invalid arguments
> Backtrace:
>         [ 0]       substitute_var:2    ->       var list = split("${", str)
>         [ 1]           setup_file:9    ->       data =
> substitute_var(data, subobj)
>         [ 2]            provision:38   ->              
> setup_file("provision.smb.conf." + smbconfsuffix, info.message,
> paths.smbconf, subobj)
>         [ 3]                     :169  ->       provision(subobj,
> message, blank, paths, system_session, creds, ldapbackend)

If you do an 'make installmisc' you can get around the error, and at
lest get the new provision template files. 

> 
> Sam
> 
> The debugging was hard;

Yes, I dislike the choice of js for that reason, but we live with it for
now.

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070924/62c96fa1/attachment.bin


More information about the samba-technical mailing list