Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Next Samba Problem - Authentication

Status
Not open for further replies.

seanf77

IS-IT--Management
Oct 11, 2001
29
0
0
US
I have Samba up and running, and I can map a drive from my XP machine to the Linux machine. However, if I try to write to the Samba share I get access denied. I tried setting up the smb.conf so that it would authenicate against the sam on my XP machine (gateway1), but when I try that it tells me that the username or password is unknown. I have verified that the user name exists on both the XP and Linux machine, and the password is correct. Here is my smb.conf:

[global]
workgroup = HOME
server string = FTPWEB1 linux server
netbios name = FTPWEB1
security = server
password server = gateway1

[ftp]
comment = ftp space
path = /home/ftp
writeable = yes
guest ok = yes

I also tried it without using user authentication (removed the password server line and changed the security line to = share). However, if I do that I can browse the shares on the linux box but I cannot write to them. On the /home/ftp directory I did set it to RW access.


Thanks!
Sean

 
I believe that you will need samba 2.2.x for win XP, 2000
for user level security, and maybe even for full access to
shares.
I'm not using XP or 2000 in production so can't help you on
what you need specifically.
 
I managed to get it working...I just set permissions on the linux box itself to everyone/full control for now. Thanks anyways :)
 
HI

let me undestand u r problem
ur able to map a drive on windows XP ,u r not able to

access linux share

Firstly according to u r configuration u have not specified whom u r allowing
And in win2k ,XP RPC are different from that of samba 2.0.7

So u try this
u add some more lines like follwing to u r smb.conf


encrypt password = yes
update encrypted = yes
allow hosts = 172.16.234. 127.


u have to change the netid 172.16.234. according to u r network like 192.168.

this should work
Techbee
Prakash
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top