2009-08-12 10 views
0

공유 드라이브에 대한 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 

답변

1

누군가가 신경 쓰면; 이것은 비스타에 관한 이슈를 수정 한 방법입니다 :

UAC 계정과 none UAC 계정을 연결할 키를 설정했습니다.

HKEY_LOCAL_MACHINE \ 소프트웨어 \ 마이크로 소프트 \ 윈도우 \ CurrentVersion을 정책 \ \ 시스템 EnableLinkedConnections = (DWORD)는 1

암호 프롬프트가 사라집니다.

0

나는 Vista 또는 Windows 7에서 UAC를 해제하여이 문제를 해결할 수 있다고 생각합니다. 여기에 대한 링크가 있습니다. Turn User Account Control on or off