Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page Samba and Swat help
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Reply
 
Thread Tools Display Modes
Old 07-17-2006   #1 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 5
Samba and Swat help

Im running Xebian (Debian) for xbox. I have swat installed to configure samba. I have a root dir named "/samba_share" and i have that put into swat as my path. Read only is set to no, and guest is set to ok, and browseable is set to yes. On my XP machine i go to view workgroup computers but its not listed there, so i goto microsoft windows network and it shows "Xebian", so i click on it, and then it shows my server "workgroup server (samba 3.0.14a-Debian)(Workgroup)" In swat under Globals i have the workgroup being "WORKGROUP" and netbios name to be "XBOXSERVER". So my firt question is why is my samba server not in the same workgroup as my computers. My computers are all joined in workgroup called "Workgroup". My next problem is after i navagate to my xboxserver under microsoft windows network, and i double click to access my /samba_share directory, it asks for a username and password. BUt i dont have one that works for it, and cant figure out how to make one with the swat passwords utility. Please help. Thanks

Justin
ForTiLLiaN is offline   Reply With Quote
Old 07-17-2006   #2 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
Checkout this article for setting up a samba server. My guess for the reason why your xbox doesn't show is this, Linux is case sensitive Workgroup is not the same as WORKGROUP.

As for the password, if you have access to the command line on the xbox, then use smbpasswd to set the passwords. Or change the security level to share.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 07-17-2006   #3 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 5
Thanks for your response, i will read over it, and hopefully it will solve my problem.
Another quick question, i use a program PuTTY to ssh into my linux box. I log in with username root, after i put in my password it says
workgroup:~#
there is only one file in this dir.
so i do "cd .." to backup a dir and then my command line looks like
workgroup:/#
whats the differance between ~ and / ?
Thanks, as you can tell im new and learning, i appreciate your help.
ForTiLLiaN is offline   Reply With Quote
Old 07-17-2006   #4 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 5
In samba, it uses usernames and passwords from linux. What can i do to limit these users ability to log in and do things with my linux server? I just want them to be able to log into samba but not really be able to issue commands to the linux server itself. Also, i want to make a public share that anyone can use, and have a guest account with not password. Can i make such a thing where the user from windows can log on to samba with username Guest, no password, and only be able to access one shared folder? I dont want this guest account to be able to sign into my linux box though.

Also, once someone is logged into samba, it keeps them logged in. Is there a way that i can make it so that if the file browser window is closed they must re-login to get back in. As it sits now, if someone logs in it keeps them logged in.

Thanks
ForTiLLiaN is offline   Reply With Quote
Old 07-19-2006   #5 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
Sorry for the late reply,

the ~ indicates home directory, the / means that it is not in home dir, just somewhere in the root directory. To see where exactly you are, use the pwd command.

for the accessing other sections of your linux box: If they are using windows and accessing via Samba, then all they will see is the share and nothing more. However if they use ssh, then I am not exactly sure how to go about protecting your server.

For the autologout thing, I am sure there is a timeout field which you can set in smb.conf (the exact syntax escapes me at the moment).
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 07-19-2006   #6 (permalink)
Linux Enthusiast
 
Join Date: Dec 2004
Posts: 632
You can configure SSH access just like any other configuration. You can allow and deny SSH access based upon user account similar to FTP, etc.
gtmtnbiker98 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 11:04 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0