User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 456,433 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,648 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 20755 | Replies: 4
Reply
Join Date: Jul 2004
Posts: 3
Reputation: HoWS is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
HoWS HoWS is offline Offline
Newbie Poster

Re: How to Configure Samba on RedHat Linux

  #1  
Jul 9th, 2004
Hello,

I'm a newbies with Linux RedHat. I've followed your instructions on how to configure the samba and now I can see my linux server from Win98 computer.

My problem is how to create a new user. Let say, I logged in as win98 from Win98 PC and wanted to access to the linux server. In my smbpasswd file, there's no username called win98, how to do it?

Thanks
HoWS
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Rep Power: 18
Solved Threads: 339
Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: How to Configure Samba on RedHat Linux

  #2  
Jul 9th, 2004
- Samba users must first have a general system account on the Samba server in addition to a Samba account. In Red Hat you can (as root) use the User Manager utility to do this. The utility should be available under your Programs menu; it can also be started with the following command:

redhat-config-users



- To add a Samba account, log in as root and run the "smbpasswd" command. Using your example username of "win98", the command would be:

smbpasswd -a win98

The -a indicates that you are adding a user. Once you issue the above command you'll be promted to type the user's password (and asked to verify it). The new user account should then be sucessfully created.

You can use the "valid users=" directive in your smb.conf file as one way of granting certain users access to certain Samba shares. Read some of the online Samba documentation for more on that and other options in the smb.conf file.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing


Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.

However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Reply With Quote  
Join Date: Mar 2004
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Rep Power: 10
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: How to Configure Samba on RedHat Linux

  #3  
Jul 12th, 2004
Hi,

I am thinking of writing a how-to on this one for the tutorial section. I am wondering, however, if people use swat these days, or if they prefer webmin for configuring Samba. I would also develop the information so that the system would consider security and such.

Christian
Reply With Quote  
Join Date: Aug 2004
Posts: 5
Reputation: undefinition is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
undefinition undefinition is offline Offline
Newbie Poster

Re: How to Configure Samba on RedHat Linux

  #4  
Aug 9th, 2004
But i dont have "swat" file on /etc/rc.d/init.d
How to have "swat" file ?
Reply With Quote  
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Rep Power: 18
Solved Threads: 339
Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: How to Configure Samba on RedHat Linux

  #5  
Aug 9th, 2004
SWAT is the Samba Web Administration Tool, and you'll need instructions to get that going if you want to use the tool; Webmin is a more comprehensive Web-based administration utlity which gives you admin control over much more than Samba. I'll try to post more info tomorrow, but right now the steak is coming off the grill, so it's time for me to chow!.

BTW- thanks for following up on this Christian.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing


Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.

However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb *nix Software Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the *nix Software Forum

All times are GMT -4. The time now is 1:32 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC