[Samba] usrmgr not functioning

Chris S samba-list.samba.org.10.chris-s at spamgourmet.com
Tue Feb 14 05:34:39 GMT 2006


I'd really appreciate any ideas on this problem that I've been working on for a few days now.  Any hints on how I can diagnose or resolve the problem please.

Whenever I try to run the User Manager (usrmgr.exe) on a Windows machine (usually as root) it brings up the domain users, but selecting any name I get the error:
   "The device attached to the system is not functioning"

My searches have not revealed a similar problem and I've checked the configuration against all the documentation I can find.  So I think I must be doing something obviously wrong, but just can't see it.

The following is my config file.  I also captured a trace with ethereal, which did not reveal much, but then I'm not all that familiar with Samba protocols.  The only odd thing that appears in the trace is a SamrQueryInformationUserhas a null response in the profile field.  


$ cat smb.conf
# Global parameters
[global]
        workgroup = NA3R1
        netbios name = FEDORA
        passdb backend = tdbsam
        enable privileges = Yes
        passwd program = /usr/bin/passwd %u
        username map = /etc/samba/smbusers
        log level = 3
        log file = /var/log/samba/%m.log
        max log size = 50
        add user script = /usr/sbin/useradd -m '%u'
        delete user script = /usr/sbin/userdel -r '%u'
        add group script = /usr/sbin/groupadd '%g'
        delete group script = /usr/sbin/groupdel '%g'
        add user to group script = /usr/sbin/usermod -G '%g' '%u'
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null '%u'
        logon script = logon.cmd
        logon path = \\%L\profiles\%U
        logon drive = h:
        logon home = \\%L\%U
        domain logons = Yes
        admin users = root, @domadm

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[netlogon]
        path = /usr/local/samba/lib/netlogon
        write list = ntadmin
        read only = No
        guest ok = Yes
        locking = No

[profiles]
        path = /usr/local/samba/ntprofile
        read only = No
        create mask = 0600
        directory mask = 0700
        profile acls = Yes

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[windows]
        path = /windows
        force group = windows
        read only = No
        create mask = 0775
        directory mask = 0775





More information about the samba mailing list