[Samba] Re: Samba and OpenLDAP Problem :((
sambauser at katehok.ac93.org
Tue Oct 12 19:49:40 GMT 2004
Can you provide smbd log showing the error message you receive on login
Does your 'pdbedit -L' lists machine accounts as well as user's one?
How did you migrate your user database into LDAP (you may lost your
password during migration)?
Why do you use samba 2.x schema with Samba 3.0.7? I know it should work,
but it was design for those poor souls who had LDAP configured with
Samba 2.x and now migrate to Samba 3.x.
Soheil Hassas Yeganeh wrote:
> Dear All,
> When i configured samba to use openldap for passdb backend, no one
> could connect to it, (all workstation maked time out.)
> But, pdbedit -L works and prints all the users i've created.So, i
> think everything about my ldap is right.
> (I've used samba 2.x scheme on my openldap, so I used
> ldapsam_compat:ldap://localhost/ for passdb backend.)
> when i comment the LDAP lines of my smb.conf it works :)) i don't know
> what's bad about it.
> I'm using Samba 3.0.7 on fedora core 2. and my smb.conf is :
> # Global parameters
> workgroup = CYBERMEHR
> server string = arthus
> username map = /etc/samba/smbusers
> log file = /var/log/samba/%m.log
> max log size = 50
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = No
> passdb backend = ldapsam_compat:ldap://localhost/
> ldap admin dn = cn=Manager,dc=cybermehr,dc=com
> ldap group suffix = ou=Group
> ldap machine suffix = ou=Hosts
> ldap suffix = dc=cybermehr,dc=com
> ldap ssl = no
> ldap user suffix = ou=People
> ldap filter = (&(uid=%u))
> comment = Home Directories
> read only = No
> browseable = No
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
> Does anyone know what can i do to make it work ?
> Best Regards
More information about the samba