Samba 2.0.7 PDC not updating user list

Buchan Milne bgmilne at ing.sun.ac.za
Thu Aug 3 15:07:15 GMT 2000


I corrected this by scanning through the smbpasswd file from the last
user who appeared in the list, checking to see that the unix accounts
existed. I found that I had changed the name of a machine in the
smbpasswd file (since I wanted to change the netbios name) but had not
changed it in the passwd file.

I think someone with more shell/perl scripting experience would be able
to write a script for this, but I only have about 40 users, so it's not
that much effort to do by hand.

Moral of the story: use only the tools for the job (useradd, usermod,
passwd, smbpasswd) and don't edit the files by hand. And remember that
machines also have unix accounts.

Buchan

Christophe Merle wrote:
> 
> Hi,
> 
> We have a Samba Server 2.0.7 (running on a Solaris 7 system) as PDC for
> NT 4.0 Machines and have exactly the same problem as you. New added
> Samba Users can log in and  use shares but remaining invisible from the
> NT side.
> I have also an other strange effect: I have tried to remove (whith
> "smbpasswd -x <user>" ) an "invisible" user and to re-add him (with
> "smbpasswd -a <user>" ) in the smbpasswd file, the user becomes visible
> from the NT side but duplicated. The user exists 8 or 10 times in the
> userlist displayed from NT machine though there is a unique entry for
> this user in the smbpasswd file.
> I found so far no solution for this problem. If you found in the
> meantime a solution or a Work around, please inform me. Of course I
> inform you too if I have something new.
> 
> Regards,
> 
> Christophe Merle
> ch.merle at fh-wolfenbuettel.de
> University of Applied Sciences Wolfenbuettel
> Germany
> 
> > Hi,
> >
> >  I have a samba box (2.0.7) as PDC for mostly NT clients, and all is working well (domain logons, roaming profiles,
> >  domain admin users etc), except that the user list is not updated when I add new users (via both unix useradd and
> >  smbpasswd -a). The new users can log in, but are not listed in the list of users in the domain. This is the list you see
> >  when:
> >  1) You run user manager for domains and connect to the domain
> >  2) Modify permissions on NT files or shares
> >  3) Try and copy local profiles to the PDC and change who is allowed to use the profile
> >
> >  My win98 clients get an error "Can not access the list of authenticated users" or something to that effect, but I have
> >  not invesitgated this too much as we have very few 95/98 clients.
> >
> >  How can I fix this. Where is the list stored (derived from smbpasswd ?)
> >
> >  I have posted this question twice to the samba-ntdom mailing list with no replies. I need this to work SOON otherwise
> >  samba's days are numbered on our network.
> >
> >  Please copy to my email, since the news server I use at work usually does not see posts I make from home, or their
> >  replies.
> >
> >  Thanks
> >  Buchan

-- 
|--------------------------------------------------------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone                                           +27824722231
email                               mailto:bgmilne at ing.sun.ac.za
Centre for Automotive Engineering       http://www.sun.ac.za/cae
South Africas first satellite:        http://sunsat.ee.sun.ac.za
Control Models                          http://www.control.co.za
|----------------Registered Linux User #182071-----------------|


More information about the samba-ntdom mailing list