[Samba] NT clients are not logging on

2002-06-19 Thread Ahmad Muhsin
I configured my Samba server as a PDC for the domain and I was able to join the NT 4 service pack 6 clients to join to the domain, using samba automatic scripting.  The machines are joined properly and I got the welcome message to the domain.  After I restart the NT client, while logging on to domain, its not logging on and I got a message " The system cannot log u on to the domain because the systems computer account in the primary domain is missing or the password on that account is incorrect"
I am using Mandrake linux 8.2 and Samba ver 2.2.3a
If anybody can help me on this matter please mail me on [EMAIL PROTECTED]
thanks Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

RE: [Samba] Samba and netbios --- HEEEEELLLP!!!

2002-06-19 Thread Rongyao

Could I take a look at your smb.conf?

There are some files that you may find your answer to
your question.

Check out 
  1.
/usr/share/doc/samba-/textdocs/BROWSING-Config.txt
  2.
/usr/share/doc/samba-/textdocs/BROWSING.txt

--- Dmitry Voronov <[EMAIL PROTECTED]> wrote:
> I could do that but it doesn't solve the issue as to
> why it's not working
> with netbios. It should and it does with my laptop.
> I don't like abandoning
> problems. There is a reason it's not working and I
> don't believe in voodoo
> magic (...yet).
> 
> Thanks,
> Dmitry
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Rongyao
> Sent: Tuesday, June 18, 2002 12:17 PM
> To: Rongyao; Dmitry Voronov; Enrique Sanchez Vela
> Cc: Samba
> Subject: RE: [Samba] Samba and netbios ---
> HELLLP!!!
> 
> 
> Sorry I forgot to add one more point.
> Configure your other clients to point to the correct
> wins server..
> I do it using dhcp to distribute the information.
> 
> Apart from using dhcp to distribute wins server ip,
> I
> also distribute router(gateway) ip, dns ip..etc
> 
> 
> --- Rongyao <[EMAIL PROTECTED]> wrote:
> > Check out www.samba.org for documentation on
> Network
> > neighborhood.
> >
> > Maybe it is a good idea that you set up a WINS
> > server.
> >
> > in global section of smb.conf , enter
> > wins support = yes
> >
> >
> > --- Dmitry Voronov <[EMAIL PROTECTED]> wrote:
> > > Not DNS, NetBIOS over TCP. By name query, I
> didn't
> > > mean DNS but NMB.
> > >
> > > Dmitry
> > >
> > > -Original Message-
> > > From: Enrique Sanchez Vela
> > > [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, June 18, 2002 11:46 AM
> > > To: Dmitry Voronov; samba
> > > Subject: Re: [Samba] Samba and netbios ---
> > > HELLLP!!!
> > >
> > >
> > >
> > >
> > >  so, are you telling me windows (netbios) uses
> > > standard tcpip DNS queries ?
> > >
> > >  I find that difficult to swallow since there
> are
> > a
> > > bunch of pcs not in the DNS, "visible" on the
> > > network
> > > neighborhood.
> > >
> > > thanks,
> > > esv
> > >
> > > --- Dmitry Voronov <[EMAIL PROTECTED]>
> wrote:
> > > > Well, it does matter because that's the only
> way
> > > the
> > > > other machines know
> > > > you're there. They send out a name query for
> the
> > > > domain name and if no
> > > > one responds, it's not there. Same with the
> name
> > > of
> > > > the machine. My
> > > > problem is actually a little different. After
> > > > setting up the laptop at
> > > > home and bringing it to work, it worked
> > perfectly
> > > > fine. I just can't get
> > > > any other machine on the network to follow
> suit.
> > > >
> > > > Dmitry
> > > >
> > > > Enrique Sanchez Vela wrote:
> > > >
> > > > >Hi all,
> > > > >
> > > > > I have the same problem at the cust lan, I
> > took
> > > > the
> > > > >samba server with me, set it up at home and
> it
> > > > worked
> > > > >perfectly at the first time, then took it to
> > the
> > > > >office it also worked, but when its time to
> > take
> > > it
> > > > to
> > > > >customer's office, it refuses to work.
> > > > >
> > > > > the only difference is related to tcp/ip
> name
> > > > >resoultion but it should not matter.
> > > > >
> > > > >regards,
> > > > >esv.
> > > > >
> > > > >
> > > > >  -Original Message-
> > > > >From: [EMAIL PROTECTED]
> > > > >[mailto:[EMAIL PROTECTED]]On
> > > > >Behalf Of Dmitry Voronov
> > > > >Sent: Monday, June 17, 2002 12:31 PM
> > > > >To: [EMAIL PROTECTED]
> > > > >Subject: [Samba] Samba and netbios ---
> > > > HELLLP!!!
> > > > >
> > > > >
> > > > >Wow, ok, whatever the problem is, I'm now
> > pretty
> > > > >convinced that it's
> > > > >over my
> > > > >head. I am trying to setup samba as the PDC
> for
> > > our
> > > > >network. I cannot
> > > > >for
> > > > >the life of me get it to work. I went home,
> > tried
> > > > it
> > > > >on my laptop and
> > > > >it
> > > > >worked in 15 seconds. I came to work, setup
> the
> > > > server
> > > > >exactly the same
> > > > >and...nothing. "The domain either does not
> > exist
> > > or
> > > > >could not be
> > > > >contacted"
> > > > >blah blah. I've resorted to looking at the
> > > details
> > > > of
> > > > >what's going on
> > > > >with
> > > > >ethereal. I can see no difference in the way
> > the
> > > > two
> > > > >machines register
> > > > >themselves but the server does not respond to
> > > name
> > > > >queries, neither to
> > > > >its
> > > > >netbios name nor the domain name. The laptop
> > > does.
> > > > I
> > > > >am running way
> > > > >short on
> > > > >ideas. I have tried Potato, Woody, Redhat
> 7.1,
> > > 7.3.
> > > > >7.1 is what's on my
> > > > >laptop. I've tried 2.2.3a-something (6 I
> > think),
> > > > >2.2.4-2. No
> > > > >difference. I
> > > > >tried duplicating the net setup of the laptop
> > on
> > > > the
> > > > >server with no
> > > > >luck
> > > > >(hostnames, static ip etc). I just don't get
> > it.
> > > IT
> > > > >SHOULD WORK!
> > > > >
> > > > >Please

