[Samba] samba-password Flag issue
rowlandpenny241155 at gmail.com
Tue Nov 24 09:55:04 UTC 2015
On 24/11/15 07:51, abdulaziz.abajobir at ju.edu.et wrote:
> Dear all,
> I have been working on samba 3.6 fileserver with LDAP backend. when i
> add user from ldap, user will be added to samba server but i could not
> enable users sambaAcctFlags from [NU ] to [U ], with "smbpasswd -en
> user" command.
> root at samba:~# smbpasswd -en aabajobir
> Enabled user aabajobir.
> root at samba:~# pdbedit -Lw |grep aabajobir
> Is there any other way to change This Flag??
Well, you could try running 'pdbedit --help'
Where you will find that you can modify a user with the '-r' flag, so to
reset the user you would use 'pdbedit -r -c "" username'
I would also suggest that you upgrade Samba if possible, Samba version
3.6.x is no longer maintained.
More information about the samba