From: Khaled Blah on
I just noticed that I have replied to the wrong thread. Although my
question is about net what I wanted to know I asked in a different
thread. I'll quote my question to make clear what I was interested in:

<quote>

is it possible to execute "net ads testjoin" without net asking for a
password (in any circumstance)? The reason for my question is that I
want to use it in a script and thus won't be able to supply a password
to net (net does not ask for a password on stdin).
</quote>

Regards,
Khaled

2010/7/7 Khaled Blah <khaled.blah(a)googlemail.com>:
> Hi all,
>
> thanks for your replies! Is it correct to assume that "net ads
> testjoin" will only ask for a password if the secrets.tdb is missing
> or if it is corrupt. I understand that the secrets.tdb stores the
> account password and thus if that file exists and can be read the
> account password should be available to net and thus no need to ask
> for a password?
>
> Regards,
> Khaled
>
> 2010/7/6 Rob Moser <Rob.Moser(a)nau.edu>:
>> If you want to know what the net command is doing in more detail, try
>> running it with the -d <debuglevel> option.  <debuglevel> should be some
>> number between 0 and 10, with 10 being the highest.  I'd work your way
>> up - 10 will flood you with so much information its hard to see whats
>> going on.
>>
>> More details about the debug option and other net command-line options
>> can be found in the man page for net.
>>
>>     - rob.
>>
>> On 07/06/2010 01:49 AM, Khaled Blah wrote:
>>> Is there anyone who can help with this question?
>>>
>>> Regards,
>>> Khaled
>>>
>>> 2010/4/30 Khaled Blah <khaled.blah(a)googlemail.com>:
>>>> Can anyone give me any hints please? I've read the man pages for
>>>> smb.conf and for net and then I read the manual about the "net
>>>> command". Still, I don't know what testjoin actually does or tries to
>>>> do.
>>>>
>>>> Regards,
>>>> Khaled
>>>>
>>>> 2010/4/26 Khaled Blah <khaled.blah(a)googlemail.com>:
>>>>> I hope bumping is not frowned upon in this list :)
>>>>>
>>>>> cheers,
>>>>> Khaled
>>>>>
>>>>> 2010/4/24 Khaled Blah <khaled.blah(a)googlemail.com>:
>>>>>> Hello all,
>>>>>>
>>>>>> I am new to this list and hopefully I am at the right place. Firstly,
>>>>>> thanks to everyone involved in this project. You do a great job!
>>>>>>
>>>>>> Now, I use "net" to join Windows AD domains and was wondering where I
>>>>>> can find out more information on what happens during a "net ads
>>>>>> testjoin". The information I found on the documentation pages of net
>>>>>> or smb.conf on the website did not say much about it. I have noticed
>>>>>> that a "testjoin" will ask for a password when the domain membership
>>>>>> is not valid and it'll ignore kerberos tickets. Is there something I
>>>>>> am missing here?
>>>>>>
>>>>>> I am grateful to any insight you guys could give me!
>>>>>>
>>>>>> Regards,
>>>>>> Khaled
>>>>>>
>>>>>
>>>>
>>
>>
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Khaled Blah on
Hi all,

thanks for your replies! Is it correct to assume that "net ads
testjoin" will only ask for a password if the secrets.tdb is missing
or if it is corrupt. I understand that the secrets.tdb stores the
account password and thus if that file exists and can be read the
account password should be available to net and thus no need to ask
for a password?

Regards,
Khaled

2010/7/6 Rob Moser <Rob.Moser(a)nau.edu>:
> If you want to know what the net command is doing in more detail, try
> running it with the -d <debuglevel> option.  <debuglevel> should be some
> number between 0 and 10, with 10 being the highest.  I'd work your way
> up - 10 will flood you with so much information its hard to see whats
> going on.
>
> More details about the debug option and other net command-line options
> can be found in the man page for net.
>
>     - rob.
>
> On 07/06/2010 01:49 AM, Khaled Blah wrote:
>> Is there anyone who can help with this question?
>>
>> Regards,
>> Khaled
>>
>> 2010/4/30 Khaled Blah <khaled.blah(a)googlemail.com>:
>>> Can anyone give me any hints please? I've read the man pages for
>>> smb.conf and for net and then I read the manual about the "net
>>> command". Still, I don't know what testjoin actually does or tries to
>>> do.
>>>
>>> Regards,
>>> Khaled
>>>
>>> 2010/4/26 Khaled Blah <khaled.blah(a)googlemail.com>:
>>>> I hope bumping is not frowned upon in this list :)
>>>>
>>>> cheers,
>>>> Khaled
>>>>
>>>> 2010/4/24 Khaled Blah <khaled.blah(a)googlemail.com>:
>>>>> Hello all,
>>>>>
>>>>> I am new to this list and hopefully I am at the right place. Firstly,
>>>>> thanks to everyone involved in this project. You do a great job!
>>>>>
>>>>> Now, I use "net" to join Windows AD domains and was wondering where I
>>>>> can find out more information on what happens during a "net ads
>>>>> testjoin". The information I found on the documentation pages of net
>>>>> or smb.conf on the website did not say much about it. I have noticed
>>>>> that a "testjoin" will ask for a password when the domain membership
>>>>> is not valid and it'll ignore kerberos tickets. Is there something I
>>>>> am missing here?
>>>>>
>>>>> I am grateful to any insight you guys could give me!
>>>>>
>>>>> Regards,
>>>>> Khaled
>>>>>
>>>>
>>>
>
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba