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

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

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

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

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

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

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

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

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

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:

Re: [Samba] Samba + LDAP problem

2009-02-05 Thread plug bert
Ran into the same problem too. what i did was 1, create a generic barebones smb.conf(i.e. no ldap backend and such), 2. started up samba 3. shut down samba 4. edited smb.conf to support ldap backend 5. started up samba it may have something to do with samba not generating an SID when

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

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

Re: [Samba] samba / ldap problem with cpu load

2009-01-14 Thread Harry Jede
Am Freitag, 9. Januar 2009 23:57 schrieb franck molle: First of all, I am french. My english is not very good and i am sorry for this ;). One month ago, I have upgrade my server in debian Etch (it was in debian sarge). So now, samba is in 3.0.24 version. My server use samba and ldap. Since

RE [Samba] samba ldap how work group ?

2008-12-01 Thread Stéphane PURNELLE
You must configure nss_ldad and pam_ldap. And Linux will see accounts and groups in your ldap tree same as /etc/group . Bien à vous --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32

Re: RE [Samba] samba ldap how work group ?

2008-12-01 Thread franck dufau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hye tks for answer, libnss-ldap.conf libpam-ldap are installed... actualy i have modifie libnss-ldap.conf like this : host 127.0.0.1 base dc=domaine,dc=local uri ldap://127.0.0.1 rootbinddn cn=admin,dc=domaine,dc=local bind_policy soft and

Re: RE [Samba] samba ldap how work group ?

2008-12-01 Thread Stéphane PURNELLE
S.A. Tel : 00 32 087/342467 franck dufau [EMAIL PROTECTED] 01/12/2008 15:22 A Stéphane PURNELLE [EMAIL PROTECTED] cc samba@lists.samba.org Objet Re: RE [Samba] samba ldap how work group ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hye tks for answer, libnss-ldap.conf

Re: RE [Samba] samba ldap how work group ?

2008-12-01 Thread franck dufau
. --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 franck dufau [EMAIL PROTECTED] 01/12/2008 15:22 A Stéphane PURNELLE [EMAIL PROTECTED] cc samba@lists.samba.org Objet Re: RE [Samba] samba ldap how

Re: RE [Samba] samba ldap how work group ?

2008-12-01 Thread Stéphane PURNELLE
PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 franck dufau [EMAIL PROTECTED] 01/12/2008 15:22 A Stéphane PURNELLE [EMAIL PROTECTED] cc samba@lists.samba.org Objet Re: RE [Samba] samba ldap how work group ? hye tks

Re: RE [Samba] samba ldap how work group ?

2008-12-01 Thread franck dufau
. --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 franck dufau [EMAIL PROTECTED] 01/12/2008 15:22 A Stéphane PURNELLE [EMAIL PROTECTED] cc samba@lists.samba.org Objet Re: RE [Samba] samba ldap how work group

Re: [Samba] Samba LDAP Tools

2008-10-09 Thread FC Mario Patty
Hi Loren, I don't understand what you meant by transaction, SQL, and so on, but I've been using samba and open ldap to provide single login mechanism for qmail-ldap, domain controller, squid, etc, for 2 years now and they're still running very good. I can join windows machine into the domain

Re: [Samba] Samba LDAP Tools

2008-10-09 Thread John Drescher
On Thu, Oct 2, 2008 at 1:29 PM, Loren M. Lang [EMAIL PROTECTED] wrote: I am looking for some good tools to manage Samba users in LDAP. It looks like there are several good tools mentioned on the Samba Wiki, but I am concerned mostly with the proper addition of new users to LDAP, in

Re: [Samba] Samba LDAP entries for Password Change

2008-09-16 Thread Jorge Concha C.
Hi... sorry for my bad english. - when a new account is created, the user immediately must change the password when [s]he first logs in; - after that, the password shall expire after x days. sambaMaxPwdAge = number of seconds (60 x 60 x 24 x nDays) sambaPwdLastSet = set to '0' at create

Re: [Samba] samba + LDAP issue

