From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Comm] Samba-2.2.8 PDC & WinXP From: Kylik Semuon To: community@altlinux.ru In-Reply-To: <20031118155608.46ff9bff.bazhen@mail.kz> References: <20031118155608.46ff9bff.bazhen@mail.kz> Content-Type: text/plain; charset=Windows-1251 Organization: Message-Id: <1069152886.11520.25.camel@drd-02.drd.by> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1- (1.2.1-alt3) Date: 18 Nov 2003 12:54:46 +0200 Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:54:54 -0000 Archived-At: List-Archive: List-Post: В Втр, 18.11.2003, в 11:56, Yevgeniy Bazhenov написал: > Здравствуйте. > > Пытаюсь поднять PDC на Самбе-2.2.8 > > Вот содержание smb.conf: > > [global] > client code page = 866 > workgroup = DOMAIN > netbios name = OSI4 > server string = Samba server on %h (v. %v) > interfaces = 192.168.137.7/24 > security = USER > encrypt passwords = Yes smb passwd file = /etc/samba/smbpasswd unix passwdword sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New* и т.д. > log file = /var/log/samba/log.%m > max log size = 50 > name resolve order = wins lmhosts bcast > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = lpstat > character set = KOI8-R > domain admin group = osi2 root administrator > logon path = \\%L\Profiles\%U > domain logons = Yes > os level = 65 > preferred master = Yes > domain master = Yes > dns proxy = No > wins support = Yes > printing = cups > syslog = 0 > > [homes] > comment = Home Directory for '%u' > read only = No > > [netlogon] > comment = Network Logon Service > path = /var/lib/samba/netlogon > write list = osi2, root, administrator > guest ok = Yes > Устанавливаю права на каталог в 777 > [Profiles] > path = /var/lib/samba/profiles > read only = No > create mask = 0600 > directory mask = 0700 > browseable = No > > cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd > Затем делаю: > > /usr/sbin/useradd -g machines -d /dev/null -s /bin/false osi2$ > /usr/sbin/useradd -g domain -d /dev/null -s /bin/false osi2 > smbpasswd -a -m osi2 > smbpasswd -a osi2 > > Пытаюсь подключить машину osi2 под WinXP к домену DOMAIN > с пользователем osi2, получаю отлуп - оказано в доступе. > В /var/log/samba/osi2.log: > > [2003/11/18 14:21:38, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > [2003/11/18 14:21:38, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418) > unable to open passdb database. > > Под root'ом - подключается нормально. > > Система - слегка подсизифленый Мастер2.2. > Самба - samba-2.2.8-alt2 > > Что я делаю не так? С добавлением этих шагов у меня все работает. На клиенте добавить машину в домен (требует пароль root'а)