On Wed, 2002-12-11 at 18:23, - netmaniac - wrote:
> I've been trying to join a Windows 2000 server domain but when I do a
> 
> smbpasswd -j home -r netserver -U Administrator
> 
> I get:
> 
> Password:
> Error connecting to netserver
> Unable to join domain
> 
> The machine netserver is up and running and the win98 and winXP machines can 
> log into the domain perfectly. My computer has an account on the server and 
> the "ping netserver" works fine. Here's my smb.conf file:
> 
> [global]
> encrypt passwords = yes
> security = domain
> workgroup = home
> password server = netserver
> 
> I would appreciate any help.
> 
> netmaniac
> 

It's best to already have the machine added to the domain prior to doing
a login from that machine TO the network domain. You might also want to
get some info from the SAMBA list - I'm part of that as well -heaps of
awesome information...BTW, here is a sample /etc/samba/smb.conf that a
mate sent me for EXACTLY that same purpose...
-----------------------------------------------------------------------
[global]
        workgroup = CCGM
        netbios name = CCGM-SERVER
        netbios aliases = server-ccgm
        server string = Samba Server %v
        encrypt passwords = Yes
        update encrypted = Yes
        null passwords = Yes
        pam password change = Yes
        username map = /etc/samba/smbusers
        unix password sync = Yes
        admin log = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = lpstat
        domain admin group = @smb-admin
        domain guest group = @users
        add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        guest account = guest
        valid users = @smb-admin @ccgm @satyagra
        admin users = @smb-admin
        read list = @ccgm @satyagra
        write list = @smb-admin
        printer admin = @smb-admin
        printing = cups
---------------------------------------------------------
Of course, you're going to have to snip/edit some things here and there
- but you also might want to make use of SWAT to do your basic
configurations for SAMBA - it's a beautifully powerful tool mate...

Cheers!

-- 
Wed Dec 11 20:30:00 EST 2002
  8:30pm  up 12:52,  5 users,  load average: 0.30, 0.35, 0.38

   .o0 linux user:267497 0o.
--------------------------------
|            __    __          | k�hn media australia
|           /  \ /| |'-.       | http://kma.0catch.com
|          .\__/ || |   |      | 
|       _ /  `._ \|_|_.-'      | stephen k�hn
|      | /  \__.`=._) (_       |  email: [EMAIL PROTECTED]
|      |/ ._/  |"""""""""|     |  email: [EMAIL PROTECTED]
|      |'.  `\ |         |     |    icq: 5483808
|      ;"""/ / |         |     |
|  smk  ) /_/| |.-------.|     | mobile: 0410-728-389
|      '  `-`' "         "     | Berkeley, New South Wales, AU
--------------------------------
Coralament*Best Gr�tens*Liebe Gr��e*Best Regards*Elkorajn Salutojn

I lay my head on the railroad tracks,
Waitin' for the double E.
The railroad don't run no more.
Poor poor pitiful me.                   [chorus]
        Poor poor pitiful me, poor poor pitiful me.
        These young girls won't let me be,
        Lord have mercy on me!
        Woe is me!

Well, I met a girl, West Hollywood,
Well, I ain't naming names.
But she really worked me over good,
She was just like Jesse James.
She really worked me over good,
She was a credit to her gender.
She put me through some changes, boy,
Sort of like a Waring blender.          [chorus]

I met a girl at the Rainbow Bar,
She asked me if I'd beat her.
She took me back to the Hyatt House,
I don't want to talk about it.          [chorus]
                -- Warren Zevon, "Poor Poor Pitiful Me"

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to