[Samba] strange uid <--> rid mapping situation

Ilia Chipitsine ilia at paramon.ru
Mon May 30 14:11:12 GMT 2005


Dear Sirs,

I observe some strange situation, which I've no idea what to do.

1) users are stored in LDAP

2) files belong to me:

design# ls -l ~ilia/PUTTY.RND
-rwx------  1 ilia  wheel  600 May 27 09:42 /home/ilia/PUTTY.RND
design#

3) Windows workstation report that file as "BUILTIN\Administrators",
i.e. it owner is not me (PARAMON\ilia), but some builtin SID.

samba seems to understand about rid<-->uid mapping, my uid is 1032,
and I see correct entry in log.smb:

[2005/05/30 19:58:54, 10] 
passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
   pdb_set_user_sid_from_rid:
         setting user sid S-1-5-21-3676698982-1919171150-2606898868-3064 
from rid 3064

but files and directories (i.e. any file and any directory) on samba is 
reported as they belong to BUILTIN\Administrators. I enabled debugging 
(log level =50), but there's no clue what to do.

Cheers,
Ilia Chipitsine



More information about the samba mailing list