Can you provide smbd log showing the error message you receive on login attempts?
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.


Igor

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
[global]
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))
[homes]
comment = Home Directories
read only = No
browseable = No


[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
Does anyone know what can i do to make it work ?
Best Regards
Soheil

-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to