[Samba] LDAP and SAMBA

ruly at semenpadang.co.id ruly at semenpadang.co.id
Wed Jun 8 08:20:54 GMT 2005

I've configure my server (RedHat Linux Advanced Server 3.1) to run LDAP.
Bellow, this is my slapd.conf of my server:
access to attrs=userPassword
by self write
by anonymous auth
by * none

access to *
by * read

and by base.ldif configurations:
dn: dc=semenpadang
dc: semenpadang
objectClass: top
objectClass: domain

dn: ou=People,dc=semenpadang
ou: People
objectClass: top
objectClass: organizationalUnit

dn: ou=Group,dc=semenpadang
ou: Group
objectClass: top
objectClass: organizationalUnit

dn: cn=students,ou=Group,dc=semenpadang
objectClass: top
objectClass: posixGroup
cn: students
gidNumber: 401

dn: uid=someone,ou=People,dc=semenpadang
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
uid: someone
cn: someone
uidNumber: 101
loginShell: /bin/bash
gecos: someone
shadowLastChange: 12031
shadowMax: 99999
shadowWarning: 7
gidNumber: 401
homeDirectory: /home/someone
userPassword: {SSHA}yGSX/Zk8kt9JV26qu9qh8DQuVPdcIkYu

and my nsswitch.conf:
passwd:     files nisplus ldap
shadow:     files nisplus ldap
group:      files nisplus ldap

hosts:      files nisplus dns

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files nisplus ldap
rpc:        files
services:   files nisplus ldap

netgroup:   files nisplus ldap

publickey:  nisplus

automount:  files nisplus ldap
aliases:    files nisplus

When using o/s linux as a client (another computer on my network) to join
the LDAP server, it can. But if the client is windows(xp), it can't. I
heard about samba (sambaldap). What must I configure so the server accept a
login from windows(xp)?

Thank u for your kind attention.


Ruli Rahmadi
(ruly at semenpadang.co.id)

More information about the samba mailing list