From: Oleg Frolkov <rcc-of@penza.com.ru> To: Oleg Frolkov <rcc-of@penza.com.ru>, ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] openldap , samba3, pam_ldap, nss_ldap Date: Tue, 13 Jul 2004 18:25:14 +0400 Message-ID: <138397474397.20040713182514@penza.com.ru> (raw) In-Reply-To: <171287207362.20040712114727@penza.com.ru> Здравствуйте, Oleg. Вы писали 12 июля 2004 г., 11:47:27: OF> Есть сизиф, от 30 июня 2004. Хочу авторизовать самбу через LDAP, но OF> что-то лыжи не едут :( Ну что-же.... буду считать что задал вопрос неправильно. Теперь попытаюсь конкретизировать проблему. Дистрибутив у меня ALT Linux sisyphus с пакетами: samba-3.0.3-alt1.1 openldap-2.1.30-alt3 nss_ldap-220-alt1 pam_ldap-169-alt1 Нашел свежую статью описывающую интеграцию samba 3 и openldap http://samba.idealx.org/smbldap-howto.fr.html и настроил все как там описано. Авторизация как в системе так и в самбе работает, файлы создаваемые от пользователя прописанного в ldap получают нужный uid/gid заведенный в LDAP, однако при попытке включить компьютер с WINDOWS-XP SP1 в домен получаем вопрос про пользователя имеющего права на включение в домен - так вот если ввести пользователю Administrator неправильный пароль то Виндовая машина сообщает: Имя пользователя или пароль не опознаны. Если ввожу правильный пароль то сообщает: Не найдено имя пользователя. В логе на линуксе имею: Jul 13 11:34:31 fs smbd[26373]: ldapsam_search_one_group: Problem during the LDAP search: LDAP error: invalid DN (Invalid DN syntax) Jul 13 11:34:31 fs smbd[26373]: ldapsam_search_one_group: Query was: ou=Groups,dc=rcc,dc=com,dc=ru", (&(objectClass=sambaGroupMapping)(gidNumber=512)) При этом: ldapsearch -LLL -x -D 'cn=samba,ou=DSA,dc=rcc,dc=com,dc=ru' -w sambasecretpasswd -b 'ou=Groups,dc=rcc,dc=com,dc=ru' '(&(objectClass=sambaGroupMapping)(gidNumber=512))' Возвращает: dn: cn=Domain Admins,ou=Groups,dc=rcc,dc=com,dc=ru objectClass: posixGroup objectClass: sambaGroupMapping gidNumber: 512 cn: Domain Admins memberUid: Administrator description: Netbios Domain Administrators sambaSID: S-1-5-21-3675520625-2731205987-3948704194-512 sambaGroupType: 2 displayName: Domain Admins т.е. все как-бы нормально :( Есть какие-нибудь мысли по этому поводу? Куда еще посмотреть можно? -- С уважением, Oleg mailto:rcc-of@penza.com.ru
next prev parent reply other threads:[~2004-07-13 14:25 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-07-12 7:47 Oleg Frolkov 2004-07-13 14:25 ` Oleg Frolkov [this message] 2004-07-13 14:59 ` Vladimir Lettiev 2004-07-14 9:55 ` Re[2]: " Oleg Frolkov 2004-07-14 10:08 ` Vladimir Lettiev 2004-07-14 10:09 ` Re[2]: " Oleg Frolkov 2004-07-14 10:13 ` Oleg Frolkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=138397474397.20040713182514@penza.com.ru \ --to=rcc-of@penza.com.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git