AW: [Samba] usrmgr not functioning

Oeltze, Benjamin Benjamin.Oeltze at fujitsu-siemens.com
Tue Feb 14 07:36:07 GMT 2006


Hi,
we had this rroblem because of a wrong setting in the user. The primary group was set to 0. So samba could not find the primary group. Try to chek your users for wrong entries.

________________________________

Von: samba-bounces+benjamin.oeltze=fujitsu-siemens.com at lists.samba.org im Auftrag von Chris S
Gesendet: Di 14.02.2006 06:34
An: samba at lists.samba.org
Betreff: [Samba] usrmgr not functioning



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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba <https://pdbvpn1.fujitsu-siemens.com/https/0/lists.samba.org/mailman/listinfo/samba> 




More information about the samba mailing list