[Samba] root ownership on some profile files cause login errors

Gerald (Jerry) Carter jerry at samba.org
Tue Nov 30 14:09:36 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin Zachor wrote:
| On a newly migrated profile (migrated onto Samba server, from local)
| some files/dirs get root ownership.
|
....
| [global]
|
| # -- BEGIN PDC --
|     domain logons = yes
|     logon path = \\netapp\profiles\%u
|     logon drive = H:
|     logon home = \\netapp\%u\.winprofile
|     logon script = logon.bat
|
|     add user to group script = /usr/sbin/usermod -G %g %u
|     add machine script = /usr/sbin/adduser --firstuid 9001 \
|         --lastuid 9500 \
|         --gid 9000 --home /dev/null --shell /bin/false \
|         --no-create-home \
|         --disabled-password --gecos "%u Samba Machine Account" \
|         --force-badname %u
|     admin users = @ntadmins
	^^^^^^^^^^^^^^^^^^^^^^

It's probably this line.  See the smb.conf(5) man page for details.





cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBrH8gIR7qMdg1EfYRArLXAJ9FgcHeU4w9RLnwnxqNpdaWTlFSzgCdHmdQ
tPk55mdMMA581CIbk4hlmbA=
=yz8T
-----END PGP SIGNATURE-----


More information about the samba mailing list