[Samba] Domain Admins

Irving Carrion icarrion at allinterior.com
Mon Oct 7 21:40:01 GMT 2002


I've read man smbgroupedit many times, over and over and OVER, and have
done step by step per the man page with no luck.  I thought maybe it
would be easier for one to help if they saw what I was doing. So I
posted a partial listing of group,passwd,smb.conf below.

Plz, plz, really need some help with this!

Thanks!
IRV


I have Samba Version 2.999+3.0.alpha from the debian unstable archives.


//BEGIN /ETC/GROUP
domainadmins:x:1001:administrator,user1,user2
//END /ETC/GROUP

//BEGIN /ETC/PASSWD
administrator:x:1218:1001:Administrator,,,:/home/administrator:/bin/bash

user1:x:1219:1001:User 1,,,:/home/user1:/bin/bash
user2:x:1220:1001:User 2,,,:/home/user2:/bin/bash
//END /ETC/PASSWD

HERE IS THE OUTPUT of  "smbgroupedit -vs | grep "Domain Admins""
Domain Admins (S-1-5-21-2879687004-3117605197-2714178016-512) ->
domainadmins


//BEGIN SMB.CONF
# Global parameters
[global]
        workgroup = DOMAIN1.COM
        netbios name = SAMBA
        server string = %h server (Samba %v)
        security = user
        encrypt passwords = true
        passdb backend = tdbsam:/etc/samba/passdb.tdb unixsam
        null passwords = Yes
        passwd program = /usr/bin/passwd %u
        non unix account range = 10000-20000
        add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

        admin users = @domainadmins
        add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
        logon script = logonscript.bat
        logon path =
        logon home =
        logon drive =
        domain logons = Yes
        os level = 64
        preferred master = True
        domain master = True
        dns proxy = No
        wins support = Yes
//END SMB.CONF





More information about the samba mailing list