[Samba] Domain Help

Curtis Strite (SCD Services) sccu0001 at scdservices.com
Tue Feb 19 11:14:34 GMT 2002


I beleive I had this same problem.

I was able to get around it by first of all adding the machine account to
the Windows 2K PDC.

I can't remember off the top of my head where that feature is in windows 2K
control panel.

Then try connecting if that doesn't work.  Check for a MACHINE.SID file on 
your *nix box.  If there's one it's probably in the same directory as your
smb.conf file.  If there's one in there delete it.  and touch a new one.

Now You need to use the smpasswd -a -j command or something like that.  I
know this was my problem in that I had to use the -j argument to get samba
to join an existing windows domain.

do a man on smbpasswd and it should have all the details on how to use the
-j argument.  If you still have problems, let me know and I'll see if I can
dig up my old notes.


--------- Original message --------
From: "Brown, Tony" <TBrown2 at nmff.org>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: [Samba] Domain Help
Date: 02-20-02 01:27

Hello List,
My environment is Tru64 version 4.0f Unix.  The domain is Win 2k.
I am having 2  problems:
1)  # smbclient -L epicprod
added interface ip= bcast= nmask=
Got a positive name query response from ( )
Domain=[NMFF-NET] OS=[Unix] Server=[Samba 2.2.2]
Sharename      Type      Comment
---------      ----      -------
test           Disk      A test share
epic           Disk      Epic Applications
IPC$           IPC       IPC Service (epicprod)
ADMIN$         Disk      IPC Service (epicprod)
root           Disk      Home Directories
Server               Comment
---------            -------
EPICPROD             epicprod
Workgroup            Master
---------            -------

The master showing from in the smbclient command does not show, or shows a
machine that is not actually a Domain Controller.
How can the Domain Controller be set?  I have tried manipulating the
workgroup = nmff-net
server string = epicprod
log file = /usr/local/samba/var/log.%m
max log size = 50
name resolve order = wins DNS
security = server
password server =
encrypt passwords = yes
socket options = TCP_NODELAY
local master = no
wins server =
admin users = tbrown
preferred master = yes
os level = 0

My next problem is when I do this from the DOS prompt:
net use z: \epicprodtest
I get:
Everyone: R
Is this indicating that the machine is not officially "registered" in the
domain.  What is the proper technique to register a machine in an Win2K
Thanks in advance,

Tony Brown
Systems Administrator
Northwestern Medical Faculty Foundation
680 North Lake Shore Drive, Suite 1108
Chicago, IL 60611
tbrown2 at nmff.org

This mail was sent by UebiMiau 2.5

More information about the samba mailing list