Here's the output of the command:

# net join -w MYDOMAIN -U Administrator
Administrator's password:
[2005/04/01 17:22:46, 0] libads/ldap.c:ads_add_machine_acct(1297)
  ads_add_machine_acct: Host account for my-linux-server already exists
- modifying old account
Using short domain name -- MYDOMAIN
Joined 'MY-LINUX-SERVER' to realm 'MY.REALM.NET'

(Names have been changed to protect the *cough* innocent.) :)

Still experiencing the same symptons. I'm sure there is something I'm
missing here. Especially because everyone else seems to indicate how
easily this normally happens*. :)  (FWIW, using Fedora Core 3.)  

(* I only just figured out that you have to mount these types of Windows
shares with CIFS not smbfs in /etc/fstab - so I'm not being faceatious
here.)

Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007
 

> -----Original Message-----
> From: Simon Wong [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 1 April 2005 5:10 PM
> To: Michael Kraus
> Cc: Slug
> Subject: Re: [SLUG] Samba ADS help (plain text email - sorry)
> 
> On Fri, 2005-04-01 at 16:53 +1000, Michael Kraus wrote:
> > > You need to look into winbind as it will "mirror" the Windows 
> > > accounts onto your machine.
> > 
> > I have been. I've set up /etc/samba/smb.conf, /etc/krb5.conf, 
> > /etc/nsswitch.conf and have a username map file set up.
> > 
> > ---snip from nsswitch.conf---
> > passwd:     files compat winbind
> > shadow:     files compat winbind
> > group:      files compat winbind
> > ---snip---
> 
> The samba machine must be a member of the domain, use the 
> following to do that (Samba 3.x):
> 
>       net join -w DOMAIN -U administrator
> 
> HTH
> 
> 
> > I've also tried other variations on the above (eg no files, 
> no compat, 
> > just winbind or combination of winbind and one of the other 
> two). All 
> > to no avail (restarting winbind and samba between attempts).
> > 
> > It seems that unless the user has a smbpasswd setup, the 
> Samba server 
> > won't accept a connection. Even then it still asks for a 
> > username/password to be input when connecting (even if they 
> match the 
> > current username/password).
> > 
> > Thanks heaps for your help so far. (And to Mike MacCana too.)
> > 
> > 
> > Regards,
> > Michael Kraus
> > Software Developer
> > [EMAIL PROTECTED]
> > Direct Line 02 8306 0007
> >  
> > 
> > 
> > 
> ----------------------------------------------------------------------
> > ----------
> > 
> > Wild Technology Pty Ltd , ABN 98 091 470 692 Sales - Ground Floor, 
> > 265/8 Lachlan Street, Waterloo NSW 2017 Admin - Level 4 
> Tiara, 306/9 
> > Crystal Street, Waterloo NSW 2017 Telephone 1300-13-9453 |  
> Facsimile 
> > 1300-88-9453 http://www.wildtechnology.net
> > DISCLAIMER & CONFIDENTIALITY NOTICE:  The information 
> contained in this email message and any attachments may be 
> confidential information and may also be the subject of 
> client legal - legal professional privilege. If you are not 
> the intended recipient, any use, interference with, 
> disclosure or copying of this material is unauthorised and 
> prohibited.   This email and any attachments are also subject 
> to copyright.  No part of them may be reproduced, adapted or 
> transmitted without the written permission of the copyright 
> owner.  If you have received this email in error, please 
> immediately advise the sender by return email and delete the 
> message from your system.
> > 
> > 
> --
> Simon Wong <[EMAIL PROTECTED]>
> Wongy.org
> 
> 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to