[ILUG] resetting an AD user's password from my ubuntu desktop

Jack O Regan jackoregan at gmail.com
Tue Jul 21 18:48:18 IST 2009


Hello Everyone,

I'm a fairly novice Linux user altogether and was hoping someone would
know the answer to my question off the top of their head. I'm writing
a little application with wxPython to preform some active directory
tasks for me. I want to reset the password of a windows user in active
directory.

I'm able to add a user with the net command
net ads user add [username_to_add] [his_password] -w [MY_DOMAIN] -U
[my_username]

My Google's turn up a lot about setting up active directory on a linux
machine which isn't much use to me. I've been looking at the smb tools
too but I haven't been able to find what I want. If anyone knows a
command that will do what I want please let me know.

I'm also looking to get a list of PC's on the network much like the
"net view" command in windows. I've looked at "smbtree" and "smbclient
-L \\DomainController -U myusername" which is ok but what I would
really like is a simple list of the PC's on the network in a text
file. On my ubuntu desktop if I click Places -> Network -> Windows
Network -> MyDomain, I see the list I want, does anyone know how I can
get that list into a file ?

Any help on this would be much appreciated.
Thanks
 - Jack



More information about the ILUG mailing list