samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] How to net group add 'group' (I scrod mysel

[Samba] How to net group add 'group' (I scrod myself...can't figure out how descrod)

From: Linda Walsh <samba_at_nospam>
Date: Tue May 04 2010 - 19:29:11 GMT
To: samba@lists.samba.org

  I have:
interfaces = lo0, eth2
  and:
socket address = 192.168.3.1
socket address = 127.0.0.l

in my smb.conf, but when I try to
"net group add anything" (on server running samba 3.5.2, as a DC):
<asks for current log'ed in users's password> mypwd
Could not connect to server 127.0.0.1
Connection failed: NT_STATUS_CONNECTION_REFUSED

So what am I missing?

Shouldn't "interfaces=lo0" and the second socket addr line
w/ 127.0.0.1 be all that is needed?

Thanks for any descrodding help! :-)
-linda

Full smb.conf follows:

[global]
        display charset = UTF-8
        workgroup = BLISS
        unix extensions = yes
# realm = ISHTAR.SC.TLINX.ORG
        netbios name = BLISS
        netbios aliases = web-proxy, clock
        server string = Bliss on %h running Samba %v
        interfaces = lo0, eth2
        bind interfaces only = Yes
        server schannel = No
        passdb backend = tdbsam:/etc/samba/.internals/passwd.tdb
        guest account = guest
        passwd program = /usr/bin/passwd '%u'
        username map = /etc/samba/smbusers
        unix password sync = Yes
        log level = 2
        log file = /var/log/samba/log-%m(%U@%D)
        max log size = 4096
        debug class = Yes
        min receivefile size = 65536
        max xmit = 66576
        name resolve order = wins lmhosts host
        time server = Yes
        enable asu support = Yes
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4194304 SO_RCVBUF=4194304
        show add printer wizard = No
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u
        logon path = \\%D\%U\profile
        logon drive = h:
        logon home = \\%D\%U
        domain logons = Yes
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        wins hook = /home/law/bin/wins_hook
        socket address = 192.168.3.1
        socket address = 127.0.0.1
        usershare max shares = 100
        idmap alloc backend = tdb
        idmap uid = 15000-20000
        idmap gid = 10000-14999
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = Yes
        winbind trusted domains only = Yes
        recycle: keeptree = true
        read only = No
        acl group control = Yes
        create mask = 03755
        guest ok = Yes
        aio read size = 65536
        aio write size = 65536
        ea support = Yes
        map acl inherit = Yes
        block size = 4096
        use sendfile = Yes
        printing = bsd
        print command = lpr -r -P'%p' %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j
        acl group control = yes
        wide links = Yes

[netlogon]
        path = /home/%D/%U
        write list = @Administrators, root, law
        csc policy = disable

[public]
        comment = public include files
        path = /home/public
        read only = Yes

[profiles]
        comment = Network Profiles Service
        path = /home/%D/profiles/%U
        profile acls = Yes
        vfs objects = recycle
        recycle: keeptree = true

[homes]
        acl group control = yes
        comment = DomUser Roaming Home Dir (Generic Homes, u=%u, U=%U, s=%S, d=%D, w=%w)
        path = /home/%D/%U
        create mask = 0751
        vfs objects = recycle, readahead, shadow_copy2
        recycle: keeptree = true
        shadow:snapdir = /home/snapdir
        shadow:basedir = /home

[servhome]
        acl group control = yes
        comment = Server Home Dir (Generic Homes, u=%u, U=%U, s=%S, d=%D, w=%w)
        path = /home/%U
        create mask = 0751
        vfs objects = recycle, readahead, shadow_copy2
        recycle: keeptree = true
        shadow:snapdir = /home/snapdir
        shadow:basedir = /home

[scans]
        comment = Juno scans
        path = /home/scan
        valid users = @trusted_local_net_users
        write list = law, Juno

[home]
        comment = /home (allhomes)
        path = /home
        valid users = @trusted_local_net_users
        vfs objects = recycle, readahead, shadow_copy2
        recycle: keeptree = true
        shadow:snapdir = /home/snapdir
        shadow:basedir = /home

[Documents]
        comment = Dom User Documents
        path = /home/%D/%U/Documents
        valid users = %D\%U, Administrators
        vfs objects = recycle, readahead, shadow_copy2
        recycle: keeptree = true
        shadow:snapdir = /home/snapdir
        shadow:basedir = /home

[ADMIN$]
        comment = C:\Windows (Athenae in /home/C:Windows)
        path = /home/C:Windows
        read list = law, @wheel, root, @admins, @nt_admins, @domain_admins
        read only = Yes
        create mask = 0751
        vfs objects = readahead

[root$]
        comment = /
        path = /
        read list = law, @trusted
        write list = law
        create mask = 0751
        guest ok = No
        vfs objects = recycle
        recycle: keeptree = true

[backup]
        acl group control = yes
        comment = Host backup-dirs (M=%M, m=%m P=%P S=%S I=%I, u=%u, U=%U)
        path = /backups/%m
        write list = @Administrators, law, @Power_Users, root, law, Domain_Admins
        vfs objects = readahead

[backups_by_user]
        comment = User backup dirs
        path = /backups/%u
        write list = @Administrators, law, @Power_Users, root

[backups_athenae]
        acl group control = yes
        comment = Athenae Recovery
        path = /backups/athenae
        write list = @Administrators, law, @Power_Users, root

[usr_share]
        comment = /usr/share
        path = /usr/share
        read list = Users
        write list = law
        vfs objects = readahead
        recycle: keeptree = true

[usr_share_doc]
        comment = /usr/share/doc
        path = /usr/share/doc
        read list = Users
        write list = law
        vfs objects = readahead
        recycle: keeptree = true

[audio]
        comment = Audio Data
        path = /Share/Audio
        write list = law
        guest ok = No
        vfs objects = recycle
        recycle: keeptree = true

[Music]
        acl group control = yes
        comment = Shared Music
        path = /Share/Music
        read list = Users
        write list = law, trusted, wheel, Domain, Admins
        vfs objects = recycle, notify_fam, readahead
        recycle: keeptree = true

[Share]
        acl group control = yes
        comment = Share
        path = /Share
        read list = @trusted_local_net_users, @trusted, law, @users, @domain_admins, @nt_admins
        write list = law, @trusted
        vfs objects = recycle, readahead
        recycle: keeptree = true

[SharedPics]
        acl group control = yes
        comment = Shared Pictures
        path = /Share/Pictures
        read list = @trusted_local_net_users, law
        write list = law
        guest ok = No
        vfs objects = recycle, notify_fam
        recycle: keeptree = true
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba