Hi guys, Just found that winbind stores it's databases in /var/run/samba. So everytime the machine restarts the bootmisc script removes all these files and you loose all the relations between SID's and UID's for example. The result is that a user who logs in with an windows account might get another UID assigned next time he logs on. cu achim~
achim do you know off hand what the ./configure fix or whatever is for this? if not i'd have to investigate into it :/
Hi donny, I took a look in the samba package and found that it is indeed --with-lockdir which should be fixed. the lsb.spec file uses /var/lock/samba the suse spec file /var/lib/samba, so it looks like all the databases currently located in /var/run/samba should be persistent. cu achim~
Achim I upgraded my PDC. Everything is working fine; all went smoothly. At first I thought the databases would need to be moved, but I guess not. I did this just to convince myself: samba stop ; emerge samba ; rm -f /var/run/samba/* ; samba start logout/login on WinXP/Win9x boxes all is good :-) only 2 changes: --with-lockdir=/var/cache/samba install -m0755 -o root -g root -d ${ROOT}/var/cache/samba i'll commit this later today sometime, hope thats okay.
thanks Achim. samba-2.2.7 is on cvs now...