Re: [Samba] samba performance multi-thread and multi core

2009-05-19 Thread John Drescher
> I have question about samba performance with  multi-thread and multi core > cpu. > > What can we do for samba performance with  multi-thread and multi core ? > Each connected user gets their own process and thus threads. The system will balance the threads over the cpus. John -- To unsubscribe f

[Samba] samba performance multi-thread and multi core

2009-05-19 Thread 주원배
Hi fellows I have question about samba performance with multi-thread and multi core cpu. What can we do for samba performance with multi-thread and multi core ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba and Migration to an existing LDAP backend

2009-05-19 Thread John H Terpstra - Samba Team
John Goubeaux wrote: >> >> John, >> >> You can migrate all your /etc/passwd, /etc/shadow, /etc/group entries to >> LDAP using the PADL Migration Tools. See: >> http://www.padl.com/OSS/MigrationTools.html >> >> After the UNIX system accounts have been migrated to LDAP, just execute: >> pdbedit -

[Samba] Re: read/write multiplexed support

2009-05-19 Thread Günter Kukkukk
Am Dienstag, 19. Mai 2009 schrieb Volker Lendecke: > On Tue, May 19, 2009 at 02:26:25PM -0500, Christopher R. Hertel wrote: > > >From your description, it seems that there is a lot going on. > > > > Unfortunately, I don't personally know nearly enough about the OS/2 > > implementation of SMB. I k

Re: [Samba] Samba and Migration to an existing LDAP backend

2009-05-19 Thread John Goubeaux
John, You can migrate all your /etc/passwd, /etc/shadow, /etc/group entries to LDAP using the PADL Migration Tools. See: http://www.padl.com/OSS/MigrationTools.html After the UNIX system accounts have been migrated to LDAP, just execute: pdbedit -i smbpasswd -e ldapsam pdbedit -

Re: [Samba] Samba and Migration to an existing LDAP backend

2009-05-19 Thread John H Terpstra - Samba Team
John Goubeaux wrote: > Folks, > > I have a new build of samba 3.3.0 ( stand alone file server ) which is > configured to find all user data in an ldap directory, eg passdb backend > = ldapsam. After testing I have confirmed that it all seems to work as > it should with a test set of users. > >

[Samba] Samba and Migration to an existing LDAP backend

2009-05-19 Thread John Goubeaux
Folks, I have a new build of samba 3.3.0 ( stand alone file server ) which is configured to find all user data in an ldap directory, eg passdb backend = ldapsam. After testing I have confirmed that it all seems to work as it should with a test set of users. Now I need to figure out the be

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread John Du
Miguel Medalha wrote: or are you saying "nss_base_hosts ou=Computers,dc=DOMAIN,dc=IT?one" is wrong? I don't know about NFS, but from the point of view of a Samba PDC the above is wrong. Computers are also domain users and as such they must be referred to the "nss_base_passwd" dir

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread Miguel Medalha
or are you saying "nss_base_hosts ou=Computers,dc=DOMAIN,dc=IT?one" is wrong? I don't know about NFS, but from the point of view of a Samba PDC the above is wrong. Computers are also domain users and as such they must be referred to the "nss_base_passwd" directive. Quoting from

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread John Du
dogb...@infinito.it wrote: Miguel Medalha wrote: Based on your smb.conf, you must have the following entries in /etc/ldap.conf nss_base_passwdou=Users,dc=DOMAIN,dc=IT?one nss_base_passwdou=Computers,dc=DOMAIN,dc=IT?one nss_base_shadowou=Users,dc=DOMAIN,dc=IT?one nss_

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread John Du
Miguel Medalha wrote: nss_base_passwdou=Computers,dc=DOMAIN,dc=IT?one should be nss_base_hostsou=Computers,dc=DOMAIN,dc=IT?one No, it shouldn't. From the point of view of a Windows domain, computers are users too. The Samba manual even makes a joke about that, saying tha

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread Miguel Medalha
If I try to connect with a user that exist in both the LDAP and etc/passwd files I cannot get it to authenticate (error user is invalid or bad password) but I don't get any log in the samba files It means that the error precedes Samba. -- To unsubscribe from this list go to the following URL

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread Miguel Medalha
Did you install libnss-ldap and libpam-ldap? You need those. Also, in /etc/nsswitch.conf: passwd: files ldap shadow: files ldap group: files ldap I found that Samba works better with the "ldpasam:trusted = yes" parameter. In this case, your LDAP database MUST contain the entire POSIX accoun

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread Miguel Medalha
nss_base_passwdou=Computers,dc=DOMAIN,dc=IT?one should be nss_base_hostsou=Computers,dc=DOMAIN,dc=IT?one No, it shouldn't. From the point of view of a Windows domain, computers are users too. The Samba manual even makes a joke about that, saying that "computers are peo

Re: [Samba] multiple domain info entries problem

2009-05-19 Thread Leonardo Carneiro
after many tries and upgrading my samba to 3.2.5, the sharing is working... kind of. now everyone can access their exclusive folders on the server, also can acess the public folder (anyone can access this folder without authentication). when people try to access folders that they should not acc

[samba] la nguage cha rset confi guration problem!

2009-05-19 Thread z w
From: rhy...@hotmail.com To: samba@lists.samba.org Subject: language charset problem! Date: Sun, 17 May 2009 02:10:45 + dear all, I port samba 3.0.0 to board ,and it is almost ok. but there still some problem about file display can't be resolved. I use charset C 1 chinese name

Re: [Samba] user cannot logon to domain although log says "auth succeeded"

2009-05-19 Thread Volker Lendecke
On Tue, May 19, 2009 at 04:19:34PM +0100, peter pilsl wrote: > A more detailed log at Loglevel=15 can be viewed at : > http://www.goldfisch.at/temp/smb.log.txt (~150kB) I never understand why people cut log files. There is NO indication whatsoever about any failure, but a lot of indication that p

Re: [Samba] now I really may have a problem, yuck

2009-05-19 Thread simo
On Mon, 2009-05-18 at 16:24 -0500, Mike Eggleston wrote: > On Mon, 18 May 2009, simo might have said: > > > On Mon, 2009-05-18 at 16:17 -0500, Mike Eggleston wrote: > > > Morning, > > > > > > Well I ordered a Windows Server 2008 Standard for a need around here and > > > after just spending an hou

Re: [Samba] valid users VS users in conf

2009-05-19 Thread DNK
On 18-May-09, at 11:48 PM, Michael Heydon wrote: DNK wrote: Why would this happen? No idea... Is there any disadvantage or security concern by using the "users = @group" style? Yes, the users option does something completely different to the valid users option. While there may be some s

[Samba] user cannot logon to domain although log says "auth succeeded"

2009-05-19 Thread peter pilsl
I have a very strange problem and I'm doomed. In a samba-domain with XP-clients certain users cannot logon to some computers. The user tries to logon but *immediately* gets the message "you cant get logged on. please check username and domain and retype your password" (translated from german)

Re: [Samba] Samba's incorrect handling of LDAP ppolicy responses (yes, again)

2009-05-19 Thread Ryan Steele
Volker Lendecke wrote: On Tue, May 19, 2009 at 09:31:30AM -0400, Ryan Steele wrote: No problem. To the 3.4 branch or the 4.0? Also, as I stated before, I'm more than happy to help in any way I can. 3.4. please. Volker Here ya go. Let me know if you have any questions or concerns: https:

Re: [Samba] Samba Panic

2009-05-19 Thread Andrew Porter
Volker Lendecke wrote: Send more logs -- at least 1000 lines before that event please. bzip2 should nicely compress that. Attached -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

[Samba] smbd + winbindd = "lot of /var/log/messages"

2009-05-19 Thread Vinicius Abrahao
Hello Good Peopple, I had install a samba PDC server with openldap backend. It's working but I have a lot messages at log. What I'm doing wrong? ( Here http://pastebin.ca/1427490 , I put my smb.conf) May 19 11:23:46 thome smbd[57069]: [2009/05/19 11:23:46, 0] lib/util_sock.c:get_peer_addr_inte

Re: [Samba] "The network name cannot be found" error message

2009-05-19 Thread John Drescher
2009/5/19 주원배 : > Hi samba lists !! > > > > > > I’m found error message Windows XP > > “The network name cannot be found" > The XP client does not know the ip address of the samba server because for some reason whatever method you are using for name to ipaddress resolution temporarily stopped worki

Re: [Samba] Samba's incorrect handling of LDAP ppolicy responses (yes, again)

2009-05-19 Thread Volker Lendecke
On Tue, May 19, 2009 at 09:31:30AM -0400, Ryan Steele wrote: > No problem. To the 3.4 branch or the 4.0? Also, as I stated before, > I'm more than happy to help in any way I can. 3.4. please. Volker pgpU2G7uFn8Br.pgp Description: PGP signature -- To unsubscribe from this list go to the foll

Re: [Samba] Samba's incorrect handling of LDAP ppolicy responses (yes, again)

2009-05-19 Thread Ryan Steele
Volker Lendecke wrote: On Mon, May 18, 2009 at 01:36:12PM -0400, Ryan Steele wrote: Probably beating a dead horse, but is it still the case (as it has been for several years) that Samba incorrectly handles responses from LDAP's ppolicy overlay? As we are working more actively with bugzilla ag

[Samba] 14.4G samba filesystem limit?

2009-05-19 Thread Edward Ned Harvey
I have a share on a disk with 120G free. But for some reason, all my CIFS clients report only 14.4G empty. Depending on what I'm trying to do with the share, the client may happily ignore the supposed free space limitation, but some programs actually give me a warning and refuse to work, "Error,

Re: [Samba] Samba Panic

2009-05-19 Thread Volker Lendecke
On Tue, May 19, 2009 at 11:14:54AM +0100, Andrew Porter wrote: > Below is a log file of a panic that occurs on two different sites > running Debian Stable Samba 3.2.5. The problem is triggered by Sophos > Control Centre doing it's hourly check for updates, and as SCC is > running on a user's PC

[Samba] multiple domain info entries problem

2009-05-19 Thread Leonardo Carneiro
Hi fellows. I'm new to the list and hope I'll have a nice time here. one of my servers running samba+ldap is not working properly. the setup is: Debian 5 fileserver:/etc/samba#smbd --version Version 3.0.24 fileserver:/etc/samba# slapd -V @(#) $OpenLDAP: slapd 2.3.30 (Oct 5 2008 22

[Samba] Samba Panic

2009-05-19 Thread Andrew Porter
Below is a log file of a panic that occurs on two different sites running Debian Stable Samba 3.2.5. The problem is triggered by Sophos Control Centre doing it's hourly check for updates, and as SCC is running on a user's PC in both cases causes problems for the user. I've tried everything an

Re: [Samba] Users can't login on Samba+Ldap

2009-05-19 Thread dogbert
Miguel Medalha wrote: > Based on your smb.conf, you must have the following entries in > /etc/ldap.conf > > nss_base_passwdou=Users,dc=DOMAIN,dc=IT?one > nss_base_passwdou=Computers,dc=DOMAIN,dc=IT?one > nss_base_shadowou=Users,dc=DOMAIN,dc=IT?one > nss_base_group

Re: [Samba] Samba's incorrect handling of LDAP ppolicy responses (yes, again)

2009-05-19 Thread Volker Lendecke
On Mon, May 18, 2009 at 01:36:12PM -0400, Ryan Steele wrote: > Probably beating a dead horse, but is it still the case (as it has been > for several years) that Samba incorrectly handles responses from LDAP's > ppolicy overlay? As we are working more actively with bugzilla again now, can you ple

[Samba] "The network name cannot be found" error message

2009-05-19 Thread 주원배
Hi samba lists !! I’m found error message Windows XP “The network name cannot be found" When I try to connect to smb server that is mapped e: 1. I was downloading very large file 40GByte with torrent during 5 hours. 2. This error occurred! 3. But web server and tel

Re: [Samba] Problems with one thread excessive CPU usage.

2009-05-19 Thread Kasper Sacharias Eenberg
I have set up strace on both servers, and i will be waiting for the problem to happen again. Unfortunately it might a a while. With regards, Kasper Eenberg HOVMARK DATA Ravnevej 13 dk-6705 Esbjerg Ø tlf: +45 76 12 59

Re: [Samba] Problems with one thread excessive CPU usage.

2009-05-19 Thread Volker Lendecke
On Tue, May 19, 2009 at 08:35:20AM +0200, Kasper Sacharias Eenberg wrote: > I'm having some problems with one thread of samba, taking excessive CPU > usage. Can you do an strace on those servers? If they are still serving syscalls and signals, please send a smbcontrol debug 10 and send the resu