On Thu, 2004-08-12 at 02:13, Andreas Ntaflos wrote: > On Wed, Aug 11, 2004 at 03:43:47PM -0500, Steve Tyler wrote: > > > > I have a setup using tdbsam as a backend, I can add accounts using > > pdbedit -a <username> but I have only been able to add one machine > > account. I can't figure out why. ... > Shouldn't the machine name DO exist in /etc/passwd? I usually do the > following (taken from the official howto collection): > > # useradd -g machines -d /dev/null -c "machine nickname" -s /bin/false machine_name$ > # passwd -l machine_name$ > # pdbedit -a -m machine_name (no `$' this time) > > (the group machines is created beforehand) and if pdbedit doesn't do it > then you could still use smbpasswd, it seems to work with tdbsam as well. > > # smbpasswd -a -m machine_name > > HTH
Thanks for the suggestion, I did already try this. I tried again: Unable to modify TDB passwd ! Error: Record exists occured while storing the RID index (RID_00000bbe) Unable to add machine! (does it already exist?) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
