I experienced the problem described here. I am trying to setup a Samba file server as the Primary Domain Controller in my little 5 Windows PC network. I don't really want to setup any kind of a Windows Domain Controller. I just need the Windows clients to be able to access the file shares on the Ubuntu 10.10 file server, fairly transparently. I want them to be able to browse for the share, and I want them to be able to change their passwords from their Windows desktops when they login as part of the domain. I only want them to change their password once. They won't be logging in to the Linux server, at all. I don't want them to have to manually keep their passwords on Windows and on Linux synced up. That is why I am trying to setup the Linux Samba File Server as the Domain Controller. Then I will have the Windows users login to that domain when they login, not the local PC. Then they can browse for the file shares, and maybe even printers, without having to know anything about accounts on Linux.
I have tried what you described above and I still get an error message. A copy of my session is below. mjmchugh@HPSERVER:/$ sudo smbpasswd -a mjmchugh [sudo] password for mjmchugh: New SMB password: Retype new SMB password: mjmchugh@HPSERVER:/$ net -U mjmchugh rpc rights grant "EXAMPLE\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege Enter mjmchugh's password: Failed to grant privileges for EXAMPLE\Domain Admins (NT_STATUS_NO_SUCH_USER) mjmchugh@HPSERVER:/$ net -U mjmchugh rpc rights grant "STEPHENDBROWN\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege Enter mjmchugh's password: Failed to grant privileges for STEPHENDBROWN\Domain Admins (NT_STATUS_NO_SUCH_USER) mjmchugh@HPSERVER:/$ sudo net -U mjmchugh rpc rights grant "STEPHENDBROWN\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege Enter mjmchugh's password: Failed to grant privileges for STEPHENDBROWN\Domain Admins (NT_STATUS_NO_SUCH_USER) mjmchugh@HPSERVER:/$ sudo restart smbd smbd start/running, process 2867 mjmchugh@HPSERVER:/$ sudo restart nmbd nmbd start/running, process 2876 mjmchugh@HPSERVER:/$ sudo net -U mjmchugh rpc rights grant "STEPHENDBROWN\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege Enter mjmchugh's password: Failed to grant privileges for STEPHENDBROWN\Domain Admins (NT_STATUS_NO_SUCH_USER) mjmchugh@HPSERVER:/$ 1. Do I run this "net . . . " command as root via sudo, or as the user mjmchugh? I have tried it both ways. 2. Is there a way that I can list all the smb users so I can verify that I have added the mjmchugh user to the Samba domain? I would really appreciate any guidance you can offer, about what I am doing wrong here. It seems like this is a very important step and I am not going to get this to work with out it. Thank you in advance for your help. --Mike -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591272 Title: samba pdc setup fails on net rpc rights grant -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs