Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-23-2003, 05:18 AM   #1
LQ Newbie
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Lightbulb Mandrake 9.0: Unable to Get Write Access to Samba Server on Win2K

Hi all,
I am a new newbie!!

I have setup a samba server running Mandrake 9.0. I have shared 1 directory, supposedly as a read-write share and am able to see the share on my Win2K system. However, I am unable to successfully mount to it. When I try to mount to it with my correct password and login, it would say "Incorrect password or unknown username".

The only way I am able to mount to it is to change the "Guest access" to YES, using "nobody" as login (logging in without typing in a user/password in this case). This is not what I want, since I only get read-only this way.

I am not sure what is going on, but I think it may have got to do with my W2K system not in a workgroup. I heard someone say that in order to have samba work with a nt network, both the linux samba system and the win2k client must be in the same workgroup. Is this true??????

Anyway, my Win2K client in this case is on my company LAN (domain based and NO workgroup) and the linux samba server is also on the same LAN but with it's own workgroup (in this case MDKGROUP). Will this configuration work if I need to use read-write share on samba as what I mentioned above?

Here is my config file, my share is called "myhome1":
# Samba config file created using SWAT
# from (
# Date: 2003/05/24 02:05:00

# Global parameters
workgroup = MDKGROUP
server string = Samba Server %v
security = SHARE
encrypt passwords = Yes
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
add user script = /usr/sbin/adduser -s /bin/false -g popusers -c "smb account %u" %u
delete user script = /usr/sbin/deluser %u
preferred master = False
domain master = False
dns proxy = No
wins support = Yes
read only = No
printing = cups

comment = homeee
path = /home/pgguest
username = pgguest
write list = pgguest
hide dot files = No

path = /tmp
printable = Yes
browseable = No


Again... I am a newbie+dummy..

Thanks much for the help,
Old 05-23-2003, 05:24 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
On your W2K box, you will need to have a user account - and you will need to add this username and password to your linux box.
Old 05-28-2003, 10:59 AM   #3
LQ Newbie
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0
i found out that i can do tons of stuff with webmin and from there, with your suggestions (of course), i sync unix login/paswrd with samba and everything works fine now.
thanks a gazillion....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:unable to access win2k from linx apit Linux - Networking 1 12-01-2004 07:19 PM
Does captive support write access for Win2k NTFS partitions? dreamtheater Linux - Software 1 03-09-2004 02:06 AM
Write Access on Samba Server not working urzumph Linux - Networking 2 03-04-2004 05:03 AM
RHL 9.0 Unable to access Win2k Home Network or internet josh.linux Linux - Networking 5 11-14-2003 12:05 PM
Write access to a Win2K share... fxlee Linux - Networking 2 05-17-2002 09:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:56 PM.

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