[Samba] User not privileged to join domain.

Sander van Vliet maxor at tref.nl
Tue Aug 27 04:42:01 GMT 2002


Hello
I'm running the samba-3.0 alpha18 (I know it's alpha) but I think this has something to do with my configuration (see below).

When I try to join my domain from a computer that has never been on the domain before it gives an error about unprivileged user. I use root/sauron as the admin users with the correct passwords.

TIA Sander van Vliet
maxor at tref.nl

; Samba config file
; By maxor

; Global settings
[global]
        netbios name = barad-dur
        workgroup = MORDOR
        server string = Mordor PDC

        os level = 64
        preferred master = yes
        domain master = yes
        local master = yes

        security = user
        encrypt passwords = yes
        domain logons = yes

        ; Domain logon stuff
        logon path = \\barad-dur\profiles\%u
        logon drive = H:
        logon home = \\barad-dur\homes\%u
        logon script = logon.cmd

        ; User creation
        add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
        ; add user script = /opt/samba/bin/add_machine %u$ %u

        ; NMBD options
        announce as = NT Server
        announce version = 4.5

        ; Filesys options
        dos filemode = no
        dos filetimes = no
        follow symlinks = yes
        force create mode = 0755
        force directory mode = 0755
        fstype = NTFS
        hide dot files = yes
        browse list = no

        deadtime = 0
        enhanced browsing = yes

; Important share
[homes]
        path = /home
        guest ok = no
        read only = no
        browsable = no
        writable = yes

; Enable NT domain logons
[netlogon]
        path = /opt/samba/netlogon
        read only = yes
        browsable = no

[profiles]
        path = /home
        read only = no
        create mask = 0600
        directory mask = 0700
        guest ok = no
        browsable = no

[users]
        path = /home
        read only = no
        guest ok = no
        browsable = no

[htdocs]
        path = /var/www/htdocs
        read only = no
        guest ok = no
        valid users = root sauron maxor
        browsable = no


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list