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 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-
Cameron,
I've discovered the beauty of autoexpect to help me learn different
command syntax for expect. I now have something that works that I can
play with and parameterize things like passwords and prompts too. Please
ignore my last email request for help. I'm on my way to a new world of
ex
Expect is simply indispensable for much network and system management http://www.ibm.com/developerworks/aix/library/au-expect/ >. It's easy to
misapply, though; briefly, your Expect script has far better intentions than
implementation.
Where you have
spawn /usr/bin/net rpc rights list accounts
Hey all,
I'm coloring outside the lines a little bit here but I would like to
automate the install of a samba pdc. Within that script to install I
would like to assign rights to a group. Here is an example of a few steps:
# Create Unix group:
groupadd domadmins
# Map unix group to samba grou