Re: [Samba] Samba+LDAP + Primary GIDs

2010-01-29 Thread Rob Shinn
Kris Lou wrote: PDC Results: SID for local machine KIF is: S-1-5-21-1297059763-2273326489-166094 SID for domain MLC is: S-1-5-21-957249707-1866601452-441284377 Openfiler Results: SID for local machine VADER is: S-1-5-21-2859034502-3981372097-2611941478 SID for domain MLC is:

Re: [Samba] Samba+LDAP + Primary GIDs

2010-01-29 Thread Kris Lou
ldap.conf/nsswitch.conf/ldap.secrets all exist. Something might be wrong with the set up on the PDC side - when I run net groupmap list , all of my mappings correctly show up. But when I run a net rpc group list on the PDC, only 2 groups (most recently created) are displayed. Kris Lou

Re: [Samba] Samba+LDAP + Primary GIDs

2010-01-25 Thread Kris Lou
PDC Results: SID for local machine KIF is: S-1-5-21-1297059763-2273326489-166094 SID for domain MLC is: S-1-5-21-957249707-1866601452-441284377 Openfiler Results: SID for local machine VADER is: S-1-5-21-2859034502-3981372097-2611941478 SID for domain MLC is:

Re: [Samba] Samba+LDAP + Primary GIDs

2010-01-23 Thread Rob Shinn
What does your 'net getdomainsid' or 'net getlocalsid' output look like? Kris Lou wrote: Hi Rob, Thanks for the quick reply - Here it is (mostly with some cut and paste). CentOS 5.4 Samba 3.2.15 dn: cn=Domain Admins,ou=Group,dc=themusiclink,dc=net description: Netbios Domain Administrators

[Samba] Samba+LDAP + Primary GIDs

2010-01-18 Thread Kris Lou
Hi List, This may be more of an LDAP question than a Samba question - if so, let me know! I have an implementation of samba + openldap, and using that server as an external ldap server for an Openfiler install. I've run into problems with user authentication (WinXP) where either samba or ldap

Re: [Samba] Samba+LDAP + Primary GIDs

2010-01-18 Thread Rob Shinn
Kris Lou wrote: I've checked my ldif's - the groups exist, the users exists as memberids, but it looks like samba is only checking the gid? Can you post the LDIFs of your groups (you can edit out any incriminating evidence ;)? Sounds like your groups are lacking correct sambaSID or

Re: [Samba] Samba+LDAP + Primary GIDs

2010-01-18 Thread Kris Lou
Hi Rob, Thanks for the quick reply - Here it is (mostly with some cut and paste). CentOS 5.4 Samba 3.2.15 dn: cn=Domain Admins,ou=Group,dc=themusiclink,dc=net description: Netbios Domain Administrators sambaSID: S-1-5-21-957249707-1866601452-441284377-512 sambaGroupType: 2 displayName: Domain

Re: [Samba] samba+ldap two domains db sync?

2010-01-13 Thread Rob Shinn
Alberto Moreno wrote: Is possible to sync both ldap servers every time I change something in ldap? or a better way to do it?Alberto Moreno wrote: You could probably do this with OpenLDAP's syncrepl replication facility. You may also wish to consider combining everything into one LDAP database,

Re: [Samba] samba+ldap two domains db sync?

2010-01-13 Thread Larry Velez
setups like this. thanks, Larry -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Rob Shinn Sent: Monday, January 11, 2010 9:33 AM To: Alberto Moreno Cc: samba@lists.samba.org Subject: Re: [Samba] samba+ldap two domains db sync

[Samba] samba+ldap two domains db sync?

2010-01-11 Thread Alberto Moreno
Hi people. I have 2 domains running samba with ldap(Centos 5.x), I would like to know this. I would like to have the same DB in both sites, if I change the users just would like to do it 1 time. Is possible to sync both ldap servers every time I change something in ldap? or a better way

Re: [Samba] samba+ldap two domains db sync?

2010-01-11 Thread Rob Shinn
Alberto Moreno wrote: Is possible to sync both ldap servers every time I change something in ldap? or a better way to do it?Alberto Moreno wrote: You could probably do this with OpenLDAP's syncrepl replication facility. You may also wish to consider combining everything into one LDAP

Re: [Samba] samba+ldap two domains db sync?

2010-01-11 Thread Gaiseric Vandal
On 01/11/10 09:31, Rob Shinn wrote: Alberto Moreno wrote: Is possible to sync both ldap servers every time I change something in ldap? or a better way to do it?Alberto Moreno wrote: You could probably do this with OpenLDAP's syncrepl replication facility. You may also wish to consider