2008-09-01 Thread ganeshs
Hi Michael, Thanks for your reply. 1.I don't what to upgrade Samba PDC.I want Samba PDC should point to LDAP for authentication alone.Currently,Both are in different server.samba is not pointing to LDAP. 2.Joining Linux Workstation to domain. Is there any step by step document or guide for

Re: [Samba] samba + LDAP issue

2008-08-31 Thread Michael Heydon
ganeshs wrote: My Issue is I don't know how to integrate samba PDC LDAP Is the LDAP server going to to become the PDC? or do you want to migrate the existing PDC? In either case, you need to extract your current user data and insert it into the LDAP server, setup NSS, and tell samba to use

Re: [Samba] Samba + LDAP integration

2008-07-31 Thread Mugo Martin
Hi, and thanks so much for your help. Just can't seem to get out of this quagmire. Did quite some reading and followed your advice. But now I still get to the same point of failing to add computers Samba *logs* say there is no connection but I can telnet to my ldap server on localhost:389

Re: [Samba] SAMBA+ LDAP+ACL

2008-07-28 Thread Abigail Anzola
Saravanesh d escribió: Hi all. please help me to step by step configuration of how to configure SAMBA DC with LDAP. We have 143 users ,and i want also to configure ACL Thanks in advance Saravanesh Step by Step: Step 1) Open your favorite internet browser Step 2) Open URL

Re: [Samba] SAMBA+ LDAP+ACL

2008-07-28 Thread John H Terpstra
On Monday 28 July 2008 00:35:08 Abigail Anzola wrote: Saravanesh d escribió: Hi all. please help me to step by step configuration of how to configure SAMBA DC with LDAP. We have 143 users ,and i want also to configure ACL Thanks in advance Saravanesh Step by Step: Step 1)

Re: [Samba] SAMBA+ LDAP+ACL

2008-07-28 Thread Cybionet
Greeting Saravanesh, I have done documentation for DC under Gentoo but in french only (www.cybionet.com). I use Samba with OpenLDAP and the ACL(EA). It work very well in small and medium entreprise. I can take time to help you in english but only under Gentoo with Windows professional

Re: [Samba] SAMBA+ LDAP+ACL

2008-07-27 Thread John H Terpstra
On Sunday 27 July 2008 23:40:33 Saravanesh d wrote: Hi all. please help me to step by step configuration of how to configure SAMBA DC with LDAP. We have 143 users ,and i want also to configure ACL Thanks in advance Saravanesh http://www.samba.org/samba/docs/Samba3-ByExample.pdf Refer

Re: [Samba] Samba + LDAP integration

2008-07-26 Thread Ryan Bair
Were the user accounts created with smbldap-tools or were the pre-existing? If they were preexisting did you reset the passwords with smbldap-passwd? You will need to do so to set the appropiate hashes in LDAP. Have you looked at the logs at all? Posting some samples from there showing the server

Re: [Samba] Samba + LDAP integration

2008-07-26 Thread John H Terpstra
On Saturday 26 July 2008 09:36:25 Mugo Martin wrote: Hi people, Been doing a server installation with Samba as a primary PDC that uses an LDAP backend on CentOS 5. The thing is that I cannot be able to get Samba and LDAP to talk as they should and now Im really stuck. You sure are stuck.

Re: [Samba] Samba LDAP and Ubuntu

2008-06-24 Thread Quinn Fissler
I've not seen this problem before but maybe you should do some diagnosis of your installation. So - now you've rebooted and you're up and running, edit the nsswitch.conf to put ldap back. Now try some things to test the ldap configuration. *Can you see your ldap database contents?* Can can a

RE: [Samba] Samba LDAP and Ubuntu

2008-06-24 Thread L.P.H. van Belle
Nunes CC: samba@lists.samba.org Onderwerp: Re: [Samba] Samba LDAP and Ubuntu I've not seen this problem before but maybe you should do some diagnosis of your installation. So - now you've rebooted and you're up and running, edit the nsswitch.conf to put ldap back. Now try some things to test

RE: [Samba] Samba LDAP and Ubuntu

