90a5 Samba remote LDAP read-only - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old September 23rd, 2011, 22:14
leonetix leonetix is offline
Junior Member
 
Join Date: Aug 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Samba remote LDAP read-only

Hi,

I am trying to get samba working with a remote ldap server. I only want to authenticate the users, I don't want the users to change their settings/passwords. I looked around but all the examples require having an LDAP Admin password which I don't have/need.

Any ideas?

Thanks,
~L
Reply With Quote
  #2  
Old October 7th, 2011, 06:03
leonetix leonetix is offline
Junior Member
 
Join Date: Aug 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just wanted to give a little more detail, so maybe it will be more useful.

I have a FreeBSD 8.2 machine that is used for backup that authenticates users over an external ldap server. It works fine with ssh/netatalk...

I would also like to set up samba for windows machines. I just want users to authenticate for their backups. I don't want them to be able to change their passwords,etc..

All the example configs involve giving read-write permissions for ldap authentication using secrets.tbd. I couldn't find any example that does read-only authentication.

Is it possible to do that?

Here is my ldapsearch output:
Code:
        dn: xxxx
        objectClass: account
        objectClass: posixAccount
        objectClass: top
        objectClass: shadowAccount
        objectClass: sambaSamAccount
        uid: xxx
        cn: xxx
        loginShell: xxx
        uidNumber: xxx
        gidNumber: xxx
        homeDirectory: xxx
        gecos: xxx
        sambaSID: S-x-x-xx-xxx-xxx-xxxx
Thanks,
~L
Reply With Quote
Reply

Tags
ldap, samba

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Samba PDC with LDAP backend Sylhouette Howtos & FAQs 36 October 16th, 2012 21:02
Samba: Users' files upload as read-only mallen324 Web & Network Services 10 September 19th, 2011 14:56
slow read performance samba/cifs Boeri Web & Network Services 0 March 17th, 2011 11:17
Roaming profile problem with LDAP backend Samba PDC Alfatrion Web & Network Services 2 August 3rd, 2010 11:25
Samba + LDAP: weird errors and problems jimmi Web & Network Services 2 February 18th, 2010 06:25


All times are GMT +1. The time now is 00:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0