Displaying 20 results from an estimated 8000 matches similar to: "samba-tool issue"
2019 May 07
1
samba-tool max-pwd-age error
On Tue, 7 May 2019 17:06:24 +1200
Tim Beale <timbeale at catalyst.net.nz> wrote:
> Apologies, this bug fell through the cracks and the fix never got
> backported to 4.10. I've uploaded the backport to the bug now, it just
> needs a review signoff.
>
> To recap, it was introduced as a side-effect of switching to Python 3.
> The old code never worked as intended on
2019 May 05
2
samba-tool max-pwd-age error
debian 9 fresh install, samba-4.10.2 from Louis:
root at lnxdc1:/home/service# samba-tool domain passwordsettings show
Password informations for domain 'DC=mydomain,DC=lan'
Password complexity: on
Store plaintext passwords: off
Password history length: 10
Minimum password length: 8
Minimum password age (days): 0
Maximum password age (days): 60
Account lockout duration (mins): 30
Account
2019 May 06
2
samba-tool max-pwd-age error
On Mon, 6 May 2019 08:57:35 +0200
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> Hai,
>
> Well, i think you found a bug here, i get exact the same.
> But i found a workaround ;-)
>
> We need to verify it. Can someone test this on a source build also
> for this.
>
> Try this for the error.
> samba-tool domain passwordsettings
2019 Mar 29
3
Attempts to Set Max Password Age in Samba Tool Fails
Hello!
I am on Samba 4.10.0, Ubuntu 16.04.2 LTS. I recently reset a password and found that my password expiration had somehow gotten set to 400 days.
I went to one of my DCs and ran the following command:
# samba-tool domain passwordsettings show
Password informations for domain 'DC=samdom,DC=mydomain,DC=com'
Password complexity: on
Store plaintext passwords: off
Password history
2019 Mar 30
3
Attempts to Set Max Password Age in Samba Tool Fails
Hey Rowland,
Thanks for getting back to me. I just finished my recompile. I even ran a "samba-tool dbcheck --fix". I still I get this error:
samba-tool domain passwordsettings set --max-pwd-age=270
ERROR(<class 'TypeError'>): uncaught exception - unorderable types: NoneType() >= int()
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line
2019 May 06
2
samba-tool max-pwd-age error
On Mon, 6 May 2019 08:21:15 +0000 (UTC)
Billy Bob via samba <samba at lists.samba.org> wrote:
> See:
>
>
>
>
> https://bugzilla.samba.org/show_bug.cgi?id=13873
>
>
> and
>
>
> https://lists.samba.org/archive/samba/2019-March/222141.html
>
>
> These seem related, if not the same.
They are, a bit more investigation, reveals why this has
2019 May 06
0
samba-tool max-pwd-age error
Hai,
Well, i think you found a bug here, i get exact the same.
But i found a workaround ;-)
We need to verify it. Can someone test this on a source build also for this.
Try this for the error.
samba-tool domain passwordsettings show
samba-tool domain passwordsettings set --max-pwd-age=90
That errors.
And if you try this and set Min + Max age, then it works:
kinit Administrator
2014 Aug 05
1
samba-tool syntax error?
I am using the following syntax to create a new user
samba-tool user add user passwd --userou=Faculty --given-name=new
--surname=user --gecos=198 --mail-address=newuser at myschool.edu
Which gives me the following error:
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'user': - unable
to parse dn string
File
2015 Nov 10
3
Unable to use samba-tool
I having trouble with use samba-tool command. It just does not works. I
need help with troubleshooting
Commands I have tried:
sudo samba-tool user create edward
New Password:
Retype Password:
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'edward': -
unable to parse dn string
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
176,
2018 Sep 16
3
ClassicUpgrade: ERROR(<type 'exceptions.ValueError'>): uncaught exception - zero length field name in format
Hi All,
Attempting to do a classicupgrade and getting this error:
*Adding groups*
*Importing groups*
*Committing 'add groups' transaction to disk*
*Adding users*
*Importing users*
*Adding users to groups*
*Committing 'add users to groups' transaction to disk*
*ERROR(<type 'exceptions.ValueError'>): uncaught exception - zero length
field name in format*
* File
2018 Sep 16
3
ClassicUpgrade: ERROR(<type 'exceptions.ValueError'>): uncaught exception - zero length field name in format
On Sun, 16 Sep 2018 10:51:25 -0400
Bill Baird via samba <samba at lists.samba.org> wrote:
> I ran the same thing with 4.8.5 and it work without any issues:
>
> Adding groups
> Importing groups
> Committing 'add groups' transaction to disk
> Adding users
> Importing users
> Committing 'add users' transaction to disk
> Adding users to groups
>
2015 Oct 22
1
log level and samba-tool domain demote
Hi all,
After installing a bunch of new AD DC using the 4.3.1 version I decided to
remove the old ones.
On one DC I've set up log level as follow:
log level = 1 auth:9 registry:7 winbind:7 passdb:7 sam:3 rpc_srv:2 rpc_cli:2
First I'm not sure this is the right way to declare specific log levels but
man smb.conf gives me:
Example: log level = 3 passdb:5 auth:10 winbind:2
So it sems, to
2019 Mar 29
0
Attempts to Set Max Password Age in Samba Tool Fails
On Fri, 29 Mar 2019 16:46:13 -0500
Matthew Delfino <mdelfino.list.samba at knockinc.com> wrote:
> Hey Rowland, thank you for getting back to me so quickly. Answers in
> line below...
>
> From: Rowland Penny via samba <samba at lists.samba.org>
>
> To: <samba at lists.samba.org>
> Sent: 3/29/2019 4:33 PM
> Subject: Re: [Samba] Attempts to
2019 Mar 31
0
Attempts to Set Max Password Age in Samba Tool Fails
Hi,
I've raised a bug for this:
https://bugzilla.samba.org/show_bug.cgi?id=13873
The problem is the command just doesn't work under Python 3.
In the meantime, a work-around is to specify the --min-pwd-age on the
command as well. E.g.
samba-tool domain passwordsettings set --max-pwd-age=270
--min-pwd-age=default
WARNING: The "server schannel" option is deprecated
Minimum
2019 Jul 30
3
winbind and locking accounts?
On 30/07/2019 15:39, Jeff Sadowski via samba wrote:
> winbindd -V
> Failed to create /var/log/samba/cores for user 11490 with mode 0700
> Unable to setup corepath for winbindd: Permission denied
> Version 4.10.5
>
> cat /etc/samba/smb.conf
> [global]
> log level = 3 winbind:5
> winbind cache time = 10
> security = ads
> realm = SUB.DOMAIN
>
2015 Nov 10
1
Unable to use samba-tool
First don't forget to reply to Rowland, he's question has sense.
samba-tool user list
ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open
file /var/lib/samba/private/sam.ldb: *Permission denied*
--> You should have run that command with a non-root user. A root user
would not face such issue as root can access all files. Perhaps you can
deal with files permissions to
2018 Sep 16
1
ClassicUpgrade: ERROR(<type 'exceptions.ValueError'>): uncaught exception - zero length field name in format
On Sun, 16 Sep 2018 11:28:56 -0400
Bill Baird <Bill.Baird at phoenixmi.com> wrote:
> Python is 2.6, but why wouldn't it throw an error during
> configure/make?
No, the python code isn't compiled.
>
> I'm using Amazon Linux.
Would you like to raise a bug report ?
Here:
https://bugzilla.samba.org/
Rowland
>
> On Sun, Sep 16, 2018 at 11:22 AM Rowland Penny
2013 Jul 08
1
samba4 - error during classicupgrade
Hi all,
I have a problem during classic-upgrade :
Importing groups
Group already exists sid=S-1-5-21-4023731279-819928261-1073345436-512,
groupname=Domain Admins existing_groupname=Domain Admins, Ignoring.
Group already exists sid=S-1-5-21-4023731279-819928261-1073345436-514,
groupname=Domain Guest existing_groupname=Domain Guests, Ignoring.
Group already exists
2018 Feb 06
5
Samba Migration and AD integration
Hi,
We migrated from Samba 3 to 4 (4.6.7-Ubuntu) and added promoted a Server 2008R2 as a Domain Controller. We've come across the following issues and request some suggestions to resolve them
- The migration didn't generate DNS entries for the new realm. We had to manually create a new zone file (/var/cache/bind) for the new realm. Only then we were able to promote the
2020 Nov 20
2
Can't create users?
Okay, I re-downloaded the Samba source and recompiled it. It started
giving me fits until I modified the samba.service file to point to
/etc/samba/smb.conf instead of whatever the default was. Then it started
fine. But when I go to add a user via samba-tool, I get an error:
samba-tool user create dan
New Password:
Retype Password:
ERROR(<class 'ValueError'>): Failed to add user