2008-06-24 Thread Gilberto Nunes
] [mailto:[EMAIL PROTECTED] Namens Quinn Fissler Verzonden: dinsdag 24 juni 2008 14:29 Aan: Gilberto Nunes CC: samba@lists.samba.org Onderwerp: Re: [Samba] Samba LDAP and Ubuntu I've not seen this problem before but maybe you should do some diagnosis of your installation. So - now you've rebooted

Re: [Samba] Samba LDAP and Ubuntu

2008-06-24 Thread Marcio Merlone
Gilberto Nunes escreveu: I install samba and LDAP on Ubuntu Server 7.04. I using smbldap-tools... However, when I reboot the system, the Ubuntu server don't work more... It's stalled on services initialize... I notice that the file nsswitch.conf on /etc, have this look: passwd: files

Re: [Samba] Samba LDAP and Ubuntu

2008-06-24 Thread Christian Perrier
Quoting Marcio Merlone ([EMAIL PROTECTED]): It is a known bug, I found on a bugzilla somewhere. The bug consists that the booting process needs the ldap server before it gets started. So, the workaround, for now, is to have a slave ldap server which you can use at least for booting. In

Re: [Samba] samba ldap squid dansgardian

2008-06-17 Thread Stefan Dengscherz
Hello L.P.H., Just a note to save you some time: authentication is unfortunately not possible in transparent mode. See the following FAQ for details: http://wiki.squid-cache.org/SquidFaq/InterceptionProxy#head-e56904dd4dfe0e21e5c2903473c473d401533ac7 Kind regards, -sd L.P.H. van Belle

Re: [Samba] samba/ldap setup stopped working (might be a challenge)

2008-06-04 Thread Adam Williams
have you tried taking a misbehaving machine out of the domain, deleting is machine account, re-creating it, and readding it to the domain? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] samba/ldap setup stopped working (might be a challenge)

2008-06-04 Thread Yvan Vander Sanden
2008/6/4 Adam Williams [EMAIL PROTECTED]: have you tried taking a misbehaving machine out of the domain, deleting is machine account, re-creating it, and readding it to the domain? yes. Thing is that the machine account is not recreated correctly. At the moment, i have added it manually by

Re: [Samba] samba/ldap setup stopped working (might be a challenge)

2008-06-04 Thread Yvan Vander Sanden
Ok, i've found a work-around for now. I made this bash script: #!/bin/bash /usr/sbin/smbldap-userdel $1 /usr/sbin/smbldap-useradd -w $1 /usr/sbin/smbldap-usermod -a $1 And called this script from within samba, instead of the original script. It works, but this is not how it should be. Does

Re: [Samba] samba ldap

2008-05-16 Thread Collen Blijenberg
What about the mysql/pgsql backend ??! ideal for the middle class. (if your intentions are running a pdc/bdc) Collen. Edmundo Valle Neto wrote: Charles Marcus escreveu: On 5/15/2008 3:40 AM, Esteban Torres Rodriguez wrote: I'm new here and I have a doubt... I'm work with windows 2003

Re: [Samba] samba ldap

2008-05-16 Thread Charles Marcus
On 5/16/2008 2:45 AM, Collen Blijenberg wrote: I'm new here and I have a doubt... I'm work with windows 2003 server and now i would change to llnux. My doubt regards the share of my server: to authenticate my users what is better: samba tdb or ldap? For us is not necessary an active

Re: [Samba] samba ldap

2008-05-15 Thread Esteban Torres Rodriguez
always ldap. Esteban Torres Rodríguez ÁREA DE SOPORTE TÉCNICO - Administración de Servidores Subdirección de Sistemas Informáticos Empresa Pública Desarrollo Agrario y Pesquero, email: [EMAIL PROTECTED] Rosilene Pagani [EMAIL PROTECTED] 15/5/2008 09:23 Hi, I'm new here and I have a

Re: [Samba] samba ldap

2008-05-15 Thread Charles Marcus
On 5/15/2008 3:40 AM, Esteban Torres Rodriguez wrote: I'm new here and I have a doubt... I'm work with windows 2003 server and now i would change to llnux. My doubt regards the share of my server: to authenticate my users what is better: samba tdb or ldap? For us is not necessary an active

Re: [Samba] samba ldap

2008-05-15 Thread Edmundo Valle Neto
Charles Marcus escreveu: On 5/15/2008 3:40 AM, Esteban Torres Rodriguez wrote: I'm new here and I have a doubt... I'm work with windows 2003 server and now i would change to llnux. My doubt regards the share of my server: to authenticate my users what is better: samba tdb or ldap? For us is

Re: [Samba] Samba / LDAP / Idmap

2008-04-14 Thread John Drescher
On Sun, Apr 13, 2008 at 10:23 PM, Anand Kumria [EMAIL PROTECTED] wrote: Hi, This is probably documented somewhere very obvious but I do not seem to be able to find it. Many years ago I configured my Samba server with an LDAP backend. I also put in the parameter 'ldap idmap suffix =

Re: [Samba] Samba / LDAP / Idmap

2008-04-14 Thread Adam Williams
idmap will only be populated if you are using winbind. Anand Kumria wrote: Hi, This is probably documented somewhere very obvious but I do not seem to be able to find it. Many years ago I configured my Samba server with an LDAP backend. I also put in the parameter 'ldap idmap suffix =

Re: [Samba] Samba / LDAP / Idmap

2008-04-14 Thread John Drescher
On Mon, Apr 14, 2008 at 9:32 AM, Adam Williams [EMAIL PROTECTED] wrote: idmap will only be populated if you are using winbind. In my case I was using winbind and it was not populated because winbind could not allocate a uid or gid. Any ideas how to debug that? John -- To unsubscribe from this

Re: [Samba] Samba / LDAP / Idmap

2008-04-14 Thread Adam Williams
John Drescher wrote: In my case I was using winbind and it was not populated because winbind could not allocate a uid or gid. Any ideas how to debug that? John can't help you there, sorry. I'm not using winbind, i never could get it to work anyway, and I don't really need it for what I

Re: [Samba] Samba/LDAP Question

2008-03-18 Thread Hector Blanco
Hello! A few days ago, two users of this list sent me examples of a working machine account in Samba, beause the one I get when I try to add a machine with smbldap doesn't work very well (as I explained in http://lists.samba.org/archive/samba/2008-February/138639.html) and I found that in my

Re: [Samba] Samba/LDAP Question

2008-03-01 Thread Hector Blanco
Well... I've got this in the /etc/ldap.conf: nss_base_passwd ou=People,dc=jome?one nss_base_shadow ou=People,dc=jome?one nss_base_group ou=Group,dc=jome?one nss_base_hosts ou=Hosts,dc=jome?one I added the nss_base_passwd ou=Hosts,dc=jome?one but nothing seems

Re: [Samba] Samba/LDAP Question

2008-02-29 Thread Jerome Tournier
Hi, just one idea: have you configured nss_ldap to resolve account in ou=Computers ? ie, in /etc/ldap.conf, have you the 2 lines: nss_base_passwd ou=Users,..?sub nss_base_passwd ou=Computers,..?sub If not, add ou=Computers and remove any nscd cache before re-trying. -- Jérôme On

Re: [Samba] Samba/LDAP Question

2008-02-28 Thread Adam Tauno Williams
... I can see something in your Ldifs that I don't have: The objectClass: sambaSamAccount... I bet this is important in order to have Samba working!! Hehe... I'll keep working on this line... :) The add user / account process should add the sambaSamAccount objectclass and related

Re: [Samba] Samba/LDAP Question

2008-02-28 Thread Hector Blanco
It doesn't seem to be that, in my case... I removed the smb.conf lines that told Samba in which Ldaps tables (or OUs) had to look for the users and so, and it isn't working... Just in case, there goes my new smb.conf Thanks -- smb.conf

Re: [Samba] Samba/LDAP Question

2008-02-28 Thread Steve Thompson
On Thu, 28 Feb 2008, Hector Blanco wrote: It doesn't seem to be that, in my case... I removed the smb.conf lines that told Samba in which Ldaps tables (or OUs) had to look for the users and so, and it isn't working... No, I don't think that is the problem. I have the ldap suffix directives

Re: [Samba] Samba/LDAP Question

