Esh, Andrew AEsh at
Wed Jun 19 07:43:02 GMT 2002

lmhosts is just one method for resolving names. If you are running a WINS
server, try specifying that in your smb.conf file with "wins server =" and
add static mappings of the domain name to the IP addresses for the domain
controllers for that domain. If the domain controllers are aware of the WINS
server, then they should already be automatically registering their names
with it.

Another method is broadcast. If the domain controllers for the trusted
domain respond, then they will be found.

Another method is DNS.

-----Original Message-----
From: Osman Tufanogullari (Garanti Teknoloji)
[mailto:OsmanTuf at]
Sent: Wednesday, June 19, 2002 1:16 AM
To: Tim Potter
Cc: samba-technical at
Subject: RE: Winbindd!

Many Thanks Tim for your quick response...

After sending the mail below, I ran Winbindd with -d3 -i options and i saw
that winbindd was looking for the PDCs' IP adresses of the trusted
domains... The first file winbindd was looking into was lmhosts...

So, I wrote the domain controllers' IP adresses of the trusted domains into
the lmhosts file in the format 

IPadrssofPDC Domain-Name

This fixed the problem... 

But there is another problem now... Our company has ten thousands of user
and thousands of groups.. user count is about 15000...
Sometimes winbindd crashes...I run winbindd deamon, but sometimes later when
i use ps -ef, i cannot see ./winbindd in the list. It kills itself somehow
but i dont know... But sometimes it is in the list running for hours...

One more question. Today i also work on it but when you look into a share's
properties on NT or 2000 desktop, there is a Security tab on this panel... 

If you have a share on a linux server ( intented to use as a file & print
server ), from a windows NT or 2000 desktop,

Can we define security  parameters (adding and deleting user with read/write
rights) using that panel?

Thanks in advance...

-----Original Message-----
From: Tim Potter [mailto:tpot at]
Sent: Wednesday, June 19, 2002 2:35 AM
To: Osman Tufanogullari (Garanti Teknoloji)
Cc: samba-technical at
Subject: Re: Winbindd!

On Tue, Jun 18, 2002 at 01:55:44PM +0300, Osman Tufanogullari (Garanti
Teknoloji) wrote:

> But after starting winbindd deamon, 
> wbinfo -m ( trusted domain names ) --> OK 
> wbinfo -t ( check secret ) --> OK 
> wbinfo -n username ( sid from username ) --> OK 
> wbinfo -s sid ( username from sid) --> OK 
> options work properly.
> But 
> wbinfo -u and wbinfo -g end with error 
> "Error looking up domain users",
> "Error looking up domain groups".

Are you running with the RestrictAnonymous registry setting?
Alternately are you running a Windows 2000 environment only?

You may need to set a username and password for winbindd so it can
connect to the domain controllers without using an anonymous session.

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba-technical mailing list