A Linux command line to access the domain name of a windows PDC server
A Linux command line to access the domain name of a windows PDC server
======================================
I have two windows 2000 server PDC each on a different domain and a Linux computer on the same LAN segment.
win-2000-server domain name = weboffice.net
win-nt4-server domain name = testing.net
I have a user interface where the user could join a Linux to a windows server PDC by specifying the server name and the domain name and then issue a command
smbpasswd -j weboffice -r servername -U administrator%password
Is there a network command in Linux to where I can check what domain a windows PDC server belongs to ?
For example, on the user interface, a user could Enter in
server name: win-2000-server
domain name: testing.net
This would be incorrect, because the win-2000-server belongs to the domain weboffice.net, not testing.net.
|