Last active
November 14, 2016 10:50
-
-
Save carlashley/b1585daeaa988dc4ca4a33a30a001a40 to your computer and use it in GitHub Desktop.
Apple SMB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# A dictionary of SMB server configuration settings | |
from SystemConfiguration import ( | |
SCDynamicStoreCreate, | |
SCDynamicStoreCopyValue, | |
) | |
ds = SCDynamicStoreCreate(None, 'smb', None, None) | |
result = SCDynamicStoreCopyValue(ds, 'com.apple.smb') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment