[SCM] Samba Shared Repository - branch master updated
- 52571a0333d50c58675e858774c6d5eb68a48658
Andrew Bartlett
abartlet at samba.org
Sun Dec 14 21:48:47 GMT 2008
On Sat, 2008-12-13 at 10:05 +0100, Stefan (metze) Metzmacher wrote:
> > +if opts.interactive:
> > + from getpass import getpass
> > + import readline
> > + import socket
> > + def ask(prompt, default=None):
> > + if default is not None:
> > + print "%s [%s]: " % (prompt,default),
> > + else:
> > + print "%s: " % (prompt,),
> > + return sys.stdin.readline().rstrip("\n") or default
> > + opts.realm = ask("Realm", socket.gethostname().split(".", 1)[1])
> > + opts.domain = ask("Domain", opts.realm)
>
> shouldn't the domain just be the first part of the realm?
Indeed, that should be the default.
Andrew Bartlett
--
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
-------------- 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/20081215/0da5afb9/attachment.bin
More information about the samba-technical
mailing list