LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-08-2009, 04:50 AM   #1
Maverick2k
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Samba without domain and users with domains cannot log in to the shares


Hi all,

We are setting up a simple ubuntu server and we want to share some data to some windows computers.

The samba server is not an official member to the domain, and laptops we are using are member of an domain. This seems to give some problems with login into the shares.

We can see the shares but when we want to login he gives an error such that we cannot login.

Does anybody know how to resolve this

Many thanks in advance

Maverick2k

FYI: we have webmin installed for configuring
 
Old 04-08-2009, 05:26 AM   #2
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
Have you added the Windows users to Samba's password file?

smbpasswd -a username
 
Old 04-08-2009, 06:41 AM   #3
Maverick2k
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sleddog View Post
Have you added the Windows users to Samba's password file?

smbpasswd -a username
Thank you for your reply.

The users were converted to samba users with an automated script so these were alright.

But I was not too smart creating a directory with root, so the privileges weren't set right in the Linux filesystem at beginning.

So we changed this and we could login.

So problem solved.

Kind regards
Maverick2k
 
  


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
Samba 3.0.33 - problems accessing windows domain, and shares not visible vyruz18 Linux - Networking 1 04-08-2009 02:08 PM
Accessing samba workgroup shares from a different domain? FastForward Linux - Server 3 03-12-2009 03:47 PM
Samba Shares & Users Raggit Linux - Software 4 02-14-2005 04:36 AM
Browsing administrative shares within a samba domain elements Linux - Software 0 01-02-2004 03:43 PM
samba: hide shares from some users v3rb0 Linux - Software 4 08-10-2003 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:13 PM.

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