Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2005, 06:52 AM   #1
LQ Newbie
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
samba accounts/ unix accounts


I was trying to use samba to treat the smbpassword database
as separate to the unix user accounts database.

I came across a forum which stated that this was impossible.
I would like to confirm this as it is difficult to change the way the
users log on to there pcs and it would be much easier to add
a separate samba user without having to make a mess ot the
unix passwd database.

basically i would like to be able to run
smbpasswd -a username
without having to first add the local unix accout
Can this be done?

Old 08-22-2005, 10:25 AM   #2
Registered: Aug 2005
Distribution: Mandriva
Posts: 58

Rep: Reputation: 17
I don't know exactly, but I think it is imposibble.
Old 09-25-2005, 02:53 AM   #3
LQ Newbie
Registered: Sep 2004
Location: London, England
Distribution: RH9, Fedora, OpenLinux3.1.1
Posts: 13

Rep: Reputation: 0
I have a problem that appears to be the reverse. I have samba set up on my Debian box so that I can now login to it using my user name and password from accounts in my Windows 2000 Active Directory network. I thought this was quite impressive as samba is configured to create the home folder for these users automatically. The challenge is is that these Active Directory users (and groups) don't appear as local users on the Debian box therefore they can't mount or make use of any devices and there access is denied to all components in '/dev' !!!
Is there something I'm missing as by the sound of things this is meant to be impossible you say. There is no entry in passwd but I can still logon and surf the net, run apps etc. Getent shows all the accounts local and AD including the accounts from a separate trusted NT Domain too.

How can I get it so that AD users are part of the the Linux 'users' group with manually adding things?
Old 09-25-2005, 08:16 AM   #4
Registered: Aug 2005
Distribution: Mandriva
Posts: 58

Rep: Reputation: 17
Unfortunatly I know nothing about active directory on Micro$oft systems. One thing is certain if you try to add or remove users with "smbpasswd" which are NOT in "passwd" or in "shadow" it says that first you must add a linux user to grant him rights via samba. This is logic becouse any folder must have an owner and a group ...
In your case I suggest to look at those misterouse user directories and see the owner and group and maybe you'll figure out what is realy happening.
Good luck.


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
free unix accounts on the internet? Garda General 4 09-08-2005 10:56 AM
Are Samba Accounts Necessary? estyne Linux - General 2 08-23-2005 04:27 PM
add more xp accounts to samba rulirahm Linux - Networking 3 07-20-2005 10:02 PM
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 12:42 AM
Samba and accounts eranj Linux - Networking 1 06-10-2005 12:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration