Re: [Samba] Samba and LDAP

2012-07-31 Thread Gaiseric Vandal
You can use smbpasswd or pdbedit to add a samba user. Actually, if the LDAP user already exists the smbpasswd or pdbedit command adds various samba attributes. You should look at the LDAP properties of a user before and after you run the "smbpasswd -a" or "pdbedit -a" command. I like the Apa

[Samba] Samba and LDAP

2012-07-31 Thread rodrigo tavares
Hello ! I have a doubt. I´m configured LDAP whith Samba, the LDAP is run. But I can't login in one domain, I change the password user with smbldap-passwd. But it's not sufficient to login. Then I have to use smbpasswd -a username, so i get autenticate in domain with user. Use the smbpasswd.

Re: [Samba] Samba and LDAP Server

2011-12-30 Thread Lantukh Sergey
Thanks, I got it! Samba is guided through the SRV records in DNS On 22/12/2011 19:15, David Roid wrote: Hello Lantukh, Domain controller, LDAP server and kdc can be found by DNS, Samba consults DNS server to find them. Therefore DNS server itself can be a single-point. I'm guessing your myser

Re: [Samba] Samba and LDAP Server

2011-12-22 Thread David Roid
Hello Lantukh, Domain controller, LDAP server and kdc can be found by DNS, Samba consults DNS server to find them. Therefore DNS server itself can be a single-point. I'm guessing your myserver1 is used as the DNS server in this case and when it's down you are in trouble. Cheers -David 2011/12/23

[Samba] Samba and LDAP Server