Re: [Samba] samba+ldap two domains db sync?

2010-01-11 Thread Rob Shinn
Gaiseric Vandal wrote: I don't think one user in LDAP could be in two different domains- each user has to have a distinct SambaSID entry. Ooomph! *slaps forehead*. You're right. That's what I get for posting before I've had my coffeee. I stand by my original statement that OpenLDAP's

Re: [Samba] samba+ldap two domains db sync?

2010-01-11 Thread Alberto Moreno
Thanks people. I will read about synrepl and see how it works, thanks all of u for your tips!!! See u!!! On Mon, Jan 11, 2010 at 6:49 AM, Rob Shinn mor...@tuxedo.darktech.org wrote: Gaiseric Vandal wrote: I don't think one user in LDAP could be in two different domains-  each user has

Re: [Samba] Samba + LDAP: Changing user's group

2009-12-21 Thread davefu
Bump Wes Deviers wrote: I'm having this same problem, but it's new. Using 3.4.2 Debian packages, recently upgraded. I never had any type of LDAP group caching problem until the last 2 weeks. I added a user to an LDAP group as normal because they needed access to a new share.

Re: [Samba] Samba + LDAP: Changing user's group

2009-12-02 Thread Wes Deviers
I'm having this same problem, but it's new. Using 3.4.2 Debian packages, recently upgraded. I never had any type of LDAP group caching problem until the last 2 weeks. I added a user to an LDAP group as normal because they needed access to a new share. Cleared the nscd caches as normal. The

Re: [Samba] Samba + LDAP: Changing user's group

2009-12-01 Thread davefu
Hi, thanks for answering. I have only 1 Samba server. When I mentioned changes on groups, I meant on LDAP server. LDAP is used on both system and samba environments. When changing groups on users, those changes are instant on the system environment, but not on Samba. - I create a new Folder A,

Re: [Samba] Samba + LDAP: Changing user's group

2009-11-30 Thread sato x
On Thu, Nov 19, 2009 at 7:28 PM, davefu davef...@gmail.com wrote: Hello fellas. I'm facing this problem today: My Samba PDC is using LDAP as a backend, and its working really good. The problem comes when I change the groups on one of the users. System shows the change correctly by using

Re: [Samba] Samba + LDAP error in windows xp while ACL

2009-11-25 Thread D.Rajan
: [Samba] Samba + LDAP error in windows xp while ACL To: D.Rajan rajand_2...@yahoo.com Cc: samba@lists.samba.org Date: Tuesday, 17 November, 2009, 3:09 PM Dear rajan    Did you set ldap admin password for samba by using following command. root#smbpasswd -w ldap admin password By the way you can

Re: [Samba] Samba + LDAP: Changing user's group

2009-11-20 Thread davefu
...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of davefu Sent: Thursday, November 19, 2009 7:29 AM To: samba@lists.samba.org Subject: [Samba] Samba + LDAP: Changing user's group Hello fellas. I'm facing this problem today: My Samba PDC is using LDAP as a backend

[Samba] Samba + LDAP: Changing user's group

2009-11-19 Thread davefu
Hello fellas. I'm facing this problem today: My Samba PDC is using LDAP as a backend, and its working really good. The problem comes when I change the groups on one of the users. System shows the change correctly by using 'getent group' and if I log as that user the behavior correct when trying

Re: [Samba] Samba + LDAP: Changing user's group

2009-11-19 Thread Gaiseric Vandal
Subject: [Samba] Samba + LDAP: Changing user's group Hello fellas. I'm facing this problem today: My Samba PDC is using LDAP as a backend, and its working really good. The problem comes when I change the groups on one of the users. System shows the change correctly by using 'getent group' and if I log

Re: [Samba] Samba + LDAP error in windows xp while ACL

2009-11-17 Thread vishesh kumar
Dear rajan Did you set ldap admin password for samba by using following command. root#smbpasswd -w ldap admin password By the way you can also use *pdbedit -Lv* command to ensure samba is communicating to ldap properly. Thanks On Tue, Nov 17, 2009 at 10:55 AM, D.Rajan rajand_2...@yahoo.com

Re: [Samba] Samba + LDAP error in windows xp while ACL

2009-11-16 Thread D.Rajan
Dear All,      What the files i need to be check to solve the problem.  i am having PDC BDC   r...@sangam:/var/log/samba# net getlocalsid SID for domain SANGAM is: S-1-5-21-4020846335-601350461-1468625926 r...@vaigai:~# net getlocalsid SID for domain VAIGAI is:

[Samba] Samba + LDAP error in windows xp while ACL

2009-11-08 Thread D.Rajan
Dear all,    I am using Samba + PDC LDAP in a single server. From last month onward i am facing problem When I set manualy the acl (setfacl -m g:group:rwx the_file) It's ok, the other domain member see the ACL But when I set the acl with a Windows Workstation, that's don't work it gives the

Re: [Samba] Samba + LDAP error in windows xp while ACL

2009-11-08 Thread Gaiseric Vandal
, 2009 7:39 AM To: samba@lists.samba.org Subject: [Samba] Samba + LDAP error in windows xp while ACL Dear all,    I am using Samba + PDC LDAP in a single server. From last month onward i am facing problem When I set manualy the acl (setfacl -m g:group:rwx the_file) It's ok, the other domain member

Re: [Samba] samba ldap

2009-10-29 Thread Kaushal Shriyan
On Thu, Oct 29, 2009 at 12:13 AM, Dale Schroeder d...@briannassaladdressing.com wrote: Dale Schroeder Technical Issues Del Sol Food Company, Inc. (979)836-5978(979) 836-5978 Kaushal Shriyan wrote: On Wed, Oct 28, 2009 at 11:44 PM, Dale Schroeder d...@briannassaladdressing.com wrote:

Re: [Samba] Samba LDAP: Unable to allocate a new user id: bailing out!

2009-10-29 Thread Christian Geiger
Great - that was the reason. In case someone else encounters the same problem - adding the following lines helped: idmap backend = ldap idmap alloc backend = ldap idmap alloc config:ldap_base_dn = ou=idmaps,dc=lohrmann,dc=de idmap alloc config:ldap_user_dn =

Re: [Samba] samba ldap

2009-10-28 Thread Kaushal Shriyan
On Wed, Oct 28, 2009 at 12:39 AM, Dale Schroeder d...@briannassaladdressing.com wrote: Kaushal Shriyan wrote: On Tue, Oct 27, 2009 at 11:22 PM, Dale Schroeder d...@briannassaladdressing.com wrote: Two things that I can think of: 1. Did you remember to run smbpasswd -w 2. In

[Samba] Samba LDAP: Unable to allocate a new user id: bailing out!

2009-10-28 Thread Christian Geiger
Hi! I'm currently setting up a Samba 3 PDC. So far I managed to setup Samba with an OpenLDAP backend, but adding a user with the command net rpc user add mg password -U root results in the following error: Failed to add user 'mg' with: WERR_GENERAL_FAILURE. In the logfile it says:

Re: [Samba] samba ldap

