LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2005, 01:08 AM   #1
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Samba windows access w/o domain


I've tried looking on this forum for my particular question and if I did miss a thread on this then please point me to it . Sorry. Anyhow, my problem is this:

1. Linux server running Samba and exporting a share (chmod 777)
2. Windows workstation accessing the share using account 'blah'

Since the share being exported has 777 permissions on it, anyone can write to it. What I need is for the local account on the windows side (account blah) be the ONLY one to write to this share. I could use smbpasswd and create a username/password to access this share but the user doesn't want that. The user just wants to log in as user 'blah' and have write access to this samba share. Oh, this windows workstation is not on any sort of domain.

I was thinking, is this possible:

1. Create a username on linux with UID of 2000
2. Change SID of account 'blah' on windows to match UID on linux

Any ideas? I'm a bit stumped on this one. Thanks for any suggestions.

-twantrd
 
Old 08-12-2005, 03:13 AM   #2
calabash
Member
 
Registered: Sep 2003
Distribution: FC11
Posts: 128

Rep: Reputation: 15
I'm not sure I understand. Could you not just create account "blah" on the Linux box and chmod 770 after chown'ing to blah? SAMBA takes care of the SID to UID mapping. Is your Win network a Domain?

I don't think the manipulation of SIDs are necessary? Or is this a problem because SAMBA is running as a Workgroup? My SAMBA install is running as a PDC, so excuse my unfamiliarity.
 
Old 08-13-2005, 02:57 AM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Original Poster
Rep: Reputation: 52
No, the windows machine is not on a domain. Even if you make the username to be the same as windows, it still doesn't work. There has to be a UID mapping that takes place and that's the piece that I don't know how to do without a domain.

When I try to access the share, a username/password prompt comes up and that's not what I want. Thanks.

-twantrd
 
Old 08-13-2005, 06:46 PM   #4
calabash
Member
 
Registered: Sep 2003
Distribution: FC11
Posts: 128

Rep: Reputation: 15
Okay. Could you please cut and paste your smb.conf.

Sorry for the delay, I had a wedding to attend.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba.. NT domain users access denied.. however.. StamfordRob Slackware 3 03-24-2005 04:38 PM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 05:33 AM
WIN 98/NT Domain cannot access SAMBA JUSTAUSER Linux - Networking 0 12-08-2003 02:46 PM
SAMBA access based on NT Domain groups [using winbind] tisource Linux - Networking 1 11-24-2003 12:34 AM
Samba Domain + Windows XP Tunarle Linux - Networking 5 10-13-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration