Author Topic: 3.5 - Samba LDAP [SOLVED]  (Read 1852 times)

ippillihplm

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
3.5 - Samba LDAP [SOLVED]
« on: July 07, 2014, 09:52:38 am »
Hello All...

I understand that the OpenLDAP has been dropped in order to work with Samba.  I also understand that Samba does have an LDAP server included.  How does one authenticate against it via LDAP to pull users for authentication for something like ownCloud?

Thanks!
« Last Edit: July 07, 2014, 02:38:28 pm by ippillihplm »

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: 3.5 - Samba LDAP
« Reply #1 on: July 07, 2014, 12:52:00 pm »
Hello:

You will need to provide a valid user account to the OwnCloud in order to be able to do that. Moreover you may need to modify que query that OwnCloud will do in order to lookup for id's (for instance changing from uid to samAccountName)

ippillihplm

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: 3.5 - Samba LDAP
« Reply #2 on: July 07, 2014, 02:37:53 pm »
Thanks, I appreciate the info.

I actually forgot that in that this is going to require a fully qualified user such as user@domain.com to login.  I was able to get logged in successfully.

StuartNaylor

  • Guest
Re: 3.5 - Samba LDAP [SOLVED]
« Reply #3 on: July 07, 2014, 03:00:54 pm »
I was looking at owncloud a couple of months ago.

I had a few book marks but this gave me a few pointers.
http://en.alexnogard.com/owncloud-4-5-windows-server-active-directory-authentication/

bill.meyer.rsa

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: 3.5 - Samba LDAP
« Reply #4 on: July 09, 2014, 11:11:26 am »
Thanks, I appreciate the info.

I actually forgot that in that this is going to require a fully qualified user such as user@domain.com to login.  I was able to get logged in successfully.

I am attempting the same.
Zentyal 3.5 with OwnCloud.
Can you post the details of how you got it right.
Created a user that is in Domain Admin Group.
Was able to login with LDAP Admin program on Windows so the user and authentication is correct.
Still can't get OwnCloud to connect though.
Will appreciate a bit more detail config details. Thanks

StuartNaylor

  • Guest
Re: 3.5 - Samba LDAP [SOLVED]
« Reply #5 on: July 09, 2014, 05:43:36 pm »
If you have a browse around /etc/postfix and /etc/dovecot there are config files in there that are not exact but very good for your actual zentyal instance.

They use a zentyal created mail user fro ldap browsing and you will have to either use administrator which is probably a bad idea.

The administrator password may change over time and maybe create a domain admin called ldap for browsing.