2011-12-22 Thread Lantukh Sergey
Good day I could not find an answer to my problem/question, can you help me here... I have SAMBA 3.2.5 on Linux\Debian 5 I using Winbind for connect to MS Active Directory Windows 2003 and get a list of all users. /etc/samba/smb.conf [global] realm = MYDOMAIN.LOCAL Security = ADS /etc/krb5.con [

Re: [Samba] Samba and Ldap

2011-06-24 Thread Gaiseric Vandal
The user's unix LDAP password should be encrypted (technically I think it is actually hashed, since it is not reversible)- so no, you can't get their existing password. There are two options in smb.conf to have the password sync ldap passwd sync = yes or unix password sync = ye

[Samba] Samba and Ldap

2011-06-24 Thread thom_schu
Hi, all the users here are stored in a LDAP-Server, means authentication on a workstation (linux) is over LDAP. Yesterday I configured a Samba-Server, it also uses the LDAP-Server as its backend. I found out, that with a call "smbpasswd -a user" an existing user gets all the attributes from the

Re: [Samba] Samba and LDAP - which attributes are mandatory which optional

2010-11-12 Thread Daniel Müller
--- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Götz Reinicke - IT-Koordinator Gesendet: Freitag, 12. November 2010 08:15 An: samba@lists.samba.org Betreff: [Samba] Samba and LDAP - which attributes are mandatory which

[Samba] Samba and LDAP - which attributes are mandatory which optional

2010-11-11 Thread Götz Reinicke - IT-Koordinator
Hallo, I'm asking myself, which LDAP attributes are mandatory which optional for user and workstation accounts. After using the smbldap-populate command there where different attributes set than for adding users with the smbldap-useradd command. --- snip --- sambaAcctFlags: sambaHomeDrive: samb

[Samba] Samba and ldap failover - RH / Centos problem?

2010-04-20 Thread Götz Reinicke - IT-Koordinator
Hi folks, I recently got my ldap master slave samba test environment up and runing. samba-3.0.33-3.15.el5_4.1 openldap-2.3.43-3.el5 The ldap systems sync fine, samba users are authenticated by each server seperatly if I set tham in the samba conf. E.g. passdb backend = ldapsam:"ldap://ldap2.fil

RE: [Samba] Samba and LDAP

2009-05-08 Thread Christian Rost
>I am trying to set up an additional domain server within  my network >using SAMBA and LDAP.  There's a problem that I think is with LDAP.  If >any of you have set up a system like this, I would appreciate your >expertise. > What does your current setup look like? What have you already established?

[Samba] Samba and LDAP

2009-05-07 Thread Pete Clapham
Hi, all -- I am trying to set up an additional domain server within  my network using SAMBA and LDAP.  There's a problem that I think is with LDAP.  If any of you have set up a system like this, I would appreciate your expertise. Question # 1:  My PDC, which controls the domain and SAMBA, sho

Re: [Samba] Samba and LDAP install on FreeBSD

2008-07-22 Thread Daniel O'Connor
On Wed, 23 Jul 2008, [EMAIL PROTECTED] wrote: > > It tells the ports tree that you want OpenLDAP 2.4 if a port > > doesn't specify a particular version. > > Thank you. That took care of the problem. I thought something could > be added somewhere to make it use 2.4, but I was looking in the > actu

Re: [Samba] Samba and LDAP install on FreeBSD

2008-07-22 Thread sgmayo
Daniel O'Connor wrote: > On Tue, 22 Jul 2008, [EMAIL PROTECTED] wrote: >> Here is my problem. I installed the OpenLdap 2.4.10 server and SASL >> client. I then went to install the Samba 3.0.30 Port and it tells me >> that it needs to install OpenLDAP client 2.3.42, but the 2.4.10 is in >> the sa

Re: [Samba] Samba and LDAP install on FreeBSD

2008-07-22 Thread Daniel O'Connor
On Tue, 22 Jul 2008, [EMAIL PROTECTED] wrote: > Here is my problem. I installed the OpenLdap 2.4.10 server and SASL > client. I then went to install the Samba 3.0.30 Port and it tells me > that it needs to install OpenLDAP client 2.3.42, but the 2.4.10 is in > the same place and I need to deinsta

[Samba] Samba and LDAP install on FreeBSD

2008-07-22 Thread sgmayo
Here is my problem. I installed the OpenLdap 2.4.10 server and SASL client. I then went to install the Samba 3.0.30 Port and it tells me that it needs to install OpenLDAP client 2.3.42, but the 2.4.10 is in the same place and I need to deinstall it. I deinstall 2.4.10 and samba will install, but

[Samba] Samba and ldap referrals

2008-06-06 Thread Alex Crow
All, If I set up a BDC with a replicated ldap server, can I point the "ldap backend" and "idmap backend" options *both* to the localhost and enable a referral on the slave so that writes (ie Idmap updates) will be referred to the master server? I'm running debian unstable with openldap 2.4 (and l

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-07-11 Thread John Drescher
On 7/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Yes, but I had to install nss which I thought was not neccesary. After that samba got perfectly integrated (the "getent group" and "getent passwd" showed the samba users in the ldap apart from the system users). The packages are "libnss-ld

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-07-10 Thread John Drescher
Did you find a working solution other than using an external tool as I suggested? Thanks, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-29 Thread Edmundo Valle Neto
mikelOn escreveu: Hi, I have been trying different approaches to get it working and apparently I do need nss installed to get it working (which I have not found as mandatory in many tutorials). Once I installed nss-ldap and configured it still failed, but then I removed the line "ldapsam:trusted

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-29 Thread mikelOn
Hi, I have been trying different approaches to get it working and apparently I do need nss installed to get it working (which I have not found as mandatory in many tutorials). Once I installed nss-ldap and configured it still failed, but then I removed the line "ldapsam:trusted = yes" and the mac

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-28 Thread Edmundo Valle Neto
mikelOn escreveu: The last few lines of the "pdbedit -v root" command show the following: pm_process() returned Yes smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=EREMU))] smbldap_open_connection: connection opened ldap_connect_system: succesful connectio

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-28 Thread mikelOn
The last few lines of the "pdbedit -v root" command show the following: pm_process() returned Yes smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=EREMU))] smbldap_open_connection: connection opened ldap_connect_system: succesful connection to the LDAP serv

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
mikelOn escreveu: I have added the parameter "ldapsam:trusted = yes" and now the samba error has changed to NT_STATUS_UNSUCCESSFUL. The logs say the following: [2007/06/27 22:41:11, 4] auth/auth_sam.c:sam_account_ok(138) sam_account_ok: Checking SMB password for user root [2007/06/27 22:41:11

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
Regarding the "primary group of [root] not found" message, the sambaSID of "Domain Admins" is the same as the sambaPrimaryGroupSID in "root". The user root is inside the group "Users". http://www.nabble.com/file/p11330386/ldap_view.gif Hope it helps. Thanks. -- View this message in context:

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
I have added the parameter "ldapsam:trusted = yes" and now the samba error has changed to NT_STATUS_UNSUCCESSFUL. The logs say the following: [2007/06/27 22:41:11, 4] auth/auth_sam.c:sam_account_ok(138) sam_account_ok: Checking SMB password for user root [2007/06/27 22:41:11, 3] smbd/sec_ctx.

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Ray Klassen
mikelOn wrote: I have tried to add a new machine right now and this is the log of the operation: [2007/06/27 18:53:42, 3] passdb/pdb_interface.c:pdb_default_create_user(368) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "mikelvm$"' gave 0 [2007/06/27 18:53:42, 3] passdb

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
I will install nss tomorrow I soon as I get to work and I will give feedback of the experience. I hope the problem is there! Thank you very much Edmundo Valle Neto wrote: > > mikelOn escreveu: >> I am using debian etch for the testing but I have had the same problem >> with >> gentoo 2007.0.

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
John Drescher escreveu: Sorry if it is a bit of a pain that I am also answering this thread but I do experience the same problem... Theres a LOT of things that can got wrong when using LDAP as you can populate and use it the way YOU want, but samba expects it in a proper way. Its recommende

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
mikelOn escreveu: I am using debian etch for the testing but I have had the same problem with gentoo 2007.0. I used smbldap-populate (the admin user is "root" so no parameters at all) and I also tried with "-u 5 and -g 5" so that user ids do not overlap. Probably you didnt configured

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
I am using debian etch for the testing but I have had the same problem with gentoo 2007.0. I used smbldap-populate (the admin user is "root" so no parameters at all) and I also tried with "-u 5 and -g 5" so that user ids do not overlap. Do I need anything else (nss) if I am not authentica

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
What distro are you using? How did you populate it? I use Debian (its a little different), but how did you configured NSS? ("getent passwd" shows your machine accounts?) What user are you using to join? (if root, "smbclient -L localhost -Uroot" works on the shell to list the shares?) Regards.

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread John Drescher
Sorry if it is a bit of a pain that I am also answering this thread but I do experience the same problem... Theres a LOT of things that can got wrong when using LDAP as you can populate and use it the way YOU want, but samba expects it in a proper way. Its recommended that you populate it usin

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
mikelOn escreveu: About the samba attributes, when you add a machine account the script "add machine" must NOT ADD SAMBA ATTRIBUTES, only posix, samba does that alone. Refer to the idealx documentation (if you really want that things work properly, reading the documentation is not an option), i

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
I am not running nscd :( Thanks for your response simo-7 wrote: > > On Wed, 2007-06-27 at 09:45 -0700, mikelOn wrote: >> >> >About the samba attributes, when you add a machine account the script >> >"add machine" must NOT ADD SAMBA ATTRIBUTES, only posix, samba does that >> >alone. Refer

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread simo
On Wed, 2007-06-27 at 09:45 -0700, mikelOn wrote: > > >About the samba attributes, when you add a machine account the script > >"add machine" must NOT ADD SAMBA ATTRIBUTES, only posix, samba does that > >alone. Refer to the idealx documentation (if you really want that things > >work properly,

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
I have tried to add a new machine right now and this is the log of the operation: [2007/06/27 18:53:42, 3] passdb/pdb_interface.c:pdb_default_create_user(368) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "mikelvm$"' gave 0 [2007/06/27 18:53:42, 3] passdb/pdb_interface.c

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
>About the samba attributes, when you add a machine account the script >"add machine" must NOT ADD SAMBA ATTRIBUTES, only posix, samba does that >alone. Refer to the idealx documentation (if you really want that things >work properly, reading the documentation is not an option), it was >alrea

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread John Drescher
About the samba attributes, when you add a machine account the script "add machine" must NOT ADD SAMBA ATTRIBUTES, only posix, samba does that alone. Refer to the idealx documentation (if you really want that things work properly, reading the documentation is not an option), it was already discuss

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
The RID portion doesn't really matters as it doesn't clash with known RIDs (below 1000), and other created RIDs (you cannot have two accounts with the same RID, composing the same SID). Regards. Edmundo Valle Neto mikelOn escreveu: Sorry, I was wrong. After changing such value the machines

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Edmundo Valle Neto
mikelOn escreveu: Hi Alex, I don´t think those modifiers would change anything but I have tried them anyway and the objectclass is still not being added. Thanks for the suggestion. Alex Crow wrote: On Wed, 2007-06-27 at 01:42 -0700, mikelOn wrote: Hi all, I finally found where the

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
Hi Alex, I don´t think those modifiers would change anything but I have tried them anyway and the objectclass is still not being added. Thanks for the suggestion. Alex Crow wrote: > > On Wed, 2007-06-27 at 01:42 -0700, mikelOn wrote: >> >> Hi all, >> >> I finally found where the problem is

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Alex Crow
On Wed, 2007-06-27 at 01:42 -0700, mikelOn wrote: > > Hi all, > > I finally found where the problem is. The samba attributes are not being > added when the workstation entry is created. The "sambaSamAccount" > objectclass is missing. > > Why is it not being added if it is suppossed to be a wind

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
Hi all, I finally found where the problem is. The samba attributes are not being added when the workstation entry is created. The "sambaSamAccount" objectclass is missing. Why is it not being added if it is suppossed to be a windows workstation? Is there a bug in the "smbldap-useradd" script w

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
Sorry, I was wrong. After changing such value the machines are added with a number above 5 but still cannot join the domain. I will keep comparing the records created by the script and the LAM and give some feedback. Thanks for your help. Asier Baranguán wrote: > > mikelOn escribió: > >

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread Asier Baranguán
mikelOn escribió: This morning I wanted to review the smbldap-useradd perl script to see if there is any place (config file or so) where I can indicate the base number I want for the machines. ¿Do I need to set that "base" uidNumber somewhere? ¿Why must it be set to above than 5? ¿Did you

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-27 Thread mikelOn
Hi Edmundo, I do agree with you. The first thing I wanted was to be able to add a machine to the domain and once I have been able to do so, I have been debugging to get to know why LAM was succeeding and the console scripts not. Yesterday, I found out that when the windows machine is added throu

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread Asier Baranguán
Edmundo Valle Neto escribió: If your users are Windows users you should add an '-a' here, and add the users with the '-a' flag. Like this: add user script = /usr/sbin/smbldap-useradd -m -a "%u" Not really, theres nothing wrong with that. If you use the "User Manager" windows applicat

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread John Drescher
If you are talking about your problem creating machine accounts, absolutely not. Machine accounts are created using the "add machine" script, not cited above. Thanks. It looks like I did not read that clearly. John -- To unsubscribe from this list go to the following URL and read the instructio

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread Edmundo Valle Neto
John Drescher escreveu: On 6/26/07, Asier Baranguán <[EMAIL PROTECTED]> wrote: El Martes, 26 de Junio de 2007 10:23, mikelOn escribió: > add user script = /usr/sbin/smbldap-useradd -m "%u" If your users are Windows users you should add an '-a' here, and add the users with the '-a' fla

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread Edmundo Valle Neto
Asier Baranguán escreveu: El Martes, 26 de Junio de 2007 10:23, mikelOn escribió: add user script = /usr/sbin/smbldap-useradd -m "%u" If your users are Windows users you should add an '-a' here, and add the users with the '-a' flag. Like this: add user script = /usr/

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread Edmundo Valle Neto
Just to make it clear that its not normal a system really need to have accounts created that way. I dont think is a good idea to call a workaround used on a system that someone didnt got it working properly (who knows why) as a solution, samba works very fine creating workstation accounts autom

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread John Drescher
On 6/26/07, Asier Baranguán <[EMAIL PROTECTED]> wrote: El Martes, 26 de Junio de 2007 10:23, mikelOn escribió: > add user script = /usr/sbin/smbldap-useradd -m "%u" If your users are Windows users you should add an '-a' here, and add the users with the '-a' flag. Like this: add

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread Asier Baranguán
El Martes, 26 de Junio de 2007 10:23, mikelOn escribió: > add user script = /usr/sbin/smbldap-useradd -m "%u" If your users are Windows users you should add an '-a' here, and add the users with the '-a' flag. Like this: add user script = /usr/sbin/smbldap-useradd -m -a "%u" >

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread mikelOn
Great!!! I have created a couple of machine accounts through the LAM utility and I have eventually been able to join the domain. Thank you very much for your help. John Drescher-2 wrote: > > I have had the same problem with a similar setup for at least 3 years. > My solution is to create the

Re: [Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread John Drescher
I have had the same problem with a similar setup for at least 3 years. My solution is to create the account for the windows workstation either via the smbldap-useradd and the linux useradd commands or a gui wizard that does this for me. I currently use ldap-account-manager http://lam.sourceforge.n

[Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

2007-06-26 Thread mikelOn
Hi all, I am doing some research on Samba+OpenLDAP (+DHCP+DNS) with the intention of getting rid of the Micro$oft licenses necessary to maintain the Server products from such company. One of the aims I have is to demonstrate other people in my company that an open source alternative can work as w

[Samba] Samba and LDAP Replication

2007-03-15 Thread Florian Zierer
Hi all, i have some problems with the ldap replication of the samba database. I have a samba installation with one PDC and one BDC. Both have their local running openldap server. The Ldap on the PDC should be the Master LDAP and the one on the BDC the slave. Replication works with slurpd f

RE: [Samba] Samba and LDAP (eDirectory)

2006-07-06 Thread Esquivel, Vicente
So the "universal password" setting is on the samba side or eDir side? Vince > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Joel Lord > Sent: Thursday, July 06, 2006 9:24 AM > To: samba@lists.samba.org > Subj

Re: [Samba] Samba and LDAP (eDirectory)

2006-07-06 Thread Joel Lord
In the case of eDirectory, if you install the samba extensions that come with OES and use "universal password" it will just work. It even extends the management tools to handle the Samba users and their existance under UNIX (Linux, but it works fine from a Solaris samba server as well, and p

[Samba] Samba and LDAP (eDirectory)

2006-07-06 Thread Esquivel, Vicente
Hello all, Can anyone help me with setting up SAMBA to do LDAP auth? Do you have to extend the schema with samba attributes or can you just use the LDAP as an authentication source only? Any information on this would be greatly appreciated. Thanks Vince -- To unsubscribe from this list go t

[Samba] Samba and ldap login

2006-01-17 Thread brice . rouanet
Hi, how can I do to use a another ldap attribute to login on windows pc, by default attirbute is uid, but i want to usrs mail attribute. Regards, Brice. This message was sent using IMP, the Internet Messaging Program. -- To uns

[Samba] Samba and LDAP, problem with variables %u and %g

2005-04-18 Thread Paul Taka
Hi samba list, I'm using samba 3(.0.13) with OpenLDAP and I have a strange problem: the variables %U and %G don't seem to be replaced by their values. I get nothing in my logs, so I don't know where is the problem... In fact, in my smb.conf, I have something like: logon home = logon path = \\

SOLVED Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread Misty Stanley-Jones
It appears that Samba needs to be restarted in order for the search base to be reset. Is this a bug? The BaseDN was reset without doing anything other than editing the smb.conf. But even then, viewing of the LDAP logs showed that the search base was still including the old DN. Misty -- To u

Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread Tony Earnshaw
Misty Stanley-Jones: > Right now, I have all of my Samba stuff under > ou=corp,dc=mycompany,dc=com. I have it this way because there used to > also be ou=furn,dc=mycompany,dc=com with a different domain. Now that I > only have one domain, I would like to move everything to > dc=mycompany,dc=com

Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread Misty Stanley-Jones
On Wednesday 16 March 2005 02:43 pm, Craig White wrote: > On Wed, 2005-03-16 at 10:57 -0500, Misty Stanley-Jones wrote: > > Right now, I have all of my Samba stuff under > > ou=corp,dc=mycompany,dc=com. I have it this way because there used to > > also be ou=furn,dc=mycompany,dc=com with a differe

Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread Craig White
On Wed, 2005-03-16 at 10:57 -0500, Misty Stanley-Jones wrote: > Right now, I have all of my Samba stuff under ou=corp,dc=mycompany,dc=com. I > have it this way because there used to also be ou=furn,dc=mycompany,dc=com > with a different domain. Now that I only have one domain, I would like to

Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread John H Terpstra
Misty, If your binddn has changed you need to re-run: smbpasswd -w 'secret' to update your secrets.tdb file. - John T. On Wednesday 16 March 2005 09:06, Misty Stanley-Jones wrote: > More info: I tried deleting ou=corp (after making a backup of course) and > still no dice. As soon as I

Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread Paul Gienger
Misty Stanley-Jones wrote: More info: I tried deleting ou=corp (after making a backup of course) and still no dice. As soon as I put back ou=corp and make the baseDN in smb.conf ou=corp, everything works. If I take all the entries under ou=corp and copy them one level up, I can't authenticate

Re: [Samba] Samba and LDAP Base DN

2005-03-16 Thread Misty Stanley-Jones
More info: I tried deleting ou=corp (after making a backup of course) and still no dice. As soon as I put back ou=corp and make the baseDN in smb.conf ou=corp, everything works. If I take all the entries under ou=corp and copy them one level up, I can't authenticate to Samba anymore. It doesn

[Samba] Samba and LDAP Base DN

2005-03-16 Thread Misty Stanley-Jones
Right now, I have all of my Samba stuff under ou=corp,dc=mycompany,dc=com. I have it this way because there used to also be ou=furn,dc=mycompany,dc=com with a different domain. Now that I only have one domain, I would like to move everything to dc=mycompany,dc=com. So I copy all of the subent

Re: [Samba] Samba and LDAP

2005-03-15 Thread John H Terpstra
On Tuesday 15 March 2005 03:14, Gerald Cenir wrote: > Hello! > What would be the main advantage of using SAMBA + LDAP? Will a network with > less than 150 Windows users benefit from it? > Thanks! The correct answer to that question is - it all depends. Suggest you read the Samba documentati

[Samba] Samba and LDAP

2005-03-15 Thread Gerald Cenir
Hello! What would be the main advantage of using SAMBA + LDAP? Will a network with less than 150 Windows users benefit from it? Thanks! Regards, -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

RE: [Samba] SAMBA and LDAP Schema's

2004-06-09 Thread ww m-pubsyssamba
Not hit and miss! there are complete listings of all schema changes needed in the source code for each release of Samba 3.0 (not sure if this has been static since 3 was released). There are files formatted for OpenLDAP and SunONE LDAP (in the examples directory), you should be able to derive al

[Samba] SAMBA and LDAP Schema's

2004-06-09 Thread Vaughan Rivett
Hi there! I am wanting to get hold of a list of the various schema settings for Samba as a PDC with an LDAP backend database. I need a break down of all the object classes, the attributes and which of the attributes are required/optional. I have taken some of my information from: http://www.sa

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-09 Thread Wim Bakker
On Friday 09 April 2004 04:00, Suhaimi Jamalludin wrote: > Hi Wim Bakker, > > You have to make sure that LDAP is running withi out any error. > Can you do this (note: make sure there is no ACL applied on the > slapd.conf else you wont see the out put ofyour DN): > # ldapsearch -x -b '' -s base

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-08 Thread Suhaimi Jamalludin
Hi Wim Bakker, You have to make sure that LDAP is running withi out any error. Can you do this (note: make sure there is no ACL applied on the slapd.conf else you wont see the out put ofyour DN): # ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts Is there any out put? Can you pl

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-08 Thread Wim Bakker
On Thursday 08 April 2004 18:00, Paul Gienger wrote: > Did you remember to do a "smbpasswd -w " to store the > password for the manager's dn in the secrets.tdb file? > PS. issuing the following command after changing the ldap admin dn entry in smb.conf gives me this error: -

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-08 Thread Wim Bakker
On Thursday 08 April 2004 18:00, Paul Gienger wrote: > Did you remember to do a "smbpasswd -w " to store the > password for the manager's dn in the secrets.tdb file? > Yes , I did, but no succes, connection failed because of invalid credentials. I changed the following in the example as described

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-08 Thread Paul Gienger
Did you remember to do a "smbpasswd -w " to store the password for the manager's dn in the secrets.tdb file? Wim Bakker wrote: On Wednesday 10 March 2004 16:19, John H Terpstra wrote: The use of these tools is documented in the book version of the Samba-HOWTO-Collection, "The Official Samba

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-08 Thread Wim Bakker
On Wednesday 10 March 2004 16:19, John H Terpstra wrote: > The use of these tools is documented in the book version of the > Samba-HOWTO-Collection, "The Official Samba-3 HOWTO and Reference Guide" > available from Amazon.Com. There are 5 chapters that are not in the HOWTO > document - these will

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-04-08 Thread Wim Bakker
On Wednesday 10 March 2004 16:19, John H Terpstra wrote: > The use of these tools is documented in the book version of the > Samba-HOWTO-Collection, "The Official Samba-3 HOWTO and Reference Guide" > available from Amazon.Com. There are 5 chapters that are not in the HOWTO > document - these will

Re: [Samba] Samba and LDAP

2004-03-22 Thread Andrei Mikhailovsky
copy of thes file can you piont me to > them please > > alton > > - Original Message - > From: "Andrei Mikhailovsky" <[EMAIL PROTECTED]> > To: "Raymond" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: 03/21/2004 1:28 P

Re: [Samba] Samba and LDAP

2004-03-21 Thread Adam Williams
> After perusing the Samba 3.x docs and purchasing Terpstra's and Vernooij's > excellent Samba-3 Howto, I am still unclear on LDAP authentication. Not a > Windows admin so please bear with me. > 1) Regarding the Samba schema, is there a tool to extract the Windows client > information (sid, etc.

Re: [Samba] Samba and LDAP

2004-03-21 Thread Andrei Mikhailovsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should try smbldap tools at http://samba.idealx.org/. They have nice scripts to migrate samba to authenticate against ldap. - -- Andrei Mikhailovsky Arhont Ltd Web: http://www.arhont.com Tel: +44 (0)870 4431337 Fax: +44 (0)117 9690141 PGP: Key ID -

[Samba] Samba and LDAP

2004-03-21 Thread Raymond
After perusing the Samba 3.x docs and purchasing Terpstra's and Vernooij's excellent Samba-3 Howto, I am still unclear on LDAP authentication. Not a Windows admin so please bear with me. 1) Regarding the Samba schema, is there a tool to extract the Windows client information (sid, etc.) for pop

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Andreas
On Wed, Mar 10, 2004 at 05:59:14PM +, John H Terpstra wrote: > > What Samba should do by default is read LDAP parameters from ldap.conf, > > with the option to override the parameters if the admin so chooses, thus > > making Samba easy and straightforward for the admin to use out the box. > >

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Andreas
On Wed, Mar 10, 2004 at 07:33:46PM +0200, Graham Leggett wrote: > >Your not obligated to use smbldap-tools, but I won't argue with you on > >that one. I'm not a big fan. > > Are there alternatives? Yes, more or less polished, for example: http://lam.sourceforge.net/ -- To unsubscribe from thi

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Andreas
On Wed, Mar 10, 2004 at 06:31:42PM +0200, Graham Leggett wrote: > I learn however that this is _not_ so - if nss_ldap is not configured > correctly, Samba + LDAP won't work. Which leads me on to ask: Why does > Samba not read the LDAP configuration from ldap.conf by default, instead > of asking

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Andreas
On Wed, Mar 10, 2004 at 05:03:58PM +0200, Graham Leggett wrote: > The functionality provided by smbldap-tools should be built into Samba > from scratch, I don't see why there is such a need to jump through hoops > like this. Hmm, wait a minute. The thing is that there are two sources of user inf

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Beast
* Fernando Pintabona <[EMAIL PROTECTED]> nulis: > here: > http://www.amazon.com/exec/obidos/tg/detail/-/0131472216/qid=1079009247/sr=1-1/ref=sr_1_1/103-1507164-4910244?v=glance&s=books > > A really good place to start ;) > I agree, but its 384 pages is not that quick ;-p something like : http

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Fernando Pintabona
here: http://www.amazon.com/exec/obidos/tg/detail/-/0131472216/qid=1079009247/sr=1-1/ref=sr_1_1/103-1507164-4910244?v=glance&s=books A really good place to start ;) On Thu, 2004-03-11 at 13:39, Beast wrote: > * Graham Leggett <[EMAIL PROTECTED]> nulis: > > > Excessive documentation is one of the

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Beast
* Graham Leggett <[EMAIL PROTECTED]> nulis: > Excessive documentation is one of the biggest problems I have found with > software projects, both open source and commercial. People begin skim > reading them because they just go on too long, or by the time you've > reached chapter 14, you forgot

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Graham Leggett
John H Terpstra wrote: 3. Just sending configuration files can actually aggrevate someone's problem. Example configuration files must be sent with clear "Do this, then this, then this ..." type guidance. Access to a working configuration file is probably the fastest way I find to learn a new prod

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-11 Thread Graham Leggett
Craig White wrote: I can tell by the volume of your messages that you feel that you have a message worthy of delivery but I don't agree. You have bundled a lot of your frustration with learning LDAP into Samba and Samba doesn't require you to use LDAP at all. Obviously it doesn't require you to us

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-10 Thread John H Terpstra
Craig, Thanks for your well thought out illumination on this. Your comments are right on. I must confess that I was out to draw out from our users what their experience and frustrations are. As you know, I encourage feedback. Feedback demonstrates how users approach the problem of digging themse

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-10 Thread Craig White
On Wed, 2004-03-10 at 11:33, Graham Leggett wrote: > John H Terpstra wrote: > > > We feel your learning curve pain with you. How can we solve this? What > > specifically should be done to eliminate the pain? Who should do this and > > how? > > "Simplify simply simplify" - Henry David Thoreau. >

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-10 Thread RRuegner
Graham Leggett schrieb: RRuegner wrote: Hi, yes the tools should be better described as they are in the smb sources i found it very hard at my first setup ldap smb. On the other Hand many setups are thinkable with ldap, a description to the ldap populate is only one way ( fast , working ) to co

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-10 Thread Jim C.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It does seem odd that there is no ./configure for smbldap. It could be used to parse ldap.conf/smb.conf and reduce the number of config files in the short term. ... and what about something like this: Startup: Check for ldap changes in ldap.conf/smb.co

Re: [Samba] Samba and LDAP backend - howto docs problems?

2004-03-10 Thread Norman Dressler
On Wednesday 10 March 2004 12:55 pm, Graham Leggett wrote: > John H Terpstra wrote: > >>Samba's LDAP configuration exists in the smb.conf file. pam_ldap / > >>nss_ldap's configuration exists in the ldap.conf file. > > > > Samba works with OpenLDAP, Sun iPlanet (Identity Server), IBM Tivoli > > Dire

  1   2   >