how to fix these preoblems in samba in order to act as domain controller


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to fix these preoblems in samba in order to act as domain controller
# 1  
Old 11-16-2011
how to fix these preoblems in samba in order to act as domain controller

Dear all
I now working on samba in order to act as domain controller, but I have some problems in the configuration file that I don't how to solve it, so I hope you able to give me some help:

the warnings and the configuration I made :
Code:
[global]
    dos charset = 850
    unix charset = ISO8859-1
    workgroup = ABC
    netbios name = PDC-SRV
    server string = Samba Server %v
    interfaces = 192.168.1.70
    map to guest = Bad User
    passdb backend = ldapsam:ldap://127.0.0.1/
    username map = /etc/samba/smbusers
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 100000
    time server = Yes
    deadtime = 10
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    printcap name = cups
    add user script = /usr/local/sbin/smbldap-useradd -m "%u"
    add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
    add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
    delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"
    set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
    add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
    logon path = 
    logon drive = H:
    logon home = 
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    ldap admin dn = cn=samba,ou=Users,dc=abc,dc=com
    ldap delete dn = Yes
    ldap group suffix = ou=Groups
    ldap idmap suffix = ou=Users
    ldap machine suffix = ou=Computers
    ldap passwd sync = yes
    ldap suffix = dc=abc,dc=com
    ldap user suffix = ou=Users
    create mask = 0640
    directory mask = 0750
    nt acl support = No
    case sensitive = No
    dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd

[homes]
    comment = repertoire de %U, %u
    read only = No
    create mask = 0644
    directory mask = 0775
    browseable = No

[printers]
    comment = All Printers
    path = /var/spool/samba
    guest ok = Yes
    printable = Yes
    browseable = No

[print$]
    path = /home/samba/printers
    valid users = "@Print Operators"
    write list = "@Print Operators"
    create mask = 0664
    directory mask = 0775

[netlogon]
    path = /home/samba/netlogon
    browseable = No

[doc]
    path = /usr/share/doc
    read only = No
    create mask = 0750
    guest ok = Yes

[Profiles]
    path = /home/samba/profiles
    valid users = %U, "@Domain Admins"
    force user = %U
    read only = No
    create mask = 0600
    directory mask = 0700
    guest ok = Yes
    profile acls = Yes
    browseable = No
    csc policy = disable

[public]
    comment = Repertoire public
    path = /home/samba/public
    read only = No
    create mask = 0664
    directory mask = 0775
    guest ok = Yes



now with the warnings :
Code:
Load smb config files from /etc/samba/smb.conf
Unknown parameter encountered: "min password length"
Ignoring unknown parameter "min password length"
Unknown parameter encountered: "login script"
Ignoring unknown parameter "login script"
Unknown parameter encountered: "SPrintOperatorPrivilege"
Ignoring unknown parameter "SPrintOperatorPrivilege"
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[netlogon]"
Processing section "[doc]"
Processing section "[Profiles]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC


thank you in advance

Last edited by pludi; 11-16-2011 at 08:08 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ubuntu Server 14.04 LTS - domain controller configuration (SAMBA)

Hello! Never configured a Linux server from a scratch. Reviewed the official documentation and dozens of different "how to", but now one of them helped me to solve the issue. The need: My final goal is to install a small network (later with around 10 stations) where I can controle the... (0 Replies)
Discussion started by: AQwert
0 Replies

2. Red Hat

How to create domain controller in Linux for windows client?

Hi Team I have configured a linux dns server locally. Its fully working on linux clients but not windows client as its can't ping host by name. someone told me to create domain controller for working this to windows client as well. I am new in linux and not aware how to create the domain and add... (8 Replies)
Discussion started by: boby.kumar
8 Replies

3. Solaris

Solaris 11 server as Primary Domain Controller

Hi, All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies

4. Debian

Testing a SAMBA Domain Controller

Hello,,, We have an existing(working) MS PDC in our office. I have already installed SAMBA with LDAP Authentication on a TEST machine (on same LAN). But, am unable to join a WinXP machine to this domain. in smb.conf i have: WORKGROUP = mydomain and tried to join the XP machine to... (0 Replies)
Discussion started by: coolatt
0 Replies

5. UNIX for Dummies Questions & Answers

Samba change domain controller

Hello people i have a samba and they changed domain controller from a windows 2003 to a windows 2008, there is a problem with the version of samba maybe incompatibilities i dont know what show me this domain_client_validate: unable to validate password for user xxxx in domain xxxx to Domain... (0 Replies)
Discussion started by: enkei17
0 Replies

6. AIX

Sync AIX system time with Windows Domain Controller

Yeah so, I have setup a domain controller (windows 2003) active directory machine and it is managing couple of windows servers and workstation. I also have couple of AIX machines that need to have the same time as other windows server and workstation hanging off of that domain controller. Now... (1 Reply)
Discussion started by: murderfly
1 Replies

7. UNIX for Dummies Questions & Answers

Linux as a Domain Controller

First question, can Linux be configured to be the domain controller on a network with Microsoft computers? If so, where can I find information about configuring Linux for this purpose? (4 Replies)
Discussion started by: cstovall
4 Replies
Login or Register to Ask a Question