LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

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

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell