samba 3.0alpah13 - problems/questions

Andrew Bartlett abartlet at pcug.org.au
Fri Jan 25 17:08:09 GMT 2002


David Edward Shapiro wrote:
> 
> Hello,
> 
> I wanted to use the new samba that is out.  I have a few questions:
> 
> 1. When I try the new net rpc join command, it pops up a password prompt (my
> nt admin added my server to the nt domain on the pdc).  Whose password is it
> asking for?  He tried his nt domain root password, but that got a message
> about there being some problem with the user or password.  He sees in his
> event log the attempt from my solaris 8 sparc unix box, and it shows that it
> tried to log in as ROOT.  Why doesn't the command work when he types in the
> root password for the nt pdc server?

You need to specify -U administrator  to change the username it sends -
it defaults to the current user on your Unix box.  As you might expect,
NT doesn't like the idea of people logging in as 'root' :-).

If your machine has been added with server manger, the 'net rpc join
oldstyle' command will use the default password set on that account to
join itself to the domain.

We also need to get some doco in order...

> 2. I used smbpasswd to add root.  I then tried smbclient -L hostname_here,
> and it gave the following output:
> 
> incorrect size for /usr/local/samba/lib/upcase.dat - got 0 expected 131072
> incorrect size for /usr/local/samba/lib/lowcase.dat - got 0 expected 131072
> creating lame upcase table
> creating lame lowcase table
> incorrect size for /usr/local/samba/lib/valid.dat - got 0 expected 65536
> creating default valid table
> incorrect size for /usr/local/samba/lib/valid.dat - got 0 expected 65536
> creating default valid table
> added interface ip=10.1.5.238 bcast=255.255.255.255 nmask=0.0.0.0
> added interface ip=10.1.5.210 bcast=255.255.255.255 nmask=0.0.0.0
> wins_srv_died(): Could not mark WINS server 127.0.0.1 down.
> Address not found in server list.
> error connecting to 10.1.5.238:445 (Connection refused)
> Password:
> Doing spnego session setup (blob length=75)
> OS=[Unix] Server=[Samba]
> tree connect failed: SUCCESS - 0

Sothing is broken here.  The 'success but failed' means that the
connection was dropped midstream...  Can you see what the server has to
say in its logs?  Or grab a later CVS snapshot?

> What is up with the 0 sized dat files?  Why is it using 127.0.0.1 as the
> WINS server.  My smb.conf was configured to use our department's wins
> server's ip address.  Why is the tree connect failing.  What is the Server=
> say samba instead of the name of my unix server (or is that correct?)?
> Anyway, no shares show.
> 
> I tried to start nmbd, but that failed too.  It just does not run and shows
> no errors.  I ran a truss on it, and it did whine about something, although
> I do not know what:

Again, check your logs.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list