Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix pdbedit module on samba 4.9 (Fixes #50538) #50540
Just an extra bit of background info...
The following line is not present on Samba 4.8
Which made the first few lines be considered as another 'user' that was missing 'Unix username' field, resulting in the exception observed.
The extra check it see if the user has an actual 'unix username' property before appending it avoids this.