Re: [Samba] Automating the Samba Install

2009-05-03 Thread Cameron Laird
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-

Re: [Samba] Automating the Samba Install

2009-05-03 Thread Todd E Thomas
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

Re: [Samba] Automating the Samba Install

2009-05-01 Thread Cameron Laird
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

[Samba] Automating the Samba Install

2009-05-01 Thread Todd E Thomas
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