我們爲我們的共享驅動器設置了Samba。我已經粘貼了下面的smb.conf文件。當我們嘗試使用Windows Vista運行EXE文件時,一切正常。當我們運行一個EXE文件時,它首先要求UAC控制,然後彈出用戶名和密碼提示。您必須在運行之前再次輸入您的用戶名和密碼。Vista UAC samba和Admin證書問題
我認爲問題在於UAC現在在Admin下運行應用程序而不是登錄的用戶。因此,管理員用戶看不到緩存的第一個用戶名和密碼。有沒有人知道這個工作?
smb.conf: [global] passdb backend = tdbsam security = user encrypt passwords = yes preferred master = Yes workgroup = Workgroup netbios name = Omni bind interfaces only = True interfaces = lo eth2 ;max disk size = 990000 ;some programs (like PS7) can't deal with more than 1TB socket options = TCP_NODELAY server string = Omni ;smb ports = 139 debuglevel = 1 syslog = 0 log level = 2 log file = /var/log/samba/%U.log max log size = 61440 vfs objects = omnidrive recycle recycle:repository = RecycleBin/%U recycle:keeptree = Yes recycle:touch = No recycle:versions = Yes recycle:maxsize = 0 recycle:exclude = *.temp *.mp3 *.cat omnidrive:log = 2 omnidrive:com_log = 1 omnidrive:vscan = 1 omnidrive:versioningState = 1 omnidrive:versioningMaxFileSize = 0 omnidrive:versioningMaxRevSize = 7168 omnidrive:versioningMaxRevNum = 1000 omnidrive:versioningMinRevNum = 0 omnidrive:versioningfilesInclude = /*.doc/*.docx/*.xls/*.xlsx/*.txt/*.bmp/ omnidrive:versioningfilesExclude = /*.tmp/*.temp/*.exe/*.com/*.jarr/*.bat/.*/ full_audit:failure = none full_audit:success = mkdir rename unlink rmdir write open close full_audit:prefix = %u|%I|%m|%S full_audit:priority = NOTICE full_audit:facility = LOCAL6 ;dont descend = RecycleBin veto files = /.subversion/*.do/*.do/*.bar/*.cat/ client ntlmv2 auth = yes [netlogon] path = /var/lib/samba/netlogon read only = yes [homes] read only = yes browseable = no [share1] path = /share1 read only = no browseable = yes writable = yes admin users = clinton1 public = no create mask = 0770 directory mask = 0770 nt acl support = no ;acl map full control = no hide unreadable = yes store dos attributes = yes map archive = no map readonly = Permissions