2009-10-28 Thread Kaushal Shriyan
On Wed, Oct 28, 2009 at 11:44 PM, Dale Schroeder d...@briannassaladdressing.com wrote: Kaushal Shriyan wrote: Hi, I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html and ldap works perfectly fine. I have issues with connecting to ldap from samba. I get [2009/10/27

Re: [Samba] Samba + LDAP problem for find user name

2009-10-28 Thread Jamrock
Bruno Steven aspe...@gmail.com wrote in message news:c6bf33680910270225n6b5423e5te193e27399144...@mail.gmail.com... I have samba integrated with openldap , all process are up and I am trying add one machine Windows XP with SP3 in domain Samba , but windows show this message Error while the

[Samba] samba ldap

2009-10-27 Thread Kaushal Shriyan
Hi, I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html and ldap works perfectly fine. I have issues with connecting to ldap from samba. I get [2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153) Connection to LDAP server failed for the 9 try! [2009/10/27

[Samba] Samba + LDAP problem for find user name

2009-10-27 Thread Bruno Steven
I have samba integrated with openldap , all process are up and I am trying add one machine Windows XP with SP3 in domain Samba , but windows show this message Error while the attempt of entry in domain amblivre.com Is not possible find user name I am tired because I don´t found any solution

Re: [Samba] Samba + LDAP problem for find user name

2009-10-27 Thread Bruno Steven
Hi .. guy or girls ... until now I did´t found any information that resolv my problem , there is somebody in this list that made Samba more Openldap together work ? On Tue, Oct 27, 2009 at 7:25 AM, Bruno Steven aspe...@gmail.com wrote: I have samba integrated with openldap , all process

Re: [Samba] samba+ldap

2009-10-24 Thread morgan
On Fri 23/10/09 4:31 PM , Adam Williams wrote: Paras pradhan wrote: On Fri, Oct 23, 2009 at 2:07 PM, wrote: Most mainstream Linux distros are compiling in LDAP support these days, noproblem. Debian, Ubuntu, Fedora and SuSE are all compiling in LDAP in

[Samba] samba+ldap

2009-10-23 Thread Paras pradhan
Does this mean that my samba is ready to connect to LDAP server? r...@webdev # ./smbd -b |grep LDAP HAVE_LDAP_H HAVE_LDAP HAVE_LDAP_ADD_RESULT_ENTRY HAVE_LDAP_INIT HAVE_LDAP_INITIALIZE HAVE_LDAP_SET_REBIND_PROC HAVE_LIBLDAP LDAP_SET_REBIND_PROC_ARGS r...@webdev # Thanks!

Re: [Samba] samba+ldap

2009-10-23 Thread Adam Williams
mien has about the same, and connects to LDAP fine, so i think you are ready. [r...@missioncontrol BackupPC-3.2.0beta0]# smbd -b|grep LDAP HAVE_LDAP_H HAVE_LDAP HAVE_LDAP_ADD_RESULT_ENTRY HAVE_LDAP_INIT HAVE_LDAP_INITIALIZE HAVE_LDAP_SASL_WRAPPING HAVE_LDAP_SET_REBIND_PROC

Re: [Samba] samba+ldap

2009-10-23 Thread morgan
Most mainstream Linux distros are compiling in LDAP support these days, no problem. Debian, Ubuntu, Fedora and SuSE are all compiling in LDAP in their standard packages, AFAIK. I'm not sure what BSDs are doing these days, but I'd bet they're the same way. On Fri 23/10/09 2:55 PM ,

Re: [Samba] samba+ldap

2009-10-23 Thread Paras pradhan
On Fri, Oct 23, 2009 at 2:07 PM, mor...@tuxedo.darktech.org wrote: Most mainstream Linux distros are compiling in LDAP support these days, no problem.  Debian, Ubuntu, Fedora and SuSE are all compiling in LDAP in their standard packages, AFAIK.  I'm not sure what BSDs are doing these days, but

Re: [Samba] samba+ldap

2009-10-23 Thread Adam Williams
Paras pradhan wrote: On Fri, Oct 23, 2009 at 2:07 PM, mor...@tuxedo.darktech.org wrote: Most mainstream Linux distros are compiling in LDAP support these days, no problem. Debian, Ubuntu, Fedora and SuSE are all compiling in LDAP in their standard packages, AFAIK. I'm not sure what BSDs

[Samba] samba / ldap

2009-09-04 Thread azzouz
Hi ! il want tow have one ldap backend and tow instance domain in the same server. tow question : 1 - when i start the first instance domain1 i get a SID witch is put to secrets.tbd file. but when i start the second one it detect the SID in secrets file and so don't create an other.

Re: [Samba] samba / ldap

2009-09-04 Thread azzouz
azzouz wrote: Hi ! il want tow have one ldap backend and tow instance domain in the same server. tow question : 1 - when i start the first instance domain1 i get a SID witch is put to secrets.tbd file. but when i start the second one it detect the SID in secrets file and so don't

[Samba] Samba + ldap issues

2009-08-25 Thread Allgood, John
Hey All I am having a problems with using openldap and samba. We have been having issues with samba passwords expiring and I have tried several things to resolve the issues. The ldap server was setup using the smbldap-tools. When the password expires the only thing I have been able to do is

[Samba] Samba-LDAP Password Expiration Email Script?

2009-08-11 Thread samba
Hi All, I am currently running Samba with an OpenLDAP backend. I would like to be able to have a script run that would look at the sambaPwdLastSet attribute, compare it to the current time and then if needed...email the user a reminder to change their password. I have never written any scripts

[Samba] Samba + Ldap Unable to logon

2009-07-31 Thread bharat
Hi, I am trying to setup Samba with LDAP Authentication. I am using Samba Version 3.0.25b-0.el5.4 and OpenLDAP: slapd 2.3.43. I was able to run Samba with tdbsam as password backend and was able to join machine and authenticate XP users at logon. Using the same configuration I have inserted

[Samba] samba ldap problem

2009-07-20 Thread Mischa Diehm
Hi, we had this setup working for quite some time but after upgrading the samba package things look different: we now have the following samba/ldap setup: samba-3.0.34p1-cups-ldap openldap-server-2.3.43 the samba-ldap configuration is: doing parameter ldap suffix = dc=foo,dc=ch doing parameter

Re: [Samba] samba ldap problem

2009-07-17 Thread Marc Balmer
Am 16.07.2009 um 18:01 schrieb Mischa Diehm: Hi, we had this setup working for quite some time but after upgrading the samba package things look different: we now have the following samba/ldap setup: samba-3.0.34p1-cups-ldap openldap-server-2.3.43 the samba-ldap configuration is: doing

Re: [Samba] samba ldap problem

2009-07-17 Thread Johan Hendriks
Hi, we had this setup working for quite some time but after upgrading the samba package things look different: we now have the following samba/ldap setup: samba-3.0.34p1-cups-ldap openldap-server-2.3.43 the samba-ldap configuration is: doing parameter ldap suffix = dc=foo,dc=ch doing

Re: [Samba] samba ldap problem

2009-07-17 Thread Marc Balmer
Am 17.07.2009 um 13:55 schrieb Johan Hendriks: Hi, we had this setup working for quite some time but after upgrading the samba package things look different: we now have the following samba/ldap setup: samba-3.0.34p1-cups-ldap openldap-server-2.3.43 the samba-ldap configuration is:

Re: [Samba] samba ldap problem

2009-07-17 Thread Johan Hendriks
Hi, we had this setup working for quite some time but after upgrading the samba package things look different: we now have the following samba/ldap setup: samba-3.0.34p1-cups-ldap openldap-server-2.3.43 the samba-ldap configuration is: doing parameter ldap suffix = dc=foo,dc=ch

[Samba] Samba LDAP, with XP and Linux clients

2009-06-19 Thread Dave Beach
Hello list! I believe I may not have a Samba problem, but rather an LDAP directory problem. I'm hoping to be redirected towards a more appropriate mailing list to which I can post. I have a Slackware server running Samba and OpenLDAP, and my WinXP clients authenticate just fine. I migrated from

Re: [Samba] Samba LDAP, with XP and Linux clients

2009-06-19 Thread Olivier Nicole
Hi, Executing getent group on the Ubuntu client produces the expected results. Executing getent passwd does not; it only shows me a subset of the user accounts (notably, not my own account which was created prior to migration). I am running successfully with the user accounts having the

Re: [Samba] Samba LDAP, with XP and Linux clients

2009-06-19 Thread Olivier Nicole
To add a bit more, my users typically look like: dn: uid=a103,ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th objectClass: inetOrgPerson objectClass: posixAccount objectClass: top objectClass: sambaSamAccount cn: a103 sn: x uid: a103 uidNumber: 5072 gidNumber: 95 homeDirectory: /home/a103

Re: [Samba] Samba LDAP, with XP and Linux clients

2009-06-19 Thread Quinn Fissler
As you probably realilse, the two separate areas are what samba requires in ldap and what Linux requires - it's likely that you've only populated the samba required stuff. Think of ldap like a /etc/passwd file with many more columns. You only have the columns for samba but most of the Linix/POSIX

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-06-11 Thread Volker Lendecke
On Sat, May 16, 2009 at 09:40:16AM +0100, Martin Edwards wrote: It looks like we've fixed this. It seems msdfs is on by default. By chance I disabled it: host msdfs = no No more memory leak! At some point I will endeavour to recreate the old problem on a test box and find out why

[Samba] Samba+Ldap problems

2009-06-03 Thread dogbert
I'm trying to trobuleshoot my previuos problem from the basics. I've a box setup with Ubuntu, samba and ldap. I have a lot of problems with user authentications. I'm checking if LDAP and PAM ar working together. I've added an user to ldap with smbldap-useradd command (as posix account) and I'm

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Olivier Nicole
Hi, I'm trying to use it to login via ssh. This user cannot authenticate. Here is the result from auth.log and some configurations files This is not a samba problem but a SSH/Ubuntu/Ldap problem :) You need both packages pam_ldap AND nss_ldap. You need to configure both (configuration is

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread dogbert
: Re: [Samba] Samba+Ldap problems Data: 03/06/09 12:42 Hi, gt; I'm trying to use it to gt; login via ssh. This user cannot authenticate. gt; Here is the result from auth.log and some configurations files This is not a samba problem but a SSH/Ubuntu/Ldap problem :) You need both

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Tim Bates
dogb...@infinito.it wrote: Thanks Oliver, I will check all the files in /etc/pam.d Check /etc/nsswitch.conf first. I think it may be your first problem. I think that if I can succeed in authenticating via shell or ssh I can then rule-out pam issues and work on samba configuration. You need

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread dogbert
Ok, a little update on this issue. I've changed the various common-* within /etc/pam.d and I've obtained the following. Now I can connect with ssh or su with a user defined in ldap as long as this user is present also in /etc/passwd. It seems that the system check for the user account in

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Tim Bates
dogbert wrote: Ok, a little update on this issue. I've changed the various common-* within /etc/pam.d and I've obtained the following. Now I can connect with ssh or su with a user defined in ldap as long as this user is present also in /etc/passwd. It seems that the system check for the user

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-16 Thread Martin Edwards
It looks like we've fixed this. It seems msdfs is on by default. By chance I disabled it: host msdfs = no No more memory leak! At some point I will endeavour to recreate the old problem on a test box and find out why msdfs causes the memory leak and report back to the list. Thank you for all

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-16 Thread Volker Lendecke
On Sat, May 16, 2009 at 09:40:16AM +0100, Martin Edwards wrote: It looks like we've fixed this. It seems msdfs is on by default. By chance I disabled it: host msdfs = no No more memory leak! At some point I will endeavour to recreate the old problem on a test box and find out why

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-11 Thread Martin Edwards
Sorry it's taken so long to reply. The pool-usage output for one such process is here: http://samba.dreamhosters.com/pool-usage.txt The problem has been mitigated somewhat just by giving the box more RAM but it's very frustrating. On Sat, May 2, 2009 at 9:31 AM, Volker Lendecke

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-11 Thread Martin Edwards
Samba version is 3.3.3. On Mon, May 11, 2009 at 9:31 AM, Martin Edwards martin.f.edwa...@googlemail.com wrote: Sorry it's taken so long to reply. The pool-usage output for one such process is here: http://samba.dreamhosters.com/pool-usage.txt The problem has been mitigated somewhat just

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-11 Thread Volker Lendecke
On Mon, May 11, 2009 at 09:31:48AM +0100, Martin Edwards wrote: Sorry it's taken so long to reply. The pool-usage output for one such process is here: http://samba.dreamhosters.com/pool-usage.txt Thanks for that output! It seems we need to do something with notifies. Volker

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-11 Thread Martin Edwards
Do you think notifies could be responsible for the memory leak? Despite there being all of those entries they don't add up to anything like the usage of the process. On Mon, May 11, 2009 at 9:55 AM, Volker Lendecke volker.lende...@sernet.dewrote: On Mon, May 11, 2009 at 09:31:48AM +0100,

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-11 Thread Volker Lendecke
On Mon, May 11, 2009 at 10:11:50AM +0100, Martin Edwards wrote: Do you think notifies could be responsible for the memory leak? Despite there being all of those entries they don't add up to anything like the usage of the process. It might be possible that we have a leak somewhere around the

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-11 Thread Martin Edwards
We will endeavour to do this on a test system in the next few days. Thanks once again for your assistance. On Mon, May 11, 2009 at 10:18 AM, Volker Lendecke volker.lende...@sernet.de wrote: On Mon, May 11, 2009 at 10:11:50AM +0100, Martin Edwards wrote: Do you think notifies could be

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-02 Thread Volker Lendecke
On Fri, May 01, 2009 at 11:52:13PM +0100, Martin Edwards wrote: (Sorry, I meant to send this to the list first time around) Thanks very much for that. On a thread using 1.2GB pool-usage reports: full talloc report on 'null_context' (total 5898052 bytes in 39825 blocks) There are

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-01 Thread Volker Lendecke
On Thu, Apr 30, 2009 at 02:55:46PM +0100, Martin Edwards wrote: I'm not sure if this is a bug or a problem we are causing which is why I'm posting to the list first in the hope that someone else might have come across it. We have been using Samba quite successfully for a number of years.

Re: [Samba] Samba + LDAP + IIS = massive memory usage

2009-05-01 Thread Martin Edwards
(Sorry, I meant to send this to the list first time around) Thanks very much for that. On a thread using 1.2GB pool-usage reports: full talloc report on 'null_context' (total 5898052 bytes in 39825 blocks) There are thousands of lib/charcnv.c:601 entries but all using only 1 block each. On

[Samba] Samba + LDAP + IIS = massive memory usage

2009-04-30 Thread Martin Edwards
Dear readers, I'm not sure if this is a bug or a problem we are causing which is why I'm posting to the list first in the hope that someone else might have come across it. We have been using Samba quite successfully for a number of years. However, with this new setup we have a problem. We're

[Samba] Samba + LDAP

2009-04-28 Thread Vladimir Psenicka
Hi I have questions about Samba and LDAP. I have samba configured as PDC with ldap, users and groups are in ldap, functional. I want to add another server as member server, I configured samba on that server with users/groups authentication against ldap on PDC, functional. But I see this in ldap

Re: [Samba] Samba + LDAP

2009-04-28 Thread Volker Lendecke
On Tue, Apr 28, 2009 at 11:39:48AM +0200, Vladimir Psenicka wrote: I have questions about Samba and LDAP. I have samba configured as PDC with ldap, users and groups are in ldap, functional. I want to add another server as member server, I configured samba on that server with users/groups

Re: [Samba] Samba + LDAP = SLOW Help plesase

2009-04-02 Thread Grey Karapetyan
Thanks for answers! but i use a Fedora Directory Server. i try answer on your questions: what indexes do you have in slapd.conf? what hardware is the server running on? Core2Quad/8gb ddr2 would you copy your slapd.conf to us? the index section only would be just OK. also. would you mind

Re: [Samba] Samba + LDAP = SLOW Help plesase

2009-04-02 Thread Ray Klassen
mysterious slowness sometimes has a timing out name service at its back. Is WINS enabled on your server? Do the clients look to your server as their WINS server? If a WINS lookup fails and then the clients revert back to broadcast based name resolution, the symptoms could be similar to what you're

[Samba] Samba + LDAP = SLOW Help plesase

2009-04-01 Thread Grey Karapetyan
Hi Guys! Samba suspiciously slow i have: CentOS 5.2 final Samba 3.0.28-0.e15.8 LDAP server placed on anoter (not Samba) Server In ldap container ou=Users about 5000 entries When Windows client's connect to samba - Authentification process S.L.O.W. (about 20-30 seconds). When number entries

Re: [Samba] Samba + LDAP = SLOW Help plesase

2009-04-01 Thread David Wells
Grey Karapetyan wrote: Hi Guys! Samba suspiciously slow i have: CentOS 5.2 final Samba 3.0.28-0.e15.8 LDAP server placed on anoter (not Samba) Server In ldap container ou=Users about 5000 entries When Windows client's connect to samba - Authentification process S.L.O.W. (about 20-30

Re: [Samba] Samba + LDAP = SLOW Help plesase

2009-04-01 Thread Adam Williams
what indexes do you have in slapd.conf? what hardware is the server running on? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba + LDAP = SLOW Help plesase

2009-04-01 Thread Victor Medina
would you copy your slapd.conf to us? the index section only would be just OK. also. would you mind runing slapindex on the server (turn off OpenLDAP first)?, then try if it affected your pdc performance Victor Medina Bob Hope - You know you are getting old when the candles cost more than the

Re: [Samba] Samba + LDAP = SLOW Help plesase

2009-04-01 Thread Adam Tauno Williams
awill...@mdah.state.ms.us wrote: what indexes do you have in slapd.conf? what hardware is the server running on? More important than anything else is your Berkley environment. Do you have a reasonable DB-CONFIG file or are you asserting reasonable DB values via cn=config? But these are all

Re: [Samba] Samba/LDAP Backend: Error NT_STATUS_CONNECTION_REFUSED

2009-03-27 Thread Adam Williams
did you run testparm -s and look for errors in smb.conf? you don't need these two lines in smb.conf anymore: passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . since you are using

Re: [Samba] Samba/LDAP Backend: Error NT_STATUS_CONNECTION_REFUSED

2009-03-27 Thread Todd E Thomas
--- awill...@mdah.state.ms.us wrote: From: Adam Williams awill...@mdah.state.ms.us To: todd_...@ssiresults.com CC: samba@lists.samba.org Subject: Re: [Samba] Samba/LDAP Backend: Error NT_STATUS_CONNECTION_REFUSED Date: Fri, 27 Mar 2009 08:43:24 -0500 did you run testparm -s and look for errors

[Samba] samba/ldap BDC slowness

2009-03-26 Thread Marco Barbero
Hi list To the point:. I have a Samba/LDAP PDC that is working fine. Now I added a Samba/LDAP BDC on a WAN. I followed tips from wiki.samba regarding LDAP replication and samba configurations. It's working but I have noticed that when I try to access shares on BDC is really slow. I can notice

[Samba] Samba/LDAP Backend: Error NT_STATUS_CONNECTION_REFUSED

2009-03-26 Thread Todd E Thomas
When I run this command I am not prompted for a password, I just get the below error. # smbclient -U root //zmail/homes Error connecting to 10.0.0.14 (Connection refused) Connection to zmail failed (Error NT_STATUS_CONNECTION_REFUSED) --- Now for the back story: CentOS v5.2 with Samba

Re: [Samba] Samba LDAP troubleshooting

2009-03-19 Thread Adam Williams
Brad C wrote: Hi There, Yep, Ok now I understand the SID needs to be the same as the server the client formed the initial security relationship with, Is this correct? Kind Regards Brad yes. -- To unsubscribe from this list go to the following URL and read the instructions:

Re: [Samba] Samba LDAP troubleshooting

2009-03-18 Thread Brad C
Hi There, Yep, Ok now I understand the SID needs to be the same as the server the client formed the initial security relationship with, Is this correct? Kind Regards Brad On Tue, Mar 17, 2009 at 7:47 PM, Adam Williams awill...@mdah.state.ms.uswrote: well the user's sid is invalid. does it

[Samba] samba ldap configuration attributes needed

2009-03-18 Thread John Goubeaux
Folks, I am attempting to get an install of Samba authenticating against a Sun DS as a stand alone smb server eg. non PDC. I have the host OS ( solaris 10) properly configured to authenticate against the directory, the directory schema modified to accept the PosixAccount and SambaSamAccount

Re: [Samba] Samba LDAP troubleshooting

2009-03-17 Thread Adam Williams
well the user's sid is invalid. does it match the domain's sid with net getdomainsid? Brad C wrote: Hello I'm hoping someone can provide some insight, sample snippet from smb.conf and the samba log. Password authentication is working succeeding, complains about an invalid SID which I know

[Samba] Samba LDAP troubleshooting

2009-03-13 Thread Brad C
Hello I'm hoping someone can provide some insight, sample snippet from smb.conf and the samba log. Password authentication is working succeeding, complains about an invalid SID which I know is the trust relationship that is formed between server and client, this is a duplicate ldap database from

Re: [Samba] Samba LDAP troubleshooting

2009-03-13 Thread jpb
Hiya, A few questions. Is the machine a PDC what's the output of the command net getlocalsid in a terminal What scripts are you using to change passwords? smbldaptools? Cheers, Julian Hello I'm hoping someone can provide some insight, sample snippet from smb.conf and the samba log.

Re: [Samba] Samba LDAP troubleshooting

2009-03-13 Thread Brad C
Hi Julian, It is not acting as a domain controller, I would like to use the ldap backend of the pdc to authenticate instead of having to setup separate passwords. I have not reset passwords, its a duplicate database of the pdc. net getlocalsid SID for domain ITSHARE is:

[Samba] SAMBA+LDAP: Domain-Policies WHERE?

2009-02-12 Thread Axel Werner
Hi! i realy got stuck on testing samba and ldap scenarios. i want to use PASSWORD POLICIES. But it looked like SAMBA ignores my Policy Settings within my LDAP DOMAIN Object. I have set - sambaMaxPwdAge 300 - sambaMinPwdAge 60 - sambaMinPwdLength 8 - sambaPwdHistoryLength 10 and so on.

Re: [Samba] Samba + LDAP problem

2009-02-05 Thread plug bert
configured to support LDAP at the onset. *or*, just do the setlocalsid thing as Mr. Björn Jacke has suggested --- On Wed, 2/4/09, Agustin Eguia agustin.eg...@gmail.com wrote: From: Agustin Eguia agustin.eg...@gmail.com Subject: [Samba] Samba + LDAP problem To: samba@lists.samba.org Date: Wednesday

Re: [Samba] Samba + LDAP problem

2009-02-04 Thread Björn Jacke
On 2009-02-03 at 17:44 +0100 Agustin Eguia sent off: Hello everyone, I have a question here that has been giving me troubles : I installed my PDC with samba + LDAP... everything seems to work just fine (user creation, population, groups, users and machines connecting to the domain)... but

[Samba] Samba + LDAP problem

2009-02-03 Thread Agustin Eguia
Hello everyone, I have a question here that has been giving me troubles : I installed my PDC with samba + LDAP... everything seems to work just fine (user creation, population, groups, users and machines connecting to the domain)... but one thing keeps not working : net getlocalsid... I keep

[Samba] Samba + LDAP problem

2009-02-03 Thread Agustin Eguia
Hello everyone, I have a question here that has been giving me troubles : I installed my PDC with samba + LDAP... everything seems to work just fine (user creation, population, groups, users and machines connecting to the domain)... but one thing keeps not working : net getlocalsid... I keep

Re: [Samba] Samba + LDAP problem

2009-02-03 Thread Adam Williams
http://www.samba.org/samba/docs/man/Samba-Guide/happy.html#sbehap-massive Samba-3 generates a Windows Security Identifier (SID) only when smbd has been started. For this reason, you start Samba. After a few seconds delay, execute: root# smbclient -L localhost -U% root# net getlocalsid A

<    1   2   3   4   5   6   7   8   9   >