Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cupsaddsmb infinite loop #2926
If any step in cupsaddsmb fails (e.g. wrong password for the user name, user without SePrintOperatorPrivilege), it will just keep retrying forever.
This can result in problems like locking yourself out very quickly.
It's especially bad since it produces no output if not in verbose mode, so you can't tell that it's just trying the same thing over and over and will never work.
It would be far better if cupsaddsmb would try only once, and report that an error happened, and what that error was.