LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2003, 11:29 PM   #16
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100

whats the security level set to? and are anyof the shares

public = yes
 
Old 02-27-2003, 09:28 AM   #17
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Security level is user

Now, I'm confused. How do I create a shared folder to map from the Windows Box?

Last edited by scottpioso; 02-27-2003 at 09:30 AM.
 
Old 02-27-2003, 12:07 PM   #18
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Never mind, I figure that one out. However, I'm still getting prompted for a user name and password when trying to connect to Linux from Windows. DOES SOMEONE KNOW HOW TO FIX THIS?????????? PLEASE!!!!!
 
Old 02-27-2003, 12:11 PM   #19
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
ex.

[icecast]
path = /usr/share/icecast/static/
browseable = yes
writeable = yes

this, however, is simply a public folder... you need to add other options like

only user =
or
valid users =

there are a whole slew of user opions look at man smb.conf for details
 
Old 02-27-2003, 12:22 PM   #20
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
I have been looking over the smb.conf file carefully. Do I have to put something in the %u and %n section? It's colored which tells me it's a variable? Any ideas?

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
 
Old 02-27-2003, 09:14 PM   #21
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Help!! Linux is rejecting me again!

Hey,

I'm stuck again here guys!! This is my testparm. I've included part of my smb.conf file at the bottom. And once again, from the Windows box, I am getting prompted for a user name and password. When I enter mine, it keeps rejecting it. Does someone know why?


[root@ASUSAV7266-E samba]# testparm
Load smb config files from /etc/samba/smb.conf
Unknown parameter encountered: "scott map"
Ignoring unknown parameter "scott map"
Unknown parameter encountered: "brenda map"
Ignoring unknown parameter "brenda map"
Unknown parameter encountered: "jim map"
Ignoring unknown parameter "jim map"
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.


# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
scott map = /etc/samba/smbusers
brenda map = /etc/samba/smbusers
jim map = /etc/samba/smbusers

I'm sure this is a easy fix. I just can't figure it out.
 
Old 02-28-2003, 01:07 AM   #22
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
well Samab has no idea what
scott map =
or
brenda map =

means it wasn't programed to recognize them......

get a fresh copy of an smb.conf or default back to your own. using the service parameters (shares parameters)

guest account = unix_account_to_use_for_guest

guest ok = Yes or No

guest only = yes or no

ex

[icecast]
path = /usr/share/icecast/static/
browseable = yes
writeable = yes
guest account = nobody
guest ok = yes

you may need to add a directory mask and create mask option, or chmod the folders that you are using as shares to write from them. hope this stuff helps

Alex
 
Old 02-28-2003, 08:03 AM   #23
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Alex,

The mapping script was included in the sample file from my smb.conf file. I simply followed the model in the script.

Does anyone else have any ideas??
 
Old 02-28-2003, 12:03 PM   #24
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Gentlemen,

I have the solution to my problem. Upon reading more into this, this is what I found. Prior to connecting from Windows, you have to do the following:

You have to first create the smbpasswd file. I didn't realize that I hadn't ever created it. You do so like this:

cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

Then:

smbpasswd (username)

The rest should be a breeze. I knew I'd figure it out with enough time!!
 
Old 02-28-2003, 05:11 PM   #25
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Hello again,

Now that I have that problem fixed, I've got another question. I'm attempting now to map a network drive from Win 2K to Linux. I get a red X in the Windows explorer when I create the drive mapping but I'm still able to connect to it. Does anyone know why and how to fix it? Thanks.

Last edited by scottpioso; 02-28-2003 at 05:12 PM.
 
  


Reply



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
gentoo -> windows xp pro samba problems mangolicious Linux - Networking 3 10-03-2004 10:28 AM
Fedora Core2, SAMBA and Windows XP pro joncolby Linux - Networking 1 06-19-2004 06:23 AM
Samba and Windows XP Pro hojan Linux - Software 7 06-13-2004 06:42 AM
Windows XP Pro and Samba mankey Linux - Networking 2 04-29-2004 05:57 AM
Samba Slackware 8.1 to Windows XP Pro oulevon Linux - Networking 4 01-26-2003 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:14 AM.

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