[Samba] nmbd - not running

2002-06-19 Thread hans schneidhofer

hi list,
am looking for anyone, who could help me. nmbd seems to be not running - 
wether at starttime, nor by hand with the commandline :
nmbd -D -d 2 

there appears NO process-id in ps ax.

what can be the reason for that behavior ?
am using RH 7.1

thanks for your helping and giving hints
bye hans 

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



[Samba] Introducing new time tracking solution by myHours.com!

2002-06-19 Thread info
Title: myHours
myHours.com is a new time tracking solution. It enables you to track you work time, projects you work on and tasks you perform. It is web based and can be used from any location at any time. It's free. Click here to learn more.We are sorry if this message bothers you. We believe this is a sound offer from which many people will benefit. We won't send another message to you.www.myHours.com[EMAIL PROTECTED]

Re: [Samba] Samba-LDAP:Ldap call each time you open a textfile?

2002-06-19 Thread Andrew Bartlett

werner maes wrote:
> 
> At 11:14 19/06/2002, Andrew Bartlett wrote:
> >werner maes wrote:
> > >
> > > Hello,
> > >
> > > When I open a text file on a Samba fileserver using LDAP for
> > > authentication, Samba always makes these LDAP calls (see below). The user
> > > has been authenticated so why does Samba still makes these LDAP
> > connections?
> >
> >Samba's ldap handling is 'inefficient' to say the least.  It also hits
> >the underlying getpw*() interface a fair bit - particulary becouse
> >clients often request additional info about a file - like owner - and
> >sysadmins have various smb.conf options set.
> 
> Thanks for the information.
> Do you know whether this ldap handling will be improved?
> I tried to eliminate the smb.conf options that could effect this behaviour
> but with no result. The ldap calls were still made.

Most of this is simply glibc and nsswitch doing their stuff.  The rest
is becouse we re-open smbd's own ldap connections per use.   However,
what you see is just glibc at work.

Try using ncsd if this bothers you.  Does this really affect
performance?  Just becouse somthing can be logged doesn't mean that its
a problem.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net

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



Re: [Samba] Samba as a PDC for W2K Network

2002-06-19 Thread Frank Fürst

"Matt Hughes" <[EMAIL PROTECTED]> schrieb:

