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

Win98/Win2000 cannot access folders of LINUX..HELP! :(

Status
Not open for further replies.

Tedson99

Technical User
Jun 6, 2001
46
CA
Hello, I was wondering if anyone know how to share files from Linux with Windows so that Win98 and Win2000 can go into the folders that I've enabled for sharing and to see in the Windows environment. I am having trouble because when I click onto one of the shared folders from Linux in Windows (from Entire network), it ask for PASSWORD and there is no way I can type in a right one. HELP!! Thanks!!

Tedson99
 
How are you sharing these with Linux? Are you using SAMBA? We need more system information if we are to help. d3funct
vanya43@yahoo.com
The software required `Windows 95 or better', so I installed Linux.

 
Yes I am using Samba. I feel that's the best for Linux anyway. I will continue to try but please, if anyone can help me out and guide me through like a step by step kinda process, it would be great help. As I described earlier, I am unable to access to the Linux server from a Windows platfomr (98 or 2000) although I can see all the folders I enabled for sharing from the Linux machine. HELP HELP! Thanks a lot everyone and thanks for replying to me!!
 
I also wanted further help here. I managed to get one of the share folders to open in Windows from the Linux box, I can now copy files to Windows machines however, now I cannot do the opposite (Window files copied to Linux box). In the smb.conf file, I have already stated in the appropriate share folders

guest ok = yes
writable = yes
read only = no
browseable = yes

What is wrong and what's missing here? HELP! Thanks!

Also, what is "public = yes" means?
 
I'm a novice at linux, but I had to cross this bridge too, and my solution is working.

Make sure that your [global] section contains the line:

map to guest = Bad Password

That got mine running. Otherwise, my share parameters are the same as tedson99.

Also, is security set to "share"?

Good Luck!

Kent Clark
 
Thank you for the latest scoop. I will definitely try to add that extra line to see if NOW I can copy files from Windows to the Linux server box. Any more help or suggestions will definitely help to get it working like cream!! Thanks and bless you all!!

Tedson99 :p
 
Here is something that works for me... I have a couple of Win2K workstations connecting to a SAMBA server that is also the PDC... This may be a bit of an overkill in your situation, but here it is anyway, incase it helps...

-----------------START OF smb.conf-----------------

[global]
hosts allow = 192.168.0. 127.
workgroup = SOLAR_SYSTEM
netbios name = SATURN
server string = SAMBA Server
wins support = yes
security = USER
unix password sync = Yes
log level = 0
log file = /var/log/samba/log.%m
max log size = 200
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
domain logons = yes
logon script = %U.bat
domain admin group = @adm
domain master = yes
local master = yes
preferred master = yes
dns proxy = Yes
comment = Linux SAMBA Server
encrypt passwords = Yes
smbpasswd file = /etc/samba/smbpasswd
admin users = @adm

[netlogon]
comment = Network Logon Directory for NT Domains using SAMBA Server
path = /home/samba/netlogon
writeable = no
guest ok = yes
share modes = no

[homes]
comment = Home Directories
read only = No
create mask = 0760
writable = yes

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

[Public]
comment = Public Stuff (Storage Space & Music)
path = /store
read only = No
guest ok = No
create mask = 0766
valid users = @adm @users
write list = @adm @users

[PublicII]
comment = Public Stuff II (More Storage Space & not so much Music)
path = /store2
read only = No
guest ok = No
create mask = 0766
valid users = @adm @users
write list = @adm @users

------------------END OF smb.conf------------------


the adm group contains the admin user, namely myself, and root, although there is no samba user called root. the users group contains members of the family that use these machines... One good advantage is that with roaming profiles, all the users workspace is copied to their home directory when they log out, and copied to the workstation when they log on again, meaning that they can use either machine without hassles... I had to add the Win2K machines to be domain members, and for that, one of the admin users had to log on first... but it was fairly simple...

I have not got the printing working yet, but have not spent much time on it as I hardly ever print from the Win2K side anyways... I am sure it is quite simple though, and no majors...

The /store and /store2 partitions are 2 SCSI disks I added for storing common things, and is shared and accessible to all...

I have created .BAT files as login scripts for users, named them by their login names, and put them in the /home/samba/netlogon directory... remember to use a DOS/Win text editor (or a linux editor capable of saving a file with DOS CR/LF) to create the batch files...

Mail me if this helps, or further help / explanation is required...

AV
tnedor@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top