Posted on 2008/08/09 14:10
Filed Under OS/redhat

Red Hat 의 system-config-samba 에서 사용자를 추가하면 리스트에 등록이 되어야 하지만

기본으로 하면 등록은 되지만 사용자 박스에 사용자가 등록이 되지 않는다.

그리고 다시 똑같은 사용자로 추가를 하려고 하면 존재하는 사용자라고 등록이 안 된다.

이 문제는 samba 의 smb.conf 에  passdb backend 설정이 기본 tdbsam 으로 되어 있기 때문이다.

이 옵션을 smbpasswd 으로 바꾸면 사용자  리스트에 사용자가 등록이 된다.

smb.conf 에 들어있는 주석 내용

# Security can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

이 부분에

passdb backend = tdbsam 를
passdb backend = smbpasswd 로 변경 하면 된다.

그러면 기존 passdb.tdb 형식으로 저장되던게 smbpasswd 파일로 바뀐다.

주의 할점은 tdbsam 에서 추가한 사용자는 smbpasswd 에서 콘트롤하기 힘들다는 것 이다. 그래서 tdbsam에서 추가한 사용자를 다 삭제하고 smbpasswd 에서 새로 추가를 해줘야 한다.



크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2008/08/09 14:10 2008/08/09 14:10

트랙백 주소 : http://blog.seabow.pe.kr/trackback/555



About

by 삐꾸강아쥐

Counter

· Total
: 137822
· Today
: 141
· Yesterday
: 170
블로그코리아에 블UP하기