LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-20-2004, 06:51 PM   #1
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
Question Acccess Samba-3 Share on WinXP


I setup Winbind using the Samba-3 HowTo Reference book (pg385) and I can get the entire list of Windows 2000 Domain users using the wbinfo -u command.

Now my question is now what do I do to create a share on the linux box using the users from the Windows 2000 domain?

I'm creating a simple file server with which all I want to do is share a simple folder on it and have domain users access it.

I can setup a share, but I can't give it domain\user level permissions. How do I do that?
 
Old 07-20-2004, 09:44 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
samba 3 can't participate in an active directory domain yet. it can see it and read it, but not use it.
you have to make sure the workgroup in samba is the same as the domain name. then create linux users with identical names as their windoze names. then 'smbpasswd -a user' and set their password the same as their windoze passwords, after that you can create shares using the user name. There may be another way, but i'm sure it is involved....sql and fun stuff like that.
 
Old 07-21-2004, 09:19 AM   #3
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
"We divide the unified logon problem for UNIX machines into three smaller problems:
Obtaining Windows NT user and group information.
Authenticating Windows NT users. 342 Winbind: Use of Domain Accounts Chapter 20
Password changing for Windows NT users.
Ideally, a prospective solution to the unified logon problem would satisfy all the above
components without duplication of information on the UNIX machines and without creating
additional tasks for the system administrator when maintaining users and groups on either
system. The Winbind system provides a simple and elegant solution to all three components
of the unified logon problem.
The Samba HowTo states otherwise.

Last edited by jsun9; 07-21-2004 at 09:42 AM.
 
Old 07-21-2004, 10:01 AM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
"As of the release of MS Windows 2000 and Active Directory, this information is now stored in a directory that can be replicated and for which partial or full administrative control can be delegated. Samba-3 is not able to be a Domain Controller within an Active Directory tree, and it cannot be an Active Directory server. This means that Samba-3 also cannot act as a Backup Domain Controller to an Active Directory Domain Controller."
http://us1.samba.org/samba/docs/man/...html#id2520016
 
Old 07-21-2004, 10:08 AM   #5
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Original Poster
Rep: Reputation: 0
I'm not trying to make a domain controller. I'm just trying to setup a share using domain users.
 
Old 07-21-2004, 11:51 AM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ok, try this:
http://www.wlug.org.nz/HowtoSamba3AndActiveDirectory
 
Old 07-21-2004, 11:58 AM   #7
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Original Poster
Rep: Reputation: 0
i've done all that. it doesn't say how to setup a share either. any other ideas?
 
Old 07-21-2004, 12:02 PM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
is there a computer name in the directory for the samba server?
 
Old 07-21-2004, 12:03 PM   #9
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Original Poster
Rep: Reputation: 0
yeah.. it's called fileserver1
 
Old 07-21-2004, 12:08 PM   #10
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
http://www.linuxquestions.org/questions/history/161506
this thread has someone who got it to work
 
  


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
Samba share accessible to winxp but not mdk 10.1 joseph_k Mandriva 4 03-31-2005 08:59 AM
winxp can't access my samba share?? andrewlkho Linux - Software 2 08-29-2003 05:00 PM
Samba print share from RH9 to WinXP nick_uk Linux - Software 5 08-11-2003 08:41 AM
Samba print share from RH9 to WinXP nick_uk Linux - Software 0 07-30-2003 09:19 AM
WinXP samba share - permissions? armstrj Linux - General 0 04-08-2002 03:40 AM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration