<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create a Samba User on Ubuntu</title>
	<atom:link href="http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/</link>
	<description>Computer Help from your Friendly How-To Geek</description>
	<lastBuildDate>Tue, 24 Nov 2009 08:50:03 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MilanK</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-75077</link>
		<dc:creator>MilanK</dc:creator>
		<pubDate>Fri, 07 Aug 2009 19:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-75077</guid>
		<description>Al: you should learn that &quot;useradd&quot; creates a _linux_ account (user), not the samba one.

The only difference to a regular user is that its shell is set to /bin/true (i.e. no shell, the command would just return &quot;true&quot; return code) and therefore such a linux user cannot login on console/GMD/KDM/SSH... Also, even that the user is added /etc/passwords, its home directory is not created.</description>
		<content:encoded><![CDATA[<p>Al: you should learn that &#8220;useradd&#8221; creates a _linux_ account (user), not the samba one.</p>
<p>The only difference to a regular user is that its shell is set to /bin/true (i.e. no shell, the command would just return &#8220;true&#8221; return code) and therefore such a linux user cannot login on console/GMD/KDM/SSH&#8230; Also, even that the user is added /etc/passwords, its home directory is not created.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-71069</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Tue, 28 Apr 2009 15:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-71069</guid>
		<description></description>
		<content:encoded><![CDATA[<p>I disagree with James, Bobs instructions worked great.<br />
I did not create and Linux\Unix accounts.<br />
Created samba users as follows and accessed the shares from Windws Xp clients.</p>
<p>sudo useradd -s /bin/true (user-name) | this creates the user<br />
sudo smbpasswd -L -a (user-name) | this will prompt you for a password<br />
sudo smbpasswd -L -e (username) | this enables the user</p>
<p>–and then to verify–<br />
smbclient -L (your server name) -U(user you created)</p>
<p>All created samba user accounts were also accessable from webmin Web GUI console.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-69056</link>
		<dc:creator>james</dc:creator>
		<pubDate>Sun, 22 Mar 2009 10:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-69056</guid>
		<description>Thanks...this was the simplest solution to the problem.  I always seem to forget how to do this when I reformat and this was very concise and direct to the point.  Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks&#8230;this was the simplest solution to the problem.  I always seem to forget how to do this when I reformat and this was very concise and direct to the point.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nbensa</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-67389</link>
		<dc:creator>nbensa</dc:creator>
		<pubDate>Sun, 22 Feb 2009 01:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-67389</guid>
		<description>I&#039;m sorry, but your &quot;howto&quot; won&#039;t work. Samba needs a unix user!

  $ sudo adduser blah
  $ sudo smbpasswd -a blah

Is the correct way. If you run a ldap backend, you can run:

  $ sudo smbldap-useradd -a blah -P

and smbldap-tool will take care of unix user creation.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, but your &#8220;howto&#8221; won&#8217;t work. Samba needs a unix user!</p>
<p>  $ sudo adduser blah<br />
  $ sudo smbpasswd -a blah</p>
<p>Is the correct way. If you run a ldap backend, you can run:</p>
<p>  $ sudo smbldap-useradd -a blah -P</p>
<p>and smbldap-tool will take care of unix user creation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-61538</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Sat, 22 Nov 2008 18:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-61538</guid>
		<description>I am running Samba on Xubuntu, and your method did not work for me.  Here is what I had to do:
(in curlies are variables you must change for your own setup)

sudo useradd -s /bin/true (user-name) &#124; this creates the user
sudo smbpasswd -L -a (user-name) &#124; this will prompt you for a password
sudo smbpasswd -L -e (username) &#124; this enables the user

--and then to verify--
smbclient -L (your server name) -U(user you created)

--I didn&#039;t create these steps, I just copied them from other sources and they worked for me on Xubuntu--</description>
		<content:encoded><![CDATA[<p>I am running Samba on Xubuntu, and your method did not work for me.  Here is what I had to do:<br />
(in curlies are variables you must change for your own setup)</p>
<p>sudo useradd -s /bin/true (user-name) | this creates the user<br />
sudo smbpasswd -L -a (user-name) | this will prompt you for a password<br />
sudo smbpasswd -L -e (username) | this enables the user</p>
<p>&#8211;and then to verify&#8211;<br />
smbclient -L (your server name) -U(user you created)</p>
<p>&#8211;I didn&#8217;t create these steps, I just copied them from other sources and they worked for me on Xubuntu&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathish</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-58055</link>
		<dc:creator>sathish</dc:creator>
		<pubDate>Mon, 22 Sep 2008 06:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-58055</guid>
		<description>Hi,

I need to create multiple user in samba server not one by one, At the same time have to create multiple user. how to create this??</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I need to create multiple user in samba server not one by one, At the same time have to create multiple user. how to create this??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stabbim</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-57968</link>
		<dc:creator>stabbim</dc:creator>
		<pubDate>Sat, 20 Sep 2008 03:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-57968</guid>
		<description>Sweet, that worked. Like Atomicron, I had no file at /etc/samba/smbusers, but that was apparently not necessary for me. Just running the smbpasswd command was enough to get the user access.

I assume the difference is just due to newer versions of Ubuntu/Samba, as this was originally posted over a year and a half ago. :)</description>
		<content:encoded><![CDATA[<p>Sweet, that worked. Like Atomicron, I had no file at /etc/samba/smbusers, but that was apparently not necessary for me. Just running the smbpasswd command was enough to get the user access.</p>
<p>I assume the difference is just due to newer versions of Ubuntu/Samba, as this was originally posted over a year and a half ago. <img src='http://www.howtogeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-49900</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Thu, 15 May 2008 19:53:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-49900</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-25420</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Fri, 26 Oct 2007 16:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-25420</guid>
		<description>I have no success with this method. I have installed Samba on a Debian Linux box and trying to connect from a Windows XP professional box. On the Windows box I have logged on using my corporate domain account. I created an /etc/samba/smbusers file and tried with both username= &quot;domain\windows username&quot; and username = &quot;windows username&quot;. It always prompts me for an username/password box. Am I missing something here ? Thanks.</description>
		<content:encoded><![CDATA[<p>I have no success with this method. I have installed Samba on a Debian Linux box and trying to connect from a Windows XP professional box. On the Windows box I have logged on using my corporate domain account. I created an /etc/samba/smbusers file and tried with both username= &#8220;domain\windows username&#8221; and username = &#8220;windows username&#8221;. It always prompts me for an username/password box. Am I missing something here ? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atomicron</title>
		<link>http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/comment-page-1/#comment-25055</link>
		<dc:creator>Atomicron</dc:creator>
		<pubDate>Sat, 20 Oct 2007 23:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/#comment-25055</guid>
		<description>Thanks for this tip. I was trying to get Mac OS 10.4.something to access a samba share on my Ubuntu file server and this did the trick. One small detail to note is that /etc/samba/smbusers file did not exist on my system (feisty fawn). However, just creating the file is the designated directory was all I had to do.</description>
		<content:encoded><![CDATA[<p>Thanks for this tip. I was trying to get Mac OS 10.4.something to access a samba share on my Ubuntu file server and this did the trick. One small detail to note is that /etc/samba/smbusers file did not exist on my system (feisty fawn). However, just creating the file is the designated directory was all I had to do.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
