[Samba] Automating the Samba Install

Cameron Laird claird.visiprise at gmail.com
Sun May 3 22:05:12 GMT 2009


There were a couple of defects in the reply I made earlier.  I correct them
in this repost.

On Sun, May 3, 2009 at 3:23 PM, Cameron Laird <claird.visiprise at gmail.com>wrote:

> I want to make sure we're clear.
>
> There's little Samba content to this conversation now.  You reasonably
> decided that you wanted to script Samba-based actions, noticed that net(8)
> has an annoying interface, and correctly chose Expect to help with the
> automation.  Since then, it's just been details of Expect.
>
> I gave you a sample simplification.  You applied it to a couple of segments
> of your script.  You have the behavior you want in the second segment, but
> not the first.
>
> You appear to claim, "When I attempt to spawn something in quotes ... I
> don't get any output back ..."  I regard that as unproven, and will set it
> aside for now.  HOWEVER, I can easily imagine that 'OFFICE\Domain Admins'
> introduces complications.
>
> Where you have
>     "OFFICE\Domain Admins"
> please try
>     "OFFICE\\Domain Admins"
> or
>     {OFFICE\Domain Admins}
> Either should move you equally far forward.
>    ...
>


More information about the samba mailing list