LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2003, 05:42 AM   #1
robert.china
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 1 + Kernel 2.6.7
Posts: 16

Rep: Reputation: 0
username map in samba


samba 3.00 on redhat8
1. I have two users in system. one is root, the other is robert,
2. I add two users into /etc/samba/smbpasswd, one is root, the other is robert,
3. I add the line into /etc/samba/smbusers
root = robert
4. from windows xp, I use
net use z: \\sambaserver\datadir
a. I login with the user robert, and see the shared folder
I can't add or delete files in the folder
b. I login with the user root and see the shared folder
I can add or delete files, even do everything in the folder

I assume that during login session, robert has been mapped to root, so I should have all rights that root has, but in fact I can't, why?

5. I delete both roberts, things go worse. robert can't log into samba folder.

Thanks for your analysis!
 
Old 11-05-2003, 08:10 PM   #2
robert.china
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 1 + Kernel 2.6.7
Posts: 16

Original Poster
Rep: Reputation: 0
no comment? why?
any samba expert here?
 
Old 11-05-2003, 09:47 PM   #3
robert.china
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 1 + Kernel 2.6.7
Posts: 16

Original Poster
Rep: Reputation: 0
I got the answer, there is no
username map = /etc/samba/smbusers
in my /etc/samba/smb.conf

I have been thinking that it is the default setting for rh8, while it is not.

Hope this helps for those having the same problem with me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
username could not be found - samba drafter Linux - Networking 6 01-06-2008 06:36 PM
How do i map samba share in windows xp? ginda Linux - Newbie 3 01-27-2005 01:22 PM
Howto group map in Samba 2.2.x rizza Linux - Networking 0 01-23-2004 06:30 AM
Samba username and password downinthemine Linux - Networking 2 01-10-2004 09:01 AM
Samba map drive home MichaelMWilson1 Linux - Networking 2 10-01-2003 09:19 PM


All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration