Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

SAMBA PDC using Opensuse 12.2

$
0
0
Ok, so we at present upgrading our server hardware for production facility, this mainly is running as a File Store, and MySQL database store, but its also been running as a PDC domain controller for a locked down network for shop floor. But when I come to try and add pc's to the new domain they unable to find the domain controller. I obviously missed a settings. The smb.conf below what I am using, any guidance to what i may have messed up be gratefully received.

Code:


[global]
    netbios name = RDDS04
    server string = Linux Data Server
    workgroup = RDMill
    interfaces = lo eth0 eth1


    os level = 65
    preferred master = yes
    domain master = yes
    local master = yes
    domain logons = yes


    socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
    #socket options = TCP_NODELAY
    time server = yes
    hide dot files = yes


    security = user
    passdb backend = tdbsam
    encrypt passwords = yes


    admin users = root @smbadmin
    invalid users = bin daemon sys man postfix mail ftp
    guest ok = yes
    guest account = dataserver
    map to guest = bad user
    username map = /etc/samba/smbusers
    enable privileges = yes
    nt acl support = yes
        follow symlinks = yes
        wide links = yes
        unix extensions = no


    #logon path = \\%L\profiles\%U
    logon path =
    logon drive = H:
    logon script = logon.cmd


    add machine script = /usr/sbin/useradd -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
    add user script = /usr/sbin/useradd "%u" -n -g users
    delete user script = /usr/sbin/userdel "%u"
    add group script = /usr/sbin/groupadd "%g"
    delete group script = /usr/sbin/groupdel "%g"
    delete user from group script = /usr/sbin/userdel "%u" "%g"


    wins support = yes
    wins proxy = yes
    name resolve order = wins lmhosts hosts bcast
    dns proxy = yes


    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    load printers = yes
    show add printer wizard = yes


    log file = /var/log/samba/log.%m
    max log size = 50
    log level = 1
    passwd chat debug = yes


#============================ Share Definitions ==============================


[printers]
    comment = All Printers
    printable = yes
    path = /var/spool/samba
    guest ok = yes
    create mask = 0600


[print$]
    comment = Printer Driver Download Area
    path = /export/samba/drivers
    browseable = no
    guest ok = yes
    write list = @smbadmin, root
    force group = smbadmin
    create mask = 0664
    directory mask = 0775


[homes]
    comment = Home Directories
    browseable = no
    writable = yes
    hide files = /desktop.ini/outlook*.lnk/*Briefcase*/.svn/


[netlogon]
    comment = Network Logon Service
    path = /export/samba/netlogon
    root preexec = /var/lib/samba/scripts/autopoweruser-saltsmill.sh %U %m
    read only = yes
    guest ok = yes
    browsable = no


#[profiles]
#    comment = Network Profiles Share
#    path = /export/samba/profiles
#    read only = no
#    store dos attributes = yes
#    create mask = 0600
#    directory mask = 0700
#    browseable = no
#    guest ok = no
#    printable = no
#    profile acls = yes


[TADS]
    comment = TADS exported filesystem
    path = /export/TADS
    read only = yes
    writeable = no
    public = no
    guest ok = yes
    force user = dataserver
    create mask = 0640
    directory mask = 0750
    write list = @smbadmin, root


[filexchange]
    comment = Common shared folder
    path = /export/shared
    read only = no
    writeable = yes
    public = yes
    guest ok = yes
    force user = dataserver
    create mask = 0640
          directory mask = 0750


[work]
    comment = Working Folder for each user
    path = /export/work
    read only = no
    writeable = yes
    public = yes
    guest ok = yes
    force user = dataserver
    create mask = 0640
    directory mask = 0750


[repairs]
    comment = Repairs shared folder
    path = /export/repairs
    read only = no
    writeable = yes
    public = yes
    guest ok = yes
    force user = dataserver
    create mask = 0640
    directory mask = 0750


[admin]
    comment = Shared Admin Files
    path = /var/server
    read only = no
    writeable = yes
    public = yes
    guest ok = yes
    force user = root
    create mask = 0640
    directory mask = 0750
    browseable = no


Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>