Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba ldap only accepts Null Password ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Tue Nov 02, 2004 12:57 pm    Post subject: samba ldap only accepts Null Password ? Reply with quote

I have installed samba and ldap for testing ... everything seems to be working including the ldap installation accept samba cannot authenticate passwords to ldap. I am not really getting anything usefull in the message log either. The password for administrator has been set but samba will only accept a Null password for the administrator account ??

Could someone with a working samba ldap gentoo server please post me their config files. I guess the important ones are /etc/pam.d/ files and /etc/ldap.conf.

thanks.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Wed Nov 03, 2004 9:42 am    Post subject: Reply with quote

ok I got it all working....for those who stumble accross this in the future I removed from smb.conf:

#username map = /etc/samba/smbusers

and changed my /etc/ldap.conf as follows:

Code:


# Your LDAP server. Must be resolvable without using LDAP.
host 127.0.0.1

# The distinguished name of the search base.
base dc=IDEALX,dc=ORG

# The distinguished name to bind to the server with if the effective user ID
# is root. Password must be stored in /etc/ldap.secret (mode 600)
rootbinddn cn=Manager,dc=IDEALX,dc=ORG

# RFC2307bis naming contexts
# we use ?sub (and not the default ?one) because we
# separated sambaAccounts on ou=Computer,dc=IDEALX,dc=org
# and ou=People,dc=IDEALX,dc=org
nss_base_passwd         dc=IDEALX,dc=ORG?sub
nss_base_shadow         dc=IDEALX,dc=ORG?sub
nss_base_group          ou=Groups,dc=IDEALX,dc=ORG?one

# Security options
ssl no
pam_password md5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum