(no subject)
Gerald Carter
gcarter at valinux.com
Thu Aug 30 06:01:01 GMT 2001
On Wed, 29 Aug 2001, Esh, Andrew wrote:
> I am trying to use smbpasswd in a system exec environment to join a
> domain. I found that it was prompting for a password. I found a place
> in smbpasswd.c, in the function "process_root" where that prompt
> occurred. The prompt occurred right after a test of a null in the
> first character of the "user_name" argument. Since I am trying to use
> smbpasswd to join a domain, I don't need a user name, so I tried to
> find out why it wasn't null. It looks as though it's because it isn't
> initialized in "process_root". Running this in a command line
> environment always happens to place a null in user_name[0], but my
> exec environment appears to get something else in there.
I saw this toom but for some reason never checked in the file. :-(
Sorry. I'll patch it. Thanks Andrew,
cheers, jerry
---------------------------------------------------------------------
http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba-technical
mailing list