2008-02-27 Thread Hector Blanco
Mmmm..If I understood properly, I'm afraid I can just say... Welcome to the club, mate: Take a look to this: http://lists.samba.org/archive/samba/2008-February/138639.html http://lists.samba.org/archive/samba/2008-February/138442.html May it be a bug?? Is the same thing that is happeing to you?

Re: [Samba] Samba/LDAP Question

2008-02-27 Thread Hector Blanco
Ehm... just to make sure... could anybody who has LDAP+Samba working send the ldif definition of what he has as a machine? I've got this as a machine: dn: uid=enano$,ou=Hosts,dc=jome objectClass: top objectClass: person objectClass: organizationalPerson

Re: [Samba] Samba/LDAP Question

2008-02-27 Thread Frank J. Pellegrino
If your solaris box is setup as an LDAP client you can add a search descriptor with the ldapclient command. Below is an example of what we changed to make joining the domain work on the first try. NS_LDAP_SERVICE_SEARCH_DESC= passwd: ou=computers,o=sju.edu;ou=People,o=sju.edu At 03:13 PM

Re: [Samba] Samba/LDAP Question

2008-02-27 Thread Frank J. Pellegrino
Below is a sample of a machine entry: dn: uid=295mand01$,ou=computers,o=sju.edu cn: 295mand01$ description: Computer gecos: Computer gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false objectClass: top objectClass: person objectClass: organizationalperson objectClass: inetOrgPerson

Re: [Samba] Samba/LDAP Question

2008-02-27 Thread Hector Blanco
Thank you Steve and Frank... ... I can see something in your Ldifs that I don't have: The objectClass: sambaSamAccount... I bet this is important in order to have Samba working!! Hehe... I'll keep working on this line... :) Thank you again! 2008/2/27, Frank J. Pellegrino [EMAIL PROTECTED]:

Re: [Samba] samba + ldap bind machine account with user account

2008-02-03 Thread Sadique Puthen
satish patel wrote: Dear all I have special requirement of samba domain security...i want to bind user with machine so that use only ...and only able to login with that same machine ...means user can not login in to any other PC or machine only access on own machine...is it

RE: [Samba] Samba + LDAP cannot get account from NT4

2007-12-28 Thread wilson kwok
Can anyone help me to solve this problem ? Thx ! From: [EMAIL PROTECTED] To: samba@lists.samba.org Date: Fri, 28 Dec 2007 01:15:58 +0800 Subject: [Samba] Samba + LDAP cannot get account from NT4 Hello, I do a Migration from NT4 to Samba + LDAP, I already join Samba to NT4, when I type

Re: [Samba] Samba + LDAP cannot get account from NT4

2007-12-28 Thread Hans-Wilhelm Heisinger
I migrated a few NT domains to Samba using the rpc net vampire command to a tdbsam backend, and then move to a LDAP backend and was successful. I had tried going directly to LDAP using the rpc net vampire command but it failed like yours. However I have come across scripts that do this migration

Re: [Samba] Samba + LDAP cannot get account from NT4

2007-12-28 Thread Stephen Vermeulen
I recently worked through a migration of an NT4 PDC to a Samba PDC using the vampire command, while doing this I ran into some problems, possibly including your problem. There are at least two steps to this procedure that are not included in most of the documentation on how to do this that I

Re: [Samba] Samba+LDAP Group mapping

2007-12-10 Thread Markus Bajones
Hi, I had the same problem and solved it for me yesterday. I downloaded the samba.schema file from the original samba version 3.0.24 available from samba.org and copied it to /etc/ldap/schema/samba.schema, restartet sladp. Now I am able to find the groups within the windows security setting

Re: [Samba] Samba+LDAP problems

2007-11-08 Thread Marcelo Mogrovejo
Hello... Edmundo Valle Neto wrote: Marcelo Mogrovejo escreveu: Hello Edmundo (...) So, yes, i have configured this file already: passwd: compat ldap shadow: compat ldap group: compat ldap I have downloaded the libnss-ldap file too but it's the same... Yes, this package must be

<    1   2   3   4   5   6   >