[PATCH] Proper error message for net get*sid

Christof Schmitt christof.schmitt at us.ibm.com
Tue Apr 24 16:51:01 MDT 2012


Calling "net getlocalsid" or "net getdomainsid" with a configured
LDAP passdb backend while the LDAP server is down results in a
smb panic trace. The two attached patches return false from
initialize_password_db instead and print an error message for the
two net commands.


Christof Schmitt || IBM || SONAS System Development || Tucson, AZ
christof.schmitt at us.ibm.com  ||  +1-520-799-2469  (T/L: 321-2469)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-passdb-Do-not-panic-in-initialize_password_db.patch
Type: application/octet-stream
Size: 2479 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120424/734aaebe/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-net-Let-get-sid-return-error-from-passdb-init.patch
Type: application/octet-stream
Size: 1577 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120424/734aaebe/attachment-0001.obj>


More information about the samba-technical mailing list