공유 드라이브에 대한 Samba 설정이 있습니다. 아래에 smb.conf 파일을 붙여 넣었습니다. Windows Vista를 사용하여 EXE 파일을 실행하려고하면 모든 것이 잘 작동합니다. EXE 파일을 실행할 때 먼저 UAC 제어를 요청하면 사용자 이름과 암호 프롬프트가 나타납니다. 그런 다음 사용자 이름과 암호를 다시 입력해야 실행됩니다.Vista UAC Samba 및 관리자 자격증 명 문제
저는 UAC가 로그인 한 사용자 대신 관리자로 응용 프로그램을 실행하고 있다고 생각합니다. 따라서 캐시 된 첫 번째 사용자 이름과 비밀번호는 관리자가 볼 수 없습니다. 아무도 이것에 대한 해결 방법을 알고 있습니까?
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