Re: sending command to an AD server?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



NO! i still prefer a tool on linux that will allow me to add new users
to AD. that is what i prefer. i don't need to "manage" the AD server
from linux. i can manage it from an XP or 2003. but i'd really like to
just be able to send a command to the AD server, from linux, which is
simply the following: 'dsadd user ...' (with a bunch of arguments like
homedir and full name and such, wihtout having to resort to telnet.

here's the situation: we've got a perl script that runs on a linux
server, this script does a lot of things for us, including gathering
information about new users. since this script already has all the
user data gathered, what i'd like to do is add a few lines to the
script that just send this data to the AD server, in the form of
'dsadd user ... ... ...'. that's all i need to do from linux.

do you know of such a way to do that? without adding on a bunch of new
technology that overcomplicates things? i don't want to bind linux to
AD via ldap or anything like that. and i don't want people to have to
telnet into AD to run the command. the perl script already has the
user data in it, and i'd like the script to send that data to the AD
server.

any ideas?

thanks!

alex

On Sep 28, 1:08 am, "Mathieu CHATEAU" <gollum...@xxxxxxx> wrote:
Hello,

in your first post, you were looking to manage AD from a linux machine ?
is this idea gone?

--
Cordialement,
Mathieu CHATEAUhttp://lordoftheping.blogspot.com

<alazarev...@xxxxxxxxx> wrote in message

news:1190937927.775294.297180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Sep 27, 5:50 pm, "kj [SBS MVP]" <KevinJ....@xxxxxxxxxxxxxxxxxx>
wrote:
alazarev...@xxxxxxxxx wrote:
On Sep 27, 3:28 pm, "kj [SBS MVP]" <KevinJ....@xxxxxxxxxxxxxxxxxx>
wrote:
alazarev...@xxxxxxxxx wrote:
Hi,

We'd like to be able to send a command (for adding users) to our AD
domain server from a remote linux machine. We know what the command
is (dsadd user...), but we don't know the best way (secure + ease)
to send that command to the AD server.

We know there is an MMC that can be run from other clients in the
domain, but isn't there a way to send a command to an AD server as
well?

Any ideas would be helpful. Thanks!

Alex

Psexec in the windows world, but then dsadd needn't be run from a DC
either.

psexec looks cool, I like it. But then what is this about dsadd not
needing to be run on the DC? dsadd can be run from a domain client
computer? How? I looked in the Resource Kit but didn't find anything
like that.

Thanks!

alex

I use the ds tools and the admod/adfind/adexplorer/adsiedit/and the rest
of
the AD & Windows management tools all the time from a member XP
workstation
using a domain account.

"The command-line tools can be installed and run on computers that are
running Windows XP Service Pack 1 and Windows Server 2003
Server."http://support.microsoft.com/kb/298882/en-us

Most of the DCs I manage are remote or tucked away. It's just easier that
way (& you can use runas instead of logging in).
--
/kj

okay, this might work for me. but, i can't find a way to install these
dsadd tools to an XP client. i can't find an installer on MS website,
nor do they seem to be on the 2003 install CDs. what do i do just copy
over the .exe's and .dll's from the 2003 server systemroot/system32 to
the xp client?

thanks!

alex


.



Relevant Pages