Hi!

OpenLDAP szepen megy. A Samba LDAP-ból autentikálna.
Ha "security = share", akkor szepen tallozhato a samba.
De ha "security = user", akkor ezt adja fel a user-nek:
"A megadott hitelesítő adatok ütköznek valamelyik meglévő
hitelesítő adatkészlettel."

Az smb.conf:
[global]
        
        workgroup = VMWare Samba
        server string = Samba Server Version %v
        
        netbios name = fedora_srv
        
        interfaces = lo eth0 tap0 192.168.220.0/24 10.1.0.0/24
        hosts allow = 127. 192.168.220. 10.1.0.0/24

        # logs split per machine
        log file = /var/log/samba/log.%m
        # max 50KB per log file, then rotate
        max log size = 50
        
        security = user
        passdb backend = ldapsam:ldap://127.0.0.1:389/
        ldap suffix = dc=intranet,dc=domain,dc=hu
        ldap user suffix = ou=People
        ldap group suffix = ou=Group
        ldap admin dn = cn=manager,dc=intranet,dc=domain,dc=hu
        ldap delete dn = no
        ldap password sync = yes
        unix password sync = yes

        load printers = yes
        cups options = raw

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
;       valid users = %S
;       valid users = MYDOMAIN\%S

        [public]
        comment = Public Stuff
        path = /home/samba
        browseable = yes
        public = yes
        writable = yes
        printable = no
# ------------------------------------------

A konzolon az ldap-bol szepen autentikalja a usert.
Az OpenLDAP-on is be van a sambaaccount allitva a usernek.
A logban ezt latni:
ldapsam_getsampwnam: init_sam_from_ldap failed for user 'test'?

Mi lehet a gond? :(

Udv,
Gabor








_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz