[Samba] Roaming Profiles Problem

Robert Steinmetz rob at steinmetznet.com
Sun Mar 25 21:29:23 GMT 2007


Gary Dale wrote:
> The permissions I believe the world needs are rwx. You only seem to be 
> giving them rx, and only r in the create mask. I'd try getting less 
> fancy and keep your profiles down to:
> [profiles]
>       comment = Windows Roaming Profiles
>       path = /home/%U/profile
>       read only = No
>       store dos attributes = Yes
> and even then I don't know about the last line.  Mine just use a path 
> and read only = no. My profiles directory permissions are: drwxrwxrwt.
Mine are only drwxrwxrx I don't have the "t"

On my previous Solaris server (which worked) they were drwxrwxr-x+

I think if you only have read only =no then the share uses the global 
settings.

I'm going to post a new message with some new related information.
> Robert Steinmetz wrote:
>> Gary Dale wrote:
>>> I'm assuming that you've not shown us your full smb.conf. This does 
>>> make it tricky to figure out what you've got however.
>> Yes I only sent the parts that seem relevant to this problem. Here 
>> are the full globals and shares.
>>
>> [global]
>>        workgroup = DOMAIN
>>        server string = %h server (Samba, Ubuntu)
>>        obey pam restrictions = Yes
>>        password server = PDC 192.168.1.24 *
>>        passdb backend = tdbsam
>>        passwd program = /usr/bin/passwd %u
>>        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
>> *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
>>        syslog = 0
>>        log file = /var/log/samba/log.%m
>>        max log size = 1000
>>        time server = Yes
>>        hostname lookups = Yes
>>        logon path = \\PDC\%U\profile
>>        logon drive = U:
>>        logon home = \\PDC\%U
>>        domain logons = Yes
>>        os level = 33
>>        domain master = Yes
>>        wins proxy = Yes
>>        wins support = Yes
>>        ldap ssl = no
>>        panic action = /usr/share/samba/panic-action %d
>>        idmap uid = 10000-20000
>>        idmap gid = 10000-20000
>>        winbind nested groups = Yes
>>        admin users = root, administrator
>>        hosts allow = 192.168.1.0/255.255.255.0
>>        profile acls = Yes
>>
>> [printers]
>>        comment = All Printers
>>        path = /tmp
>>        create mask = 0700
>>        printable = Yes
>>        browseable = No
>>
>> [print$]
>>        comment = Printer Drivers
>>        path = /var/lib/samba/printers
>>
>> [netlogon]
>>        comment = Network Logon Service
>>        path = /var/lib/samba/netlogon
>>        guest ok = Yes
>>        browseable = No
>>
>> [profiles]
>>        comment = Windows Roaming Profiles
>>        path = /home/%U/profile
>>        read only = No
>>        create mask = 0664
>>        force create mode = 0775
>>        directory mask = 0775
>>        force directory mode = 0775
>>        store dos attributes = Yes
>>
>> [homes]
>>        path = /home/%U
>>        read only = No
>>        store dos attributes = Yes
>
-- 
*Robert Steinmetz, AIA*
Principal
*Steinmetz & Associates*


More information about the samba mailing list