Samba 2.2.0a1 as PDC for Exchange

Kim Bjoern Nielsen kim.bjoern at mail.dk
Sun Jan 14 16:18:35 GMT 2001


Hey Gill,

I'm really excited to learn a bit more of how you did this. I can't get mine
to work!

I grabbed the latest CSV yesterday, compiled to IRIX 6.5.10m w. gmake and
gcc 2.95.2

I installed a WinNT 4.0 server system, and added SP6. I successfully
(apparently) joined the domain from the NT box

BUT! I can't login as domain admin on the NT BOX, and when I try to install
Exchange (logged in as local admin), the GUI tells me that the system needs
to belong to a domain!!

Any ideas? - Kim


> -----Original Message-----
> From: Gill, Vern [mailto:vgill at technologist.com]
> Sent: 14. januar 2001 08:55
> To: 'Kim Bjoern Nielsen'
> Cc: samba-ntdom at samba.org
> Subject: RE: Samba 2.2.0a1 as PDC for Exchange
> 
> 
> Just grabbed the latest CVS for TNG, I think about 3-5 weeks ago.
> Installed it, setup the init script, started it. Then on NT 4 
> box, which
> was a standalone server, after adding the machine account, I 
> added it to
> domain. Then, install Exchange. Works great. Been goin since then with
> no problems.
> 
> -----Original Message-----
> From: Kim Bjoern Nielsen [mailto:kim.bjoern at mail.dk]
> Sent: Saturday, January 13, 2001 2:35 PM
> To: Gill, Vern
> Cc: samba-ntdom at samba.org
> Subject: RE: Samba 2.2.0a1 as PDC for Exchange
> 
> 
> OK Gill,
> 
> How did you do this? Which Samba(-TNG) ver.?
> 
>  - any special order of row?
>  - any hints?
> 
> Thanks - Kim
> 
> > -----Original Message-----
> > From: Gill, Vern [mailto:vgill at technologist.com]
> > Sent: 9. januar 2001 05:07
> > To: 'Schlomo Schapiro'; Kim Bjoern Nielsen
> > Cc: samba-ntdom at us5.samba.org
> > Subject: RE: Samba 2.2.0a1 as PDC for Exchange
> > 
> > 
> > I don't know about the latest samba head branch, but the latest TNG
> > branch is workin great for me to do this very thing...
> > 
> > -----Original Message-----
> > From: Schlomo Schapiro [mailto:schapiro at clerk.pi.huji.ac.il]
> > Sent: Sunday, January 07, 2001 10:02 PM
> > To: Kim Bjoern Nielsen
> > Cc: samba-ntdom at us5.samba.org
> > Subject: Re: Samba 2.2.0a1 as PDC for Exchange
> > 
> > 
> > Hi,
> > 
> > I tried once to set up Exchange on a Samba controlled domain 
> > (2.0.7) and
> > already the setup program failed utterly (It complained about 
> > needing a
> > Domain Controller ...)
> > 
> > It really would be great if Samba would support this kind of things,
> > too.
> > 
> > Schlomo
> > 
> >  On Mon, 8 Jan 2001, Kim Bjoern Nielsen wrote:
> > 
> > > Hi,
> > > 
> > > I'm experimenting to setup a Samba 2.2.0a1 as PDC for an Exchange
> > > environment.
> > > 
> > > I have tried to setup both a NT Server & a NT 
> Workstation. Both was
> > accepted
> > > as systems in the domain by the Samba server, and I can log 
> > on to the
> > > systems.
> > > 
> > > But, when I run a smbclient query to the NT systems, they 
> > dont seem to
> > > accept the Samba as domain contoller.
> > > 
> > > ftp 133# /usr/samba/bin/smbclient -L INTR-2SV -U root%XXXX
> > > added interface ip=192.168.206.203 bcast=192.168.206.255
> > nmask=255.255.255.0
> > > Got a positive name query response from 192.168.206.103 (
> > 192.168.206.103 )
> > > Domain=[FNIS] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> > > 
> > >       Sharename      Type      Comment
> > >       ---------      ----      -------
> > >       ADMIN$         Disk      Remote Admin
> > >       IPC$           IPC       Remote IPC
> > >       C$             Disk      Default share
> > >       D$             Disk      Default share
> > >       E$             Disk      Default share
> > > 
> > >       Server               Comment
> > >       ---------          -------
> > > 
> > >       Workgroup            Master
> > >       ---------            -------
> > > ftp 134#
> > > 
> > > Any ideas? - Kim
> > > 
> > > 
> > 
> > -- 
> > Schlomo Schapiro
> > Computation Authority
> > Hebrew University of Jerusalem
> > 
> > Tel: ++972 / 2 / 65-84404
> > Fax:             65-27349
> > email: schapiro at clerk.pi.huji.ac.il
> > WWW:   http://shum.cc.huji.ac.il/~schapiro
> > 
> > 
> 

-------------- next part --------------

fwl 72# bin/testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profile]"
Processing section "[public]"
Loaded services file OK.
Press enter to see a dump of your service definitions

# Global parameters
[global]
        # Base Options
        coding system = 
        client code page = 850
        code page directory = /usr/local/samba/lib/codepages
        workgroup = FNIS
        netbios name = INTR-FWL
        netbios aliases = 
        netbios scope = 
        server string = Samba TNG-alpha
        interfaces = 
        bind interfaces only = No
        # Security Options
        security = USER
        encrypt passwords = Yes
        update encrypted = No
        server schannel = False
        client schannel = False
        server ntlmv2 = False
        client ntlmv2 = False
        use rhosts = No
        hosts equiv = 
        min passwd length = 5
        password expire time = 0
        map to guest = Never
        null passwords = No
        password server = 
        smb passwd file = /usr/local/samba/private/smbpasswd
        sam directory = /usr/local/samba/sam
        root directory = /
        passwd program = /bin/passwd
        passwd chat = *new*password* %n\n *new*password* %n\n *changed*
        passwd chat debug = No
        username map = 
        password level = 0
        username level = 0
        unix password sync = No
        restrict anonymous = No
        use rhosts = No
        # Logging Options
        log level = 2
        syslog = 1
        syslog only = No
        log file = 
        max log size = 5000
        timestamp logs = No
        debug hires timestamp = No
        debug pid = No
        debug uid = No
        # Protocol Options
        protocol = NT1
        read bmpx = No
        read raw = Yes
        write raw = Yes
        nt smb support = Yes
        nt pipe support = Yes
        nt acl support = Yes
        announce version = 4.0
        announce as = NT
        max mux = 50
        max xmit = 65535
        name resolve order = lmhosts host wins bcast
        max packet = 65535
        max ttl = 259200
        max wins ttl = 518400
        min wins ttl = 21600
        time server = Yes
        # Tuning Options
        change notify timeout = 60
        deadtime = 0
        getwd cache = Yes
        keepalive = 300
        lpq cache time = 10
        max disk size = 0
        max open files = 10000
        read size = 16384
        socket options = TCP_NODELAY
        stat cache size = 50
        # Printing Options
        load printers = Yes
        printcap name = lpstat
        printer driver file = /usr/local/samba/lib/printers.def
        enumports command = 
        addprinter command = 
        deleteprinter command = 
        show add printer wizard = Yes
        nt forms file = /usr/local/samba/lib/ntforms.def
        nt printer driver = /usr/local/samba/lib
        # Filename Handling
        strip dot = No
        character set = 
        mangled stack = 50
        stat cache = Yes
        # Domain Options
        trusted domains = 
        trusting domains = 
        local group map = /usr/local/samba/private/localgroup.map
        domain group map = /usr/local/samba/private/domaingroup.map
        builtin group map = 
        builtin rid file = 
        domain user map = 
        machine password timeout = 604800
        # Logon Options
        add user script = 
        delete user script = 
        logon script = login.bat
        logon path = \\INTR-FWL\profile\%U
        logon drive = U:
        logon home = \\INTR-FWL\%U
        domain logons = Yes
        # Browse Options
        os level = 65
        lm announce = Auto
        lm interval = 60
        preferred master = True
        local master = Yes
        domain master = True
        browse list = Yes
        # WINS Options
        dns proxy = Yes
        wins proxy = No
        wins server = 
        wins support = Yes
        wins hook = 
        # Locking Options
        kernel oplocks = Yes
        oplock break wait time = 10
        # Miscellaneous Options
        smbrun = /usr/local/samba/bin/smbrun
        config file = 
        preload = 
        lock dir = /usr/local/samba/var/locks
        default service = 
        message command = 
        dfree command = 
        valid chars = 
        remote announce = 
        remote browse sync = 
        socket address = 0.0.0.0
        homedir map = 
        time offset = 0
        unix realname = Yes
        NIS homedir = No
        source environment = 
        panic action = 
        # VFS options
        host msdfs = No
        # Winbind options
        winbind uid = 
        winbind gid = 
        template homedir = /home/%D/%U
        template shell = /bin/false
        winbind separator = \
        winbind cache time = 15
        winbind enum users = Yes
        winbind enum groups = Yes
        comment = 
        path = 
        alternate permissions = No
        username = 
        guest account = nobody
        invalid users = 
        valid users = 
        admin users = 
        read list = 
        write list = 
        printer admin = 
        force user = 
        force group = 
        read only = Yes
        create mask = 0744
        force create mode = 00
        security mask = -1
        force security mode = -1
        directory mask = 0755
        force directory mode = 00
        directory security mask = -1
        force directory security mode = -1
        inherit permissions = No
        guest only = No
        guest ok = No
        only user = No
        hosts allow = 
        hosts deny = 
        status = Yes
        max connections = 0
        min print space = 0
        strict sync = No
        sync always = No
        write cache size = 0
        max print jobs = 1000
        printable = No
        postscript = No
        printing = sysv
        print command = lp -c -d%p %s; rm %s
        lpq command = lpstat -o%p
        lprm command = cancel %p-%j
        lppause command = lp -i %p-%j -H hold
        lpresume command = lp -i %p-%j -H resume
        queuepause command = disable %p
        queueresume command = enable %p
        printer name = 
        printer driver = NULL
        printer driver file = /usr/local/samba/lib/printers.def
        printer driver location = 
        default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = Yes
        mangle case = No
        mangling char = ~
        hide dot files = Yes
        delete veto files = No
        veto files = 
        hide files = 
        veto oplock files = 
        map system = No
        map hidden = No
        map archive = Yes
        mangled names = Yes
        mangled map = 
        browseable = Yes
        blocking locks = Yes
        fake oplocks = No
        locking = Yes
        oplocks = Yes
        level2 oplocks = Yes
        oplock contention limit = 2
        posix locking = Yes
        strict locking = No
        share modes = Yes
        copy = 
        include = 
        exec = 
        preexec close = No
        postexec = 
        root preexec = 
        root preexec close = No
        root postexec = 
        available = Yes
        volume = 
        fstype = NTFS
        set directory = No
        wide links = Yes
        follow symlinks = Yes
        dont descend = 
        magic script = 
        magic output = 
        delete readonly = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No
        vfs object = 
        vfs options = 
        msdfs root = No

[homes]
        comment = Users' home directories
        read only = No
        browseable = No

[netlogon]
        comment = PDC netlogon share
        path = /usr/local/samba/netlogon

[profile]
        path = /usr/local/samba/profile
        read only = No

[public]
        comment = Public share
        path = /usr/dist
        guest ok = Yes
fwl 73# 


More information about the samba-ntdom mailing list