[Date Prev][Date Next] [Chronological] [Thread] [Top]

openldap and samba and local profiles



Hi, i'm configuring samba 2.2.x with openldap support.
All works fine, but i need force to windows clients
to use local profiles. I delete all lines in smb.conf
about profiles and attribute profilePath of user
but not works. When I try to log in windows says that
not found the roaming profile and it will use a temporal
profile.

Anyone help me please?

I need do this over server configuration, not like mmc,
regedit, etc because i have more 500 windows clients!

thanks

smb.conf

[global]
        workgroup = LDAP
        server string = xxx
        os level = 64
#       netbios name = ldap
        time server = Yes
        unix extensions = Yes
        encrypt passwords = Yes
        passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
        passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
        unix password sync = Yes
        log level = 3
        syslog = 0
        printing = CUPS
        printcap name = CUPS
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/
        local master = yes
        preferred master = yes
        domain master = yes
        domain logons = yes
#      logon home = ""
#      logon path = ""
        logon drive = g:  #Unidad para montar el home
#       logon home = \\127.0.0.1\profiles\%u  #PATH para profiles win 9x
#       logon home = \\localhost\%u
#       logon script = INICIO.BAT
#       logon path = PATH para profiles winNT
#       logon path = \\servidor-ldap\profiles\%u
#       profile acls = no
        wins support = yes
#       name resolve order = wins lmhosts host bcast

        ;LDAP
        ldap suffix = o=xxx
        ldap admin dn = cn=Manager, o=xxx
        ldap port = 389
#       ldap port = 636
        ldap server = 192.168.1.146
        ldap ssl = No
        add user script = /usr/local/sbin/smbldap-useradd.pl -m -d
/dev/null -g 1000 -s /bin/false %u
        character set = iso8859-1
[homes]
        comment = Home Directories
        volume = Dat
#       valid users = %S
        browseable = No
        read only = No
        create mask = 0640
        directory mask = 0750

#[profiles]
#       path = /opt/samba/profiles
#       writeable = Yes
#       browseable = No
#       create mode = 0644
#       directory mode = 0755
#       guest ok = Yes

[netlogon]
        comment = Carga .bat
        path = /opt/samba/netlogon
        guest ok = Yes

[root]
        path = /home/xxx
        writeable = Yes