>   I have setup a Machine Trust Account with the following commands with no
> success:
> /usr/sbin/useradd -g 100 -d /dev/null -c "corp" -s /bin/false corp$
> passwd -l corp$
> smbpasswd -a -m corp$

As far as I know (and as the HOWTOs say), you cannot join a domain with
Win2K after you've created a Machine Trust Account manually. Rather,
give root a password in /etc/[samba/]smbpasswd (different to his unix
password) and create the trust account on the fly, as described in the
HOWTOs.

>   I'm a little befuddled.  Any advice or something I may have missed in my
> smb.conf file?  Thanks a bundle in advance.
> 
> SMB.CONF
> [global]
> workgroup = INAVNET2
> netbios name = SYMPHONY2
> server string = Samba %v on (%L)
> encrypt passwords = Yes
> obey pam restrictions = Yes
> pam password change = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> unix password sync = Yes
> log file = /var/log/samba/%m.log
> max log size = 0
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
> /bin/false -M %u
> logon drive = H:domain logons = Yes

That should be on separate lines.

Bye, Frank
-- 
Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany
Tel.: +49-331-977-5244  Fax: +49-331-977-5062


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



Re: [Samba] Samba-LDAP:Ldap call each time you open a text file?

2002-06-19 Thread werner maes

At 11:14 19/06/2002, Andrew Bartlett wrote:
>werner maes wrote:
> >
> > Hello,
> >
> > When I open a text file on a Samba fileserver using LDAP for
> > authentication, Samba always makes these LDAP calls (see below). The user
> > has been authenticated so why does Samba still makes these LDAP 
> connections?
>
>Samba's ldap handling is 'inefficient' to say the least.  It also hits
>the underlying getpw*() interface a fair bit - particulary becouse
>clients often request additional info about a file - like owner - and
>sysadmins have various smb.conf options set.

Thanks for the information.
Do you know whether this ldap handling will be improved?
I tried to eliminate the smb.conf options that could effect this behaviour 
but with no result. The ldap calls were still made.

Werner


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



Re: [Samba] with ldap - samba - password sync - domain group map

2002-06-19 Thread Laurent BLIN

NSC - NetworkServiceCenter wrote:

>hello!
>
>>so may passwd-chat line is as follows:
>>  passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n .
>>note the asterisk and dot (i haven't really understood now what the dot
>> means, but the asterisks match anything, and maybe the blank ("\s")
>>between "passwd:" and " %n" is just no plain blank but something
>>different.
>>
>
>ok, i moved the passwdchat to following line:
>  passwd chat = *New*\spassword:*\s* %n\n *Re-enter*\snew*\spassword:*\s %
>n\n *Result:*\sSuccess*\s(0)\n .
>
I had almost the same problem. Don't know why, but I had to use ""

passwd chat = *New*"password:"*\s* %n\n *enter*new*"password:"* %
n\n *"Result:"*Success*


>
>
>and the log tells:
>  expect: expected [*New* password:* *] received [New password: ] match no
>
>whats going wrong on my system? since last mail i made a new server with
>samba 2.2.4, but compiled it myself (so i know whats going on ;-) ). the
>situation doesn't change!
>
>could it be that i need an additionally package or anything similar?
>
>
>thanks and lg
>thomas reisenbichler
>
>
>




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



[Samba] VPN and SAMBA

2002-06-19 Thread Nacho

Hello!

I've got a problem with DNS,VPN and SAMBA.

I do have 3 Linux servers on distinct subnets. (192.168.1.1 ,192.168.2.1
and 192.168.3.1). I have done a VPN between the 3 subnets and I could do
a ping from 192.168.1.1 to the others without problems.

Each sever has 2 network cards. One of them is connected to ADSL.

>From 192.168.1.1,  I could see the samba server from 192.168.2.1 when I
do nmblookup -A 192.168.2.1 for example and if I am working in a win98
client, I could connect with another computer from the other lans such
as this computer was on my lan.

In lan1 server is server1, in lan2 server is server2 and server3 in lan3

My problem is that I would like the w98 clients could see the 3 lans at
the same time on the windows explorer. Now I can see the three servers
on the explorer but when i try to connect to other server, windows says
me that it couldn't find the name of the server, however, since dos
promp i can do --> net view \\server  and it's ok

Is a problem If netbios-name from the 3 servers are the same name?

Somebody can help me???







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