Networking Forums

Networking Forums > Computer Networking > Linux Networking > Sharing directory with Samba

Reply
Thread Tools Display Modes

Sharing directory with Samba

 
 
Fabricio Greco
Guest
Posts: n/a

 
      09-26-2003, 12:18 PM
Hello Guys,

I am using Suse Linux 8.0 with Samba 2.2.8. This is my smb.conf
file:

[global]
strict locking = YES
null passwords = YES
max log size = 50
locking = YES
preserve case = YES
share modes = YES
server string = %v
workgroup = Transfer
socket options = TCP_NODELAY
short preserve case = YES
security = SHARE
lock directory = /var/lock/samba

[dir_transfer]
path = /home/transfer
browseable = YES
comment = Transfer Area
writeable = YES
public = YES
guest ok = YES

I donīt have any Windows users registered in the /etc/password file
on this linux server. When I tried to access the directory from
Windows 2000 client it is asking for a password. My question is:
- How can I share this directory to the users PCīs without register
any users in the password file.

Best Regards
 
Reply With Quote
 
 
 
 
petermatulis(NOSPAM)
Guest
Posts: n/a

 
      09-26-2003, 05:36 PM
Fabricio Greco wrote:
> Hello Guys,
>
> I am using Suse Linux 8.0 with Samba 2.2.8. This is my smb.conf
> file:
>
> [global]
> strict locking = YES
> null passwords = YES
> max log size = 50
> locking = YES
> preserve case = YES
> share modes = YES
> server string = %v
> workgroup = Transfer
> socket options = TCP_NODELAY
> short preserve case = YES
> security = SHARE
> lock directory = /var/lock/samba
>
> [dir_transfer]
> path = /home/transfer
> browseable = YES
> comment = Transfer Area
> writeable = YES
> public = YES
> guest ok = YES
>
> I donīt have any Windows users registered in the /etc/password file
> on this linux server. When I tried to access the directory from
> Windows 2000 client it is asking for a password. My question is:
> - How can I share this directory to the users PCīs without register
> any users in the password file.


Add ' guest only = yes ' to your share configuration and have smbd
reread smb.conf.

 
Reply With Quote
 
Michael C.
Guest
Posts: n/a

 
      09-26-2003, 07:13 PM
On Fri, 26 Sep 2003 13:36:09 -0400,
petermatulis(NOSPAM) <petermatulis(NOSPAM)@yahoo.ca> wrote:
> Fabricio Greco wrote:
> > Hello Guys,
> >
> > I am using Suse Linux 8.0 with Samba 2.2.8. This is my smb.conf
> > file:
> >
> > [global]
> > strict locking = YES
> > null passwords = YES
> > max log size = 50
> > locking = YES
> > preserve case = YES
> > share modes = YES
> > server string = %v
> > workgroup = Transfer
> > socket options = TCP_NODELAY
> > short preserve case = YES
> > security = SHARE
> > lock directory = /var/lock/samba
> >
> > [dir_transfer]
> > path = /home/transfer
> > browseable = YES
> > comment = Transfer Area
> > writeable = YES
> > public = YES
> > guest ok = YES
> >
> > I donīt have any Windows users registered in the /etc/password file
> > on this linux server. When I tried to access the directory from
> > Windows 2000 client it is asking for a password. My question is:
> > - How can I share this directory to the users PCīs without register
> > any users in the password file.

>
> Add ' guest only = yes ' to your share configuration and have smbd
> reread smb.conf.
>


Guest is turned off in W2K by default, as it's a security risk. If you
turn it on make sure ports are blocked to the outside.


Michael C.
--
(E-Mail Removed) http://mcsuper5.freeshell.org/
Registered Linux User #303915 http://counter.li.org/


 
Reply With Quote
 
SPAM_FREE
Guest
Posts: n/a

 
      09-27-2003, 05:15 AM
Michael C. wrote:

