Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread Lukasz Szybalski
On Thu, May 15, 2008 at 7:05 PM, Olivier Parisy <[EMAIL PROTECTED]> wrote: > Hi all, > > I set up a Samba server (version 3.0.24) names "Lamp" on a Debian Etch > distribution. It provides a "guest" (guest ok = yes, guest only = yes, > security = SHARE) access to a "share" directory, which works fin

[Samba] SAMBA PDC with LDAP backend syncing unix/samba accounts ...

2008-05-17 Thread yogi
Hi all , I'm running Debian Etch . I just finished configuring SAMBA as PDC to authenticate against LDAP server which works. The system in question uses default debian etch packages. As My Linix/unix accounts can authenticate against it. The LDAP works. I Used the default shipped smbl

[Samba] Re: nmbd using 80-90% cpu for name reg from phantom

2008-05-17 Thread sean darcy
sean darcy wrote: nmbd is using a lot of cpu: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 22681 root 20 0 10080 1520 1084 R 99.0 0.3 146:30.78 nmbd log.nmbd logs 30-40 messages per second:: [2008/05/17 12:56:41, 0] nmbd/nmbd_incomingrequests.c:process_name_re

[Samba] nmbd using 80-90% cpu for name reg from phantom

2008-05-17 Thread sean darcy
nmbd is using a lot of cpu: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 22681 root 20 0 10080 1520 1084 R 99.0 0.3 146:30.78 nmbd log.nmbd logs 30-40 messages per second:: [2008/05/17 12:56:41, 0] nmbd/nmbd_incomingrequests.c:process_name_registration_reque

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread Chris Smith
On Saturday 17 May 2008, Olivier Parisy wrote: > > It's good to avoid security=share, especially if you want to run > > WINS. > > I understand this. But that is simpler, and enough for me. That share > is only used by local, trusted computers. Much less difficult than anything else involved here;

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread Olivier Parisy
John H Terpstra a écrit : No. Not a packaging issue. winbind and wins NSS files are built out of the same code tree. It is a good idea to keep them together - just use what you need and ignore the rest. That's a good point! Following this advice, I installed the winbind package but disable

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread John H Terpstra
On Saturday 17 May 2008 07:44:36 am Olivier Parisy wrote: > John H Terpstra a écrit : > > I am a little lost at to what the problem is here. WINS does not require > > winbindd to be running. On the Linux system it requires: > > > > 1) In your /etc/nsswitch.conf file: > > ... > > hosts: files win

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread Olivier Parisy
John H Terpstra a écrit : I am a little lost at to what the problem is here. WINS does not require winbindd to be running. On the Linux system it requires: 1) In your /etc/nsswitch.conf file: ... hosts: files wins [NOTFOUND=return] dns ... 2) Install the samba file libnss_wins.so.2 in the /

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread John H Terpstra
On Saturday 17 May 2008 06:41:08 am Olivier Parisy wrote: > John H Terpstra a écrit : > > On Friday 16 May 2008 09:22:43 am Charles Marcus wrote: > >> On 5/16/2008 10:08 AM, L.P.H. van Belle wrote: > > set your resolve.conf to resolve on localhost first and set the > > search order. > >

Re: [Samba] Existing files don't show up in share, new files do

2008-05-17 Thread Pepijn Schmitz
I found out this bizarre problem also occurs when I mount the share from another Linux system, so it does not appear to be related to Windows. To recap: one of my Samba shares suddenly mysteriously hides all existing files, while still working completely normally with any newly created files.

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread Olivier Parisy
Chris Smith a écrit : A few thoughts, take from them what you will (and remember, free advice is worth what you pay for it). That is understandable. Thanks for your time :-) It's really good to have proper IP name resolution. Requires DNS or (ugh) hosts files. It can also be good to have

Re: [Samba] NetBIOS name resolution from Linux

2008-05-17 Thread Olivier Parisy
John H Terpstra a écrit : On Friday 16 May 2008 09:22:43 am Charles Marcus wrote: On 5/16/2008 10:08 AM, L.P.H. van Belle wrote: set your resolve.conf to resolve on localhost first and set the search order. example of the resolve.conf search yourlocaldomain.internal.local otherdomain.c

[Samba] smb_ldap_setup_connection failed with blank user Password

2008-05-17 Thread Thomas Reiß
Hi, i have a succesfully PDC Setup on a Novell/Suse OES1 SP2 Server with eDirectory/LDAP and Samba Version 3.0.26a-0.7-1616-SUSE-SLES9. Only Problem is, a User with a blank Password can't be authenticated on a Domain Member Server (Users with Passwords doesn't have this Problem). A Samba Level 1

[Samba] libsmbclient: how to see if authentication succeeded

2008-05-17 Thread Willem van Engen
Hello, I'm looking for a way in libsmbclient to see if authentication succeeded or not. Not finding libsmbclient documentation except examples, I started looking at code and found some doing a trivial operation (stat on a known-readable path for example). However, in my case I have no guarenteed-r