[Samba] roaming profiles on beta samba3 as pdc

robowarp at gmx.de robowarp at gmx.de
Mon Jun 23 18:29:12 GMT 2003


now roaming works on samba3 pdc beta

with this conf on suse 8.2 
[global]
        netbios name = linux
        large readwrite = yes
        dos charset = ISO8859-15
        unix charset = CP850
        display charset = CP850
        workgroup = LINUX
        interfaces = lo, eth2
        bind interfaces only = Yes
        server schannel = Yes
        passdb backend = smbpasswd:/etc/samba/smbpasswd, guest
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *password* %n\n *password* %n\n *changed*
        username map = /etc/samba/smbusers
        unix password sync = Yes
        log level = 2
        syslog = 0
        log file = /var/log/samba/%m
        name resolve order = wins bcast hosts
        time server = Yes
        keepalive = 255
        socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192
SO_RCVBUF=8192
        load printers = No
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd -r %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/bin/gpasswd -a %u %g
        delete user from group script = /usr/bin/gpasswd -d %u %g
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c Machine -d
/dev/null -s /bin/false %u
        shutdown script = /sbin/shutdown
        abort shutdown script = /sbin/shutdown -c
        unix password sync = Yes
        log level = 2
        syslog = 0
        log file = /var/log/samba/%m
        name resolve order = wins bcast hosts
        time server = Yes
        keepalive = 255
        socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192
SO_RCVBUF=8192
        load printers = No
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd -r %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/bin/gpasswd -a %u %g
        delete user from group script = /usr/bin/gpasswd -d %u %g
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c Machine -d
/dev/null -s /bin/false %u
        shutdown script = /sbin/shutdown
        abort shutdown script = /sbin/shutdown -c
        logon script = login.bat
        logon path = \\linux\profiles\%u
        logon drive = Z:
        logon home = \\linux\%u
        domain logons = Yes
        os level = 255
        preferred master = Yes
        domain master = Yes
        wins proxy = Yes
        wins support = Yes
        ldap ssl = no
        add share command =
/usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl
        change share command =
/usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl
        delete share command =
/usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl
        utmp = Yes
        host msdfs = Yes
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        admin users = root
        hosts allow = 127., 10.10.30.
        use sendfile = Yes
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/
#       veto oplock files = /*.doc/*.xls/*.mdb/


[homes]
        comment = Home Directories
        read only = No
        create mask = 0640
        directory mask = 0750
        browseable = No
[netlogon]
        comment = Netlogon Share
        path = /var/lib/samba/netlogon
        write list = root
        guest ok = Yes
        nt acl support = No
        browseable = No
        blocking locks = No
        csc policy = disable
        locking = No
        oplocks = No
        level2 oplocks = No
        posix locking = No
        strict locking = No
        share modes = No
[profiles]
        comment = Roaming Profile Share
        path = /var/lib/samba/profiles
        read only = No
        create mask = 0600
        directory mask = 0700
#       profile acls = Yes
        nt acl support = no
        blocking locks = No
        csc policy = disable
        locking = No
        oplocks = No
        level2 oplocks = No





> Hi @ll,
> can someone enlight me ,
> i could log in the domain and profiles are created well on samba, but
> after
> second login, win client says 
> i cannot copy //linux/Profiles/testuser to  c:\Dokument ...
> so its starts with local copy
> after login i am able to browse the Profiles share on samba but if i wanna
> open a files the client makes a explorer failure , it seems to me that
> this is
> a permission problem but chmod -R 0777 /var/lib/samba/profiles
> does not have any succes to the problem
> mapping of home Z works very well, but if i store the the profile to the
> home share if got same problem
> 
> i found no descript of  profile acls = Yes, what is that?
> 
> here is the smb.conf part which should be related to the problem
> 
>     #    logon script = login.bat
>         logon drive = Z:
>         logon path = \\%L\Profiles\%U
>         logon home = \\%L\%U
> [homes]
>         comment = Home Directories
>         valid users = %S
>         read only = No
>         browseable = No
> [netlogon]
>         comment = Network Logon Service
>         path = /var/lib/samba/netlogon
>         admin users = root
>         guest ok = Yes
>         nt acl support = No
>         browseable = No
>         blocking locks = No
>         csc policy = disable
>         locking = No
>         oplocks = No
>         level2 oplocks = No
>         posix locking = No
>         strict locking = No
>         share modes = No
> [Profiles]
>         comment = Roaming Profile Share
>         path = /var/lib/samba/profiles
>         read only = No
>         profile acls = Yes
> Best Regards from sunny hot munich
> 
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




More information about the samba mailing list