This is a discussion on AW: [Samba] usrmgr not functioning within the Samba forums, part of the Networking and Network Related category; Hi, we had this rroblem because of a wrong setting in the user. The primary = group was set to 0. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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=3Dfujitsu-siemens.com@lists.samba.org = im Auftrag von Chris S Gesendet: Di 14.02.2006 06:34 An: samba@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.=20 $ cat smb.conf # Global parameters [global] workgroup =3D NA3R1 netbios name =3D FEDORA passdb backend =3D tdbsam enable privileges =3D Yes passwd program =3D /usr/bin/passwd %u username map =3D /etc/samba/smbusers log level =3D 3 log file =3D /var/log/samba/%m.log max log size =3D 50 add user script =3D /usr/sbin/useradd -m '%u' delete user script =3D /usr/sbin/userdel -r '%u' add group script =3D /usr/sbin/groupadd '%g' delete group script =3D /usr/sbin/groupdel '%g' add user to group script =3D /usr/sbin/usermod -G '%g' '%u' set primary group script =3D /usr/sbin/usermod -g '%g' '%u' add machine script =3D /usr/sbin/useradd -s /bin/false -d = /dev/null '%u' logon script =3D logon.cmd logon path =3D \\%L\profiles\%U logon drive =3D h: logon home =3D \\%L\%U domain logons =3D Yes admin users =3D root, @domadm [homes] comment =3D Home Directories read only =3D No browseable =3D No [netlogon] path =3D /usr/local/samba/lib/netlogon write list =3D ntadmin read only =3D No guest ok =3D Yes locking =3D No [profiles] path =3D /usr/local/samba/ntprofile read only =3D No create mask =3D 0600 directory mask =3D 0700 profile acls =3D Yes [printers] comment =3D All Printers path =3D /var/spool/samba printable =3D Yes browseable =3D No [windows] path =3D /windows force group =3D windows read only =3D No create mask =3D 0775 directory mask =3D 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/.../mailman/list= info/samba>=20 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |