[Samba] samba + ldap malfunction

2012-10-29 Thread Petre Bandac
hello, everybody

after migrating the cfg file from samba version 3.2.5 to 3.5.6
mounting the share and browsing its directories takes a very long time
(at least for the root folder and for the first time, after that it
kind of stabilizes and works ok, file transfer speed is as it should
be, though from time to time it is lagging)



the only thing that caught my eye was a start tls error in the logs:

##
 Failed to issue the StartTLS instruction: Connect error
##

 I tried to disable tls when talking to ldap with

##
ldap ssl = off
##

but in this case I cannot access the shares anymore


the log and testparm output - http://pastebin.com/xpaSTW7e

if there are any ldap settings needed to troubleshoot this, I can make
them available

except implementing ssl, is there another option to make this work ? in
the old setup it was running ok

thanks for your time,

petre

-- 

Petre Bandac

Network Scientist

-

pe...@kgb.ro
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba replacing novell

2010-11-24 Thread Petre Bandac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have found a workaround by installing a terminal server and having the
app work within the lan - browsing the database is ok, only when
printing to the local printer it takes about 30-40 sec

however, I would like to find out what is the cause for this behaviour

as shown by testparm, wins is enabled

I will try to enter the machine in /etc/hosts and see if I get some
improvement

Moray Henderson wrote:
> Petre Bandac wrote:
>> - - when ran from a remote location (connected via openvpn), the app
> takes
>> a very long time to open, and when searching for records it takes more
>> than 2-3 minutes to display the results of the query (even though other
>> tests have shown the connectivity is ok and file transfer is as fast as
>> the line allows) - this happens even if this workstation is the only
> one
>> accesing the fileserver
> 
> Is name resolution working properly?  Windows shortcuts contain a hidden
> server name; if Windows has trouble resolving the server by name you can
> have long delays.  Similarly for database queries.
> 
> 
> Moray.
> "To err is human.  To purr, feline"
> 
> 
> 
> 
> 
> 

- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM7QqTwAhp/odORYgRAjHYAJ9sHclboiGZJoYetqysXhYOhXVFiwCgiN6I
9KgCMEO4b2uvzUaEG72Y/fI=
=LSSg
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba replacing novell

2010-11-23 Thread Petre Bandac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hallo

attached is the tcpdump for the computer with the slow running app -
remote workstation with openvpn

(for the local computers - it is only the app that freezes, not the
whole operating system)

the workstations are all win xp

I shall test today from the remote workstation with the share from a 2k3
server and see what happens, in order to exactly locate where the
problem resides

I have also enabled debug level 10 and see what comes up; hopefully this
won't overload the server

thanks,

petre


Jeremy Allison wrote:
> On Tue, Nov 23, 2010 at 01:55:41AM +0200, Petre Bandac wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> hallo
>>
>> I have decomissioned an old novell netware serving as fileserver for a
>> foxpro app with a samba virtual freebsd machine under vmware esxi
>>
>> all works ok (time of response when browsing folders, throughput at
>> speed tests, etc), except the following foxpro related issues which I
>> could not solve in the  last week:
>>
>> - - when ran from LAN, the app randomly freezes from time to time
> 
> Can you get wireshark traces or debug level 10 logs of what is
> going on when the app freezes ? Does it eventually display an
> error message or is the client computer just frozen and needs
> to be rebooted ?
> 
>> - - when ran from a remote location (connected via openvpn), the app takes
>> a very long time to open, and when searching for records it takes more
>> than 2-3 minutes to display the results of the query (even though other
>> tests have shown the connectivity is ok and file transfer is as fast as
>> the line allows) - this happens even if this workstation is the only one
>> accesing the fileserver
>>
>> this behavior appeared only after switching from novell to samba
> 
> Again, traces of what is going on here would be needed. If the client
> machine is Win7, SMB2 support (due in Samba 3.6.0) might help as
> Microsoft have done lots of work on the SMB2 redirector for high
> latency links.
> 
> Jeremy.

- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM7EtqwAhp/odORYgRApB6AJ49ioulG2Z8I3x6kffLE5QUhI67RQCfZDjb
x8FXNHj0OW9adyxlMAwOFJE=
=O3eW
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] samba replacing novell

2010-11-22 Thread Petre Bandac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hallo

I have decomissioned an old novell netware serving as fileserver for a
foxpro app with a samba virtual freebsd machine under vmware esxi

all works ok (time of response when browsing folders, throughput at
speed tests, etc), except the following foxpro related issues which I
could not solve in the  last week:

- - when ran from LAN, the app randomly freezes from time to time

- - when ran from a remote location (connected via openvpn), the app takes
a very long time to open, and when searching for records it takes more
than 2-3 minutes to display the results of the query (even though other
tests have shown the connectivity is ok and file transfer is as fast as
the line allows) - this happens even if this workstation is the only one
accesing the fileserver

this behavior appeared only after switching from novell to samba

the question which would summarize this situation would be "what exactly
did the novell netware for the foxpro app which samba does/cannot do?"

I have tried with

level2 oplocks = no
oplocks = no

added IPTOS_THROUGHPUT to socket options

and the same result

testparm output is below


thank you for your time,

petre

##

[global]
workgroup = SOME_WORKGROUP
server string = fileserver
security = SHARE
map to guest = Bad Password
guest account = conta
client lanman auth = Yes
log file = /var/log/samba34/log.%m
max log size = 50
socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY
dns proxy = No
wins support = Yes


- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM6wL9wAhp/odORYgRAriGAKCbR46R9Yko64aWuMxK9z8/af/FCACfV6Am
Qfm0+MMXKRrzli3rNFKhhf8=
=qTzg
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba pdc & ldap vs mysql

2007-09-15 Thread Petre Bandac



mups.cp wrote:

I understand your point of view, but most of time people prefer have
only an username and password instead one for each application and
system they use.


that is exactly what I want to do; so, using ldap, I can have the same 
user/pass for both domain and mailbox


based on your experience, which would fit better with postfix/courier 
and samba ?


thanks,

petre


There are other options, but I prefer LDAP for account management and
centralization. Others will prefer MySQL.

On 15 Sep 2007 17:42:00 +0200, Helmut Hullen <[EMAIL PROTECTED]> wrote:

Hallo, mups.cp,

Du (mups.cp) meintest am 15.09.07:


I'm a ldap fan. LDAP could be used to centralize all kind of app and
system you could need, even intranet accounts, samba, a replace for
nis, postfix, qmail, and so on.

Don't put all your eggs into one basket ...

Viele Gruesse!
Helmut
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba



--

Petre Bandac

Network Scientist

-
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba pdc & ldap vs mysql

2007-09-15 Thread Petre Bandac

hallo

I have a task to reorganize the network resources of a medium company 
(~150 computers, 80% windows) which in the current state is very chaotic


I was thinking of a system where the users are stored in a single place, 
from where applications like mail (postfix), squid and even a domain 
controller can retrieve information


from your past experience, which does a better job - ldap or users 
stored in a mysql database ? I would appreciate your feedback or some 
links (I already have googled around and found several sources from 
where I am reading right now)


I would like to have the same user/password for at least mail & domain logon

thank you for your time,

petre
--

Petre Bandac

Network Scientist

-
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba