FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-19-2011, 08:44 PM
Camaleón
 
Default smbpasswd -a unsuccessful

On Fri, 19 Aug 2011 15:21:46 -0500, Kent West wrote:

> Camaleón wrote:
>> On Fri, 19 Aug 2011 15:10:15 -0500, Kent West wrote:
>>
>> (...)
>>
>>
>>> westk[@]goshen]:/home/westk:> sudo smbpasswd -a amyld New SMB
>>> password: Retype new SMB password:
>>> Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add
>>> entry for user amyld.
>>> Failed to modify password entry for user amyld
>>>
>>>
>> (...)
>>
>> Does the same happen when adding the user with "pdbedit"?
>>
>>
>>
> pdbedit -a amyld
>
> does work!

Hey, great! :-)

> Is "pdbedit" the preferred way now instead of using "smbpasswd -a"? If
> so, I'm content with this as a fix, so long as it doesn't hurt anything
> that "smbpasswd -a" is broken.
>
> Thanks!

I can't tell what's better or worse... last time I had to setup my samba
users I went with pdbedit, it seemed to me more complete:

http://www.samba.org/samba/docs/man/Samba3-HOWTO/passdb.html#acctmgmttools

OTOH, both tools should work over the same user database you have setup,
whatever it is (smbpasswd, tdbsam...).

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.08.19.20.44.34@gmail.com">http://lists.debian.org/pan.2011.08.19.20.44.34@gmail.com
 

Thread Tools




All times are GMT. The time now is 02:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org