URN Logo
UNIX Resources » Linux » Linux Forum » Samba Help » Page.159 » [Samba] Help Me
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
[Samba] Help Me
Subject: [Samba] Help Me
Author: Alexandre Melo    Posted: 2004-12-30 12:10:11    Length: 1,925 byte(s)
[Original] [Print] [Top]
Hi, I try to configure a PDC in FreeBSD with Samba using MySQL for database for users, groups, computers and other resources in domain like printers, sites...but without success.

I installed

* FreeBSD 5.3 with support for linux bin;

* Samba-3.0.7,1 with CONFIGURE_ARGS
--with-ldap
--with-expsam=mysql
--with-mysql-prefix=/usr/local
--with-pam
--with-pam_smbpass
--with-ldapsam
--with-syslog
--with-quotas
--with-manpages-lan=en
--with-acl-support
--with-winbind
automaticaly was installed openldap-client-2.2.15;

* pam_ldap-1.7.1_1 in default mode;

* and MySQL 4.0.21 (server and client) in default mode.

 First, I just want register the Windows client in Domain and make logon in Windows using the username stored in MySQL database.
When I change security=domain to security=share in smb.conf, then from Windows station I can access de Server PDC and open folders and automaticaly a user is stored in MySQL with the name nobody, but when I change to "domain" I canīt register Windows in domain and I canīt access the Server using the username and password.
 I have to create a username in FreeBSD using pw or adduser and then I can use smbpasswd -a username, this way I can write in MySQL, but still no working and I will have the 2 user, one in de FreeBSD and in MySQL. For my table I use the mysql.dump in Samba examples.
 After I will use Apache with PHP for MySQL databases and retire PDC Windows NT Server.
 Can you help me to configure this? Thanks.

________________
  Alexandre Melo
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
Subject: [Samba] Help Me
Author: Andrew Bartlett    Posted: 2005-01-02 03:00:20    Length: 1,948 byte(s)
[Original] [Print] [Top]
On Thu, 2004-12-30 at 15:07 -0200, Alexandre Melo wrote:
QUOTE
Hi, I try to configure a PDC in FreeBSD with Samba using MySQL for
database for users, groups, computers and other resources in
domain like printers, sites...but without success.

Firstly, 'Help Me' doesn't tell me very much about your problem, but I
digress...

This very much sounds like trying to create the most complex solution
first.  I know, because I've been there, and done that.  

I would not suggest the use of the experimental MySQL passdb backend
until you first understand the operation of a system using nss_ldap and
pdb_ldap, as described in the documentation.  (and handle the system
with just smbpasswd before that).  This way, you don't try and solve all
the problems at once, and realise that you do indeed need an nss_mysql
module to make this kind of thing go.

Furthermore, are you even running a version of FreeBSD that allows
arbitrary nss modules?  

Personally, I'm a bit skeptical of 'use MySQL for everything', as I
instead use LDAP, which almost everything talks to without modification,
and which can (with a little pain) be made to back onto a real DB, or be
synchronised with one.

Andrew Bartlett

--
Andrew Bartlett                                 abartlet@samba.org
Authentication Developer, Samba Team            http://samba.org
Student Network Administrator, Hawker College   abartlet@hawkerc.net

[Original] [Print] [Top]
« Previous thread
[Samba] samba 3.0.10 ads mode and winbind
Samba Help
Page. 159
Next thread »
[Samba] Samba as PDC and Win2K File Srv
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 13:03:18, cost 0.030074119567871 ms.