I kept getting errors in my smbd.log file when I started samba. They looked like this:
[2007/10/19 13:55:38, 0] smbd/server.c:main(847) smbd version 3.0.23c-2.el5.2.0.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2007/10/19 13:55:38, 0] services/services_db.c:svcctl_init_keys(420) init_services_keys: key lookup failed! (WERR_ACCESS_DENIED) [2007/10/19 13:55:38, 0] smbd/server.c:main(960) ERROR: failed to setup guest info.
I fixed all these errors by adding this line to my /etc/samba/smb.conf file
winbind nested groups = no
Now after creating a temporary root user in my ldap database, I can run the following:
[root@server samba]# net rpc rights list -U root Password: SeMachineAccountPrivilege Add machines to domain SeTakeOwnershipPrivilege Take ownership of files or other objects SeBackupPrivilege Back up files and directories SeRestorePrivilege Restore files and directories SeRemoteShutdownPrivilege Force shutdown from a remote system SePrintOperatorPrivilege Manage printers SeAddUsersPrivilege Add users and groups to the domain SeDiskOperatorPrivilege Manage disk shares