You should take a look at winbind. I have managed to get a Linux box to
log into my domain (granted its a Samba domain, but I don't think it
matters, it should work if its NT). Check the winbind manpage or google it.
There is also a samba option called credentials .. .check the smbclient
manpage.
There was a thread a little while ago on this list that might be useful
... here is the link from that thread (about using credentials)
http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html
Austin
Kurt Granroth wrote:
> Does anybody know of a case-study or HOWTO on fully integrating a Linux
> workstation into an existing Windows NT domain?
>
> I've got CUPS using the network printer using smb://username:password@DOMAIN
> and mounting shares back and forth works great... but there are a couple of
> problems doing things like that:
>
> 1. CUPS requires you to setup the printer to use an individual's domain
> credentials. If there are multiple users on the machine, that one person's
> credentials are using used. Not to mention that the username and password
> are freely viewable using 'ps' while printing.
>
> 2. Login user names and passwords are different between the Linux and Windows
> boxes. Yes, you can manually keep them in sync... but it's a pain.
>
> What I would like to do is make the Windows domain think that my Linux box is
> just another host in its domain. That means several things:
>
> 1. Login using the NT domain server as the authenticator. Mounting shares
> will no longer need a password since it's already supplied.
> 2. A Linux user will be able to print to a network printer in the domain using
> their own credentials (but hopefully not have to supply them again since they
> are already logged in).
>
> Is this even possible? If so, were can I find docs on how this is done?