>On Fri, 26 Sep 2003 13:36:09 -0400,
>petermatulis(NOSPAM) <petermatulis(NOSPAM)@yahoo.ca> wrote:
>
>
>> Fabricio Greco wrote:
>>
>>
>>>Hello Guys,
>>>
>>> I am using Suse Linux 8.0 with Samba 2.2.8. This is my smb.conf
>>>file:
>>>
>>>[global]
>>> strict locking = YES
>>> null passwords = YES
>>> max log size = 50
>>> locking = YES
>>> preserve case = YES
>>> share modes = YES
>>> server string = %v
>>> workgroup = Transfer
>>> socket options = TCP_NODELAY
>>> short preserve case = YES
>>> security = SHARE
>>> lock directory = /var/lock/samba
>>>
>>>[dir_transfer]
>>>path = /home/transfer
>>>browseable = YES
>>>comment = Transfer Area
>>>writeable = YES
>>>public = YES
>>>guest ok = YES
>>>
>>> I donīt have any Windows users registered in the /etc/password file
>>>on this linux server. When I tried to access the directory from
>>>Windows 2000 client it is asking for a password. My question is:
>>>- How can I share this directory to the users PCīs without register
>>>any users in the password file.
>>>
>>>

>>
>> Add ' guest only = yes ' to your share configuration and have smbd
>> reread smb.conf.
>>
>>
>>

>
>Guest is turned off in W2K by default, as it's a security risk. If you
>turn it on make sure ports are blocked to the outside.
>
>
>Michael C.
>
>

WHAT W2K ?? This is Samba ... linux not WINBLOWS !

 
Reply With Quote
 
Michael C.
Guest
Posts: n/a

 
      09-27-2003, 06:10 PM
On Sat, 27 Sep 2003 01:15:33 -0400,
SPAM_FREE <> wrote:
> Michael C. wrote:
>
> >On Fri, 26 Sep 2003 13:36:09 -0400,
> >petermatulis(NOSPAM) <petermatulis(NOSPAM)@yahoo.ca> wrote:
> >
> >
> >> Fabricio Greco wrote:
> >>>
> >>> I donīt have any Windows users registered in the /etc/password file
> >>>on this linux server. When I tried to access the directory from
> >>>Windows 2000 client it is asking for a password. My question is:
> >>>- How can I share this directory to the users PCīs without register
> >>>any users in the password file.
> >>>
> >>>
> >>
> >> Add ' guest only = yes ' to your share configuration and have smbd
> >> reread smb.conf.
> >>
> >>
> >>

> >
> >Guest is turned off in W2K by default, as it's a security risk. If you
> >turn it on make sure ports are blocked to the outside.
> >
> >
> >Michael C.
> >
> >

> WHAT W2K ?? This is Samba ... linux not WINBLOWS !
>

My mistake, he did say client not server, sorry.

Michael C.
--
(E-Mail Removed) http://mcsuper5.freeshell.org/
Registered Linux User #303915 http://counter.li.org/


 
Reply With Quote
 
Rick Cooper
Guest
Posts: n/a

 
      09-29-2003, 02:07 PM

"Fabricio Greco" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hello Guys,
>
> I am using Suse Linux 8.0 with Samba 2.2.8. This is my smb.conf
> file:
>

<snip>

> I donīt have any Windows users registered in the /etc/password file
> on this linux server. When I tried to access the directory from
> Windows 2000 client it is asking for a password. My question is:
> - How can I share this directory to the users PCīs without register
> any users in the password file.
>


look at man smbpasswd

You can add samba users with this program without adding them to unix. Of
course they won't have home dirs


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba share to www directory - stupid idea? Randy Brick MacKenna Linux Networking 3 10-13-2007 07:44 PM
How do I allow create directory but not move or delete in Samba/Linux? Craig Linux Networking 4 11-25-2004 10:42 PM
Insufficient Permissions to Spool directory with Samba printer Ringo Langly Linux Networking 5 11-12-2004 06:37 PM
Joining Samba 3.02rc1 to Active Directory Phoenix Linux Networking 0 01-30-2004 08:02 AM
permission denied writing in samba shared directory on linux pepijn Linux Networking 1 10-13-2003 08:17 PM



1 2 3 4 5 6 7 8 9 10 11