[Samba] Samba PDC adding new user, profile dir is not created

TAKAHASHI Motonobu monyo at monyo.com
Wed Mar 16 11:00:19 MDT 2011


From: "J. Echter" <j.echter at elektro-mayer-echter.de>
Date: Wed, 16 Mar 2011 17:34:35 +0100

> > You should show us enough information for us to re-produce such as
> > all content of smb.conf and related settings:
> >
> > In my lab, profile dir is successfully created. My env is...

(snip)

> smb.conf

(snip)

> ls -lR /home/samba/profile

(snip)

At first you had better try a simple settings like me.

To look at your smb.conf, I tried with the smb.conf below:

-----
[global]
  workgroup = SAMBA
  domain logons = yes
  add machine script = useradd %u
  map to guest = bad user

  logon path = \\%L\profiles\%U
  hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/

[homes]
  writeable = yes
  browseable = no

[profiles]
  path = /var/lib/samba/shares/profiles
  guest ok = yes
  browseable = no
  create mask = 0600
  directory mask = 0700
  writeable = yes
  profile acls = yes
-----

and although still my user can create profile dirs and files...

---
TAKAHASHI Motonobu <monyo at monyo.com>







More information about the samba mailing list