[Samba] [homes] no accessible

David Rigler dave at itserviceltd.com
Fri Feb 25 11:59:50 GMT 2005


David Rigler wrote:

> Bruce Hohl wrote:
>
>>> On a server "linuxbox" using ADS security in a Windows
>>> 2003 Active  directory, part of smb.conf is ...
>>>
>>> [srvbackup]
>>>        force user = sambaa
>>>        writeable = yes
>>>        valid users = ADS-Name+Administrator,ADS-Name+dave
>>>        path = /var/spool/samba/sambashares/srvbackup
>>>
>>> [homes]
>>>        browseable = no
>>>        writeable = yes
>>>
>>> from an XP professional client, srvbackup is usable but i
>>> cannot access  my home.
>>> error dialog shows "\\linuxbox\dave is not accessible"
>>>
>>>   
>>
>>
>> On my system "FileTest" joined to a Win2K domain connections
>> to home work with following setup:
>>
>> 1 - check path for home in getent:
>> FileTest:~ # getent passwd | grep testuser
>> testuser:x:11053:10513:testuser:/home/TEST_WIN_DOMAIN/testuser:/bin/false 
>>
>>
>> 2 - note valid user parameter:
>> [homes]
>>        comment = Home Directories
>>        valid users = TEST_WIN_DOMAIN/%S
>>        browseable = No
>>        read only = No
>>
>> 3 - note location of home directory:
>> /home/TEST_WIN_DOMAIN/testuser
>>
>> Hope this helps.
>> Bruce
>>
>>  
>>
> getent passwd | grep 'dave' shows
> ADS-Name+dave:*:16777216:16777217:David Rigler:/home/dave:/bin/false
> ADS_Name+davez$:*:16777217:16777219:DAVEZ:/home/davez_:/bin/false
>
> that second line, davez is the name of the XP box
>
> i tried adding "valid user" to the [homes] section but nothing worked
>
> valid users = %S - same as original error
> valid users = ADS-Name+%S or valid users = ADS-Name/%S , brings up a 
> login box, nothing i enter will pass
>
> dave
>
>
>
>

after further investigation ive discovered that i dont understand winbind.
i stopped the winbindd daemon, which gives me access to my home
then changed smb.conf to take out  references to ADS-Name in the [srvbackup]
and i can also access srvbackup.
but now only people with accounts on linuxbox can access any share, sheesh

thanks





More information about the samba mailing list