Handling of kerberos machine account password changes (eg domain rejoin)
simo
idra at samba.org
Fri Nov 2 12:54:45 MDT 2012
On Fri, 2012-11-02 at 16:50 +0200, Michael Wood wrote:
> On 2 November 2012 14:41, simo <idra at samba.org> wrote:
> [...]
> > Think something like:
> > for i in `ls -1 file*` do smbclient -k -c put $i; done
>
> Off topic, sorry, but the above jumped out at me.
>
> Why `ls -1 file*` instead of just the following?
>
> for i in file*; do ...; done
Heh, it wasn't really important but your line is better it's also what I
normally use, but I blame the fact that I started thinking of it in
python and only later switched to shell :)
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical
mailing list