How the specify the domain name of the username when using smbclient?

JohnnyXia at acersoftech.com.cn JohnnyXia at acersoftech.com.cn
Tue Apr 18 02:23:38 GMT 2000



Hi all,

In my company there are several NT Domains, but our user accounts are all
belong to one MainDomain. However, our department have our own domain and I
am the administrator of our department.

When I use the smbclient in Linux to connect our department PDC, I found
that it will always authenticate the username I input in my department PDC.
This is NOT what I want. The username I provide to smbclient is belong to
the MainDomain. I tried several forms to specify the domain name in
username but failed. eg.
smbclient "\\\\MyDomSvr\MyShare" -U MainDomain\MyName
Domain\User is the form we used in NT, but it seems Samba doesn't support
it.

BTW, my linux box doesn't participate in any domain, I hope it can work
like Win95, and can only access other computer's share.

Any help will be appreciated.

Thanks in advance.

Johnny Xia.




More information about the samba-ntdom mailing list