Deleting files from NT/W95 clients

Herb Lewis herb at chomps.engr.sgi.com
Thu Apr 12 13:50:02 GMT 2001


With share level security and all your shares set to guest ok = yes
my guess is that your connections are being made as guest not as the 
user. Run smbstatus when a user is connected and see what is listed
for the uid/gid that was used to connect.

"Troost, Hans" wrote:
> 
> L.S.
> 
> As a SAMBA newbie I have the following question:
> 
> Implemented SAMBA 2.0.7. on an SGI Octane running IRIX 6.5.4m to share
> directories on this machine with users at the NT-domain. This users have NT4
> SP5 or W95 SR2.
> 
> "Mapping" such an unix share is no problem. The only problem we have here is
> that it is impossible to use the clients to delete unix files, even when
> they have full access to the file under unix. I used an appriopriate
> USERS.MAP-file to map the NT-domain usernames with the unix-ones (works
> fine).
> 
> So a file, owned by SGUX07\btgpj (unix user) cannot be deleted by a
> nt-domain user that is mapped to btgpj.
> 
> I assume that I have to change one or more settings in the smb.conf file,
> which is now:
> 
> # Samba config file created using SWAT
> # from 150.251.142.171 (150.251.142.171)
> # Date: 2001/04/10 08:26:39
> 
> # Global parameters
> [global]
>         workgroup = WE0D0700
>         security = SHARE
>         map to guest = Bad User
>         username map = /usr/local/samba/lib/users.map
>         debug pid = Yes
>         debug uid = Yes
>         wins server = <150.251.137.134>
>         delete readonly = Yes
> 
> [homes]
>         writeable = Yes
>         guest ok = Yes
>         browseable = No
> 
> [test]
>         path = /export/samba/test
>         writeable = Yes
>         guest ok = Yes
> 
> [Everything]
>         path = /
>         writeable = Yes
>         guest ok = Yes
> 
> Hope someone can give me some hints.
> 
> Met vriendelijke groeten / With kind regards
> 
> Hans Troost
> 
> ################################################
> # Hans Troost
> # Atos Origin (at SOLVAY Pharmaceuticals B.V.)
> # Building WWM, room B-104
> # Postbox 900
> # 1380 DA, Weesp
> # The Netherlands
> #
> # E-mail : Hans.Troost at solvay.com
> # Phone (+31) (0)294-477492
> # Fax   (+31) (0)294-477140
> #
> # "non-SOLVAY"- and private mail :
> # Hans.Troost at nl.origin-it.com
> ###############################################
> 
>   ------------------------------------------------------------------------
> 
>    Part 1.2    Type: application/ms-tnef
>            Encoding: base64

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba-ntdom mailing list