[Samba] couldn't write to home dir

Tom Dickson bombcar at bombcar.com
Sat Sep 20 01:27:03 GMT 2003


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

First off, %U doesn't work in rc2 and earlier.

Secondly, if you're running samba 3 rc4, try:

valid users = %D+%U

Because if you're using winbind, your UNIX name is DOMAIN+UserName, and
%D is domain.

If that fails, try:

write list = %D+%U

which works even in rc2

- -Tom

andrej misovic wrote:
| yeah, everything in system is okay..
| if I log as a user from workstation,
| which isn't in domain it works perfectly,
| but when I try to do this with pc in domain,
| I couldn't write to homedir and profiledir ...strange
|
|         ado
|
| Billy Houster wrote:
|
|> ok Ado,
|>
|> Check the etc/group. Perhaps samba server follow the permissions
|> writed on
|> /etc/group
|>
|> only for test, add a new user on NetBSD, make the home directory and
|> permission 777. verify no etc/passwd using VIPW if the user was add
|> correctly. make the new share on smb.conf. REstart the services...
|>
|> Regards.
|> ----- Original Message ----- From: "andrej misovic" <ado at nirvanaclub.sk>
|> To: "Luiz Fernando Aguiar Leme" <billy at tol.net.br>
|> Sent: Friday, September 19, 2003 1:39 PM
|> Subject: Re: [Samba] couldn't write to home dir
|>
|>
|>
|>> permissions are okay,
|>> for test I tred set  full 777 perm., but haven't worked,
|>> in home section I have:
|>>
|>>  writable = yes
|>> valid users = %U
|>> write list = @group
|>>
|>> ..
|>>
|>> ado
|>>
|>> Luiz Fernando Aguiar Leme wrote:
|>>
|>>> andre,
|>>>
|>>> Verify owner end group of the your home directory (ex andre:group) and
|>>> permissions (wrx______)
|>>>
|>>> inside the file smb.conf, in the your home share, add the option
|>>>
|>>> valid users = OWNER OF THE HOME DIRECTORY
|>>> writable = yes
|>>> write list = OWNER OF THE HOME DIRECORY
|>>>
|>>> Try to do the changes..
|>>>
|>>
|>> --
|>>
|>>   >>  jabber: ado at njs.netlab.cz   <<
|>>   >>  e-mail: ado at nirvanaclub.sk  <<
|>> ----------------------------------------
|>> // just visit> http://www.nirvanaclub.sk
|>>
|>>
|>
|>
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/a6znRliD/69byygRAkADAJ9sjcU8R0ttS3uj6QrFZVobkCetcgCdGAk6
HRwKsQsem4JLCFJ1XkOHnwg=
=8bv9
-----END PGP SIGNATURE-----




More information about the samba mailing list