Make sure the same username exists on the SAMBA server with the
correct permissions to the share.

send you SAMBA configuration file.

Thanks


Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

"Making the Workplace Work Better"

1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]



-----Original Message-----
From: Pierrick Brossin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 9:22 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba getting user info from NT PDC


Hi!

My boss asked me to be able to share some directories on a FreeBSD Samba
server
with users already created (and used) on a NT 4.0 PDC server.

So I followed http://www.sugoi.org/bits/index.php?bit_id=10

I just replaced the Windows 2k part by adding the NetBIOS name of the
machine to
the NT PDC.

When I did the smbpasswd trick it worked like charm:

testsmb# smbpasswd -j CH-DOMAIN -r PDC
2003/02/11 10:11:23 : change_trust_account_password: Changed password for
domain
CH-DOMAIN.
Joined domain CH-DOMAIN

The trouble is when I make a share on my Samba server and I try to access it
from a Windows machine connected to the NT PDC it keeps asking the password
and
never enters the share.

What I need to do is to share a directory. Try to enter it from a Windows
machine which is connected to the NT PDC. Samba asks the NT PDC if the user
is
valid and if so it enters the share.
But it doesn't work at all.

Any idea ?

Thanx !

Here is my smb config file:

# Global parameters
[global]
        workgroup = CH-DOMAIN
        netbios name = TESTSMB
        server string = TESTSMB Server
        interfaces = 10.41.0.39/24
        security = DOMAIN
        password server = PDC
        encrypt passwords = yes
        update encrypted = yes
        unix password sync = yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n
        *passwd:*all*authentication*tokens*updated*successfully*
        remote announce = 10.41.0.255
        log file = /var/log/log.%m
        max log size = 50
        load printers = no
        os level = 0
        preferred master = False
        local master = no
        domain master = False
        wins support = no
        wins server = 10.41.0.16
        hosts allow = 10.41.0.
        dns proxy = no

[www]
        comment = www root directory
        path = /usr/local/www/data/
        browseable = yes
        writable = yes

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference 
with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third 
party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement 
with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to