Koozali.org: home of the SME Server

Join Linux Client To e-smith domain

dk

Join Linux Client To e-smith domain
« on: October 10, 2002, 04:04:45 PM »
Folks,
anyone know how to join a linux client (mandrake8 or redhat9) to a e-smith domain?

On Mand9 during setup you can choose to authenticate on a windows domain - the first time I tried this with esmith it worked fine, but not since...any ideas?

adam lark

Re: Join Linux Client To e-smith domain
« Reply #1 on: October 10, 2002, 04:16:32 PM »
if you get an answer to this i would love to hear it. the win 95,98,NT,2000 & xp thing happens sweet as honey, roaming profiles the whole bit, i can get my e-smith box to give my redhat clients an ip address from DHCP but how do you get your redhat machine to logon to the domain?dk wrote:
>
> Folks,
> anyone know how to join a linux client (mandrake8 or redhat9)
> to a e-smith domain?
>
> On Mand9 during setup you can choose to authenticate on a
> windows domain - the first time I tried this with esmith it
> worked fine, but not since...any ideas?

Tom Keiser

Re: Join Linux Client To e-smith domain
« Reply #2 on: October 10, 2002, 08:25:17 PM »
This may be crude, but it works. On the Linux client, go to /etc then su to root. Run vi fstab, switch to insert mode, (esc, i) and add the following line at the bottom of the table:

\raid\p-drive  mnt/p  smbfs  fmask=777,username="",password=""  0  0

The above refers to my e-smith SME server called "raid" and an ibay resource called "p-drive".  I created a directory under /mnt  called "p" as a mount point.  The nulls after username and password should be replaced with your real username and real password.  When you have added all the resources to the fstab file, do :wq  to save it. Then run "mount -a" to mount all the new drives, and you are connected. Note that the spaces between the entries in fstab shown above should actually be "tabs" (use the tab key).

Hope this helps,

Tom

dk wrote:
>
> Folks,
> anyone know how to join a linux client (mandrake8 or redhat9)
> to a e-smith domain?
>
> On Mand9 during setup you can choose to authenticate on a
> windows domain - the first time I tried this with esmith it
> worked fine, but not since...any ideas?

dk

Re: Join Linux Client To e-smith domain
« Reply #3 on: October 10, 2002, 09:06:41 PM »
Thanks Tom, but not the issue - I can mount e-smith shares on the linux boxes no problem, but i don't want to have to create user accounts on the linux boxes. I want the e-smith box to authenticate all users (windows & linux)...

It worked the first time during a mandrake 9 install but i can't do it since.

From the linux boxes, using:
smbpasswd -j domainname -U admin%password - seems to work, I get a message saying that I joined the domain and I can see the machine account being created in the esmith logs - but i still can not authenticate users - I just get a "authentication failed" message on the linux clients - any other ideas?

Ralph

Re: Join Linux Client To e-smith domain
« Reply #4 on: October 11, 2002, 01:20:10 PM »
Hi dk,

just an idea - what about using pam smb ?

Dont know by heart how to configure it, but here should be docs on the web.

cheers,

Ralph