Newsgroup: it.comp.os.linux.sys
Titolo: dominio samba e profili

ho messo su un server samba + ldap su di una suse 9.3(io avrei scelto altro
ma me lo hanno imposto)
sembra tutto apposto ma quando mi vado a loggare al dominio il login va a
buon fine ma mi da questo errore:
"Windows non ha caricato il profilo comune e sta tentando di connettere
l'utente con il profilo locale. Al momento della disconnessione, le
modifiche apportate al profilo non verranno copiate sul server. Il profilo
non è stato caricato perché una copia della cartella del profilo, priva
delle corrette impostazioni di protezione, è già presente sul server. È
necessario che l'utente corrente o il gruppo Administrator siano proprietari
della cartella. Contattare l'amministratore di rete."
e ovviamente il profilo non viene salvato sul server
posto il mio smb.conf (opportunamente censurato!):
# Global parameters
[global]
        workgroup = domain
        netbios name = samba
	enable privileges = yes
# interfaces = 192.168.197.8
        username map = /etc/samba/smbusers
        server string = Samba Server %v
        security = user
        encrypt passwords = Yes
        min passwd length = 3
        obey pam restrictions = No
        #unix password sync = Yes
        #passwd program = /usr/local/sbin/smbldap-passwd -u %u
 #passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new
password*" %n\n"
        ldap passwd sync = Yes
        log level = 0
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 100000
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        mangling method = hash2
        Dos charset = 850
        Unix charset = ISO8859-1
        logon script = logon.bat
        logon drive = H:
        logon home =
        logon path = /home/samba/profiles/%U
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        passdb backend = ldapsam:ldap://
127.0.0.1/
        # passdb backend = ldapsam:"ldap://
127.0.0.1/
 ldap://
slave.idealx.com
"
 # ldap filter = (&(objectclass=sambaSamAccount)(uid=%u))
        ldap admin dn = cn=Manager,dc=mioldap
        ldap suffix = dc=mioldap
        ldap group suffix = ou=Groups
        ldap user suffix = ou=Users
        ldap machine suffix = ou=Computers
        ldap idmap suffix = ou=Users
# ldap ssl = start tls
        add user script = /usr/local/sbin/smbldap-useradd -m "%u"
        ldap delete dn = Yes
        #delete user script = /usr/local/sbin/smbldap-userdel "%u"
        add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
        add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
        #delete group script = /usr/local/sbin/smbldap-groupdel "%g"
        add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
        delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u"
"%g"
        set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
        # printers configuration
        printer admin = @"Print Operators"
        load printers = Yes
        create mask = 0640
        directory mask = 0750
        nt acl support = No
        printing = cups
        printcap name = cups
        deadtime = 10
        guest account = nobody
        map to guest = Bad User
        dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
        show add printer wizard = yes
        ; to maintain capital letters in shortcuts in any of the profile folders:
        preserve case = yes
        short preserve case = yes
        case sensitive = no
[homes]
        comment = home directory di %U, %u
        read only = No
        create mask = 0644
        directory mask = 0775
        browseable = No
[netlogon]
        path = /home/samba/netlogon/
 browseable = No
        read only = yes
[profiles]
        path = /home/samba/profiles
        read only = no
        create mask = 0600
        directory mask = 0700
        browseable = No
        guest ok = Yes
        profile acls = yes
        csc policy = disable
        # next line is a great way to secure the profiles
        force user = %U
        # next line allows administrator to access all profiles
        valid users = %U @"Domain Admins"
[printers]
        comment = Network Printers
        printer admin = @"Print Operators"
        guest ok = yes
        printable = yes
        path = /home/samba/spool/
        browseable = No
        read only = Yes
        printable = Yes
# print command = /usr/bin/lpr -P%p -r %s
        lpq command = /usr/bin/lpq -P%p
        lprm command = /usr/bin/lprm -P%p %j
[print$]
        path = /home/samba/printers
        guest ok = No
        browseable = Yes
        read only = Yes
        valid users = @"Print Operators"
        write list = @"Print Operators"
        create mask = 0664
        directory mask = 0775
[public]
        comment = directory pubblica
        path = /home/public
	browseable = Yes
        guest ok = Yes
        read only = No
        directory mask = 0775
        create mask = 0664
--------------------------------
Inviato via 
http://arianna.libero.it/usenet/

 >rendere il sistema non utilizzabile ma in modo sottile ?
Se NT puo' installarsi via FTP, e' la tua risposta.
 
Leonardo Serni