On Wed, Dec 24, 2003 at 02:04:46AM +0200, Doncho N. Gunchev wrote: > > With samba 2.x I used: > | [homes] > | comment = Home Directories > | browseable = no > | writable = yes > | valid users = %S > | create mode = 0664 > | directory mode = 0775 > | path = %H/samba > | ; path=/mnt/Serveur/%S > | ; path = %H/public_html > | # If you want users samba doesn't recognize to be mapped to a guest user > | ; map to guest = bad user > | [Profiles] > | path = %H/samba-profile > | browseable = no > (I don't like windows's profile files in my home dir, so I put them in samba dir there) > There are some problems problem with Samba 3.0.x For more details you can look at > http://us1.samba.org/samba/whatsnew/samba-3.0.0rc4.html . Most useful. Thank you. > To see what works with sambsa 3.x I used > | [homes] > | comment = Home Directories - %H - %S > | browseable = no > | writable = yes > and I saw: 'Home Directories - / - mr700', then: > | comment = S:%S,P:%P,u:%u,g:%g,U:%U,G:%G,H:%H,m:%m,M:%M,N:%N,p:%p,R:%R,d:%d,a:%a,I:%I,T:%T;L:%L Also very useful, good idea. > and ended up with: > | [homes] > | comment = %U's Home Directory '%H/samba' - for %U:%G from %m:(%M) with %a > | ; I do find this comment very usefull Indeed. I trimmed it a bit: comment = %U:%G's Home Directory '%H' on %m with %a as I do not use the separate ~/samba directory that you use. > | browseable = no > | writable = yes > | valid users = %U > | create mode = 0664 > | directory mode = 0775 > | path = %H/samba > | [Profiles] > | path = %H/samba-profile > | browseable = no > | guest ok = no > works just fine for me :) you? -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
Attachment:
pgpLNVmvKQ3dy.pgp
Description: PGP signature