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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enabling Read/Write access between Samba and NT4

Status
Not open for further replies.

Jayson

Programmer
Joined
Jan 31, 2001
Messages
75
Location
US
Hello there!
I've set up all my configuration, now i can see my linux computer on NT, and i can also see that it contains the "public" folder (shared) that i configured, but the problem is, whenever i doubled click on the "public" folder, its giving me a windows error:

\\Linuxcomputer\public is not accessible
The network name cannot be found.

What am i doing wrong?
here are my codes:

[global]
workgroup = MYDOMAIN
server string = Samba Server
security = SHARE
encrypt passwords = Yes
max log size = 50
dns proxy = No
wins support = Yes
force create mode = 0777
printing = lprng

[homes]
comment = Home Directories
path = %H/Public
valid users = %S
read only = No
create mask = 0750
only user = Yes
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
print ok = Yes
browseable = No

[public]
comment = Public Stuff
path = /home/public
write list = @users
read only = No
guest ok = Yes

I would also appreciate any mistakes that you may notice on the code. Thanks for any help!
 
Hi,

Firstly, did you set-up the user accounts properly ? You would need an identically named linux userid set-up for each Windows user. Then, the way you have it, those linux userids would need to be in a linux group called 'users'. You would also need to sync the linux and samba passwords using smbpasswd.

Maybe an easier way to diagnose the connection is to bring up a NT command (dos) window and use the 'net' commands.

For example,

Net view \\linuxcomputer (Show shares)
Net use x: \\linuxcomputer\public (should connect to x: drive using defaults)
Net use x: \\linuxcomputer\public * (prompts for password)
Net use x: \\linuxcomputer\public secret * /USER:MYDOMAIN\yourusername (sends domain, userid and password - i.e. overrides defaults)

[also 'net use x: /d' to detach share ]

YOu should get error messages to give a better idea of what's wrong ...

Hope this helps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top