On Sun, 2005-10-16 at 20:14 +0100, Rob Mason wrote: > Craig White wrote: > > >On Sun, 2005-10-16 at 19:58 +0100, Rob Mason wrote: > > > > > >>I'm running FreeBSD 5.4-STABLE with Samba 3.0.20 configured as a PDC > >>serving a small-ish network (10 XP hosts). My problem concerns roaming > >>profiles - some XP clients take ages to logon and logoff. On doing some > >>Googling I identified the 'profile acls' parameter as being a likely > >>fix. However, I seem to have got myself into one of two scenarios: > >> > >>a) With 'profile acls' switched on my XP clients logon more-or-less > >>immediately, but fail to save their roaming profile when logging off. > >>The samba logs show "request_oplock_break: no response received..." > >> > >>or > >> > >>b) With 'profile acls' switched off my XP clients take an age to logon > >>and logoff, but the profiles are saved OK. > >> > >>I've spent days trying various permitations, but to no avail. Can > >>anyone shed any light or ideas for trouble shooting this problem???? > >> > >> > >>My smb.conf is: > >> > >> > > > > > > > >>[profiles] > >> path = /home/profiles > >> #valid users = %U, administrator > >> #force user = %U > >> read only = No > >> create mask = 0600 > >> directory mask = 0700 > >> #profile acls = yes > >> > >> > >---- > >this works for me... > > > >[Profiles] > > path = /home/samba/profiles > > browseable = no > > guest ok = no > > writeable = yes > > create mask = 600 > > directory mask = 700 > > profile acls = yes > > csc policy = disable > > > ># ls -ld /home/samba/profiles/ > >drwxrwx--- 6 root dom_users 4096 Aug 22 16:58 /home/samba/profiles/ > > > >(make sure that your /home/profiles is set with proper permissions too. > > > >Craig > > > > > > > > > Thanks Craig - can I confirm the permissions. It should be: > > profiles = chmod'd 0755 owned and group owned by root > profiles/user = chmod'd 0770 owned and group owned by user > > Is this correct? ---- I don't think so
# ls -ld /home/samba/profiles/ drwxrwx--- 6 root dom_users 4096 Aug 22 16:58 /home/samba/profiles/ # ls -l /home/samba/profiles/ total 32 drwxrwx--- 13 Administrator dom_users 4096 Sep 23 22:51 Administrator drwxrwx--- 19 craig dom_users 4096 Oct 5 08:00 craig drwxrwx--- 16 jennifer dom_users 4096 Jan 26 2005 jennifer drwxrwx--- 13 patricia dom_users 4096 Jul 10 22:36 patricia # net groupmap list |grep "Domain Users" Domain Users (S-1-5-21-1423820788-2381578139-3444021595-513) -> dom_users Thus the main directory and the actual profiles are owned by the group "Domain Users" who have rwx permissions and in the profile directory, the user owns their own directories...not root Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
